Comet Assay Analysis

download notebookDownload this example as a Mathematica notebook.

The single-cell gel electrophoresis (or comet) assay is a rapid and sensitive fluorescence microscopic method for the detection of primary DNA damage at the individual cell level. During the last 10 years, it has gained widespread acceptance for genotoxicity testing. Compared to other genotoxicity tests, the comet assay is an inexpensive and simple method that is well suited to analysis and measurement by means of computer-assisted techniques [Christoph Helma and Maria Uhl, Introduction in "A Public Domain Image Analysis Program for the Single Cell Gel Electrophoresis (Comet) Assay," Mutation Research 466 (2000) 9-15].

See http://cometassay.com for additional information and references.

This loads the package.

[Graphics:Images/index_gr_1.gif]

Here an example image is loaded (data the courtesy of Blake Whitaker, University of Southern Maine).

[Graphics:Images/index_gr_2.gif]

This defines the regions of interest as user-selected rectangular areas in the graphical coordinate system of the Mathematica front end. The coordinate pairs represent the lower-left and upper-right vertices of the bounding rectangles for each of six regions in the image.

[Graphics:Images/index_gr_3.gif]

In order to draw the regions of interest on the original image, define a utility function that takes two vertices and returns a Line graphics primitive depicting the bounding rectangle.

[Graphics:Images/index_gr_4.gif]

Here is a the original image data showing the regions of interest.

[Graphics:Images/index_gr_5.gif]

[Graphics:Images/index_gr_6.gif]

Proceed with extracting the comets from the original image.

[Graphics:Images/index_gr_7.gif]

This shows the individual comets.

[Graphics:Images/index_gr_8.gif]

[Graphics:Images/index_gr_9.gif]

The original images are in three-channel RGB format. Clearly the green channel signal is strongly dominant, which is easily verified by displaying the planar format of an example comet.

[Graphics:Images/index_gr_10.gif]

[Graphics:Images/index_gr_11.gif]

A closer examination reveals the presence of weak signals in the red and blue channels, especially in the tail section of the comet (interestingly, this effect is not discussed in the scientific literature). Since all computer-aided quantification results are traditionally presented in the context of gray-scale images, proceed with a color transformation.

[Graphics:Images/index_gr_12.gif]

This displays the histograms of the example comet images.

[Graphics:Images/index_gr_13.gif]
[Graphics:Images/index_gr_14.gif]

[Graphics:Images/index_gr_15.gif]

Next is a typical calculation. For example, the interest here is to obtain the area of the head of the comet ("AH"), the total density of the head ("DNAH"), and the mean intensity of the head ("MH"). Usually, the same set of measurements is obtained for the tail, and the two results are contrasted. In the literature on comet assays, the head is identified by the pixels with the highest intensity. As is commonly used, the threshold value is 85 percent of the maximum intensity in the image.

[Graphics:Images/index_gr_16.gif]
[Graphics:Images/index_gr_17.gif]

The images are binarized, adding a morphological filtering operation to smooth the borders of the head regions.

[Graphics:Images/index_gr_18.gif]
[Graphics:Images/index_gr_19.gif]

[Graphics:Images/index_gr_20.gif]

This continues with identifying the regions and measuring the required properties, additionally including calculations of the centroids and enclosing circles.

[Graphics:Images/index_gr_21.gif]
[Graphics:Images/index_gr_22.gif]
[Graphics:Images/index_gr_23.gif]
[Graphics:Images/index_gr_24.gif]
[Graphics:Images/index_gr_25.gif]
[Graphics:Images/index_gr_26.gif]
[Graphics:Images/index_gr_27.gif]

This displays the results in a tabular fashion.

[Graphics:Images/index_gr_28.gif]
image # area density mean intensity
1
2
3
305
285
330
45191
42293
49066
148.1672131147541`
148.39649122807018`
148.6848484848485`

The graphical elements used to annotate the comet images are calculated.

[Graphics:Images/index_gr_29.gif]
[Graphics:Images/index_gr_30.gif]
[Graphics:Images/index_gr_31.gif]

[Graphics:Images/index_gr_32.gif]

This is an alternative visualization of a comet image.

[Graphics:Images/index_gr_33.gif]

[Graphics:Images/index_gr_34.gif]

Finally, another property of a comet, the so-called comet profile, is calculated and displayed. It is a plot of the cross-sectional density (density measured perpendicularly to the lengthwise dimension of the comet).

[Graphics:Images/index_gr_35.gif]

[Graphics:Images/index_gr_36.gif]