SunPengChuan / wgdi

WGDI: A user-friendly toolkit for evolutionary analyses of whole-genome duplications and ancestral karyotypes
https://wgdi.readthedocs.io/en/latest/
BSD 2-Clause "Simplified" License
121 stars 22 forks source link

KeyError: 'evm.model.Chr11.615.evm.model.Chr11.616' #9

Closed lipeng-j closed 3 years ago

lipeng-j commented 3 years ago

wgdi -ks pto.conf when running this code I encountered this problem, and I can't figure out why, the following things are the error tips

cds_file = pto.cds pep_file = pto.pep align_software = muscle pairs_file = pto.collinearity.txt ks_file = pto.ks Traceback (most recent call last): File "/home/lip/miniconda3/envs/wgdi/bin/wgdi", line 10, in sys.exit(main()) File "/home/lip/miniconda3/envs/wgdi/lib/python3.9/site-packages/wgdi/run.py", line 218, in main module_to_run(arg) File "/home/lip/miniconda3/envs/wgdi/lib/python3.9/site-packages/wgdi/run.py", line 183, in module return switcher.get(argument)() File "/home/lip/miniconda3/envs/wgdi/lib/python3.9/site-packages/wgdi/run.py", line 151, in run_ca calks.run() File "/home/lip/miniconda3/envs/wgdi/lib/python3.9/site-packages/wgdi/ks.py", line 101, in run kaks = self.pair_kaks(k) File "/home/lip/miniconda3/envs/wgdi/lib/python3.9/site-packages/wgdi/ks.py", line 120, in pair_ka kaks_new = [kaks[k[0]][k[1]]['NG86']['dN'], kaks[k[0]][k[1]]['NG86'] KeyError: 'evm.model.Chr11.615.evm.model.Chr11.616'

SunPengChuan commented 3 years ago

There may be too many ·.· in this id, or it may be a sequence error.