-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathinput_main.py
More file actions
23 lines (21 loc) · 845 Bytes
/
input_main.py
File metadata and controls
23 lines (21 loc) · 845 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from Class_PDB import *
from Class_Conf import *
from seq_parser import *
def main():
#specify the annotated sequence and working directory
seq, ring_length, upper_plug, wk_dir = 'GGAGHVPEYFVRGDTPISFYG', 8, 11, 'test'
proto_lasso=construct_scaffold(seq, ring_length, upper_plug, wk_dir)
PDB1=PDB(proto_lasso, wk_dir=wk_dir)
sequence=seq_flags(seq, ring_length) #lasso seq
print(PDB1.Add_MutaFlag(sequence))
PDB1.PDB2PDBwLeap()
#use minimization to relax each mutated lasso
PDB1.PDB2FF()
PDB1.PDBMin()
#run MD
PDB1.rm_wat()
PDB1.PDB2FF()
PDB1.conf_prod['nstlim'] = 500 # Edit MD configuration (see default in Class_Conf.py - Config.Amber)
PDB1.PDBMD(tag='_mccJ25_RGD') #dir to store MD input files
if __name__ == "__main__":
main()