Thanks Ben.
It works very well.
I have another doubt.
I also want to restrain the residues 100 to 105 as alpha helix at all four chains.
If I use the following restrain:
rsr.add(secondary_structure.alpha(self.residue_range('100:A', '105:A')))
...before the chain symmetry restrain argument, it will be apply to all chains as consequence, or do I need to restrain this range for all chains by selection, like I did for chain A?
If the last option was the correct, how should I make the selection? Is there an example?
Regards,
Flavio
--- On Fri, 2/4/11, Modeller Caretaker <> wrote:
> From: Modeller Caretaker <>
> Subject: Re: [modeller_usage] symmetry restrain
> To: "flavio seixas" <>
> Cc:
> Date: Friday, February 4, 2011, 7:38 PM
> On 2/4/11 1:56 PM, flavio seixas
> wrote:
> > I'm trying to built a protein with 4 identical chains
> using the
> > symmetry restrain to CA atoms as section "2.2.11
> Building multi-chain
> > models with symmetry" from modeller 9v7 manual.
> ...
> > The problem is that the program stops and the
> following error message
> > appears at the shell:
> > self.restraints.symmetry.append(symmetry(s1, s2, s3,
> s4, 1.0))
> > TypeError: __init__() takes exactly 4 arguments (6
> given)
>
> Just like the error message says, you cannot create a
> symmetry element
> that contains 4 selections. As in the example, it can only
> contain 2
> selections; it is a pairwise restraint. So you would need
> to restrain
> each pair (s1-s2, s2-s3 and s3-s4) individually.
>
> For an example, see
> http://salilab.org/archives/modeller_usage/2009/msg00084.html
>
> Ben Webb, Modeller Caretaker
> --
>
> http://www.salilab.org/modeller/
> Modeller mail list: http://salilab.org/mailman/listinfo/modeller_usage
> _______________________________________________
> modeller_usage mailing list
>
> https://salilab.org/mailman/listinfo/modeller_usage
>