Skip to content

Commit 4002459

Browse files
committed
move and rename rule
1 parent f16ffa9 commit 4002459

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

workflow/rules/evolution.smk

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,6 @@ rule filter_genbank_features:
1414
"../scripts/filter_genbank_features.py"
1515

1616

17-
rule build_problematic_bed:
18-
conda:
19-
"../envs/bedtools.yaml"
20-
input:
21-
vcf = lambda wildcards: select_problematic_vcf(),
22-
output:
23-
bed = temp(OUTDIR / "sites_masked.bed"),
24-
log:
25-
LOGDIR / "build_problematic_bed" / "log.txt",
26-
shell:
27-
"bedtools merge -i {input.vcf} >{output.bed} 2>{log}"
28-
29-
3017
rule n_s_sites:
3118
threads: 1
3219
conda: "../envs/biopython.yaml"

workflow/rules/sites.smk

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
rule problematic_vcf_to_bed:
2+
conda:
3+
"../envs/bedtools.yaml"
4+
input:
5+
vcf = lambda wildcards: select_problematic_vcf(),
6+
output:
7+
bed = temp(OUTDIR / "sites_masked.bed"),
8+
log:
9+
LOGDIR / "build_problematic_bed" / "log.txt",
10+
shell:
11+
"bedtools merge -i {input.vcf} >{output.bed} 2>{log}"
12+
13+
114
rule bcftools_mpileup_all_sites:
215
threads: 1
316
conda: "../envs/var_calling.yaml"

0 commit comments

Comments
 (0)