SUPCOMB, is a program to superimpose one 3D structure onto another. These structures can be low-resolution bead models and/or high resolution NMR or x-ray crystal structures. The alignment of shape models (ie. *.flm files) is not supported. There are two versions, supcomb13 and supcomb20. Supcomb13, the original algorithm, is quite slow but generates highly accurate superposition/alignment of structures. Supcomb20 is a modification of supcomb13 providing a more rapid superposition/alignment of structures, at the expense of accuracy.
The program represents each input structure as an ensemble of points, then minimizes a normalized spatial discrepancy (NSD) to find the best alignment of two models. NSD is a measure of quantitative similarity between sets of three-dimensional points and is calculated in the following way:
Briefly, if two three-dimensional models are represented as a set of points, for every point in the first set (model 1), the minimum value among the distances between this point and all points in the second set (model 2) is
found, and the same is done for the points in the second set. These distances are added and normalized against the average distances between the neighboring points for the two sets.
For ideally superimposed similar objects, NSD tends to 0; it exceeds 1 if the objects systematically differ from one another.
Please refer to the paper cited above for further details about
the implemented algorithm.
SUPCOMB accepts absolute as well as relative paths to the template and target PDB files.
OPTIONS known by supcomb13 and supcomb20 are described in the next section.
The options can be used in both the interactive prompt driven mode or specified as additional arguments on the command line. These options define the atoms used for superposition, the use of enantiomorphs and symmetry.
If no PDB files are given, the configuration is done in full interactive mode.
Mode for the selection of atoms to be used in the superposition. 0 is for all atoms, 1 sets backbone (main chain) atoms only. Default is '0 (all atoms)'.
Specification (Y/N) of whether to allow enantiomorphs (either one of a pair of molecules that are mirror images of each other but are not identical). Default is 'N'.
See example.
Specify the symmetry to enforce on the structures during superposition. All standard P-n-m
symmetries are supported (Pn, n=1, ..., 19 and
Pn2, n=2, ..., 12). By default, no symmetry is enforced (P1).
Specification (Y/N) of whether to allow enantiomorphs (either one of a pair of molecules that are mirror images of each other but are not identical). Default is 'Y'.
See example.
Settings available through command-line arguments and options
may also be configured interactively as shown in the table below.
Otherwise these questions are skipped. Additional options such as specifying an output file name are only possible in the dialog mode.
On runtime, the following lines of output will be generated for
each target structure to superimpose
on a template structure (shown here
is the output from supcomb13):
The first entry indicates the number of atoms read from the template structure file, the second entry indicates the number of atoms read from the structure to be superimposed.
Fineness of the template
The fineness is the average distance between the neighbouring points in the representation of the template structure as a set of points in space.
Fineness of the superimposed structure
The fineness is the average distance between the neighbouring points in the representation of the superimposed structure as a set of points in space.
Principal axes orientation table
Distance = NSD for the initial alignment of inertia tensors, Orientation = sign of the orientation vector for the initial superposition.
Final results
The NSD for the initial axes alignment and the final superposition of structures are listed for every possible orientation. The lowest NSD for the refined superposition/alignment of each orientation is in the third column marked Final (in the above example, the orientation yielding the lowest NSD, 0.95001, is superposition number 1). Also listed here is the transformation matrix for the superimposed structure yielding the lowest NSD.
The output for running supcomb20 contains the same information, without symmetry and in a slightly different format.
SUPCOMB requires two PDB files as input. A template structure and a target structure for alignment/superposition. The use of absolute and relative paths to the template and target PDB files is supported in both command-line and dialog modes.
Following a successful superposition, SUPCOMB creates a single output file for the superimposed target structure. By default the output filename is taken from the input target structure but is appended with 'r'. eg. supcomb13 file1.pdb file2.pdb, yields file2r.pdb as output. There is no command-line option to generate an output file name, however, this can be specified in the dialog mode and a PDB file is generated with the given name.
Use SUPCOMB to obtain an alignment/superposition of two 3D structures, using options to define the mode (all atoms:0, or backbone atoms only:1) and allow the use of enantiomorphs:
To superimpose 10 structures onto a single template, on linux, in bash syntax:
$> for i in `seq 1 10` ; do supcomb13 template.pdb file-$i.pdb; done
or
$> for i in `seq 1 10` ; do supcomb20 template.pdb file-$i.pdb; done
If one has unnumbered files to superimpose, on linux, in bash syntax:
$> for file in "a.pdb b.pdb c.pdb d.pdb" ; do supcomb13 $file template.pdb; done
where template.pdb is the reference/template structure.
Note that when one has a large collection of structures for superposition, the program DAMAVER is optimised for a fast superposition of multiple structures, automatically choosing the most representative structure.