Next: , Up: Plotting


22.1 SELECT Command — Select Data from the Table

22.1.1 Syntax

     SELECT [ADD] [TWO] {      ALLTAG            }
                        {TAGS repeat(tag-pat) del}
     
            [PROPERTY property del]
     
     tag-pat ::= string of non-blank characters

22.1.2 Function

The SELECT command takes data from the table and places it in a selection. Data is specified by its tag and its property. Only one property may be specified, and one must specify a property if the table has more than one. Either all the entries in the can be selected by specifying ALLTAG or only particular data using the TAGS option to give the tags. The tags are specified using string patterns with wildcards permitted as in the atom or cell selection syntax, see Atom Selection. If TWO is placed in the command, then the data goes into the second selection; otherwise, it goes into the first selection. If ADD is specified, the data is added to the data already present in the selection. Otherwise, the selection is cleared first before data is added to it.

In each selection, every data point has the following associated information: a position number, a residue number, and a residue name. The position number is obtained by counting data points as they are scanned in the table and setting the position number to the current count. By printing a table in tag value format, one can see the order in which the data is scanned. The residue number is generated in the same way except the count is kept on residues. The residue name is the name of the residue where the data point was taken. Any comparison residue name is ignored. For standard tables to which no deletions have been applied, the residue numbers will be reasonable in that they will be close to the residues position in the sequence. However, in a difference table where not all the atoms matched, the number will not be meaningful by themselves. Likewise, in a table where deletion of residues has taken place, the residue numbers will bear no resemblance to the residue identifiers.