agshumate / Liftoff

An accurate GFF3/GTF lift over pipeline
GNU General Public License v3.0
427 stars 52 forks source link

UnboundLocalError: local variable 'feature_db' referenced before assignment #171

Open antss8 opened 1 month ago

antss8 commented 1 month ago

Traceback (most recent call last): File "/public/home/lzhu/.conda/envs/hjs/bin/liftoff", line 33, in sys.exit(load_entry_point('Liftoff==1.6.3', 'consolescripts', 'liftoff')()) File "/public/home/lzhu/.conda/envs/hjs/lib/python3.9/site-packages/Liftoff-1.6.3-py3.9.egg/liftoff/run$ File "/public/home/lzhu/.conda/envs/hjs/lib/python3.9/site-packages/Liftoff-1.6.3-py3.9.egg/liftoff/run_$ File "/public/home/lzhu/.conda/envs/hjs/lib/python3.9/site-packages/Liftoff-1.6.3-py3.9.egg/liftoff/lift$ File "/public/home/lzhu/.conda/envs/hjs/lib/python3.9/site-packages/Liftoff-1.6.3-py3.9.egg/liftoff/extr$ File "/public/home/lzhu/.conda/envs/hjs/lib/python3.9/site-packages/Liftoff-1.6.3-py3.9.egg/liftoff/extr$ File "/public/home/lzhu/.conda/envs/hjs/lib/python3.9/site-packages/Liftoff-1.6.3-py3.9.egg/liftoff/extr$ UnboundLocalError: local variable 'feature_db' referenced before assignment

haydenji0731 commented 1 week ago

This appears to be a problem with the gffutils DB. I would try to remove the features DB created from your previous run(s) of LiftOff and re-run the tool. If the problem persists, let me know.