How to (partially) override model.patch_ss_templates() ?
Hello,
I am trying to make a model of a disulfide-bonded protein, where some disulfides are the same as in my templates, but some are shuffled. I redefined the shuffled disulfides as described here:
https://salilab.org/modeller/9v7/examples/automodel/model-disulfide.py
but the models that I get always show the same exact disulfide connectivity of the templates, i.e. redefining special_patches does not seem to override model.patch_ss_templates().
Is there a way to achieve this, so that I can keep some conserved disulfides from my templates but change others?
Thanks,
Luca
------------------------------------------------------------------------ Luca Jovine, Ph.D. Professor of Structural Biology & EMBO Member Karolinska Institutet Department of Biosciences and Nutrition & Center for Innovative Medicine Medicinaren 25 Neo Blickagången 16, SE-141 83 Huddinge, Sweden E-mail: luca.jovine@ki.semailto:luca.jovine@ki.se W3: http://jovinelab.org ------------------------------------------------------------------------
När du skickar e-post till Karolinska Institutet (KI) innebär detta att KI kommer att behandla dina personuppgifter. Här finns information om hur KI behandlar personuppgifterhttps://ki.se/medarbetare/integritetsskyddspolicy.
Sending email to Karolinska Institutet (KI) will result in KI processing your personal data. You can read more about KI’s processing of personal data herehttps://ki.se/en/staff/data-protection-policy.
On 11/23/18 9:38 PM, Luca Jovine wrote: > I am trying to make a model of a disulfide-bonded protein, where some > disulfides are the same as in my templates, but some are shuffled. I > redefined the shuffled disulfides as described here: > > https://salilab.org/modeller/9v7/examples/automodel/model-disulfide.py > > but the models that I get always show the same exact disulfide > connectivity of the templates, i.e. redefining special_patches does not > seem to override model.patch_ss_templates().
special_patches is used to add additional patches to the defaults; it doesn't change the default set of patches. To do that, override the default_patches method instead (which by default just calls patch_ss_templates() - see automodel.py in your Modeller installation). This will remove *all* template-derived disulfides though, so you'd have to add patches for each one you want to keep by hand.
That being said, this isn't usually what you want to do. patch_ss_templates() just adds S-S bonds for nearby Cys pairs as defined by your alignment and template structure. If you skip this, you won't get the S-S bonds, but you'll still get all the other pairwise distances implied by the alignment with the template, so the two Cys residues will still end up in proximity. If you define alternate disulfides, likely those S-S bonds will fight the distances from the alignment and you'll get poor quality models. You probably just want to not align your model sequence with at least one of the template Cys residues in this case, so that it won't get the S-S bond *or* the other residue-residue distances (and no need for you to mess with patch_ss_templates).
Ben Webb, Modeller Caretaker
Hello, thanks! However I just tried what you suggested - shifting the alignment so that one of the two Cys of a pair is no longer aligned with the template -, but what happens is that the Cys pairs that I specified as making an alternative disulfide using special_patches are now not bonded (even though they are very close to each other in space). Same thing if I unalign both Cys of the pair… Best, Luca
> On 26 Nov 2018, at 22:23, Modeller Caretaker modeller-care@salilab.org wrote: > > On 11/23/18 9:38 PM, Luca Jovine wrote: >> I am trying to make a model of a disulfide-bonded protein, where some disulfides are the same as in my templates, but some are shuffled. I redefined the shuffled disulfides as described here: >> https://salilab.org/modeller/9v7/examples/automodel/model-disulfide.py >> but the models that I get always show the same exact disulfide connectivity of the templates, i.e. redefining special_patches does not seem to override model.patch_ss_templates(). > > special_patches is used to add additional patches to the defaults; it doesn't change the default set of patches. To do that, override the default_patches method instead (which by default just calls patch_ss_templates() - see automodel.py in your Modeller installation). This will remove *all* template-derived disulfides though, so you'd have to add patches for each one you want to keep by hand. > > That being said, this isn't usually what you want to do. patch_ss_templates() just adds S-S bonds for nearby Cys pairs as defined by your alignment and template structure. If you skip this, you won't get the S-S bonds, but you'll still get all the other pairwise distances implied by the alignment with the template, so the two Cys residues will still end up in proximity. If you define alternate disulfides, likely those S-S bonds will fight the distances from the alignment and you'll get poor quality models. You probably just want to not align your model sequence with at least one of the template Cys residues in this case, so that it won't get the S-S bond *or* the other residue-residue distances (and no need for you to mess with patch_ss_templates). > > Ben Webb, Modeller Caretaker > -- > modeller-care@salilab.org https://salilab.org/modeller/ > Modeller mail list: https://salilab.org/mailman/listinfo/modeller_usage
När du skickar e-post till Karolinska Institutet (KI) innebär detta att KI kommer att behandla dina personuppgifter. Här finns information om hur KI behandlar personuppgifterhttps://ki.se/medarbetare/integritetsskyddspolicy.
Sending email to Karolinska Institutet (KI) will result in KI processing your personal data. You can read more about KI’s processing of personal data herehttps://ki.se/en/staff/data-protection-policy.
On 11/26/18 2:22 PM, Luca Jovine wrote: > However I just tried what you suggested - shifting the > alignment so that one of the two Cys of a pair is no longer aligned > with the template -, but what happens is that the Cys pairs that I > specified as making an alternative disulfide using special_patches > are now not bonded
You will probably need to experiment a little bit with different alignments. You'll need to be careful not to change the alignment so much that it implies a structure that is inconsistent with the disulfides you want to impose.
Ben Webb, Modeller Caretaker
OK, will try - although, because the Cys pairs are very close, it is probably faster to just swap connectivity on the graphics and then relax the structure… Thanks, Luca
> On 28 Nov 2018, at 00:10, Modeller Caretaker modeller-care@salilab.org wrote: > > On 11/26/18 2:22 PM, Luca Jovine wrote: >> However I just tried what you suggested - shifting the >> alignment so that one of the two Cys of a pair is no longer aligned >> with the template -, but what happens is that the Cys pairs that I >> specified as making an alternative disulfide using special_patches >> are now not bonded > > You will probably need to experiment a little bit with different alignments. You'll need to be careful not to change the alignment so much that it implies a structure that is inconsistent with the disulfides you want to impose. > > Ben Webb, Modeller Caretaker > -- > modeller-care@salilab.org https://salilab.org/modeller/ > Modeller mail list: https://salilab.org/mailman/listinfo/modeller_usage
När du skickar e-post till Karolinska Institutet (KI) innebär detta att KI kommer att behandla dina personuppgifter. Här finns information om hur KI behandlar personuppgifterhttps://ki.se/medarbetare/integritetsskyddspolicy.
Sending email to Karolinska Institutet (KI) will result in KI processing your personal data. You can read more about KI’s processing of personal data herehttps://ki.se/en/staff/data-protection-policy.
participants (2)
-
Luca Jovine
-
Modeller Caretaker