[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [modeller_usage] Make model containing alpha-helix in addition to template
- To: Iain Aspley <IXA098 AT bham.ac.uk>
- Subject: Re: [modeller_usage] Make model containing alpha-helix in addition to template
- From: Modeller Caretaker <modeller-care@ucsf.edu>
- Date: Wed, 10 Oct 2012 08:12:32 -0700
- Cc: "modeller_usage@listsrv.ucsf.edu" <modeller_usage@listsrv.ucsf.edu>
On 10/10/12 6:27 AM, Iain Aspley wrote:
and I receive the following error messages
...
KeyError: 'No such residue: 129:A'
I have checked the pdb file and the residues do indeed exist!
They do, but 1) the restraint acts on the model, not the template, and
2) at this point in your script the model hasn't been generated, since
you haven't called make() yet. To add additional restraints, you need to
subclass automodel and add the restraints in the special_restraints()
method:
http://salilab.org/modeller/9.11/manual/node27.html
Ben Webb, Modeller Caretaker
--
modeller-care@ucsf.edu http://www.salilab.org/modeller/
Modeller mail list: http://salilab.org/mailman/listinfo/modeller_usage