Re: [modeller_usage] Make model containing alpha-helix in addition to template
To: Iain Aspley <>
Subject: Re: [modeller_usage] Make model containing alpha-helix in addition to template
From: Modeller Caretaker <>
Date: Wed, 10 Oct 2012 08:12:32 -0700
Cc: "" <>
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: