Volume 2 Chapter 3 3D-Constrain Sub-menu CONTACT
GROUP is used to define a set of atoms for use in a non-bonded contact search.
Full details of non-bonded contact searching are given in chapter 7 of Vol.1 and users must read that chapter before attempting to formulate such a search.
Remarks
Ex.1 Suppose we wish to find intermolecular contacts between the carbon, hydrogen atoms of a phenyl group and the oxygen atom of a ketone. In this example we will use the standard van der Waals radii so that hits will be registered for C...O < 4.42Å and H...O < 3.72Å.

Select or type items for GROUP. If necessary reselect GROUP to end input. Select CANCEL to cancel command.
Select GROUP
In the summary area we now have:
G1 7 6 5 8 4 9 3 10 11 2
This line is displayed in blue to indicate that it is a NON-BONDED command.
In the dialogue area we now have the "home" prompt:
Search for ALL crystal fragments OVERLAP of crystal fragments permitted Select a menu command or TO-BUILD to return to the BUILD menu.
Select or type atoms for CONTACT. If necessary reselect CONTACT to end input. Select CANCEL to cancel command.
Should contacts to FIRST group be calculated for each ATOM or for the CENTROID? Type A or C [A]
Type 1,2, or 3 to indicate type of contact:
1 = INTRA-molecular contacts 2 = INTER-molecular contacts
3 = ANY (ie, either INTRA or INTER-molecular contacts) [Default = 3]
At least one of your contact sets is centroid-based, so you MUST specify the minimum and maximum distances for which a contact will be registered. Please enter the MIN. and MAX. distances, separated by spaces or commas.
In the summary area we now have the line:
INTER G1 A 15 A
This line is displayed in blue to indicate that it is a non-bonded command.
In this line G1 A 15 A indicates that G1 is represented by its constituent atoms and 15 is an atom.
In the dialogue area we now have the "home" prompt:
Search for ALL crystal fragments OVERLAP of crystal fragments permitted Select a menu command or TO-BUILD to return to the BUILD menu.
The resultant command in the instruction document is:
CONTACT INTER G1 A 15 A

H8 is linked by a dotted blue line to O1%.
If you use MEASURE DIST the contact distance is displayed as 2.598Å.
Ex.2 Suppose we wish to find all intramolecular contacts in the range 1.9-2.9Å between the centroid of a benzene ring and the hydrogen atom of an NH group.

Select or type items for GROUP. If necessary reselect GROUP to end input. Select CANCEL to cancel command.
Select GROUP
In the summary area we now have:
G1 1 2 3 4 5 6
This line is displayed in blue to indicate that it is a NON-BONDED command.
In the dialogue area we now have the "home" prompt:
Search for ALL crystal fragments OVERLAP of crystal fragments permitted Select a menu command or TO-BUILD to return to the BUILD menu.
Select or type atoms for CONTACT. If necessary reselect CONTACT to end input. Select CANCEL to cancel command.
Should contacts to FIRST group be calculated for each ATOM or for the CENTROID? Type A or C [A]
Type 1,2, or 3 to indicate type of contact:
1 = INTRA-molecular contacts 2 = INTER-molecular contacts
3 = ANY (ie, either INTRA or INTER-molecular contacts) [Default = 3]
For "INTRA" and "ANY" searches, you must specify the minimum and maximum number of bonds allowed in the shortest path between INTRAMOLECULAR contact atoms. Enter MIN. and MAX. numbers of bonds, separated by spaces or commas [4 999]
At least one of your contact sets is centroid-based, so you MUST specify the minimum and maximum distances for which a contact will be registered. Please enter the MIN. and MAX. distances, separated by spaces or commas.
In the summary area we now have the line:
INTRA 4 999 G1 C 8 A 1.9 2.9
This line is displayed in blue to indicate that it is a non-bonded command.
In the dialogue area we now have the "home" prompt:
Search for ALL crystal fragments OVERLAP of crystal fragments permitted Select a menu command or TO-BUILD to return to the BUILD menu.
The resultant command in the instruction document is:
CONTACT INTRA 4 999 G1 C 8 A 1.9 2.9
In this command G1 C 8 A indicates that G1 is represented by its centroid and 8 is an atom.

H41, attached to N5, is linked by a dotted blue line to the centroid of a benzene ring.
In this case you cannot use MEASURE DIST to display the actual value of the non-bonded contact distance since a GROUP centroid is involved. To do this you would have to also SETUP CENTROID in the 3D-CONSTRAIN sub-menu.
Ex.3 This example has been chosen to illustrate the use of multiple CONTACT commands in a single search.
Consider the search query represented by 4 fragments:

Suppose we wish to find the following non-bonded contacts:
Since the centroid of the benzene ring is defined by SETUP we can use MEASURE DIST to display distances involving the centroid in hits.
This defines the six atoms of the benzene ring as group G1.
This command deals with contact (i).
Minimum and maximum bonds in shortest path are 5 and 8.
The contact distance lies in the range 2.0 - 10.0Å
This command deals with contact (ii).
The contact distance lies in the range 0.0 - 5.0Å
This command deals with contact (iii).
The contact distance is less than 3.72Å, using the standard van der Waals radii and tolerance limit
This command deals with contact (iv).
Minimum and maximum bonds in shortest path are 1 and 999.
The contact distance lies in the range 0.0 - 999.9Å

The four contact distances are:
X1...S1 7.524Å X1...O14% 4.591Å O14%...H7 1.690Å N7...S1 4.762Å
Related Commands
CONTACT, VDW-RAD