Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: batch correction #89

Merged
merged 20 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .test/config-simple/samples.csv
Original file line number Diff line number Diff line change
@@ -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
7 changes: 4 additions & 3 deletions workflow/rules/ref.smk
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
localrules:
get_genome,
get_annotation,
extract_annotation,
extract_genome,


rule get_genome:
Expand Down Expand Up @@ -40,7 +41,7 @@ rule extract_genome:

rule extract_annotation:
input:
rules.get_annotation.output,
rules.get_genome.output,
output:
"references/genomic.gff",
group:
Expand All @@ -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};
Expand Down
Loading