Question: idr command line error
gravatar for chaudharyc61
10 days ago by
chaudharyc610 wrote:

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/", line 658, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python3/dist-packages/pkg_resources/", 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>
  File "/usr/local/lib/python3.6/dist-packages/idr-2.0.2-py3.6-linux-x86_64.egg/idr/", line 774, in main
  File "/usr/local/lib/python3.6/dist-packages/idr-2.0.2-py3.6-linux-x86_64.egg/idr/", 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 ?


chip-seq idr • 141 views
ADD COMMENTlink modified 10 days ago by lakhujanivijay4.2k • written 10 days ago by chaudharyc610

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 REPLYlink modified 4 days ago • written 4 days ago by ATpoint19k
gravatar for chaudharyc61
4 days ago by
chaudharyc610 wrote:

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

ADD COMMENTlink written 4 days ago by chaudharyc610
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1054 users visited in the last hour