-
Notifications
You must be signed in to change notification settings - Fork 5
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
Pickling Error #69
Comments
Using python 3.4 and then "conda update pysam" which downgraded samtools, bcftools, and htslib seems to have done the trick. It does seem though that if python 3.5 is not supported this should be mentioned in the documentation, which specifies python 3.3+ as the requirement. |
Hi Rachel, First of all, thank you very much for using RNFtools and for writing the report. It looks like the problem does not come directly from RNFtools or Python 3.4/3.5, but from some of the dependencies. I can really imagine how frustrating this can be.
This looks like a bug in Snakemake; I remember similar issues in versions from ~2 years ago.
This looks like a bug in HTSlib/PySam or their Conda packages. Both Snakemake and PySam are RNFtools dependencies, and both of them had a few releases that were quite buggy. Could you please figure out their versions? I will then improve the specification of RNFtools dependencies in Bioconda. The best source of information would be the output of Btw. Please say hello from me to Florian :). |
So, as I mentioned, using my environment with python 3.4, upgrading pysam changed the versions of samtools, bcftools, and htslib to earlier versions and now it works fine. I'm not sure what they were before, but I know all the versions were newer version numbers. So the output of
Where as for my other env (with python 3.5), which is not working, the versions of those are:
I just ran conda update pysam in the 3.5 env and that is NOT a fix in 3.5. Where as in 3.4 it downgraded the versions, here it upgrades, and I still get the same error running snakemake. Here are the versions it upgraded to (which also do not work):
|
Thank you very much. Could you please include also the versions of Snakemake? |
With my 3.4 environment it's snakemake=3.11.2=py34_1 With 3.5 it's snakemake=3.6.1=py35_0 EDIT: Just ran conda update snakemake in the 3.5 env. This appears to be a fix. Not sure why the original setup of the environment installs an older version of snakemake than the 3.4 env. |
I'm coming across the following error when trying to run a basic example (as specified in the documentation) to simulate reads.
Can't pickle <function __rule_5 at 0x7f466e8c4d08>: it's not the same object as snakemake.workflow.__rule_5
I installed using miniconda3 with python 3.5.6. on Linux. I noticed perhaps this is a python 3.5 issue with Snakemake, but not being familiar with Snakemake, this thread did not elucidate how to fix this issue other than downgrading my python version: .
I attempted to start a new conda environment with python 3.4 and rnftools, and instead run into a pysam/htslib issue:
Any aid in getting this running with any version of python would be appreciated.
The text was updated successfully, but these errors were encountered: