Subject: [modeller_usage] HELP!! Refine part of model
From: "Matt wagner" <>
Date: Fri, 03 Feb 2006 21:17:59 +0000
I am refining a segment of my model using the refine part of model script (
http://salilab.org/modeller/manual/node28.html). Everything works fine, but
it creates so many atom clashes that when I do an energy minimization on the
structure, that the backbone of my protein snaps. Is there another way to
reduce these atom clahses? I also did a test in which I turned on bond
interactions, by setting env.edat.nonbonded_sel_atoms = 1; but there are
still too many atom clashes. Below is a copy of my script:
# Addition of restraints to the default ones
from modeller.automodel import * # Load the automodel class
log.verbose()
env = environ()
# directories for input atom files
env.io.atom_files_directory = './:../atom_files'
class mymodel(automodel):
def special_restraints(self, aln):
rsr = self.restraints
# Add some restraints from a file:
# rsr.append(file='my_rsrs1.rsr')
# Restrain the specified CA-CA distance to 10 angstroms (st. dev.=0.1)
# Use a harmonic potential and X-Y distance group.
def select_atoms(self):
self.pick_atoms(selection_segment=('87:', '113:'),
selection_search='segment', pick_atoms_set=1,
res_types='all', atom_types='all',
selection_from='all', selection_status='initialize')
env = environ()
# directories for input atom files
env.io.atom_files_directory = './:../atom_files'
# selected atoms do not feel the neighborhood
env.edat.nonbonded_sel_atoms = 2
a = mymodel(env,
alnfile = 'TvLDH-mult.ali',
knowns = ('1_86','114_243'),
sequence = 'TvLDH') # code of the target
a.starting_model= 1 # index of the first model
a.ending_model = 1 # index of the last model