-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
51 lines (43 loc) · 1.79 KB
/
config.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
data_dir = "dummy_database/"
upload_dir = "temp_files/"
domain_name = "https://glycoshape.io"
N_linked = {"Res":["ASN"],"phi": (-130,-63),"psi":(152,205)}
O_linked = {"Res":["SER","THR"],"phi": (65,86),"psi":(111,164)}
C_linked = {"Res":["TYR","TRP"],"phi": (110,150),"psi":(-3,3)}
ASN = {"link": "beta" , "A": ["CB"], "B": ["CG"], "C": ["ND2"], "D": ["C1"], "E": ["O5"],
"sugars": {
"GlcNAc": {"phi": (-130,-63), "psi":(152,205),"link": "beta"},
}
}
THR = {"link": "alpha" , "A": ["CA"], "B": ["CB"], "C": ["OG1","OG"], "D": ["C1"], "E": ["O5"],
"sugars": {
"GalNAc": {"phi": (55,83), "psi":(86,142),"link": "alpha"},
"Fuc": {"phi": (276,305), "psi":(145,187),"link": "alpha"},
"Man": {"phi": (61,88), "psi":(88,150),"link": "alpha"},
"GlcNAc": {"phi": (143,221), "psi":(171,193),"link": "alpha"},
}
}
SER = {"link": "alpha" , "A": ["CA"], "B": ["CB"], "C": ["OG1","OG"], "D": ["C1"], "E": ["O5"],
"sugars": {
"GalNAc": {"phi": (61,86), "psi":(163,224),"link": "alpha"},
"Fuc": {"phi": (58,106), "psi":(86,192),"link": "alpha"},
"Glc": {"phi": (261,297), "psi":(146,219),"link": "beta"},
"Xyl": {"phi": (265,309), "psi":(107,231),"link": "beta"},
"GlcNAc": {"phi": (272,308), "psi":(178,300),"link": "beta"},
}
}
TYR = {"link": "alpha" , "A": ["CB"], "B": ["CG"], "C": ["CD1"], "D": ["C1"], "E": ["O5"],
"sugars": {
"Man": {"phi": (110,150), "psi":(-3,-3),"link": "alpha"}},
}
TRP = {"link": "alpha" , "A": ["CB"], "B": ["CG"], "C": ["CD1"], "D": ["C1"], "E": ["O5"],
"sugars": {
"Man": {"phi": (110,150), "psi":(-3,3),"link": "alpha"},
}
}
RESIDUE_MAP = {
"ASN": ASN,
"THR": THR,
"SER": SER,
"TRP": TRP
}