| Literature DB >> 30657753 |
Carlos Alquézar-Baeta1, Silvia Gimeno-Martos1, Sara Miguel-Jiménez1, Pilar Santolaria2, Jesús Yániz2, Inmaculada Palacín2, Adriana Casao1, José Álvaro Cebrián-Pérez1, Teresa Muiño-Blanco1, Rosaura Pérez-Pé1.
Abstract
In the field of assisted reproductive techniques (ART), computer-assisted sperm analysis (CASA) systems have proved their utility and potential for assessing sperm quality, improving the prediction of the fertility potential of a seminal dose. Although most laboratories and scientific centers use commercial systems, in the recent years certain free and open-source alternatives have emerged that can reduce the costs that research groups have to face. However, these open-source alternatives cannot analyze sperm kinetic responses to different stimuli, such as chemotaxis, thermotaxis or rheotaxis. In addition, the programs released to date have not usually been designed to encourage the scalability and the continuity of software development. We have developed an open-source CASA software, called OpenCASA, which allows users to study three classical sperm quality parameters: motility, morphometry and membrane integrity (viability) and offers the possibility of analyzing the guided movement response of spermatozoa to different stimuli (useful for chemotaxis, thermotaxis or rheotaxis studies) or different motile cells such as bacteria, using a single software. This software has been released in a Version Control System at Github. This platform will allow researchers not only to download the software but also to be involved in and contribute to further developments. Additionally, a Google group has been created to allow the research community to interact and discuss OpenCASA. For validation of the OpenCASA software, we analysed different simulated sperm populations (for chemotaxis module) and evaluated 36 ejaculates obtained from 12 fertile rams using other sperm analysis systems (for motility, membrane integrity and morphology modules). The results were compared with those obtained by Open-CASA using the Pearson's correlation and Bland-Altman tests, obtaining a high level of correlation in all parameters and a good agreement between the different used methods and the OpenCASA. With this work, we propose an open-source project oriented to the development of a new software application for sperm quality analysis. This proposed software will use a minimally centralized infrastructure to allow the continued development of its modules by the research community.Entities:
Mesh:
Year: 2019 PMID: 30657753 PMCID: PMC6355034 DOI: 10.1371/journal.pcbi.1006691
Source DB: PubMed Journal: PLoS Comput Biol ISSN: 1553-734X Impact factor: 4.475
Description of the software packages included in OpenCASA.
| Description | |
|---|---|
| This package includes code directly related to the implemented analysis. | |
| This package includes the implementation of new data structures. | |
| This package includes the code related to the graphical user interface. | |
| This package includes generic functions that could be used by every module, i.e. statistical functions, video processing or drawing functions. | |
| This package has been created to include and locate third party code used in the project. |
Fig 1OpenCASA overview diagram.
The software architecture was designed to facilitate the subsequent development of new features, so the code was separated in different packages depending on its functionality. Using these packages, the program allows user to carry out four different sperm analyses through the corresponding modules: Chemotaxis, Motility, Morphometry and Viability. In addition, a fifth module was implemented to generate simulations of chemotactically attracted sperm populations.
Mathematical definition and meaning of the kinematic parameters implemented in the OpenCASA software.
| Parameter | Mathematical definition | Meaning (from Mortimer [ |
|---|---|---|
| Straight-line velocity (VSL) | VSL is determined by finding the straight-line distance between the first and last points of the trajectory and correcting for time. This value then gives the net space gain within the observation period | |
| Curvilinear velocity (VCL) | VCL is the distance travelled by the spermatozoon along its curvilinear path/s and is calculated by finding the sum of the distances along the trajectory then correcting for time. It refers to the total distance that the sperm head covers in the observation period | |
| Average-path velocity (VAP) | VAP is the distance the spermatozoon has traveled in the average direction of movement in the observation period. It is calculated by finding the length of the average path and correcting for time. | |
| Linearity (LIN) | LIN is a comparison of the straight-line and curvilinear paths. It is an expression of the relationship between the two-dimensional projection of the three-dimensional path taken by the spermatozoon (i.e. curvilinear path) and its net space gain | |
| Wobble (WOB) | WOB is the expression of the relationship between the average and curvilinear paths | |
| Straightness (STR) | STR is a comparison of the straight-line and average paths and gives an indication of the relationship between the net space gain and the general trajectory of the spermatozoon | |
| Amplitude of lateral head displacement | Let the segment | The amplitude of lateral head displacement (ALH) is used as an approximation of the flagellar beat envelope. It is not a true amplitude, in that it does not measure the perpendicular distance between the peak of a wave and the point of inflection of the curve, but rather gives the distance between the ‘peak’ and ‘trough’ of the centroid’s path. |
| Using the above definition: | ALHmax is the maximum ALH found along the trajectory. | |
| Beat-cross frequency (BCF) | Let | BCF is the number of times the sperm head crosses the direction of movement, and this is related to the development of another flagellar wave |
| DANCE (DNC) | DNC is a measure of the pattern of sperm motion VCL×ALH | |
| Mean angular displacement (MAD) | MAD is a measure of the trajectory curvature, defined as ‘the time average of absolute values of the instantaneous turning angle of the head along its curvilinear trajectory’ | |
| Progressive | Yes if STR > % and VAP> value, both defined by the user. Otherwise the trajectory is not considered progressive. | PM refers to sperm that are swimming in a mostly straight line |
| Motility trajectories | A trajectory is considered motile if the VCL parameter is greater than a value defined by the user (minimum vcl), and also the starting point of the trajectory is different than the last point. | This parameter refers to spermatozoa that are considered motile. |
| Fractal dimension (FD) | The fractal dimension is an expression of the degree to which a line fills a plane. It may be considered that the fractal dimension of a curve indicates its regularity. A curve with a low fractal dimension would be regular and predictable. Similarly, a curve with a high fractal dimension would have irregularly spaced changes in direction, apparently at random. |
Let be a trajectory of length N defined as a sequence of N points; D(p,q) the Euclidean distance between the points p and q; and μ the scale factor (microns/pixel). Also let be the average trajectory of calculated applying a simple moving average with a rectangular window of size w (). Finally, let be the angle of the vector specified by the points ⟨p,p⟩, with Δ a positive integer lower than N.
Fig 2Definition of the instantaneous directionality angle.
ψ is the angle between the vector of the cell frame-to-frame displacement () and the gradient direction . In the example above, the gradient has been set to .
Fig 3Definition of two different options in order to analyse the chemotaxis phenomena.
It is important to count the number of instantaneous displacements pointing in the chemotaxis gradient direction and the number of those displacements not pointing to the gradient. being the angle between the instantaneous displacement of a cell and the gradient direction; N+ is defined as count{ψ∈[−γ,+γ]}, where γ is a parameter defined by the user and represents the amplitude of the chemoattractant concentration gradient. The developed software allows users to choose two options to define which displacements not pointing to the gradient are taken into account. In option 1, N− is defined as count{ψ∉[−γ,+γ]}, whereas in option 2 only displacements in the opposite direction of the gradient are considered (N− = count{ψ∈[180°−γ,180°+γ]}). The images above show graphically which angles are taken into account for the sum N+(green color) and N−(red color), depending on the option specified by the user.
Fig 4Two examples of the distribution of the instantaneous directionality angles ψ.
(a) Simulated sperm population without chemotaxis. (b) Simulated sperm population chemoattracted to The ch-index provides information about the percentage of the angles ψ that point in the gradient direction with respect to the total number of angles taken into account (the total number of angles will depend on the option specified by the user). The parameters used to generate the simulation on the right were β = 1 and Responsiveness = 50%.
Fig 5Determination of the O.R. threshold used to discriminate between chemotaxis and no chemotaxis in the bootstrapping method.
The histogram comes from 10000 O.R. ratios, each one calculated by the odds value of two disjointed subsets of trajectories randomly sampled over all detected trajectories in 100 control simulations. Each simulation consisted of a 500 frames length video (800x800 pixels each frame) containing 100 virtual cells randomly located at the beginning of the simulation. Each cell was defined as an ellipse (10x8 pixels size) and behaved following a persistent random walk equation with parameters D = 0.1, v0 = 3,β = 0, Reponsiveness = 0 and ψ0 = 0°.
Fig 6Membrane integrity module workflow.
The module receives an RGB image as input, splits the image into red and green channels, identifies viable and non-viable cells depending on the channel and finally merges all the results showing all the detected cells in the same image. The module identifies the viable cells in green and the non-viable cells in red.
Definition of the morphometric parameters implemented in the OpenCASA software.
| Parameter | Definition |
|---|---|
| Mean gray value | Average gray value of all pixels contained in the cell area (value between 0 and 255). |
| Area | Area of the cell (μm2). |
| Perimeter | Perimeter of the cell (μm). |
| Length | Length of the cell following the principal axis. Equivalent to Feret value (μm). |
| Width | Width of the cell following the secondary axis. Equivalent to Min Feret (μm). |
| Ellipticity | |
| Roughness | |
| Elongation | |
| Regularity |
Fig 7Verification of the ch-index in a non-chemotaxis condition.
The ch-index provides information about the percentage of the angles ψ that point in the gradient direction with respect to the total of angles taken into account. In the case of a non- chemotaxis condition, a uniform distribution of the instantaneous directionality angles is expected, so defining γ = 30° and considering the angles ψ in the range [−30°,+30°] as chemotactical responses to the gradient, theoretically the percentage of those angles with respect to the total number of angles would be . Analysing the histogram, as expected, the ch-index was centred close to the theoretical value (17.90±0.46%) with some variation due to the sampling and the noise of the system (e.g. intersection of trajectories).
Comparison between the motility parameter values given by ISAS or by OpenCASA using a Pearson’s correlation test and a Bland-Altman test.
| 0.9756 | < 0.0001 | -1.84 | |
| 0.9677 | < 0.0001 | 11.37 | |
| 0.9402 | < 0.0001 | -1.0 | |
| 0.9671 | < 0.0001 | 6.38 | |
| 0.9466 | < 0.0001 | 5.82 | |
| 0.9659 | < 0.0001 | 4.50 | |
| 0.8767 | < 0.0001 | 3.26 | |
| 0.8794 | < 0.0001 | -12.69 | |
| 0.8779 | < 0.0001 | 20.75 | |
| 0.8180 | < 0.0001 | 3.50 | |
| 0.9606 | < 0.0001 | -2.57 | |
Comparison between the membrane integrity results obtained by flow cytometry or by OpenCASA using a Pearson’s correlation test and a Bland-Altman test.
| Viability parameters | |||
|---|---|---|---|
| 0.7901 | < 0.0001 | -6.99 | |
| 0.7987 | < 0.0001 | 9.16 | |
Comparison between the values of the morphometry parameters given by CASMA-F or by OpenCASA using a Pearson’s correlation test and a Bland-Altman test.
| Morphometry parameters | |||
|---|---|---|---|
| 0.8226 | < 0.0001 | 0.39 | |
| 0.8982 | < 0.0001 | -0.21 | |
| 0.9348 | < 0.0001 | 2.88 | |
| 0.9368 | < 0.0001 | 0.11 | |
| 0.8387 | < 0.0001 | 0.19 | |