short communications
Crystallographic model quality at a glance
aArchitecture et Réactivité de l'ARN, Université Louis Pasteur, Institut de Biologie Moléculaire et Cellulaire, CNRS, 15 Rue René Descartes, 67084 Strasbourg, France, bLawrence Berkeley National Laboratory, One Cyclotron Road, BLDG 64R0121, Berkeley, CA 94720, USA, cInstitut de Génétique et de Biologie Moléculaire et Cellulaire, Département de Biologie et de Génomique Structurales, CNRS–ULP–INSERM, 1 Rue Laurent Fries, 67404 Illkirch, France, and dPhysics Department, Nancy-University, 54506 Vandoeuvre-lès-Nancy, France
*Correspondence e-mail: sacha@igbmc.fr
A crystallographic macromolecular model is typically characterized by a list of quality criteria, such as R factors, deviations from ideal stereochemistry and average B factors, which are usually provided as tables in publications or in structural databases. In order to facilitate a quick model-quality evaluation, a graphical representation is proposed. Each key parameter such as R factor or bond-length deviation from `ideal values' is shown graphically as a point on a `ruler'. These rulers are plotted as a set of lines with the same origin, forming a hub and spokes. Different parts of the rulers are coloured differently to reflect the frequency (red for a low frequency, blue for a high frequency) with which the corresponding values are observed in a reference set of structures determined previously. The points for a given model marked on these lines are connected to form a polygon. A polygon that is strongly compressed or dilated along some axes reveals unusually low or high values of the corresponding characteristics. Polygon vertices in `red zones' indicate parameters which lie outside typical values.
Keywords: model quality; PDB; validation; refinement; PHENIX.
1. Introduction
Crystallographic macromolecular models possess different types of errors (see, for example, Kleywegt, 2001 and references therein; Dym et al., 2001; Brown & Ramaswamy, 2007; Borman, 2007; Wlodawer et al., 2008). The model characteristics that reflect them are usually given either as a list of numbers or in the form of numerous plots and images (see Wodak et al., 2001) produced, for example, by PROCHECK (Laskowski et al., 1993) or MolProbity (Davis et al., 2004). A tool that illustrates model quality in a single image would be helpful.
Each individual parameter such as R factor or mean bond-length error may be plotted along a corresponding `ruler' (see, for example, Fig. 5 in Wlodawer et al., 2008). We suggest arranging these rulers as lines or axes radiating from a common origin. We mark the value of each parameter for a model at a point along these axial rulers. We then join each of these points together with its neighbours to construct a polygon. If one of the characteristics is unusually good (for example, the R factor is unusually small), the point along this axis will be closer to the origin. Conversely, for a large R factor the point will be far from the origin and the polygon will be expanded along this axis, immediately indicating a deviation from typically observed values. The same image may also present the distribution of each parameter for a set of control models. For example, different parts of axes can be shown in different colours as a function of the frequency of the values. This graphical information answers at a glance common questions such as `I'm refining my structure at 2.2 Å resolution and the R/Rfree factors are 0.25/0.30; how does my structure compare with other structures refined at the same resolution?' or similar questions for other model parameters.
2. Polygon presentation of model characteristics
2.1. Model characteristics
A polygon may be built for any set of model characteristics that are available in PDB files or that can be recomputed given a PDB file and diffraction data files, for example R and Rfree factors, deviations from ideal stereochemistry and so on. Reporting only the mean values of the deviations from standard geometry, which are global model characteristics, may be insufficient (Morffew & Moss, 1983; Urzhumtsev et al., 1989; Laskowski et al., 1993); for a more complete estimation of model quality, maximal distortion values (Urzhumtsev, 1992) should also be communicated. In some ways, maximal deviations can characterize locally different kinds of geometry distortion. Therefore, our `default polygon' includes eight axes for the mean and maximal deviations in the bond lengths, bond angles, dihedral angles and planarity. Two further default axes show the mean and maximal value of the ADPs (atomic displacement parameters) or their isotropic equivalents.
Any of these characteristics can be removed from the polygon, replaced or complemented by other values such as the distortion in ) or the percentage of residues in favourable configurations.
minimal nonbonded distance, number of ordered water molecules per residue, number of outliers in the Ramachandran plot (Ramakrishnan & Ramachandran, 19652.2. Scaling and colouring
To plot the distribution f(x) of a characteristic x, the interval (xmin, xmax) and its position on the corresponding axis need to be chosen. We preferred to avoid scales that were fixed at standards for geometric characteristics (see, for example, Jaskolski et al., 2007; Stec, 2007) or R factors (Tickle et al., 1998, 2000). Instead, we referred to previously solved models.
A straightforward way would be to calculate the mean xmean and standard deviation σx of each parameter x, define the position of xmean for all parameters at the same distance from the origin and plot all f(x) in the same intervals of σ, for example (xmean − 5σx, xmean + 5σx), showing them as axes of the same length. With such a choice, the `mean model' polygon would be exactly regular. Outliers can strongly influence the statistics and should be removed in advance. However, even with outliers excluded the distributions for many of the characteristics of the PDB models are multimodal; xmean may be between two peaks and may correspond to an unusual value. Therefore, it might be misleading to choose xmean as a value for a `mean-quality model'. The choice of a standard interval is also inconvenient. Owing to the high diversity of the distributions f(x), a large part of some intervals may be empty while important information is lost for others.
Another possibility is to take xmin and xmax as the minimal and maximal x values for the models selected for comparison. Removing outliers makes the definition of xmin and xmax insensitive to minor variations in the set of control models. We then plot all xmin at the same distance from the origin and similarly for xmax. The exceptions are the nonbonded distance and the percentage of residues in the favourable zones of the Ramachandran plot, for which the points for xmin and xmax on the axis are flipped.
With this choice, the polygon for the `mean-quality model' is not exactly regular. This imperfection of the current scaling does not cause much inconvenience, particularly because the definition of such a model for multimodal distributions is ambiguous anyway. The important point is that the extremities of the interval correspond to less usual values and, as a consequence, a compressed or dilated polygon indicates an atypical model. (We exclude particular cases in which control models are chosen on purpose to give frequent values at the extremities of the interval; see the next section for a discussion of model selection.) Obviously, more sophisticated scaling schemes may be tried in future.
The axes are coloured according to the frequency with which given values of the parameter are observed in the set of control models. Red corresponds to rare values, green is for `usual' values and blue indicates very frequent zones.
3. Models for comparison
When choosing the models for comparison, one may exclude ambiguous models, for example those with a negative difference Rfree − R or those that are formally correct but disagree with advanced analysis (see, for example, Jaskolski et al., 2007). The further choice of control models depends on the questions that are posed. In particular, only models with a particular feature (refinement program, type of experimental data etc.) may be retained for comparison.
By default, a model is compared with structures obtained at the same resolution. If the filtered database contains too few such models, the models that are closest in resolution are added from both resolution ends. When working at very high or at low resolution, the resolution limits may be defined explicitly. This option also allows the same set of control models to be chosen for multiple comparisons, in particular the selection of models refined at high resolution (and to low values of the R factor) as a high-quality standard. Other selections, for example a similarity in molecular size, may be applied.
4. Computer realisation
To illustrate this approach, a Tcl/Tk-based (Ousterhout, 1993) program has been written. The model information used to plot the polygon can be taken from any of three different sources: the PDB file header, the output of phenix.model_vs_data (a component of PHENIX; Adams et al., 2002) or an internal database of model characteristics recovered from the PDB (see below). Numerous filtering and selection options (discussed in §3) are available. The default program parameters are highly customizable.
We used tools from PHENIX to extract and collect statistical information from the PDB (Bernstein et al., 1977; Berman et al., 2000). Only models with experimental data available were considered and phenix.cif_as_mtz was used to extract and convert the experimental data to MTZ format (structure factors, σ values and free R flags). This generated a total of 30 448 MTZ files (as of July 2008).
We used phenix.model_vs_data to homogenously compute model and data statistics such as R factors or stereochemical deviations (PHENIX uses the CCP4 Monomer Library; Vagin et al., 2004). The original values of the R factors from the headers of the PDB files can be displayed at additional axes of the polygon (see, for example, the axes rpdb and rfpdb in Figs. 1e and 1f). The models with a large difference between reported and calculated R factors can be filtered out by request.
5. Examples of the polygon representation
Fig. 1 shows polygon representations of several models taken from the PDB. The actual PDB codes were substituted by the artificial codes mod1–mod6. The resolution displayed corresponds to that of the data set in the MTZ file. The coloured axes show the frequency of corresponding values, with the numerical limits indicated in red. The characteristics for the input model are given in black. The values are given in conventional units: relative values for R factors, Å for bond-length deviations, degrees for angles, Å2 for ADPs etc.
Mod1 (Fig. 1a) shows characteristics typical of other models at this resolution. The characteristics are close to the centres of the distributions and the polygon is approximately radially symmetric.
Mod2 (Fig. 1b) also has typical values for the geometric characteristics. However, its R factor is lower and ΔR (Rfree − R) is larger than highly frequent values, suggesting some degree of overfitting of the data.
Mod3 (Fig. 1c) shows a high maximal deviation of bond lengths (while the mean value is close to typical values), indicating the presence of small number of local model imperfections. It also shows a similar trend with bond angles and planarity.
Mod4 (Fig. 1d) shows a good agreement for geometry values, but has high R and Rfree factors and a high ΔR. For illustration, only 1% of outliers with very small or very large values of the model characteristics were rejected automatically instead of the 10% that were rejected for the other figures. In contrast, here we applied an `explicit filtering' that excluded control models with ΔR < 0.0001, with a maximal deviation in dihedral angles larger than 150° and with a maximal deviation in bond length larger than 0.10 Å.
Mod5 (Fig. 1e), which was refined at a high resolution, has most of the geometry parameters equal to or smaller than typical values. The small mean and maximal values of the isotropic equivalent of the ADPs suggest that the structure may be highly ordered. The R factors reported in the PDB header (shown as three additional axes) are low. However, the value of zero for the calculated ΔR signifies that for this model the actual test set of structure factors is not available in the PDB. This prevents calculation of the Rfree factor using the deposited data. The blue colour of the corresponding interval, which stands for very typical values, indicates a high percentage of PDB models with this feature.
The obviously irregular polygon for mod6 (Fig. 1f) corresponds to a model with serious problems. The resolution has been removed from this figure on purpose.
6. Conclusions
The presentation of a set of commonly used model characteristics in one image allows an easy assessment of model quality and comparison with a set of control models. The approach does not suggest a new measure of the model quality, but provides a convenient way to evaluate it at a glance. Obviously, a similar technique can be used to analyze other types of models, for example those obtained by NMR. The current Tcl/Tk-based version of the program is available at https://www-ibmc.u-strasbg.fr/arn or by request from sacha@igbmc.fr. These tools will be available in a future release of the PHENIX software.
Acknowledgements
PVA and PDA acknowledge financial support from NIH–NIGMS under grant No. P01GM063210 and support from the US Department of Energy under Contract No. DE AC02-05CH11231. LU and AU thank E. Westhof and D. Moras for their support of the project. We would like to thank referee 1 for a thorough review and criticisms that resulted in significant improvement of the manuscript.
References
Adams, P. D., Grosse-Kunstleve, R. W., Hung, L.-W., Ioerger, T. R., McCoy, A. J., Moriarty, N. W., Read, R. J., Sacchettini, J. C., Sauter, N. K. & Terwilliger, T. C. (2002). Acta Cryst. D58, 1948–1954. Web of Science CrossRef CAS IUCr Journals Google Scholar
Berman, H. M., Westbrook, J., Feng, Z., Gilliland, G., Bhat, T. N., Weissig, H., Shindyalov, I. N. & Bourne, P. E. (2000). Nucleic Acids Res. 28, 235–242. Web of Science CrossRef PubMed CAS Google Scholar
Bernstein, F. C., Koetzle, T. F., Williams, G. J., Meyer, E. F. Jr, Brice, M. D., Rodgers, J. R., Kennard, O., Shimanouchi, T. & Tasumi, M. (1977). J. Mol. Biol. 112, 535–542. CSD CrossRef CAS PubMed Web of Science Google Scholar
Borman, S. (2007). Chem. Eng. News, 858, 11. Google Scholar
Brown, E. N. & Ramaswamy, S. (2007). Acta Cryst. D63, 941–950. Web of Science CrossRef CAS IUCr Journals Google Scholar
Davis, I. W., Weston Murray, L., Richardson, J. S. & Richardson, D. C. (2004). Nucleic Acids Res. 32, W615–W619. Web of Science CrossRef PubMed CAS Google Scholar
Dym, O., Eisenberg, D. & Yeates, T. O. (2001). International Tables for Crystallography, Vol. F, edited by M. G. Rossmann & E. Arnold, pp. 520–525. Dordrecht: Kluwer Academic Publishers. Google Scholar
Jaskolski, M., Gilski, M., Dauter, Z. & Wlodawer, A. (2007). Acta Cryst. D63, 611–620. Web of Science CrossRef CAS IUCr Journals Google Scholar
Kleywegt, G. J. (2001). International Tables for Crystallography, Vol. F, edited by M. G. Rossmann & E. Arnold, pp. 497–506. Dordrecht: Kluwer Academic Publishers. Google Scholar
Laskowski, R. A., MacArthur, M. W., Moss, D. S. & Thornton, J. M. (1993). J. Appl. Cryst. 26, 283–291. CrossRef CAS Web of Science IUCr Journals Google Scholar
Morffew, A. J. & Moss, D. S. (1983). Acta Cryst. A39, 196–199. CrossRef CAS Web of Science IUCr Journals Google Scholar
Ousterhout, J. K. (1993). Tcl and the Tk Toolkit. Reading, Massachusetts: Addison–Wesley Publishing Co. Google Scholar
Ramakrishnan, C. & Ramachandran, G. N. (1965). Biophys. J. 5, 909–933. CrossRef CAS PubMed Google Scholar
Stec, B. (2007). Acta Cryst. D63, 1113–1114. Web of Science CrossRef IUCr Journals Google Scholar
Tickle, I. J., Laskowski, R. A. & Moss, D. S. (1998). Acta Cryst. D54, 547–557. Web of Science CrossRef CAS IUCr Journals Google Scholar
Tickle, I. J., Laskowski, R. A. & Moss, D. S. (2000). Acta Cryst. D56, 442–450. Web of Science CrossRef CAS IUCr Journals Google Scholar
Urzhumtsev, A. (1992). Collected Abstracts, XIVth European Crystallographic Meeting, 2–7 August 1992, Enschede, The Netherlands, p. 234. Google Scholar
Urzhumtsev, A. G., Lunin, V. Yu. & Vernoslova, E. A. (1989). J. Appl. Cryst. 22, 500–506. CrossRef CAS Web of Science IUCr Journals Google Scholar
Vagin, A. A., Steiner, R. A., Lebedev, A. A., Potterton, L., McNicholas, S., Long, F. & Murshudov, G. N. (2004). Acta Cryst. D60, 2184–2195. Web of Science CrossRef CAS IUCr Journals Google Scholar
Wlodawer, A., Minor, W., Dauter, Z. & Jaskólski, M. (2008). FEBS J. 275, 1–21. Web of Science CrossRef PubMed CAS Google Scholar
Wodak, S. J., Vagin, A. A., Richelle, J., Das, U., Pontius, J. & Berman, H. M. (2001). International Tables for Crystallography, Vol. F, edited by M. G. Rossmann & E. Arnold, pp. 507–519. Dordrecht: Kluwer Academic Publishers. Google Scholar
This is an open-access article distributed under the terms of the Creative Commons Attribution (CC-BY) Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original authors and source are cited.