tanghaibao / jcvi

Python library to facilitate genome assembly, annotation, and comparative genomics
BSD 2-Clause "Simplified" License
738 stars 187 forks source link

ALLMAPS - KeyError: 'C531' #120

Closed xiaoshenyin closed 5 years ago

xiaoshenyin commented 5 years ago

Hello,

When I run the command:

python -m jcvi.assembly.allmaps path JM-15.bed cgi/Crassostrea_gigas.oyster_v9.dna.toplevel.fa

I got error messages as below (full log file attached):

Traceback (most recent call last): File "/apps/cent7/anaconda/5.1.0-py27/lib/python2.7/runpy.py", line 174, in _run_module_as_main "main", fname, loader, pkg_name) File "/apps/cent7/anaconda/5.1.0-py27/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/home/yin168/.local/lib/python2.7/site-packages/jcvi/assembly/allmaps.py", line 1871, in main() File "/home/yin168/.local/lib/python2.7/site-packages/jcvi/assembly/allmaps.py", line 827, in main p.dispatch(globals()) File "/home/yin168/.local/lib/python2.7/site-packages/jcvi/apps/base.py", line 96, in dispatch globalsaction File "/home/yin168/.local/lib/python2.7/site-packages/jcvi/assembly/allmaps.py", line 1512, in path gaptype="map") File "/home/yin168/.local/lib/python2.7/site-packages/jcvi/formats/agp.py", line 671, in order_to_agp size = sizes[ctg] KeyError: 'C531'

How should this issue be resolved?

Thanks!

allmaps.txt

mixle18 commented 11 months ago

Hi, I am encountering a similar issue. Can you help how you resolved this issue?