Lixia Jin wrote:
When I use: self.patch(residue_type='DISU', residues=(self.residues['199'], self.residues['205'])) it works. When I use:self.patch(residue_type='DISU', residues=(self.residues['199:G'], self.residues['205:G']))it gives me error information: KeyError: 'No such residue: 199:G'
Just as the error says, you have no 199:G residue in your model. Note that the labeling of model residues is not the same as your template residues. Do an ordinary automodel run first and look at the generated .ini or .pdb files if you are unsure.
Ben Webb, Modeller Caretaker -- http://www.salilab.org/modeller/ Modeller mail list: http://salilab.org/mailman/listinfo/modeller_usage