Dear Vijay, thank you very much, it works very good. Magic! :-) Cheers, Enrico
ср, 12 янв. 2022 г. в 13:53, Dr. Vijay Masand <vijaymas...@gmail.com>: > > Dear Enrico > Use the following command: > label n. CA & all within 5 of organic, "%s%s" % (resn,resi) > The above command will label all CA atoms within 5 angstrom from Organic > molecule with residue number and name. > I have collected a good number of commands for showing ligand-protein > complexes. > > With Warm Regards > Dr. Vijay H. Masand > Department of Chemistry, > Vidya Bharati College, Amravati, 444 602 > Maharashtra, India. > Phone number- +91-9403312628 > https://sites.google.com/site/vijaymasand/ > > > > On Wed, Jan 12, 2022 at 5:55 PM Enrico Martinez <jmsstarli...@gmail.com> > wrote: >> >> 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 >> <vaheh.oganes...@astrazeneca.com>: >> > >> > For label like ‘R87’ I manually do “label /s309/B/H/ARG`87/CA, ‘R87’” >> > >> > >> > >> > Vaheh >> > >> > >> > >> > From: Enrico Martinez <jmsstarli...@gmail.com> >> > Sent: Tuesday, January 11, 2022 12:34 PM >> > To: pymol-users <pymol-users@lists.sourceforge.net> >> > 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/pymol-users@lists.sourceforge.net >> > Unsubscribe: >> > https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe >> >> >> _______________________________________________ >> PyMOL-users mailing list >> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net >> Unsubscribe: >> https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe _______________________________________________ PyMOL-users mailing list Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net Unsubscribe: https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe