edat = <energy_data> | objective function parameters | |
io = <io_data> | Options for reading atom files | |
output = <str:1> | 'LONG' | selects output: 'SHORT' | 'LONG' | 'RMS' | 'DRMS' |
matrix_file = <str:1> | 'family.mat' | the filename of the pairwise distance matrix |
compare_mode = <int:1> | 3 | selects the type of comparison: 1 | 2 | 3 |
rms_cutoffs = <float:11> | 3.5 3.5 60 60 15 60 60 60 60 60 60 | cutoffs for RMS, DRMS, Alpha Phi Psi Omega chi1 chi2 chi3 chi4 chi5 |
fit_atoms = <str:1> | 'CA' | whether to superpose before comparison |
distance_atoms = <str:2> | 'CA' 'CA' | atom type used for variability calculations |
fit = <bool:1> | True | whether to do pairwise least-squares fitting or ALIGN2D alignment |
asgl_output = <bool:1> | False | whether to write output for ASGL |
refine_local = <bool:1> | True | whether to refine superposition using locally similar substructures |
This command compares the structures in the given alignment. It does not make an alignment, but it calculates the RMS and DRMS deviations between atomic positions and distances, and class differences between the mainchain and sidechain dihedral angles. In contrast to the selection.superpose() command, alignment.compare_structures() works with a multiple alignment and it writes more information about the pairwise comparisons.
output selects short ('SHORT') or long ('LONG') form of output to the log file. If it contains word 'RMS' or 'DRMS' it also outputs the RMS or DRMS deviation matrix to file matrix_file. This file can be used with the PHYLIP program or with the environ.dendrogram() or environ.principal_components() commands of MODELLER to calculate a clustering of the structures.
compare_mode selects the form of the positional variability calculated for each position along the sequence:
rms_cutoffs specifies cutoff values for calculation of the position, distance, and dihedral angle RMS deviations for pairwise overall comparisons. If difference between two equivalent points is larger than cutoff it is not included in the RMS sum. The order of cutoffs in this vector is: atomic position, intra-molecular distance, , , , , , , , , and (there are 5 dihedrals in a disulfide bridge), where is the virtual dihedral angle between four consecutive atoms. These cutoffs do not affect positional variability calculations.
fit_atoms string specifies all the atom types (including possibly a generic 'ALL') to be fitted in the least-squares superposition. These atom types are used in the least-squares superposition, and in calculation of the position and distance RMS deviations.
distance_atoms[0] specifies the atom type that is used for getting the average structure and RMS deviation at each alignment position in the ASGL output file 'posdif.asgl'. This ASGL file contains the positional variability of the selected atom type in the family of compared proteins. The ASGL output files can then be used with ASGL scripts 'posdif' and 'dih' to produce POSTSCRIPT plots of the corresponding variabilities at each alignment position. asgl_output has to be True to obtain the ASGL output files.
If fit = True, a least-squares superposition is done before the comparisons; otherwise, the orientation of the molecules in the input atom files is used.
Example: See alignment.malign3d() command.