File tree Expand file tree Collapse file tree 3 files changed +1
-61
lines changed
Expand file tree Collapse file tree 3 files changed +1
-61
lines changed Original file line number Diff line number Diff line change @@ -52,22 +52,6 @@ rule snps_to_ancestor:
5252 """
5353
5454
55- rule annotation :
56- threads :1
57- conda : "../envs/biopython.yaml"
58- shadow : "shallow"
59- input :
60- gb = OUTDIR / "reference.gb" ,
61- ref = OUTDIR / "reference.fasta" ,
62- features = Path (config ["FEATURES_JSON" ]).resolve ()
63- output :
64- df = temp (OUTDIR / "annotation.csv" )
65- log :
66- LOGDIR / "annotation" / "log.txt"
67- script :
68- "../scripts/report/get_annotation.py"
69-
70-
7155rule mask_tsv :
7256 threads : 1
7357 conda : "../envs/biopython.yaml"
@@ -92,8 +76,7 @@ rule filter_tsv:
9276 min_alt_rv = 2 ,
9377 min_alt_dp = 2 ,
9478 input :
95- tsv = OUTDIR / "vaf" / "{sample}.masked.tsv" ,
96- annotation = OUTDIR / "annotation.csv"
79+ tsv = OUTDIR / "vaf" / "{sample}.masked.tsv"
9780 output :
9881 filtered_tsv = temp (OUTDIR / "vaf" / "{sample}.masked.prefiltered.tsv" )
9982 log :
Original file line number Diff line number Diff line change @@ -43,13 +43,6 @@ data <- mutate(
4343# Remove duplicated features
4444data <- distinct(data , pick(! GFF_FEATURE ), .keep_all = TRUE )
4545
46- # Change annotation to gb2seq annotation
47- features <- read_csv(snakemake @ input [[" annotation" ]])
48-
49- data <- data %> %
50- left_join(features ) %> %
51- rename(GB_FEATURE = GEN )
52-
5346log_info(" Saving results" )
5447write_tsv(
5548 data ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments