10 Oct
2012
10 Oct
'12
8:12 a.m.
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@salilab.org http://www.salilab.org/modeller/
Modeller mail list: http://salilab.org/mailman/listinfo/modeller_usage