Question: idr command line error
0
gravatar for chaudharyc61
4 months ago by
chaudharyc6110
chaudharyc6110 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/__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

chip-seq idr • 264 views
ADD COMMENTlink modified 4 months ago by lakhujanivijay4.5k • written 4 months ago by chaudharyc6110

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 3 months ago • written 3 months ago by ATpoint25k
0
gravatar for chaudharyc61
3 months ago by
chaudharyc6110
chaudharyc6110 wrote:

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

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

ADD COMMENTlink written 3 months ago by chaudharyc6110
Please log in to add an answer.

Help
Access

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