Skip to content
Snippets Groups Projects
Commit ffe02190 authored by van den Berg's avatar van den Berg
Browse files

Add settings for distance and threshold to the configuration

parent c229ca11
No related branches found
No related tags found
1 merge request!2Add testing to vcf-to-varda
Pipeline #3752 passed
...@@ -74,10 +74,13 @@ rule gvcf2coverage: ...@@ -74,10 +74,13 @@ rule gvcf2coverage:
lambda wildcards: config["samples"][wildcards.sample]["gvcf"] lambda wildcards: config["samples"][wildcards.sample]["gvcf"]
output: output:
temp("{sample}/varda/{sample}_coverage_ucsc.varda") temp("{sample}/varda/{sample}_coverage_ucsc.varda")
params:
threshold = config["settings"]["threshold"],
distance = config["settings"]["distance"]
container: container:
containers["gvcf2coverage"] containers["gvcf2coverage"]
shell: shell:
"gvcf2coverage -t 10 -d 0 < {input} > {output}" "gvcf2coverage -t {params.threshold} -d {params.distance} < {input} > {output}"
rule cov_cthreepo: rule cov_cthreepo:
input: input:
......
...@@ -5,5 +5,9 @@ ...@@ -5,5 +5,9 @@
"gvcf": "test/data/16699289_chrM.g.vcf", "gvcf": "test/data/16699289_chrM.g.vcf",
"vcf": "test/data/16699289_chrM.vcf" "vcf": "test/data/16699289_chrM.vcf"
} }
},
"settings": {
"threshold": 10,
"distance": 0
} }
} }
...@@ -5,5 +5,9 @@ ...@@ -5,5 +5,9 @@
"gvcf": "test/data/16699289_chrM.g.vcf", "gvcf": "test/data/16699289_chrM.g.vcf",
"vcf": "test/data/fake_chrM_multiallelic.vcf" "vcf": "test/data/fake_chrM_multiallelic.vcf"
} }
},
"settings": {
"threshold": 10,
"distance": 0
} }
} }
...@@ -5,5 +5,9 @@ ...@@ -5,5 +5,9 @@
"gvcf": "test/data/16699289_chrM.g.vcf", "gvcf": "test/data/16699289_chrM.g.vcf",
"vcf": "test/data/16699289_chrM_noalt_uncalled.vcf" "vcf": "test/data/16699289_chrM_noalt_uncalled.vcf"
} }
},
"settings": {
"threshold": 10,
"distance": 0
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment