-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCONSTANTS.py
54 lines (42 loc) · 1.37 KB
/
CONSTANTS.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
residues = {
"A": 1, "C": 2, "D": 3, "E": 4, "F": 5, "G": 6, "H": 7, "I": 8, "K": 9, "L": 10, "M": 11,
"N": 12, "P": 13, "Q": 14, "R": 15, "S": 16, "T": 17, "V": 18, "W": 19, "Y": 20
}
INVALID_ACIDS = {"U", "O", "B", "Z", "J", "X", "*"}
amino_acids = {
"ALA": "A", "ARG": "R", "ASN": "N", "ASP": "D", "CYS": "C", "GLN": "Q", "GLU": "E",
"GLY": "G", "HIS": "H", "ILE": "I", "LEU": "L", "LYS": "K", "MET": "M", "PHE": "F",
"PRO": "P", "PYL": "O", "SER": "S", "SEC": "U", "THR": "T", "TRP": "W", "TYR": "Y",
"VAL": "V", "ASX": "B", "GLX": "Z", "XAA": "X", "XLE": "J"
}
root_terms = {"GO:0008150", "GO:0003674", "GO:0005575"}
exp_evidence_codes = {"EXP", "IDA", "IPI", "IMP", "IGI", "IEP", "TAS", "IC", "HTP", "HDA", "HMP", "HGI", "HEP"}
# ROOT_DIR = "/home/fbqc9/Workspace/DATA/"
ROOT_DIR = "/home/fbqc9/Workspace/TFewData/"
ROOT = "/home/fbqc9/PycharmProjects/TransFun2/"
NAMESPACES = {
"cc": "cellular_component",
"mf": "molecular_function",
"bp": "biological_process"
}
FUNC_DICT = {
'cc': 'GO:0005575',
'mf': 'GO:0003674',
'bp': 'GO:0008150'
}
BENCH_DICT = {
'cc': "CCO",
'mf': 'MFO',
'bp': 'BPO'
}
NAMES = {
"cc": "Cellular Component",
"mf": "Molecular Function",
"bp": "Biological Process"
}
GO_FILTERS = {
'cc': (25, 4),
'mf': (30, 4),
'bp': (30, 8)
}
go_graph_path = ROOT_DIR + "/obo/go-basic.obo"