Allow for failed wildcards in Snakemake workflow
0
0
Entering edit mode
3.8 years ago
mrmrwinter ▴ 30

Hi,

I have a snakemake workflow that contains a small section with several shell command rules and external python script rules.

The rules iterate over a wildcard, {OG}, which is created at the beginning of the workflow.

At each rule, some of the wildcards will fail. The successful ones should be passed to the next rule. However, snakemake fails on subsequent rules due to the required input file being missing, as a result of it failing a previous rule.

i have looked into dynamic inputs and checkpoints, but I cant seem to get it to work and the documentation is thin.

My question is, how can I make snakemake reevaluate the wildcard after each rule, so as not to hit errors with missing inputs?

Thanks

snakemake python wildcards • 838 views
ADD COMMENT
0
Entering edit mode

Hi I am running into exactly the same problem. Did you ever encounter a solution to this?

ADD REPLY

Login before adding your answer.

Traffic: 1651 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6