Previous: Operators on Selections, Up: Atom Selection


11.7.5 Examples of Atom Selections

     CLEAR ATOM * * CA                will include all C alphas in the list.
     ALL ENTER CLEAR ATOM * * H* EXCL will include all non-hydrogen atoms.
     CLEAR RANGE BYNU 1 100           will include atoms number 1 to 100.

     CLEAR RANGE MAIN 1 CA MAIN 10 CA ENTER -
     CLEAR ATOM * * H ATOM * * N ATOM * * O EXCL
                             will include all the atoms from CA of reside
                             1 to CA of residue 10 in the segment MAIN
                             except atoms H, N, and O.

     CLEAR BYNU 1 3 5 7 9 11 13 15 ATOM SOLV * *
                             will include atoms number 1, 3, 5, 7, 8, 11, 13,
                             and 15, and the SOLV segment.

     CLEAR ATOM S1 10 * AROUND 8.0 ENTER -
     CLEAR ATOM S2 * * ATOM S3 * * AND BYRES
                             selects all atoms which are in residues which
                             have atoms in segments S2 and S3 that are within
                             8.0 A of residue 10 in segment S1.

     CLEAR COOR X GE 0 ENTER -
     CLEAR COOR Y GE 0 AND ENTER -
     CLEAR COOR Z GE 0 AND ENTER -
     CLEAR COOR X LE 5 AND ENTER -
     CLEAR COOR Y LE 6 AND ENTER -
     CLEAR COOR Z LE 7 AND
                             selects those atoms within a rectangular box
                             between the origin and (5,6,7)

All of the atom selections are interpreted using the SELCTA routine in SELCTA.FLX. Wildcard interpretation is handled by the EQSTWC routine in STRING.FLX.