可以看看这个:https://www.omicsclass.com/question/1605 还有这个:https://www.omicsclass.com/article/572
再有检查所有文件里面的染色体ID 是否一致:https://www.omicsclass.com/question/1361
Traceback (most recent call last):
File "/biosoft/miniconda/miniconda2/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/biosoft/miniconda/miniconda2/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/biosoft/miniconda/miniconda2/lib/python2.7/site-packages/jcvi/graphics/karyotype.py", line 330, in <module>
main()
File "/biosoft/miniconda/miniconda2/lib/python2.7/site-packages/jcvi/graphics/karyotype.py", line 318, in main
Karyotype(fig, root, seqidsfile, layoutfile)
File "/biosoft/miniconda/miniconda2/lib/python2.7/site-packages/jcvi/graphics/karyotype.py", line 294, in __init__
tr = Track(root, lo, gap=gap, height=height, lw=lw, draw=False)
File "/biosoft/miniconda/miniconda2/lib/python2.7/site-packages/jcvi/graphics/karyotype.py", line 139, in __init__
ratio = span / total
ZeroDivisionError: float division by zero
这是报错的代码,(我不知道我为啥上传不了图片)
可以看看这个:https://www.omicsclass.com/question/1605 还有这个:https://www.omicsclass.com/article/572
再有检查所有文件里面的染色体ID 是否一致:https://www.omicsclass.com/question/1361
如果觉得我的回答对您有用,请随意打赏。你的支持将鼓励我继续创作!