Skip to content

Commit d0c68a7

Browse files
committed
geometry and topology tested version for AA and CG resolution
1 parent c7c9f00 commit d0c68a7

File tree

10 files changed

+202
-325
lines changed

10 files changed

+202
-325
lines changed

data/martini300C-ff/aminoacids.ff

Lines changed: 102 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,10 @@ L5Y 1
116116
BB SC1 1 0.360 8000
117117
SC1 SC2 1 0.365 7000
118118

119-
[angles]
119+
[ angles ]
120120
#meta {"group": "Side chain angles"}
121121
; i j k funct angle force.c.
122-
BB SC1 SC2 2 140 100
123-
122+
BB SC1 SC2 2 140 100
124123

125124
;;;; TRIVALENT - CROSSLINK - PART LY2
126125

@@ -1138,6 +1137,106 @@ collagen
11381137
[ dihedrals ]
11391138
-BB BB +BB ++BB 1 77 19 1
11401139

1140+
[ link ]
1141+
resname $protein_resnames
1142+
cgsecstruct "F"
1143+
[ features ]
1144+
collagen
1145+
[ angles ]
1146+
-BB BB SC1 1 40 152 {"group": "BBS angles L4Y"}
1147+
[ patterns ]
1148+
-BB BB {"cgsecstruct": "F","resname": "L4Y"} SC1
1149+
1150+
[ link ]
1151+
resname $protein_resnames
1152+
cgsecstruct "F"
1153+
[ features ]
1154+
collagen
1155+
[ angles ]
1156+
SC1 BB +BB 1 95 152 {"group": "BBS angles L4Y"}
1157+
[ patterns ]
1158+
SC1 BB {"cgsecstruct": "F","resname": "L4Y"} +BB
1159+
1160+
[ link ]
1161+
resname $protein_resnames
1162+
cgsecstruct "F"
1163+
[ features ]
1164+
collagen
1165+
[ angles ]
1166+
-BB BB SC1 1 70 152 {"group": "BBS angles L5Y"}
1167+
[ patterns ]
1168+
-BB BB {"cgsecstruct": "F","resname": "L5Y"} SC1
1169+
1170+
[ link ]
1171+
resname $protein_resnames
1172+
cgsecstruct "F"
1173+
[ features ]
1174+
collagen
1175+
[ angles ]
1176+
SC1 BB +BB 1 110 152 {"group": "BBS angles L5Y"}
1177+
[ patterns ]
1178+
SC1 BB {"cgsecstruct": "F","resname": "L5Y"} +BB
1179+
1180+
[ link ]
1181+
resname $protein_resnames
1182+
cgsecstruct "F"
1183+
[ features ]
1184+
collagen
1185+
[ angles ]
1186+
-BB BB SC1 1 70 152 {"group": "BBS angles LY2"}
1187+
[ patterns ]
1188+
-BB BB {"cgsecstruct": "F","resname": "LY2"} SC1
1189+
1190+
[ link ]
1191+
resname $protein_resnames
1192+
cgsecstruct "F"
1193+
[ features ]
1194+
collagen
1195+
[ angles ]
1196+
SC1 BB +BB 1 95 152 {"group": "BBS angles LY2"}
1197+
[ patterns ]
1198+
SC1 BB {"cgsecstruct": "F","resname": "LY2"} +BB
1199+
1200+
[ link ]
1201+
resname $protein_resnames
1202+
cgsecstruct "F"
1203+
[ features ]
1204+
collagen
1205+
[ angles ]
1206+
-BB BB SC1 1 75 152 {"group": "BBS angles LY3"}
1207+
[ patterns ]
1208+
-BB BB {"cgsecstruct": "F","resname": "LY3"} SC1
1209+
1210+
[ link ]
1211+
resname $protein_resnames
1212+
cgsecstruct "F"
1213+
[ features ]
1214+
collagen
1215+
[ angles ]
1216+
SC1 BB +BB 1 77 152 {"group": "BBS angles LY3"}
1217+
[ patterns ]
1218+
SC1 BB {"cgsecstruct": "F","resname": "LY3"} +BB
1219+
1220+
[ link ]
1221+
resname $protein_resnames
1222+
cgsecstruct "F"
1223+
[ features ]
1224+
collagen
1225+
[ angles ]
1226+
-BB BB SC1 1 140 152 {"group": "BBS angles LYX"}
1227+
[ patterns ]
1228+
-BB BB {"cgsecstruct": "F","resname": "LYX"} SC1
1229+
1230+
[ link ]
1231+
resname $protein_resnames
1232+
cgsecstruct "F"
1233+
[ features ]
1234+
collagen
1235+
[ angles ]
1236+
SC1 BB +BB 1 140 152 {"group": "BBS angles LYX"}
1237+
[ patterns ]
1238+
SC1 BB {"cgsecstruct": "F","resname": "LYX"} +BB
1239+
11411240
[ link ]
11421241
resname $protein_resnames
11431242
[ constraints ]

src/colbuilder/geometry/caps.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class Caps:
1010
1111
Obarska-Kosinska A, Rennekamp B, Ünal A, Gräter F.
1212
ColBuilder: A server to build collagen fibril models.
13-
Viophys J. 2021 Sep 7;120(17):3544-3549.
13+
Biophys J. 2021 Sep 7;120(17):3544-3549.
1414
doi: 10.1016/j.bpj.2021.07.009.
1515
Epub 2021 Jul 13. PMID: 34265261; PMCID: PMC8456305.
1616
@@ -79,7 +79,7 @@ def add_caps(self,pdb_id=None):
7979
if cap=='N' and int(line_cap.split(' ')[1])!=1:
8080
cmd.edit(line_cap)
8181
editor.attach_amino_acid('pk1','ace',ss=0)
82-
if cap=='C' and int(line_cap.split(' ')[1])!=int(self.chain_length[cap]):
82+
if cap=='C' and int(line_cap.split(' ')[1])!=int(self.chain_length[chain]):
8383
cmd.edit(line_cap)
8484
editor.attach_amino_acid('pk1','nme',ss=0)
8585
cmd.save('tmp.pdb')

src/colbuilder/geometry/system.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def get_connect(self,connect=None):
7575
get crystal contacts for a model in system
7676
7777
"""
78-
self.connect={ self.get_model(model_id=key).id : [] for key in self.get_models() } # TODO: Why transform here? not needed
78+
self.connect={ self.get_model(model_id=key).id : [] for key in self.get_models() }
7979
for idx in self.get_models():
8080
self.connect[self.get_model(model_id=idx).id]=self.get_model(model_id=idx).connect
8181
return self.connect

src/colbuilder/topology/create_goVirt.py

Lines changed: 0 additions & 209 deletions
This file was deleted.

0 commit comments

Comments
 (0)