当我运行macs2时,如何从命令行解决此错误消息

时间:2016-12-19 15:02:01

标签: python unit-testing

当我尝试从命令行运行macs2时出现问题,使用以下代码: macs2 callpeak -t target.BAM -c control.bam -f BAM -g hs -n test -B -q 0.01

我有以下错误消息:

Traceback (most recent call last):
  File "/home/projas/MACS2-2.1.1.20160309/bin/macs2", line 617, in <module>
    main()
  File "/home/projas/MACS2-2.1.1.20160309/bin/macs2", line 56, in main
    from MACS2.callpeak_cmd import run
  File "/home/projas/MACS2-2.1.1.20160309/MACS2/callpeak_cmd.py", line 31, in <module>
    from MACS2.OptValidator import opt_validate
  File "/home/projas/MACS2-2.1.1.20160309/MACS2/OptValidator.py", line 204
    options.argtxt += "# Using a custom scaling factor: %.2e\n" % (options.ratio)
                                                                                ^
TabError: inconsistent use of tabs and spaces in indentation

任何想法?

0 个答案:

没有答案