Combine_PathoFact_workflow.snk 1.15 KB
Newer Older
Laura Denies's avatar
Laura Denies committed
1
2
# include rules for the Analysis part of the workflow
include:
3
    '../rules/Universal/Preprocessing'
Laura Denies's avatar
Laura Denies committed
4
include:
5
    '../rules/Universal/SignalP'
Laura Denies's avatar
Laura Denies committed
6
include:
7
    '../rules/Virulence/Virulence'
Laura Denies's avatar
Laura Denies committed
8
include:
9
    '../rules/Virulence/Combine_Virulence_SignalP'
Laura Denies's avatar
Laura Denies committed
10
include:
11
    '../rules/Virulence/Virulence_report'
Laura Denies's avatar
Laura Denies committed
12
include:
13
    '../rules/Toxin/Toxin'
Laura Denies's avatar
Laura Denies committed
14
include:
15
    '../rules/Toxin/Combine_Toxin_SignalP'
Laura Denies's avatar
Laura Denies committed
16
include:
17
    '../rules/Toxin/Toxin_report'
Laura Denies's avatar
Laura Denies committed
18
include:
19
    '../rules/Universal/Preprocessing_contig'
Laura Denies's avatar
Laura Denies committed
20
include:
21
    '../rules/AMR/AMR'
Laura Denies's avatar
Laura Denies committed
22
include:
23
    '../rules/AMR/Plasmid'
Laura Denies's avatar
Laura Denies committed
24
include:
25
    '../rules/AMR/Phage'
Laura Denies's avatar
Laura Denies committed
26
include:
27
    '../rules/AMR/Combine_MGE_AMR'
Laura Denies's avatar
Laura Denies committed
28
include:
29
    '../rules/Universal/Combine_PathoFact'
Laura Denies's avatar
Laura Denies committed
30
31
32

# master command
rule Analysis:
33
34
35
36
37
38
39
40
41
42
43
    input:
        expand(
            [
                "{OUTDIR}/{project}/AMR/{input_file}_AMR_MGE_prediction_detailed.tsv",
                "{OUTDIR}/{project}/Toxin_gene_library_{input_file}_report.tsv",
                "{OUTDIR}/{project}/PathoFact_{input_file}_predictions.csv"
            ],
            OUTDIR=config["OUTDIR"], project=config["project"], input_file=config["input_file"]
        )
    output:
        touch('PathoFact_analyis.done')