可以看看这个,染色体有问题:https://www.omicsclass.com/article/572
检查所有文件里面的染色体ID是否一致:https://www.omicsclass.com/question/1605
manager@bl8vbox[yu] /biosoft/miniconda/miniconda2/bin/python -m jcvi.graphics.karyotype --format=pdf --figsize=15x15 ph_seqid ph_layout
06:27:19 [base] Load file `ph_layout`
06:27:19 [base] Load file `PH.bed`
06:27:20 [base] Load file `PY.bed`
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 350, in <module>
main()
File "/biosoft/miniconda/miniconda2/lib/python2.7/site-packages/jcvi/graphics/karyotype.py", line 338, in main
plot_circles=(not opts.nocircles))
File "/biosoft/miniconda/miniconda2/lib/python2.7/site-packages/jcvi/graphics/karyotype.py", line 310, 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 140, in __init__
ratio = span / total
ZeroDivisionError: float division by zero
可以看看这个,染色体有问题:https://www.omicsclass.com/article/572
检查所有文件里面的染色体ID是否一致:https://www.omicsclass.com/question/1605
如果觉得我的回答对您有用,请随意打赏。你的支持将鼓励我继续创作!