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

[modeller_usage] reg: template has extra residues



Dear Sir ,
I am trying to build a model where the template is a homo-6-mer.
What changes do I make in the MyModel class?
# Override the 'special_restraints' and 'user_after_single_model' methods:
class MyModel(automodel):
def special_restraints(self, aln): # Constrain the A and B chains to be identical (but only restrain # the C-alpha atoms, to reduce the number of interatomic distances# that need to be calculated):
s1 = selection(self.chains['A']).only_atom_types('CA')
s2 = selection(self.chains['B']).only_atom_types('CA')
'''s3 = selection(self.chains['C']).only_atom_types('CA')
s4 = selection(self.chains['D']).only_atom_types('CA')
s5 = selection(self.chains['E']).only_atom_types('CA')
s6 = selection(self.chains['F']).only_atom_types('CA')'''

self.restraints.symmetry.append(symmetry(s1, s2,1.0))
def user_after_single_model(self):
Should I add restraint for each chain ??
KIndly help me

Thanks and Regards
Anwesha