idr command line error
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
• 2,409 views
•
link
1 answer
I downloaded CRAN version of idr (R-package) and used in RStudio from the URL:
• 0 views
•
link
Log in to answer this question.
Command line?
Yes i've installed and using it as command line tool
ATPoint's question is: "what was your command line"
Means i was using it on terminal
Is this sarcasm? What (which command) did you type into the terminal, this is an important informaton to reproduce the problem. Brief Reminder On How To Ask A Good Question
Firstly I am really sorry that i didn't understand your question !! and secondly Thank you so much for your time but that problem has been resolved
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.