-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmaster.Snakefile
59 lines (54 loc) · 1.81 KB
/
master.Snakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
"""----------------------------
Mostafa.Abdel-Glil@fli.de, date: October, 15, 2018, Friedrich-Loeffler-Institut (https://www.fli.de/)
-------------------------------
# To-Do
# config file
- make 2 config files (samples and other settings)
#tools
- define which version of software to be used via specifying the full path
-------------------------------
"""
configfile: "config.yaml"
sample=config["samples"]
genome=config["genomes"]
db=config["DB"]["kraken"],
db_krona=config["DB"]["krona"]
scripts_dir=config["tools"]["scripts_dir"]
#configfile: "assembly.config.yaml"
#configfile: "config/samples.yaml" #make 2 config files (samples and other settings)
import os
import tempfile
#import glob
#TMP_DIR_ROOT = config['tmp_dir_root']
snakefiles = os.path.join(config["directories"]["snakemake_folder"], "Snakefiles/")
include: snakefiles + "defineFolders.Snakefile"
include: snakefiles + "denovoassembly.Snakefile"
include: snakefiles + "pangenome.Snakefile"
include: snakefiles + "virulenceAndAMR.Snakefile"
rule all: #unneeded rules could be deactivated by commenting the line (#)
#deactivated runs will only run if they are needed for other rules
input:
#"""Rules for denovoassembly.Snakefile""",
#data_preparation,
FastQC,
SICKLE,
SPAdes,
Kraken_fastq,
Kraken_contig,
Quast,
denovo_assembly_report,
#"""Rules for the pangenome.Snakefile""",
Prokka,
Prokka_assemblies,
Roary,
FastTree,
#"""Rules for the virulenceAndAMR.Snakefile""",
#dataset_link,
aribaAMR, ##search for AMR genes using ariba as a tool and CARD as AMR database
aribaAMRsummary,
abricateAMR,
AMRabricatesummary,
aribaVF,
aribaVFsummary,
abricateVF,
VFabricatesummary,