We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c784f2 commit daa3b42Copy full SHA for daa3b42
2 files changed
workflow/envs/savana.yaml
@@ -0,0 +1,6 @@
1
+channels:
2
+ - conda-forge
3
+ - bioconda
4
+ - nodefaults
5
+dependencies:
6
+ - savana =1.3.2
workflow/rules/candidate_calling.smk
@@ -23,6 +23,25 @@ rule freebayes:
23
"v2.7.0/bio/freebayes"
24
25
26
+rule savana:
27
+ input:
28
+ ref=access.random(genome),
29
+ ref_idx=genome_fai,
30
+ aln="results/recal/{sample}.{ext}",
31
+ index="results/recal/{sample}.{ext}.bai",
32
+ output:
33
+ "results/candidate-calls/{sample}.savana.bcf",
34
+ conda:
35
+ "../envs/savana.yaml",
36
+ log:
37
+ "logs/savana/{sample}.log",
38
+ shadow: "minimal"
39
+ threads: 8
40
+ shell:
41
+ "(savana to --tumour {input.aln} --ref {input.ref} --outdir . &&"
42
+ " mv *_sv_breakpoints.vcf {output}) 2> {log}"
43
+
44
45
rule delly:
46
input:
47
ref=access.random(genome),
0 commit comments