Multiple identifiers
GSL allows you to specify multiple identifiers within a single query, enabling the selection of atoms matching any of the provided criteria.
Examples:
-
Residue names:
resname POPE POPGSelects all atoms in residues named POPE or POPG.
-
Residue numbers:
resid 13 15 16 17Selects atoms in residues numbered 13, 15, 16, or 17.
-
Atom names:
name P CA HASelects atoms named P, CA, or HA.
-
Serial numbers:
serial 245 267 269 271Selects atoms with serial numbers 245, 267, 269, or 271.
-
Chains:
chain A B CSelects atoms in chains 'A', 'B', or 'C'.
-
Element names:
elname carbon hydrogenSelects all carbon and hydrogen atoms.
-
Element symbols:
elsymbol C HSelects all carbon and hydrogen atoms.