-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No module named 'eaglec.scoreUtils' #9
Comments
Hi, based on you error message, I think you didn't install EagleC successfully. Could you open a python interpreter, execute the following commands, and let me know your results?
|
I try with your advice, see details below: (EagleC) dguan@farm:~$ python3
|
So according to your previous error message, your "predictSV-single-resolution" script is located at I am not sure how could this happen. I guess you might have different Python environments in your computer, and for some reason, one environment has priority over the other. |
I install the package using pip isntall eaglec, it's ok when i run predictSV -h. It has issues when I run on my data:
predictSV --hic-5k 1881_BME.mcool::/resolutions/5000 --hic-10k 1881_BME.mcool::/resolutions/10000 --hic-50k 1881_BME.mcool::/resolutions/50000 -O SK-N-AS -g other --balance-type CNV --output-format full --prob-cutoff-5k 0.8 --prob-cutoff-10k 0.8 --prob-cutoff-50k 0.99999
The error is below:
root INFO @ 07/26/22 14:34:12:
ARGUMENT LIST:
Cool URI at 5kb = 1881_BME.mcool::/resolutions/5000
Cool URI at 10kb = 1881_BME.mcool::/resolutions/10000
Cool URI at 50kb = 1881_BME.mcool::/resolutions/50000
Balance Type = CNV
Reference Genome = other
Included Chromosomes = ['#', 'X']
Probability Cutoff for 5kb SVs = 0.8
Probability Cutoff for 10kb SVs = 0.8
Probability Cutoff for 50kb SVs = 0.99999
Output File Prefix = SK-N-AS
Output Format = full
Log file name = eaglec.log
root INFO @ 07/26/22 14:34:12: Predict SVs at 5kb resolution ...
Traceback (most recent call last):
File "/home/dguan/.local/bin/predictSV-single-resolution", line 276, in
run()
File "/home/dguan/.local/bin/predictSV-single-resolution", line 110, in run
from eaglec.scoreUtils import intraPredict, interPredict
ModuleNotFoundError: No module named 'eaglec.scoreUtils'
Traceback (most recent call last):
File "/home/dguan/.local/bin/predictSV", line 176, in
run()
File "/home/dguan/.local/bin/predictSV", line 112, in run
subprocess.check_call(' '.join(command), shell=True)
File "/share/apps/python3/lib/python3.6/subprocess.py", line 291, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'predictSV-single-resolution -H 1881_BME.mcool::/resolutions/5000 --balance-type CNV -O SK-N-AS.CNN_SVs.5K.txt --genome other --output-format full -C "#" "X" --prob-cutoff 0.8 --logFile eaglec.log' returned non-zero exit status 1.
Can you help check what happen? Thanks so much!
The text was updated successfully, but these errors were encountered: