-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSnakefile
30 lines (24 loc) · 952 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
# vim: syntax=python tabstop=4 expandtab
# coding: utf-8
shell.prefix("set -o pipefail; ")
shell.prefix("set -e; ")
shell.prefix("set -u; ")
configfile: "config.json"
include_prefix = "rules/"
include:
include_prefix + "bwa_mem_hic_wasp.rules"
include:
include_prefix + "haplotype.rules"
include:
include_prefix + "statistics.rules",
wildcard_constraints:
unit = '\w+',
bin = '(?!all)\w+'
rule all:
input:
expand("mapping/out/{unit}.all.mcool", unit=config["units"]),
expand("mapping/out/{unit}.{bin}.mcool", unit=config["units"], bin=config["bins"]),
expand("mapping/out/{unit}.all.pairing.bedgraph", unit=config["units"]),
expand("mapping/out/{unit}.{bin}.pairing.bedgraph", unit=config["units"], bin=config["bins"]),
expand("mapping/out/{unit}.all.counts.zip", unit=config["units"]),
expand("mapping/out/{unit}.{bin}.counts.zip", unit=config["units"], bin=config["bins"])