nextgenusfs / funannotate

Eukaryotic Genome Annotation Pipeline
http://funannotate.readthedocs.io
BSD 2-Clause "Simplified" License
300 stars 82 forks source link

How to run funannotate setup local,configure Funannotate to use the locally downloaded database files instead of re-downloading them? #1035

Open zengqd opened 2 months ago

zengqd commented 2 months ago

Are you using the latest release? Yes

Describe the bug How to configure Funannotate to use the locally downloaded database files instead of re-downloading them?

What command did you issue? funannotate setup -b dikarya --wget error:"Traceback (most recent call last): File "/home/zqd/anaconda3/envs/funannotate/bin/funannotate", line 10, in sys.exit(main()) File "/home/zqd/anaconda3/envs/funannotate/lib/python3.8/site-packages/funannotate/funannotate.py", line 716, in main mod.main(arguments) File "/home/zqd/anaconda3/envs/funannotate/lib/python3.8/site-packages/funannotate/setupDB.py", line 730, in main meropsDB(DatabaseInfo, args.force, args=args) File "/home/zqd/anaconda3/envs/funannotate/lib/python3.8/site-packages/funannotate/setupDB.py", line 175, in meropsDB type, name, version, date, records, checksum = info.get('merops') TypeError: cannot unpack non-iterable NoneType object" funannotate setup -b dikarya --wget --force allows the command to proceed without this error, However, this results in the databases being re-downloaded, which is not ideal since I already have the local copies prepared.

OS/Install Information