Re: [modeller_usage] modeling of movement of domain
Hi Ben My script is as follows:
from modeller import *
env = environ() env.io.atom_files_directory = ['.'] mdl = model(env, file='test1')
# Keep two domains rigid: r1 = rigid_body(mdl.residue_range('48:A', '124:A')) r2 = rigid_body(mdl.residue_range('132:A', '205:A')) r3 = rigid_body(mdl.residue_range('212:A', '304:A')) mdl.restraints.rigid_bodies.append(r1) mdl.restraints.rigid_bodies.append(r2) mdl.restraints.rigid_bodies.append(r3) # put the restraints on domains at=mdl.atoms mdl.restraints.add(forms.gaussian(group=physical.xy_distance, feature=features.distance(at['CG2:128:A'], at['OD1:148:A']), mean=40, stdev=0.1)) mdl.restraints.add(forms.gaussian(group=physical.xy_distance, feature=features.distance(at['O1:123:A'], at['O1:185:A']), mean=43, stdev=0.1)) mdl.restraints.add(forms.gaussian(group=physical.xy_distance, feature=features.distance(at['O1:123:A'], at['O1:160:A']), mean=45, stdev=0.1)) mdl.restraints.add(forms.gaussian(group=physical.xy_distance, feature=features.distance(at['O1:123:A'], at['O1:201:A']), mean=32, stdev=0.1)) mdl.restraints.add(forms.gaussian(group=physical.xy_distance, feature=features.distance(at['O1:106:A'], at['O1:185:A']), mean=25, stdev=0.1)) mdl.restraints.add(forms.gaussian(group=physical.xy_distance, feature=features.distance(at['O1:106:A'], at['O1:160:A']), mean=35, stdev=0.1)) mdl.write(file='test.pdb')
Thanks Reza
On 2/11/12 4:25 AM, Ahmadreza Mehdipour wrote: > My script is as follows:
OK, you've set up the scoring function (set of restraints) but you haven't optimized it (found the minimum). For example, you might want to do some basic conjugate gradients, using a script similar to the one at http://salilab.org/modeller/9.10/manual/node258.html
Ben Webb, Modeller Caretaker
participants (2)
-
Ahmadreza Mehdipour
-
Modeller Caretaker