PICK_ATOMS_SET specifies the set of selected atoms. Set 1 is used in the PICK_RESTRAINTS, ROTATE_DIHEDRALS, RANDOMIZE_XYZ and MUTATE_MODEL commands. Sets 2 and 3 are used in the MAKE_RESTRAINTS command.
SELECTION_STATUS determines whether the selected atoms are added ('ADD'), removed ('REMOVE'), or a set is initialized and then the selected atoms are added ('INITIALIZE').
The selection of atoms is a hierarchical two level process. The first level of selection consists of specifying how the atoms will be scanned. The second level consists of selecting by the specified atom and residue names.
How the atoms are scanned is specified by setting the SELECTION_SEARCH variable to either 'SEGMENT', 'SPHERE', or 'SPHERE_SEGMENT':
If SELECTION_FROM is 'SELECTED', scanning specified above is restricted only to the atoms that were already selected before calling PICK_ATOMS.
Once the method for scanning the atoms is specified, each of the scanned atoms is checked against the specified atom name(s) (ATOM_TYPES) and residue name(s) (RES_TYPES). If SELECTION_MODE is 'RESIDUE', all atoms in a residue with at least one atom that matches both the residue and atom name criteria are selected. Otherwise, only those atoms that have both the specified residue and atom names are selected. The RES_TYPES and ATOM_TYPES keywords can contain several residue and atom names in one quoted string or in several quoted strings. For example, both 'CA' 'N' and 'CA N' are valid specifications selecting the CA and N atoms. The following groups of residues and atoms are defined:
# Example for: PICK_ATOMS # This will pick various subsets of atoms in the MODEL and compare them # with MODEL2. SET OUTPUT_CONTROL = 1 1 1 1 0 # Read the models and the alignment: READ_MODEL FILE = '1fas' READ_MODEL2 FILE = '2ctx' READ_ALIGNMENT FILE = 'toxin.ali', ALIGN_CODES = '1fas' '2ctx' WRITE_ALIGNMENT FILE = 'toxin.pap', ALIGNMENT_FORMAT = 'PAP' # Set some defaults (the same as in top.ini): SET SELECTION_MODE = 'ATOM' # only the selected atoms, not whole residues SET SELECTION_FROM = 'ALL' # scanning of all atoms, not selected atoms SET SELECTION_SEARCH = 'SEGMENT' # scan over a segment SET SELECTION_SEGMENT= 'FIRST:' 'LAST:' # the whole chain as a segment SET RES_TYPES = 'ALL' # all residue types SET PICK_ATOMS_SET = 1 # put the selected atoms in set 1 SET SELECTION_STATUS = 'INITIALIZE' # select only the selected atoms # Pick and superpose mainchain atoms: PICK_ATOMS ATOM_TYPES = 'MNCH' SUPERPOSE # Pick and superpose sidechain atoms: PICK_ATOMS ATOM_TYPES = 'SDCH' SUPERPOSE # Pick and superpose CA and CB atoms: PICK_ATOMS ATOM_TYPES = 'CA CB' SUPERPOSE # Pick and superpose all atoms: PICK_ATOMS ATOM_TYPES = 'ALL' SUPERPOSE # Pick and superpose CA and CB atoms in one segment only: PICK_ATOMS ATOM_TYPES = 'CA CB', SELECTION_SEGMENT = '2:' '10:' SUPERPOSE SET SELECTION_SEGMENT = 'FIRST:' 'LAST:' # allow for the whole chain again # Pick and superpose all atoms within 6 angstroms of the 'CA' atom in residue '10:': PICK_ATOMS ATOM_TYPES = 'ALL', SPHERE_RADIUS = 6.0, ; SELECTION_SEARCH = 'SPHERE', SPHERE_CENTER = '10:' 'CA' SUPERPOSE # Pick and superpose all atoms within 6 angstroms of any atom in # segment 2: to 10: PICK_ATOMS ATOM_TYPES = 'ALL', SELECTION_SEGMENT = '2:' '10:',; SELECTION_SEARCH = 'SPHERE_SEGMENT', SPHERE_RADIUS = 6.0 SUPERPOSE # Pick and superpose all atoms in all loops (ie residues within 2 positions # of any gap in the alignment): PICK_ATOMS ATOM_TYPES = 'ALL', SELECTION_SEGMENT = 'LOOPS' '', ; SELECTION_SEARCH = 'SEGMENT', GAP_EXTENSION = 2 2 SUPERPOSE # Pick and superpose all atoms within 6 angstroms of all loops (ie residues # within 2 positions of any gap in the alignment): PICK_ATOMS ATOM_TYPES = 'ALL', SELECTION_SEGMENT = 'LOOPS' '',; SELECTION_SEARCH = 'SPHERE_SEGMENT', SPHERE_RADIUS = 6.0, ; GAP_EXTENSION = 2 2 SUPERPOSE