[Pmv] How to select some sugar atoms

Jean Richelle jean.richelle at ulb.ac.be
Sun Apr 23 14:56:27 PDT 2006


Hi Sargis,

Great.

Of course it helps ! Thank you very much,

Jean

Le 21 avr. 06 à 18:43, Sargis Dallakyan a écrit :

> Hi Jean,
>
> I just checked the code for MolKit/StringSelector.py and it turns out
> that it replaced '*'with '.*', so to select all 'O4*', you need to  
> type
> 'O4.*'
>
> Regarding hydrogens, pdbparser moves the first letter to the end,  
> if its
> '1','2' or '3', so to select '1H2' you need to type 'H21' and
> correspondingly '1H2*' goes to 'H2.*1'
>
> Hope this helps,
> Sargis
>
> Jean Richelle wrote:
>> Hi,
>> I wanted to select ribose atoms of a DNA structure, and it appeared
>> that the "Select From String" will have a problem with the * in, e.g.
>> O4*. I tried quotes (simple or double) and backslash without
>> success.  I finally decided to rename O4* as O4', and similarly for
>> all the other * atoms, and then I could select them.  Is there a more
>> correct way to do it ?
>>
>> I faced another problem when I tried to select some Hydrogen atoms.
>> It seams that it is only possible to select names composed of 3
>> letters, and so impossible with, e.g. 1H2' .  Do I miss something ?
>>
>> Best regards,
>>
>> Jean
>>
>> _______________________________________________
>> Pmv mailing list
>> Pmv at scripps.edu
>> http://mgldev.scripps.edu/mailman/listinfo/pmv
>>
>>
>
> _______________________________________________
> Pmv mailing list
> Pmv at scripps.edu
> http://mgldev.scripps.edu/mailman/listinfo/pmv


--
Jean Richelle <jean.richelle at ulb.ac.be>
Directeur                                                   Tél: +32  
2 650 3587
Centre de Culture Scientifique <http://www.ulb.ac.be/ccs>   Tél: +32  
71 600 312
rue de Villers 227                                          Fax: +32  
71 600 305
6010 Charleroi                                             GSM: +32  
474 560 502





More information about the Pmv mailing list