Hi Abhinav,

You can select by representation, e.g.:

iterate rep sticks, print(chain, resi)

or directly add labels on CA atoms:

label byca rep sticks, resi

Hope that helps.

Cheers,
  Thomas

On 22 Mar 2017, at 15:43, Kumar, Abhinav <aku...@intrexon.com> wrote:

> Hi,
> Is there a way of extracting residue information from a session file in which 
> a few residues are shown in sticks representation?
> I am interested in changing representation/adding labels to only those 
> residues with stick representation.
>  
> Thanks,
> Abhinav
>  
> Abhinav Kumar, PhD
> Senior Scientist, Data Science & Computational Biology
> Intrexon, Inc.
> 329 Oyster Point Blvd., South San Francisco, CA 94080
> (650) 597-4072 | aku...@intrexon.com

-- 
Thomas Holder
PyMOL Principal Developer
Schrödinger, Inc.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to