exactly we may do it in the context meny for the particular selection
(we do not need to select a particular residues, so ..)
but may we create the same label using label command as well ??
cmd.label('sele', 'resn')
I think something should be used instead of 'resn'. there is also
option 'resi' which shows only the number of the amino acid. So I need
to combine "resn" and "resi"
:-)вт, 11 янв. 2022 г. в 21:27, Oganesyan, Vaheh <[email protected]>: > > For label like ‘R87’ I manually do “label /s309/B/H/ARG`87/CA, ‘R87’” > > > > Vaheh > > > > From: Enrico Martinez <[email protected]> > Sent: Tuesday, January 11, 2022 12:34 PM > To: pymol-users <[email protected]> > Subject: [PyMOL] Set label for visible amino acids > > > > Dear Pymol users! > Here is the chain of the pymol commands that I am using to label the > visible amino-acids shown as lines in the current pymol session. > cmd.select('name CA and rep lines') > cmd.label('sele', 'resn') > cmd.set('label_font_id', '14') > cmd.set('label_color', 'indigo') > cmd.set('label_position', '3,0,0') > It produces nice labeling according to the amino acid name (example > Tyr). How it would be possible to indicate additionally the number of > the amino acid like Tyr-119 or simply using one letter code + the > number? > Many thanks in advance > Enrico > > > _______________________________________________ > PyMOL-users mailing list > Archives: http://www.mail-archive.com/[email protected] > Unsubscribe: > https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe _______________________________________________ PyMOL-users mailing list Archives: http://www.mail-archive.com/[email protected] Unsubscribe: https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe
