On Sun, Sep 11, 2011 at 3:59 AM, Thomas Holder <
> Hi Lina,
> have a look at:
> it takes two selections and has a state argument.
Thanks for the link.
I still have a question:
1] save the script as polar_pairs.py
2] in pymol run polar_pairs.py
pairs = polarpairs('chain A', 'chain B')for p in pairs:
dist = cmd.get_distance('(%s`%s)' % p, '(%s`%s)' % p)
print p, 'Distance: %.2f' % (dist)
I don't know how to proceed this part, do I need to put those code in
another .py file?
sorry and thanks for your patience,
> lina wrote, On 09/10/11 15:21:
>> After dist hb, proA, proB, mode=2
>> I can get the hydrogen bonds formation between protein A and protein B.
>> But I don't know how to get the detailed involved residues very quickly,
>> suppose I have had 10 models in this structure.
>> I googled before,
>> is helpful for the single one selections,
>> here I got two.
>> Thanks for any suggestions,
>> Best Regards,
> Thomas Holder
> MPI for Developmental Biology
> Spemannstr. 35
> D-72076 Tübingen