Problem in running Modeller 8v2
Hi All, I have just installed Modeller version 8v2 and tried to run the following script.
# Homology modelling by the allhmodel class
from modeller.automodel import * # Load the automodel class
log.verbose() # request verbose output env = environ() # create a new MODELLER environment to build this model in
# directories for input atom files env.io.atom_files_directory = '/home/nagesh/modelling/structure'
a = allhmodel(env, alnfile = 'inputAlignment_files/xenDpl.pir', # alignment filename knowns = '1I17', # codes of the templates sequence = 'xenopusDoppel') # code of the target a.starting_model= 1 # index of the first model a.ending_model = 1 # index of the last model # (determines how many models to calculate) a.make() # do the actual homology modelling
Running the script is giving the following message.
[nagesh@vogon ~/modelling]$ mod8v2 model_dpl_latest.top Traceback (most recent call last): File "<string>", line 1, in ? File "/usr/lib/modeller8v2/modlib/modeller/runtop.py", line 79, in run self.runlines(self.lines) File "/usr/lib/modeller8v2/modlib/modeller/runtop.py", line 129, in runlines self.set_top_vars(vars) File "/usr/lib/modeller8v2/modlib/modeller/runtop.py", line 256, in set_top_vars raise IndexError, "Variable name not recognized: %s" % varname.upper () IndexError: Variable name not recognized: MODELLER.AUTOMODEL
What can be the probable reason for this problem. Thank you in advance. Nagesh
I want to model a dimer of a two domain (A and B) protein. The x-ray structures of the homodimers of the two domains (A1+A2 and B1+B2) are known, and there's a superposition of residues from the two structures. However, if I superpose this common interval of residues two connect the domains A1 and B1, A2 and B2 will not be connected, which is expectable, as the domain linker is supposed to be flexible. What I want to do, so, is a model job which considers the four domains and their dimerization interfaces as almost rigid, but let the linker region be flexible in order to connect them properly. How could I do such a task?
Lucas
_______________________________________________________ Novo Yahoo! Messenger com voz: Instale agora e faça ligações de graça. http://br.messenger.yahoo.com/
Lucas Bleicher wrote: > I want to model a dimer of a two domain (A and B) > protein. The x-ray structures of the homodimers of the > two domains (A1+A2 and B1+B2) are known, and there's a > superposition of residues from the two structures. > However, if I superpose this common interval of > residues two connect the domains A1 and B1, A2 and B2 > will not be connected, which is expectable, as the > domain linker is supposed to be flexible. What I want > to do, so, is a model job which considers the four > domains and their dimerization interfaces as almost > rigid, but let the linker region be flexible in order > to connect them properly. How could I do such a task?
You can do this by adding distance restraints between pairs of atoms in the almost rigid regions, using the model.restraints.make() command, restraint_type='DISTANCE' and distance_rsr_model=7. See http://salilab.org/modeller/8v2/manual/node160.html. This will restrain the interatomic distances of the selected atoms to the template values.
For some examples, see the modlib/modeller/automodel/automodel.py script, particularly the hetatm_restraints and blk_restraints routines.
hetatm_restraints() uses model.restraints.make() to restrain the distances between each atom in a HET residue and every atom with 7 angstroms. blk_restraints() uses this command twice, once to strongly restrain every intra-residue interatomic distance (effectively making a BLK residue a rigid body) and then to restrain the distances between every atom in the BLK residue and every C-alpha atom within 10 angstroms.
In your case you probably want to select just the CA atoms (or some other subset) in your 'almost rigid' regions, otherwise you'll get far too many interatomic distances and an inefficient optimization. Then use a fairly large standard deviation (restraint_stdev) value to allow some flexibility.
Ben Webb, Modeller Caretaker
Nagesh Chakka wrote: > Running the script is giving the following message. > > [nagesh@vogon ~/modelling]$ mod8v2 model_dpl_latest.top > Traceback (most recent call last): > File "<string>", line 1, in ? > File "/usr/lib/modeller8v2/modlib/modeller/runtop.py", line 79, in run > self.runlines(self.lines) > File "/usr/lib/modeller8v2/modlib/modeller/runtop.py", line 129, in > runlines > self.set_top_vars(vars) > File "/usr/lib/modeller8v2/modlib/modeller/runtop.py", line 256, in > set_top_vars > raise IndexError, "Variable name not recognized: %s" % varname.upper > () > IndexError: Variable name not recognized: MODELLER.AUTOMODEL
If your script name ends in ".top", Modeller assumes that it is an old TOP script, not a Python script. See http://salilab.org/modeller/8v2/manual/node234.html
Simply rename your script to remove the .top ending (I suggest .py).
Ben Webb, Modeller Caretaker
participants (3)
-
Lucas Bleicher
-
Modeller Caretaker
-
Nagesh Chakka