idr command line error
1
0
Entering edit mode
5.4 years ago
chaudharyc61 ▴ 100

Hello everyone I am using Irreproducible Discovery Rate (idr), which is successfully installed in my Ubuntu 18.04 LTS. after sorting the narrowPeak files by p.value, I'm trying to get idr report but this is the message i'm getting on terminal :

Traceback (most recent call last):
  File "/usr/local/bin/idr", line 4, in <module>
    __import__('pkg_resources').run_script('idr==2.0.2', 'idr')
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 658, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1438, in run_script
    exec(code, namespace, namespace)
  File "/usr/local/lib/python3.6/dist-packages/idr-2.0.2-py3.6-linux-x86_64.egg/EGG-INFO/scripts/idr", line 10, in <module>
    idr.idr.main()
  File "/usr/local/lib/python3.6/dist-packages/idr-2.0.2-py3.6-linux-x86_64.egg/idr/idr.py", line 774, in main
    useBackwardsCompatibleOutput=args.use_old_output_format)
  File "/usr/local/lib/python3.6/dist-packages/idr-2.0.2-py3.6-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()

And also the output .txt file is empty though i'm getting the .png graph of the output

Please tell me what to do ?

Thanx

idr ChIP-Seq • 1.9k views
ADD COMMENT
1
Entering edit mode

Would you mind posting a short answer to help other with the same issue in the future? :) I removed the other comments as they are not irrelevant.

ADD REPLY
1
Entering edit mode
5.4 years ago
chaudharyc61 ▴ 100

I downloaded CRAN version of idr (R-package) and used in RStudio from the URL:

https://cran.r-project.org/web/packages/idr/

ADD COMMENT

Login before adding your answer.

Traffic: 1319 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6