View Hypothesis Workbench
Introduction to the Exclude/OR QuickTool
The View Hypothesis workbench is for defining hypothesis features-all of which must be satisfied for the hypothesis to be satisfied as a whole. The relationship between features involves the logical AND operator; when you use a hypothesis containing such features to search a database, a compound must satisfy all of them to qualify as a match or hit.
Although you can display only two rules at a time, you can extend the number of columns to specify as many feature definitions as you need. Similarly, you can extend the number of exclusion windows in each column to define as many exceptions as you need, but only two at a time are visible.

The Exclude/OR QuickTool displays four windows at all times: two OR windows at the top of two columns and one exclusion window for each OR window. When there are more than two OR windows or exclusion windows, you can use the scroll bars to display different windows containing different components of the feature.
All windows in the QuickTool have the editing functionality of the View Hypothesis workbench. You can zoom and rotate fragments and functions in the windows as in other workspaces. As with the View Hypothesis workbench, you can bring hypotheses into a window either by selecting fragments and functions from the Feature Dictionary or by dragging compounds or hypotheses from any shelf into the window.
The Exclude/OR QuickTool has menus and a Toolbox very similar to the View Hypothesis workbench. Note that when you use a command from the QuickTool menus or from the Toolbox, the command or tool applies only to the selected window as discussed in "Selecting Windows".
The Exclude/OR QuickTool differs from the View Hypothesis workbench as follows:
Although the Feature Dictionary includes a predefined aliphatic amino acid fragment (Aliphatic AA), describing how to build such a specification demonstrates the functionality of the Exclude/OR QuickTool.
Setting Up for the Example
If you want to work through the example, do the following:
If you are working through the example, the nitrogen in alanyl is already selected.

For example, select Glycyl (i.e., the second rule).


For the aliphatic amino acid example, select Leucyl.
Selecting Windows and Columns
Each time you select a component in one of the Exclude/OR QuickTool windows, that window and that column becomes selected. You also can select a window by clicking on the appropriate button in the Toolbox, as shown in the figure below. 
Modifying Rules
With commands from the menus and the tools in the Toolbox, you can modify each of the rules that are defined. For example, you can select an atom and then use the Set Atom Specifications tool to change attributes for the atom. You can erase components by selecting them and then selecting the Erase tool in the Toolbox. You can also use the View and Style menus to change the view and style attributes for the selected window. Narrowing Rules by Specifying Exceptions
After defining a series of rules, you can refine each rule by specifying exclusions; that is, exceptions that compounds matching the hypothesis must not contain. For example, you can define a feature that allows an alanyl residue, but not in the peptide sequences Ala-Gly-Ala-Gly or Ala-Cys-Ala. What Constitutes a Valid Exclusion Definition
The topology of an exclusion definition must include the entire topology of the rule it is modifying. That is, the exclusion must be a superset of the topology in the rule. For example, if the rule is a phenyl ring, a naphthyl ring can be stated as an exclusion. If the set of permissible elements for a particular atom in a rule is in the set O, N, or Cl, the set of elements for the corresponding atom in an exclusion must also be one of O, N, or Cl. For every atom and bond, the set of specifications for the exclusion must intersect the specifications for the rule. Preparing to Define Exclusions for the Example
If you are working through the example, do the following:
If you are working through the example, scroll the columns until the alanyl residue appears.
For the example, the Ala-Gly-Ala-Gly fragment must be made to represent a terminal or embedded peptide. Select the nitrogen at the N terminus and then use the Set Atom Specifications tool to set the lone pair count to 0,1 and the hydrogen count to 1,2. Also make certain that Aliphatic and Exocyclic are turned on, and then select OK. Note that the exclusion, which is denoted by dotted topology, has been cleared. Click on the Forward button at the bottom of the column to re-establish the exclusion mapping.
You cannot return from the QuickTool until all features placed in exclusion windows constitute valid exclusion definitions and that each has an indicated exclusion mapping. You can select Cancel QuickTool from the QuickTool menu at any time, but all your work will be lost.
Displaying Exclusion Mappings
The Status Area at the top left of the Exclude/OR QuickTool initially reports the total number of ways that the definition of the rule maps to the definition of an exclusion that you specified. In the example, the terminal portion of the Ala-Gly-Ala-Gly exclusion that matches the alanyl rule is displayed in the Dots style as shown below. 

You can continue adding exclusions by using the Append Excluding Entry command in the Edit menu.

Setting associations provides a summary of a complex specification by matching corresponding atoms and bonds in each rule so that you can define geometrical relationships (such as geometrical objects and constraints) at the workbench level. Not all of the topology in each rule has to appear in the summary, only the parts that are relevant to the chemistry that is being expressed. Summarized topology can be used to specify geometrical relationships involving components common to the composite OR feature or between other features in a hypothesis. You can set and view associations using a separate tool that summarizes all of the common components of the collection of rules in the feature as described in the following sections.

To add an atom or bond from a new rule to a previously summarized association, select an atom or bond that is part of the association, and then extend select the new corresponding component. Finally, select the Add Association button.
To Display Associations (Correspondences in a Summary)
You can display associations in the Association Editor window as follows:
Associations are added as you make them, so there is no Cancel button in the Association Editor. To leave the editor without saving your changes, you must use the Delete Association button to remove the associations that you have added but want to discard. Alternatively, you can select Cancel QuickTool from the QuickTool menu and abandon all changes made in both the Association Editor and in the Exclude/OR Editor.
When you return to the View Hypothesis workbench, what you see depends on what was selected when you opened the QuickTool and what associations have been defined for the composite OR feature, as follows:
Again, using the aliphatic amino acid example, suppose that you want to define a distance constraint from the oxygen in the aliphatic amino acid composite OR feature to a phenyl fragment. The procedure follows: