[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [modeller_usage] Make model containing alpha-helix in addition to template



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
--
             http://www.salilab.org/modeller/
Modeller mail list: http://salilab.org/mailman/listinfo/modeller_usage