Toxin_workflow.snk 767 Bytes
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/Toxin/Toxin'
Laura Denies's avatar
Laura Denies committed
8
include:
9
    '../rules/Toxin/Combine_Toxin_SignalP'
Laura Denies's avatar
Laura Denies committed
10
include:
11
    '../rules/Toxin/Toxin_report'
Laura Denies's avatar
Laura Denies committed
12
13
14

# master command
rule Analysis:
15
16
17
18
19
20
21
22
23
24
25
    input:
        expand(
            [
                "{OUTDIR}/{project}/SignalP/aggregated/{input_file}_SignalP_results.txt",
                "{OUTDIR}/{project}/Toxin_gene_library_{input_file}_report.tsv",
                "{OUTDIR}/{project}/Toxin_prediction_{input_file}_report.csv"
            ],
            OUTDIR=config["OUTDIR"], project=config["project"], input_file=config["input_file"]
        )
    output:
        touch('Toxin_analyis.done')