老师您好,在基因家族分析中,进行共线性分析绘图时,一直出现一下报错,麻烦老师帮忙解答一下

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

请先 登录 后评论

1 个回答

omicsgene - 生物信息
擅长:重测序,遗传进化,转录组,GWAS

可以看看这个,染色体有问题:https://www.omicsclass.com/article/572  

检查所有文件里面的染色体ID是否一致:https://www.omicsclass.com/question/1605

请先 登录 后评论