码迷,mamicode.com
首页 > 系统相关 > 详细

ChIP-seq Peak caller MACS index out of range问题解决

时间:2015-03-12 09:47:42      阅读:274      评论:0      收藏:0      [点我收藏+]

标签:

使用MACS1.4 进行peak calling的时候发现一个比较奇怪的问题:

我的某些文件无法被MACS1.4 进行peak calling,出现如下的信息:

Traceback (most recent call last):
  File "/usr/local/bin/macs14", line 5, in <module>
    pkg_resources.run_script(MACS==1.4.2, macs14)
  File "/Library/Python/2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 505, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/Library/Python/2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 1252, in run_script
    exec script_code in namespace, namespace
  File "/Library/Python/2.7/site-packages/MACS-1.4.2-py2.7.egg/EGG-INFO/scripts/macs14", line 366, in <module>
    
  File "/Library/Python/2.7/site-packages/MACS-1.4.2-py2.7.egg/EGG-INFO/scripts/macs14", line 124, in main
    
  File "build/bdist.macosx-10.7-intel/egg/MACS14/PeakModel.py", line 76, in __init__
  File "build/bdist.macosx-10.7-intel/egg/MACS14/PeakModel.py", line 112, in build
  File "build/bdist.macosx-10.7-intel/egg/MACS14/PeakModel.py", line 172, in __paired_peak_model
IndexError: list index out of range

网上并没有很好的解决办法。最终自己尝试后,发现这可能是程序building model时出错。可以将MACS的peak calling模式改为“--nomodel”,即可得到peak,效果并不差。

macs14 -t chip-seq_experiment -c chip-seq_input --nomodel ...

 

ChIP-seq Peak caller MACS index out of range问题解决

标签:

原文地址:http://www.cnblogs.com/foreverycc/p/4331511.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!