Python 版mcscanx出现AttributeError: 'LayoutLine' object has no attribute 'order'

$ python2.7 -m jcvi.graphics.karyotype  --format=pdf  --figsize=15x5 hv_at_mcscan_seqid hv_at_mcscan_layout

17:22:57 [base] Load file `hv_at_mcscan_layout`

17:22:57 [base] Load file `hv.bed`

17:22:58 [base] Load file `at.bed`

Traceback (most recent call last):

  File "/home/chenxh/miniconda3/envs/jcvi/lib/python2.7/runpy.py", line 174, in _run_module_as_main

    "__main__", fname, loader, pkg_name)

  File "/home/chenxh/miniconda3/envs/jcvi/lib/python2.7/runpy.py", line 72, in _run_code

    exec code in run_globals

  File "/home/chenxh/miniconda3/envs/jcvi/lib/python2.7/site-packages/jcvi/graphics/karyotype.py", line 350, in <module>

    main()

  File "/home/chenxh/miniconda3/envs/jcvi/lib/python2.7/site-packages/jcvi/graphics/karyotype.py", line 338, in main

    plot_circles=(not opts.nocircles))

  File "/home/chenxh/miniconda3/envs/jcvi/lib/python2.7/site-packages/jcvi/graphics/karyotype.py", line 281, in __init__

    layout = Layout(layoutfile, generank=generank)

  File "/home/chenxh/miniconda3/envs/jcvi/lib/python2.7/site-packages/jcvi/graphics/karyotype.py", line 81, in __init__

    blocks = self.parse_blocks(fn, i)

  File "/home/chenxh/miniconda3/envs/jcvi/lib/python2.7/site-packages/jcvi/graphics/karyotype.py", line 90, in parse_blocks

    order = self[i].order

AttributeError: 'LayoutLine' object has no attribute 'order'

(jcvi)

attachments-2019-10-AuTXAqEw5db958f36354f.png


请先 登录 后评论

1 个回答

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

你文件里面是不是多了这个,你把它删除试试attachments-2019-10-KVUDWTLv5dba3e156dda6.png



请先 登录 后评论