-
Notifications
You must be signed in to change notification settings - Fork 2
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
File "./process_screen.py", line 46, in <module> import compressed_file_opener as cfo ImportError: No module named compressed_file_opener #3
Comments
Hi Peter! If you're having issues importing those modules, my first guess would be that the BARSEQ_PATH variable is not pointing to the main BEAN-counter directory. The BEAN-counter scripts use this variable to know where to look for the modules that you're having trouble importing at the moment. So I can better help, are you running this on linux, mac, or windows? I need to update the README page, but we published a protocol earlier this year containing much more detailed instructions here: https://doi.org/10.1038/s41596-018-0099-1. If you do not have access to the journal, please let me know and I can send you a copy (there should also be a free version of the protocol posted to PubMed Central within a few weeks). Thanks! |
Thanks for that quick response,
I am using Linux and technically trying to submit the job to a cluster as I cannot run it locally. I have followed the instruction from the Readme file to put the BARSEQ_PATH to my directory but maybe am doing it wrong. I don’t mind sharing the script.
I have the published protocol (one of the best in this area, kudos) and I find the interaction scoring approach fit for my experiment.
Thanks
Regards
Peter
From: Scott Simpkins
Sent: Wednesday, September 25, 2019 6:24 PM
To: csbio/BEAN-counter
Cc: Peter Oluoch; Author
Subject: Re: [csbio/BEAN-counter] File "./process_screen.py", line 46, in<module> import compressed_file_opener as cfo ImportError: No modulenamed compressed_file_opener (#3)
Hi Peter!
If you're having issues importing those modules, my first guess would be that the BARSEQ_PATH variable is not pointing to the main BEAN-counter directory. The BEAN-counter scripts use this variable to know where to look for the modules that you're having trouble importing at the moment. So I can better help, are you running this on linux, mac, or windows?
I need to update the README page, but we published a protocol earlier this year containing much more detailed instructions here: https://doi.org/10.1038/s41596-018-0099-1. If you do not have access to the journal, please let me know and I can send you a copy (there should also be a free version of the protocol posted to PubMed Central within a few weeks).
Thanks!
Scott
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Oh awesome, glad that this is (hopefully) useful! Perhaps the BARSEQ_PATH environment variable is not being set properly in the job submission process? I can certainly take a look at your script to see what might be happening. |
Sure,
Attached is the script
Regards
Peter
From: Scott Simpkins
Sent: Wednesday, September 25, 2019 6:38 PM
To: csbio/BEAN-counter
Cc: Peter Oluoch; Author
Subject: Re: [csbio/BEAN-counter] File "./process_screen.py", line 46, in<module> import compressed_file_opener as cfo ImportError: No modulenamed compressed_file_opener (#3)
Oh awesome, glad that this is (hopefully) useful! Perhaps the BARSEQ_PATH environment variable is not being set properly in the job submission process? I can certainly take a look at your script to see what might be happening.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I don't think the script came through as an attachment. Is it short enough to paste in a comment? |
Here is how am setting my bash script: #!/usr/bin/env bash #setting BARSEQ_PATH variable path I am then calling the pipeline here: And here is how the config_file.yaml has been edited. |
Ah! Use export BARSEQ_PATH=path/to/BEAN-counter/ instead of export BARSEQ_PATH=path/to/BEAN-counter/master_scripts |
Thanks! |
@RussianImperialScott I figured this out. Was just missing some of the python packages. Now the pipeline is working but for some reason, it is not working with lane files. See error below params = yaml.load(f) |
Hi,
For some reason, I keep getting this error when running the process_screen.py. Are these part of the BEAN packages? I am unable to find a way to install them in my system.
import compressed_file_opener as cfo
import cg_file_tools as cg_file
import cluster_dataset_wrappers as clus_wrap
from cg_common_functions import get_sample_table, parse_yaml
from version_printing import update_version_file
The text was updated successfully, but these errors were encountered: