-
Notifications
You must be signed in to change notification settings - Fork 4
/
Snakefile0
29 lines (24 loc) · 978 Bytes
/
Snakefile0
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
configfile: "config.yaml"
rule all:
input: 'result/'+config['file_coexp_module']
rule covariates:
input:
file_gene_annotation=config['dir_mappability']+config['file_gene_annotation'],
file_mappability=config['dir_mappability']+config['file_mappability'],
file_cross_mappability=config['dir_mappability']+config['file_cross_mappability'],
file_covariates=config['dir_expression']+config['file_covariates'],
file_ex=config['dir_expression']+config['file_ex']
output:
file_gene_meta='result/'+config['file_gene_meta'],
file_ex_var_regressed='result/'+config['file_ex_var_regressed']
script:
'script/'+config['script_covariates']
rule coexp_module:
input:
file_ex_var_regressed='result/'+config['file_ex_var_regressed']
output:
file_coexp_module='result/'+config['file_coexp_module'],
file_Nmodule='result/Nmodule.txt'
params: minModuleSize=config['minModuleSize']
script:
'script/'+config['script_coexp_module']