-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchipseq.snakefile
36 lines (32 loc) · 1.07 KB
/
chipseq.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
configfile: "CONFIG/chipseq.yaml"
# RUNINFO
INPUTINFO = config["INPUTINFO"]
# OUTPUTPATH
alignment = config["OUTPUTPATH"]["alignment"]
macs2 = config["OUTPUTPATH"]["macs2"]
# DATAPATH
SAMPLEPATH = config["DATAPATH"]["SAMPLEPATH"]
GTF = config["DATAPATH"]["SAMPLEPATH"]
GENOME = config["DATAPATH"]["GENOME"]
INDEX = config["DATAPATH"]["INDEX"]
REFSEQ = config["DATAPATH"]["REFSEQ"]
# SAMPLEINFO
ALLSAMPLE = config["ALLSAMPLE"]
# EXNAME = config["EXNAME"]
INPUTINFO = config["INPUTINFO"]
# PARA
THREAD = config["THREAD"]
# SOFT
BOWTIE2 = config["SOFT"]["bowtie2"]
MACS2 = config["SOFT"]["macs2"]
SAMTOOLS = config["SOFT"]["samtools"]
BAMCOVERAGE = config["SOFT"]["bamcoverage"]
COMPUTEMATRIX = config["SOFT"]["computeMatrix"]
PLOTHEATMAP = config["SOFT"]["plotHeatmap"]
PLOTPROFILE = config["SOFT"]["plotProfile"]
rule all:
input: expand(macs2 + '/{sample}/{sample}.png', sample=INPUTINFO),
expand(macs2 + '/{sample}/{sample}_summits.bed', sample=INPUTINFO)
include: "rules/alignment/bowtie2.rule"
include: "rules/peak/peak.rule"
include: "rules/peak/bamcoverage.rule"