Skip to content

Commit d81601f

Browse files
committed
Update selected columns
1 parent b54c88e commit d81601f

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

config/config.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,6 @@ ANNOTATION:
5151
- WARNING_TRANSCRIPT_NO_START_CODON
5252
- WARNING_TRANSCRIPT_NO_STOP_CODON
5353
VARIANT_NAME_PATTERN: "{GENE}:{coalesce(HGVS_P, HGVS_C)}" # dplyr's coalesce finds the first non-missing element
54-
SELECT_COLS:
55-
- CHROM
56-
- POS
57-
- REF
58-
- ALT
59-
- EFFECT
60-
- IMPACT
61-
- GENE
62-
- HGVS_P
63-
- HGVS_C
6454
DEMIX:
6555
PATHOGEN: "SARS-CoV-2"
6656
MIN_QUALITY: 20

workflow/rules/vaf.smk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ rule merge_annotation:
198198
conda: "../envs/renv.yaml"
199199
params:
200200
ref_name = config["ALIGNMENT_REFERENCE"],
201-
select_columns = config["ANNOTATION"]["SELECT_COLS"],
202201
input:
203202
tsv = OUTDIR/"vaf"/"{sample}.masked.prefiltered.tsv",
204203
annot = OUTDIR/"vaf"/"{sample}.vcf_fields.longer.tsv",

workflow/scripts/merge_annotation.R

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,12 @@ log_info("Reading annotation table")
3939
annotation <- read_tsv(
4040
snakemake@input$annot,
4141
col_select = c(
42-
unlist(snakemake@params$select_columns),
42+
"CHROM",
43+
"POS",
44+
"REF",
45+
"ALT",
46+
"EFFECT",
47+
"IMPACT",
4348
"VARIANT_NAME"
4449
),
4550
col_types = list(

0 commit comments

Comments
 (0)