diff --git a/.test/config-simple/samples.csv b/.test/config-simple/samples.csv index b97b8c9..1fca93e 100644 --- a/.test/config-simple/samples.csv +++ b/.test/config-simple/samples.csv @@ -1,3 +1,3 @@ sample condition condition2 batch platform purity -01 male condition2 batch1 NANOPORE 1 -02 female condition2 batch1 NANOPORE 1 +../ngs-test-data/reads/a.chr21.1.fq treated condition2 batch1 NANOPORE 1 +../ngs-test-data/reads/b.chr21.1.fq untreated condition2 batch1 NANOPORE 1 diff --git a/workflow/rules/ref.smk b/workflow/rules/ref.smk index 3baee73..9a2d2ff 100644 --- a/workflow/rules/ref.smk +++ b/workflow/rules/ref.smk @@ -1,6 +1,7 @@ localrules: get_genome, - get_annotation, + extract_annotation, + extract_genome, rule get_genome: @@ -40,7 +41,7 @@ rule extract_genome: rule extract_annotation: input: - rules.get_annotation.output, + rules.get_genome.output, output: "references/genomic.gff", group: @@ -50,7 +51,7 @@ rule extract_annotation: log: "logs/refs/get_annotation.log", conda: - "../envs/references.yml" + "../envs/reference.yml" shell: """ unzip -p {input} ncbi_dataset/data/{params.accession}/*.gff > references/genomic.gff 2> {log};