Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Midoux Cedric
workflow_metagenomics
Commits
5efe1830
Commit
5efe1830
authored
Jun 25, 2020
by
Midoux Cedric
Browse files
viromeQC
parent
b88960f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
global.smk
View file @
5efe1830
...
...
@@ -27,7 +27,7 @@ rule all:
expand("work/addon/{sample}.small_contigs.taxNames.tsv", sample=config["SAMPLES"]),
#expand("work/addon/catalogue.{sample}.unmapped.taxNames.tsv", sample=config["SAMPLES"]),
#virome
"report/viromeQC
.txt"
,
expand(
"report/viromeQC
-{sample}.txt", sample=config["SAMPLES"])
,
include: "../workflow_metagenomics/quality.smk"
...
...
virome.smk
View file @
5efe1830
rule viromeQC:
input:
expand("DATA/trim/{sample}_{R}.fastq.gz", sample=config["SAMPLES"], R=["R1", "R2"])
R1 = "DATA/trim/{sample}_R1.fastq.gz",
R2 = "DATA/trim/{sample}_R2.fastq.gz"
output:
"report/viromeQC.txt"
"report/viromeQC
-{sample}
.txt"
threads:
8
shell:
"conda activate viromeQC-1.0 "
"&& "
"viromeQC.py "
"--input {input} "
"--input {input
.R1} {input.R2
} "
"--output {output} "
"--bowtie2_threads {threads} "
"--diamond_threads {threads} "
"--enrichment_preset environmental "
"--sample_name {wildcards.sample} "
"--tempdir /projet/tmp/ "
"&& "
"conda deactivate "
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment