Skip to content

Commit

Permalink
added __init__ and __main__ to orthohmm
Browse files Browse the repository at this point in the history
  • Loading branch information
JLSteenwyk committed Aug 9, 2024
1 parent de2b55b commit 639c82f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
cd ..
- name: Run tests
run: |
PATH=$PATH:$HOME/local/bin
make test.fast
test-full:
runs-on: macos-latest
Expand All @@ -57,7 +58,6 @@ jobs:
- name: Install HMMER
run: |
brew install hmmer
phmmer --version
- name: Install MCL
run: |
mkdir installmcl
Expand Down
Empty file added orthohmm/__init__.py
Empty file.
6 changes: 6 additions & 0 deletions orthohmm/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"""orthohmm.__main__: executed when orthohmm is called as script"""
import sys

from .orthohmm import main

main(sys.argv[1:])
7 changes: 4 additions & 3 deletions orthohmm/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,10 @@ def create_parser() -> ArgumentParser:
orthohmm_single_copy_orthogroups
A directory of FASTA files wherein each file is a single-copy ortholog.
Headers are modified to have taxon names come before the gene identifier. Taxon names are the file name
excluding the extension. Taxon name and gene identifier are separated by a pipe symbol "|".
This aims to help streamline phylogenomic workflows wherein sequences will be concatenated downstream
Headers are modified to have taxon names come before the gene identifier.
Taxon names are the file name excluding the extension. Taxon name and gene
identifier are separated by a pipe symbol "|". This aims to help streamline
phylogenomic workflows wherein sequences will be concatenated downstream
based on taxon names.
""" # noqa
),
Expand Down

0 comments on commit 639c82f

Please sign in to comment.