-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.py
More file actions
68 lines (66 loc) · 2.25 KB
/
constants.py
File metadata and controls
68 lines (66 loc) · 2.25 KB
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
66
67
68
GROUPS_WITH_LABELS = {
"benign": ['Benign',
'Likely_benign',
'Benign/Likely_benign',
'Benign|drug_response',
'Likely_benign|other',
'Likely_benign|drug_response|other'],
"pathogenic": ['Pathogenic',
'Pathogenic/Likely_pathogenic',
'Pathogenic|other',
'Likely_pathogenic',
'Likely_pathogenic|association',
'Pathogenic/Likely_pathogenic|risk_factor'],
"uncertain": ['Conflicting_classifications_of_pathogenicity',
'Conflicting_classifications_of_pathogenicity|drug_response|other',
'Conflicting_classifications_of_pathogenicity|association',
'Uncertain_significance'],
"other": ['', 'not_provided', 'drug_response']
}
INFO_KEYS = ["CSQ", "RankResult", "RankScore", "CLNSIG", "AF", "DP", "GNOMAD_AF"]
CSQ_KEYS = ["Consequence", "SIFT", "PolyPhen", "gnomAD_AF", "COSMIC", "CLIN_SIG"]
CONTROLS = "controls_match.tsv"
CONSEQUENCE_ORDER = [
"transcript_ablation",
"splice_acceptor_variant",
"splice_donor_variant",
"stop_gained",
"frameshift_variant",
"stop_lost",
"start_lost",
"transcript_amplification",
"feature_elongation",
"feature_elongation",
"inframe_insertion",
"inframe_deletion",
"missense_variant",
"protein_altering_variant",
"splice_donor_5th_base_variant",
"splice_region_variant",
"splice_donor_region_variant",
"splice_polypyrimidine_tract_variant",
"incomplete_terminal_codon_variant",
"start_retained_variant",
"stop_retained_variant",
"synonymous_variant",
"coding_sequence_variant",
"mature_miRNA_variant",
"5_prime_UTR_variant",
"3_prime_UTR_variant",
"non_coding_transcript_exon_variant",
"intron_variant",
"NMD_transcript_variant",
"non_coding_transcript_variant",
"coding_transcript_variant",
"upstream_gene_variant",
"downstream_gene_variant",
"TFBS_ablation",
"TFBS_amplification",
"TF_binding_site_variant",
"regulatory_region_ablation",
"regulatory_region_amplification",
"regulatory_region_variant",
"intergenic_variant",
"sequence_variant",
"not_reported"
]