Table of Contents

resname

“resname” selects atoms based on their assigned residue names.

Usage

resname residue-name-pattern
resn residue-name-pattern
r. residue-name-pattern

Examples

indicate resname his
color blue, resn arg+lys+his
indicate r. gl*
select acids, resn asp+glu

Notes

PyMOL supports residue names of up to four characters. However, the PDB file format cannot accomodate these names.

Macro Equivalent

The strict macro equivalent is residue-name-pattern`/, however the back apostrophe can be omitted in most cases to allow for residue-name-pattern/.

indicate phe`/
indicate phe/
indicate arg+his+lys/

See Also

byresidue

Plus

Selections | Selection Macros | Residue Concept