Closed mrese001 closed 1 year ago
Hey Mariano,
it seems that you are using a newer version of grenepipe with an older config.yaml
- that won't work. It's a bit unfortunate, but while we are in grenedalf pre-v1.0.0, to keep the code simple, releases are not always backwards compatible. So, to solve this, you'll have to use the config.yaml
of the version you are using, and adapt that to your dataset. Usually, you can re-use most of it - use the diff
or sdiff
command on your terminal to find the differences between the two config files, and make changes as to the new one as needed.
Cheers Lucas
Hey Lucas!
Thanks for the advice. I changed the yaml file to the correct version and now onto what I think may be the source of my stress around this workflow: I found that by typing:
$ conda info
I get the following collapsible details and error. I think this may be because either/both:
Would this be possible? If so how can I ask snakemake to use the local version?
Thanks again and talk soon :)
Hey @mrese001,
yes, those errors look like they could come from mispatching conda/python/pandas versions. You seem to be operating in base
environment, and not in a conda environment for grenepipe, as described here. That might be the issue. The beginning of the grenepipe output log lists all the base conda and python versions and environments - can you compare if those match your expectations, and/or post that first bit of the log file here as well? For example, above, it says that python is in version 3.9.15, while grenpipe uses python 3.7.10, so something is not quite right there.
I would highly recommend to follow the setup as describe here, as otherwise you can easily run into such incompatibilities. Please check that this is the case.
Cheers Lucas
Hi @mrese001,
any updates on this?
Cheers Lucas
Hey @lczech ,
You were indeed correct - I had the base environment loaded instead of the build for grenepipe. Sorry it took so long for me to respond to your replies!
Mariano
Hi Lucas!
In an effort to troubleshoot as much as I can with Grenepipe I downloaded the latest version on a coworker's directory and am attempting to run a citrus genome through it. When I do, the errors seem to reference MarkDuplicates-java-opts. I read previous issues regarding this and attempted to apply a condition " -Xmx10g" and even scaled up to 40g but with no luck. Any advice on this?
Here is the Error output: Full Traceback (most recent call last): File "/rhome/rpisc002/.conda/envs/grenepipe/lib/python3.7/site-packages/snakemake/init.py", line 593, in snakemake snakefile, overwrite_first_rule=True, print_compilation=print_compilation File "/rhome/rpisc002/.conda/envs/grenepipe/lib/python3.7/site-packages/snakemake/workflow.py", line 1114, in include exec(compile(code, snakefile, "exec"), self.globals) File "/bigdata/koeniglab/rpisc002/GRENEPIPE/grenepipeWD/Snakefile", line 67, in
File "/rhome/rpisc002/.conda/envs/grenepipe/lib/python3.7/site-packages/snakemake/workflow.py", line 1114, in include
exec(compile(code, snakefile, "exec"), self.globals)
File "/bigdata/koeniglab/rpisc002/GRENEPIPE/grenepipeWD/rules/mapping.smk", line 266, in
if config["settings"]["clip-read-overlaps"]:
File "/rhome/rpisc002/.conda/envs/grenepipe/lib/python3.7/site-packages/snakemake/workflow.py", line 1114, in include
exec(compile(code, snakefile, "exec"), self.globals)
File "/bigdata/koeniglab/rpisc002/GRENEPIPE/grenepipeWD/rules/duplicates-picard.smk", line 44, in
wrapper:
KeyError: 'MarkDuplicates-java-opts'
KeyError in line 35 of /bigdata/koeniglab/rpisc002/GRENEPIPE/grenepipeWD/rules/duplicates-picard.smk: 'MarkDuplicates-java-opts' File "/bigdata/koeniglab/rpisc002/GRENEPIPE/grenepipeWD/Snakefile", line 57, in
File "/bigdata/koeniglab/rpisc002/GRENEPIPE/grenepipeWD/rules/mapping.smk", line 211, in
File "/bigdata/koeniglab/rpisc002/GRENEPIPE/grenepipeWD/rules/duplicates-picard.smk", line 35, in