老师,我自己安装了IDR软件,根据https://github.com/nboley/idr#installation。使用的时候报错了,如下,我也不知道为什么会报错。您可以在github上传一个IDR么,我再试试。
idr --samples T5-1_peaks.narrowPeak.sorted.bed T5-2_peaks.narrowPeak.sorted.bed \
--input-file-type narrowPeak
--rank p.value
--output-file 2021104.T5.1-2.sample-idr
--plot
--log-output-file 2021104.T5.1-2.sample.idr.log
/home/jingwen_zhang/.local/bin/idr --samples T5-1_peaks.narrowPeak.sorted.bed T5-2_peaks.narrowPeak.sorted.bed --input-file-type narrowPeak --rank p.value --output-file 2021104.T5.1-2.sample-idr --plot --log-output-file 2021104.T5.1-2.sample.idr.log
Traceback (most recent call last):
File "/home/jingwen_zhang/.local/bin/idr", line 4, in
import('pkg_resources').run_script('idr==2.0.2', 'idr')
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 667, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 1463, in run_script
exec(code, namespace, namespace)
File "/home/jingwen_zhang/.local/lib/python3.8/site-packages/idr-2.0.2-py3.8-linux-x86_64.egg/EGG-INFO/scripts/idr", line 10, in
idr.idr.main()
File "/home/jingwen_zhang/.local/lib/python3.8/site-packages/idr-2.0.2-py3.8-linux-x86_64.egg/idr/idr.py", line 765, in main
num_peaks_passing_thresh = write_results_to_file(
File "/home/jingwen_zhang/.local/lib/python3.8/site-packages/idr-2.0.2-py3.8-linux-x86_64.egg/idr/idr.py", line 415, in write_results_to_file
if localIDRs == None or IDRs == None:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
老师,我自己安装了IDR软件,根据https://github.com/nboley/idr#installation。使用的时候报错了,如下,我也不知道为什么会报错。您可以在github上传一个IDR么,我再试试。
idr --samples T5-1_peaks.narrowPeak.sorted.bed T5-2_peaks.narrowPeak.sorted.bed \