Last active
July 19, 2018 19:15
-
-
Save adefelicibus/9c4cf9d6ca8b76a5b2b3ecad61c63409 to your computer and use it in GitHub Desktop.
Snakemake log issue #912
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create the directory fake/test and the file fake/test/sample.Mutect2.snpSift.vcf.gz | |
# Run on cluster, example: | |
# snakemake --cluster 'bash ' -j1 -p | |
rule all: | |
input: | |
expand( | |
"fake/test/{t}.Mutect2.snpSift.hardfilter.vcf.gz", | |
t=['sample']), | |
rule rule1: | |
input: | |
vcf = ancient('fake/{y}/{x}.vcf.gz'), | |
output: | |
indel = temp('fake/{y}/{x}.indels.raw.vcf.gz'), | |
log: | |
'fake/logs/rule1.{y}.{x}.log' | |
params: | |
jobname = 'rule1.{x}' | |
shell: | |
'touch {output.indel}' | |
rule rule2: | |
input: | |
indel = 'fake/{y}/{x}.indels.raw.vcf.gz', | |
output: | |
'fake/{y}/{x}.hardfilter.vcf.gz' | |
log: | |
'fake/logs/rule2.{y}.{x}.log' | |
params: | |
jobname = 'rule2', | |
shell: | |
'touch {output}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment