zhangrengang / OGAP

OGAP: Organelle Genome Annotation Pipeline
GNU General Public License v3.0
7 stars 4 forks source link

ModuleNotFoundError: No module named 'Genbank' #2

Open theo-allnutt-bioinformatics opened 5 months ago

theo-allnutt-bioinformatics commented 5 months ago

I ran pip install Genbank with no errors but still get:

OGAP.py Arabidopsis_thaliana-mt.gb -mt -o mt_out Traceback (most recent call last): File "/g/data/nm31/bin/OGAP/OGAP.py", line 11, in from lib.Database import Database File "/g/data/nm31/bin/OGAP/lib/Database.py", line 14, in from Genbank import GenbankParser, format_taxon ModuleNotFoundError: No module named 'Genbank'

zhangrengang commented 5 months ago

'Genbank' is a custom script in /g/data/nm31/bin/OGAP/lib/. You can add the path to PYTHONPATH at present, and I will fix it soon. The example in bash:

export PYTHONPATH=/g/data/nm31/bin/OGAP/lib/:$PYTHONPATH