-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSnakefile
More file actions
35 lines (32 loc) · 935 Bytes
/
Snakefile
File metadata and controls
35 lines (32 loc) · 935 Bytes
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
include: 'workflow/utils/functions.smk'
include: 'workflow/setup/setup.smk'
import os
JAVA_TEMP_DIR = config.get("params", {}).get("java", {}).get("temp_directory", "tmp/java")
os.makedirs(JAVA_TEMP_DIR, exist_ok=True)
if config['run_type'] == 'wes':
include: 'wrapper/wes.smk'
rule all:
input:
rules.wes_pipeline.input
elif config['run_type'] == 'wgs':
include: 'wrapper/wgs.smk'
rule all:
input:
rules.wgs_pipeline.input
elif config['run_type'] == 'rna':
include: 'wrapper/rna.smk'
rule all:
input:
rules.rna_pipeline.input
elif config['run_type'] == 'build_b37':
rule all:
input:
rules.build_b37_ref.input
elif config['run_type'] == 'build_hg38':
rule all:
input:
rules.build_b37_ref.input
elif config['run_type'] == 'build_hg38':
rule all:
input:
rules.build_b37_ref.input