-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun.py
65 lines (60 loc) · 1.48 KB
/
run.py
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import generate_dig_report_main
import generate_dig_report_coding
import generate_dig_report_noncoding
import generate_dig_report_combined
cgc_list_path = './cancer_gene_census_2024_06_20.tsv'
pancan_list_path = './pancanatlas_genes.tsv'
# noncoding regions
generate_dig_report_noncoding.generate_dig_report(
'promoters.results.txt',
'./',
cgc_list_path,
pancan_list_path,
'promoter_regions',
prefix_output='uvm'
)
generate_dig_report_noncoding.generate_dig_report(
'5utr.results.txt',
'./',
cgc_list_path,
pancan_list_path,
'5-prime_UTRs',
prefix_output='uvm'
)
generate_dig_report_noncoding.generate_dig_report(
'3utr.results.txt',
'./',
cgc_list_path,
pancan_list_path,
'3-prime_UTRs',
prefix_output='uvm'
)
# coding regions
generate_dig_report_coding.generate_dig_report(
'genes.results.txt',
'./',
cgc_list_path,
pancan_list_path,
prefix_output='uvm'
)
# combined test for all regions
generate_dig_report_combined.generate_dig_report(
'genes.results.txt',
'promoters.results.txt',
'3utr.results.txt',
'5utr.results.txt',
'./',
cgc_list_path,
pancan_list_path,
prefix_output='uvm'
)
# main report
generate_dig_report_main.generate_main_report(
'uvm_dig_report_coding_regions.html',
'uvm_dig_report_promoter_regions.html',
'uvm_dig_report_3-prime_utrs.html',
'uvm_dig_report_5-prime_utrs.html',
'uvm_dig_report_combined.html',
'./',
prefix_output='uvm'
)