global.smk 1.15 KB
Newer Older
Midoux Cedric's avatar
Midoux Cedric committed
1
shell.executable("/bin/bash")
Midoux Cedric's avatar
Midoux Cedric committed
2
shell.prefix("source ~/.bashrc; ")
Midoux Cedric's avatar
Midoux Cedric committed
3
4
5
6
7
8

import os
configfile: "./config.json"

rule all:
	input:
Midoux Cedric's avatar
Midoux Cedric committed
9
		"report/multiqc_report.html",
Midoux Cedric's avatar
Midoux Cedric committed
10
		expand("report/reads_{sample}-krona.html", sample=config["SAMPLES"]),
Midoux Cedric's avatar
Midoux Cedric committed
11
		#coassembly
Midoux Cedric's avatar
quast    
Midoux Cedric committed
12
		"report/quast_coassembly/report.html",
13
		expand("report/count-contigs-coassembly-{sample}.tsv", sample=config["SAMPLES"]),
Midoux Cedric's avatar
Midoux Cedric committed
14
15
		expand("report/count-genes-coassembly-{sample}.tsv", sample=config["SAMPLES"]),
		"report/diamond_nr_coassembly.tsv",
Midoux Cedric's avatar
Midoux Cedric committed
16
		"report/diamond_swissprot_coassembly.tsv",
Midoux Cedric's avatar
Midoux Cedric committed
17
18
		"report/contigs_coassembly-taxNames.tsv",
		"report/genes_coassembly-taxNames.tsv",
Midoux Cedric's avatar
Midoux Cedric committed
19
20
		#catalogue
		"report/quast_results/report.html",
Midoux Cedric's avatar
Midoux Cedric committed
21
		expand("report/count-contigs-catalogue-{sample}.tsv", sample=config["SAMPLES"]),
Midoux Cedric's avatar
Midoux Cedric committed
22
23
		"report/diamond_nr_catalogue.tsv",
		"report/contigs_catalogue-taxNames.tsv",
Midoux Cedric's avatar
Midoux Cedric committed
24

Midoux Cedric's avatar
Midoux Cedric committed
25

Midoux Cedric's avatar
Midoux Cedric committed
26
include: "../workflow_metagenomics/quality.smk"
Midoux Cedric's avatar
Midoux Cedric committed
27
include: "../workflow_metagenomics/preprocess.smk"
Midoux Cedric's avatar
Midoux Cedric committed
28
include: "../workflow_metagenomics/kaiju.smk"
Midoux Cedric's avatar
khmer    
Midoux Cedric committed
29
include: "../workflow_metagenomics/assembly.smk"
Midoux Cedric's avatar
Midoux Cedric committed
30
include: "../workflow_metagenomics/annotation.smk"
Midoux Cedric's avatar
Midoux Cedric committed
31
include: "../workflow_metagenomics/count.smk"
Midoux Cedric's avatar
Midoux Cedric committed
32
include: "../workflow_metagenomics/catalogue.smk"