-
Notifications
You must be signed in to change notification settings - Fork 1
/
Snakefile
35 lines (28 loc) · 1013 Bytes
/
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
""" Snake pipeline for running tf analysis """
# Configure shell for all rules
shell.executable("/bin/bash")
shell.prefix("set -o nounset -o pipefail -o errexit -x; ")
BED_FILE = config["BED_FILE"]
FASTA_FILE = config["FASTA_FILE"]
GENES = config["GENES"]
RESULTS = config["RESULTS"]
DISTANCES = config["DISTANCES"]
CHR_SIZE = config["CHR_SIZE"]
MOTIFS = config["MOTIFS"]
SPECIES = config["SPECIES"]
rule all:
input:
expand(
"{results}/meme_{gene_list}/{distance}_test/subset_promoter.fa",
results = RESULTS, gene_list = GENES, distance = DISTANCES
),
expand(
"{results}/meme_{gene_list}/{distance}_test/fimo_out/",
results = RESULTS, gene_list = GENES, distance = DISTANCES
),
expand(
"{results}/homer_{gene_list}/{distance}_test/",
results = RESULTS, gene_list = GENES, distance = DISTANCES
)
include: "src/rules/run_meme.snake"
include: "src/rules/run_homer.snake"