Real-time PCR measurement processing device with homogeneous reaction medium in which PCR reagents can diffuse
The real-time PCR system with a homogeneous reaction medium addresses speed and sensitivity issues by analyzing fluorescence images to determine PCR activity zones, enhancing detection sensitivity and overcoming convection limitations.
Patent Information
- Application Number
- FR2022005101
- Authority / Receiving Office
- FR · FR
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-05-27
- Publication Date
- 2025-01-31
- Estimated Expiration
- 2042-05-27
AI Technical Summary
Existing PCR systems face limitations in speed and sensitivity, particularly in detecting small amounts of nucleic acids due to non-homogeneous temperature distribution and convection movements, which affect the fluorescence signal and limit the detection threshold.
A real-time PCR measurement system with a homogeneous reaction medium allows PCR reagents to disseminate freely, using an analyzer to process fluorescence images and determine PCR activity zones based on probability density, and an assessor to analyze these zones for PCR amplification and concentration curves.
The system enhances detection sensitivity by accurately identifying PCR activity areas, overcoming convection limitations and improving the detection threshold, enabling fast and sensitive nucleic acid detection.
Smart Images

Figure 00000019_0000 
Figure 00000019_0001 
Figure 00000020_0000
Abstract
Description
Title of the invention: Device for processing real-time PCR measurements with a homogeneous reaction medium in which the PCR reagents can diffuse
[0001] The invention relates to the field of real-time PCR ("Polymerase Chain Reaction").
[0002] PCR can very sensitively detect the presence of nucleic acid sequences in a sample. However, it is rarely used for field applications because the reaction - approximately 1 hour 30 minutes - is relatively slow.
[0003] Indeed, PCR amplification is carried out with cycles whose temperature profile includes one or more stages during the temperature rise towards the melting temperature close to 95°C. The temperature stages are chosen between the melting temperatures of the probes, and the fluorescence signal is recorded at each of these stages. The speed of the reaction is therefore limited by the duration of each cycle which is directly linked to the speed of temperature changes in the reaction chamber.
[0004] To circumvent this problem, very fast "micro heaters" (about 20 minutes for 40 cycles) have been developed. However, the volume treated is very small (about 10 μl) which limits the LOD (for "Limit of Detection" in English or detection threshold), and therefore the ability to detect small quantities of nucleic acid.
[0005] Droplet PCR systems (see for example the article by Hindson et al "High-Throughput Droplet Digital PCR System for Absolute Quantitation of DNA Copy Number", Analytical Chemistry 2011 83 (22), 8604-8610) have been developed, but they have the disadvantage that the temperature is not homogeneous in the reaction chamber and that they are complicated to implement.
[0006] In these digital PCR systems, the PCR is compartmentalized into areas of defined shape (the drops) so that the PCR signal is digitized to allow quantification of the target DNAs individually by counting the drops producing a positive PCR. This quantification is carried out by segmenting the image of the drops at the end of the reaction to determine their position and from this position individually measure their fluorescence level to determine whether the content of the drop is PCR positive or not. The algorithms used to analyze digital PCR images such as droplet PCR measure the activity of the PCR reaction in a predefined area.
[0007] These algorithms are not suitable for analyzing the activity of a PCR carried out in a homogeneous medium such as a liquid or a gel where the PCR activity can take place. in an area whose size and shape are not defined a priori and can potentially change over time due to the diffusion of PCR reaction products in the medium. Because of these specificities, the field of digital PCR remains an isolated field, and its lessons are not used in other areas of PCR.
[0008] The Applicant has developed a solution in response to these problems, a solution which was the subject of patent applications FR1601823 and FR1762058. These patent applications teach the use of chambers which have the characteristic of using flat chips allowing a homogeneous heat exchange over the entire surface and of low thickness so that the temperature variations are rapid over the entire volume.
[0009] However, these solutions tend to limit convection movements within the reagent volume. Local amplifications do not propagate, particularly in the case of low concentration of the DNA sought. The local signal is then attenuated by that of the entire chip, which limits the sensitivity of PCR tests carried out on these chips.
[0010] These solutions present a homogeneous reaction medium in which the PCR reagents can diffuse, as opposed to the digital PCR mentioned above. By homogeneous medium is meant a liquid reagent or gel where the PCR reaction can diffuse freely and thus form zones of activity of indeterminate shape. This means that the zones in which the amplification takes place are of indeterminate shape, unlike drops whose shape is known.
[0011] No state-of-the-art solution therefore allows real-time PCR to be carried out both very quickly and with sensitivity to a single molecule.
[0012] The invention improves the situation. To this end, it proposes a device for processing real-time PCR measurements with a homogeneous reaction medium in which the PCR reagents can diffuse, comprising a memory arranged to receive a plurality of fluorescence images obtained by filming a real-time PCR reaction in a flat chamber, an analyzer arranged to produce a PCR activity image from the plurality of fluorescence images obtained by filming a real-time PCR reaction in a flat chamber with a homogeneous reaction medium in which the PCR reagents can diffuse, which PCR activity image has a plurality of activity zones in each of which a PCR activity is determined as probable on the basis of the fluorescence value of the pixels of these activity zones in the plurality of fluorescence images obtained by filming a real-time PCR reaction in a flat chamber,the pixels of the activity zones each receiving a weighting value associated with the probability of a PCR reaction such that the sum of all the weighting values is one, and the pixels outside the activity zones receiving a , zero value, and an evaluator arranged to analyze the plurality of fluorescence images obtained by filming a real-time PCR reaction in a flat chamber by weighting in each image the fluorescence value of each pixel by the weighting value of that pixel in the activity image, and to return one or more of a value indicating whether the filmed real-time PCR reaction exhibits PCR amplification, a threshold cycle value, and a concentration curve during the PCR reaction
[0013] This device is particularly advantageous because it makes it possible to detect areas of PCR activity and therefore to reprocess the fluorescence signal without being penalized by the absence of propagation of local amplifications due to the limitations of convection movements inside the volume of reagent.
[0014] According to various embodiments, the invention may have one or more of the following characteristics: - the analyzer is arranged to determine a difference image from the plurality of fluorescence images obtained by filming a real-time PCR reaction in a flat chamber, in which each pixel corresponds to the difference between the highest value and the lowest value for this pixel among the plurality of fluorescence images obtained by filming a real-time PCR reaction in a flat chamber, and to determine the activity image from the difference image, - the analyzer is arranged to determine activated areas in the difference image by thresholding the difference image, - the analyzer is arranged to determine a unique weighting value for each of the pixels in the PCR activity image, - the analyzer is arranged to determine the weighting value by applying a fixed threshold binarization function, Otsu, Bemsen, or Niblack, - the analyzer is arranged to apply a binarization function including the regularization of the activity zones by application of dilation, erosion, or convex envelopes, - the analyzer is arranged to apply a binarization function in which the expansion of the activity zones is obtained by adding a pixel around each activity zone until the sum of the areas of the activity zones exceeds a chosen threshold, or to apply a binarization function in which the erosion of the activity zones comprises the deletion of the activity zones whose number of pixels is less than a chosen threshold, - the analyzer is arranged to determine the weighting value by dividing the value of each pixel belonging to an activity zone by the sum of all the pixel values of all the activity zones, - the analyzer is a neural network of the mask R-CNN type or of the U-Net type performing semantic segmentation of pixels from the plurality of fluorescence images obtained by filming a real-time PCR reaction in a flat chamber, and - the evaluator is arranged to determine a threshold cycle value for each activity zone, and to calculate a threshold cycle value according to the formula , / S, / \ , where St is the total area of the activity zones, Si is C, = log„ -r f EA*2 7 the area of each activity zone, and Cti is the threshold cycle value of the activity zone with index i.
[0015] The invention also relates to a method for processing real-time PCR measurements with a homogeneous reaction medium in which the PCR reagents can diffuse, comprising: a) receiving a plurality of fluorescence images obtained by filming a real-time PCR reaction in a flat chamber with a homogeneous reaction medium in which the PCR reagents can diffuse, b) producing a PCR activity image from the plurality of fluorescence images obtained by filming a real-time PCR reaction in a flat chamber, which PCR activity image has a plurality of activity zones in each of which PCR activity is determined to be probable based on the fluorescence value of the pixels of these activity zones in the plurality of fluorescence images obtained by filming a real-time PCR reaction in a flat chamber, the pixels of the activity zones each receiving a weighting value associated with the probability of a PCR reaction such that the sum of all the weighting values is one, and the pixels outside the activity zones receiving a zero value, c) analyzing the plurality of fluorescence images obtained by filming a real-time PCR reaction in a flat chamber by weighting in each image the fluorescence value of each pixel by the weighting value of that pixel in the activity image, and to return one or more of a value indicating whether the filmed real-time PCR reaction exhibits PCR amplification, a threshold cycle value, and a concentration curve during the PCR reaction.
[0016] According to various embodiments, the method may have one or more of the following characteristics: - operation b) comprises b 1) determining a difference image from the plurality of fluorescence images obtained by filming a real-time PCR reaction in a flat chamber, in which each pixel corresponds to the difference between the highest value and the lowest value for this pixel among the plurality of fluorescence images obtained by filming a real-time PCR reaction in a chamber = log2 plate, and b2) determining the activity image from the difference image, - operation b) comprises determining a single weighting value for each of the pixels in the PCR activity image, or determining the weighting value by dividing the value of each pixel belonging to an activity area by the sum of all pixel values of all activity areas, - operation b) is obtained by applying a neural network of the R-CNN mask type or of the U-Net type carrying out a semantic segmentation of the pixels from at least some of the images of operation a), and - operation c) includes determining a threshold cycle value for each activity zone, and calculating a threshold cycle value according to the formula St / \, where St is the total area of the activity zones, Si is / la*2' c ") the area of each activity zone, and Cf is the threshold cycle value of the activity zone of index i.
[0017] The invention also relates to a computer program comprising instructions for executing the method according to the invention, a data storage medium on which such a computer program is recorded and a computer system comprising a processor coupled to a memory, the memory having recorded such a computer program.
[0018] Other characteristics and advantages of the invention will appear more clearly on reading the following description, taken from examples given for illustrative and non-limiting purposes, taken from the drawings in which: - [Fig.l] represents a generic diagram of a device according to the invention, - [Fig.2] represents an example of the realization of a function implemented by the analyzer of [Fig.l], - [Fig.3] represents an example of the realization of a function implemented by the evaluator of [Fig.l], - [Fig.4] represents a fluorescence image obtained by filming a real-time PCR reaction in a flat chamber, - [Fig.5] represents an intermediate image of cycle 10 determined by the analyzer of [Fig.l], - [Fig.6] represents an intermediate image of cycle 41 determined by the analyzer of [Fig.l], - [Fig.7] represents a difference image obtained from intermediate images of the type of those in figures 5 and 6, - [Fig.8] represents a result image obtained by the evaluator of [Fig.l] from the image of [Fig.7], - [Fig.9] represents an amplification signal obtained by combining the image of [Fig.8] with the images of the corresponding film, and - [Fig. 10] represents a U-Net neural network architecture according to one of the variants of the invention.
[0019] The drawings and the description below contain, for the most part, elements of a certain character. They may therefore not only serve to better understand the present invention, but also contribute to its definition, if necessary.
[0020] [Fig.l] represents a generic diagram of a device according to the invention.
[0021] The device 2 comprises a memory 4, an analyzer 6 and an evaluator 8.
[0022] Memory 4 receives several types of data. It thus receives fluorescent images rescence obtained by filming a real-time PCR reaction in a flat chamber with a homogeneous reaction medium in which the PCR reagents can diffuse. Taken together, these images represent the film of the fluorescence emitted following the PCR cycles carried out. A homogeneous medium is understood to mean a liquid reagent or a gel where the PCR reaction can diffuse freely and thus form zones of activity of indeterminate shape. This means that the zones in which amplification takes place are of indeterminate shape, which is why the fluorescence is conventionally averaged over the entire chamber to measure the reaction.
[0023] In the example described here, there are approximately 45 cycles in each real-time PCR reaction, and 45 corresponding images, each associated with a PCR cycle of the reaction. Alternatively, there could be another number of cycles in each reaction, and several images could be associated with the same cycle within a given real-time PCR reaction, which allows for the storage of richer data on the PCR reaction in each cycle. In the following, a movie will be referred to as designating the set of images of the PCR cycles of a given real-time PCR reaction, and when it comes to comparing two images with each other, it is implicit that these will be images relating to the same real-time PCR reaction.
[0024] The analyzer 6 processes the films to produce for each film a PCR activity image in which each pixel has a color associated with a value (between zero and one) which indicates a probability that a PCR reaction has been detected for this pixel. Alternatively, the value and the color could be unrelated. The set of pixel values has a sum which is equal to one, so that the pixel values together define a probability density. This point will be explained later. This PCR activity image can be obtained in various ways which will be described later, among which the evaluator 6 produces a difference image, which corresponds to the difference between an average of images associated with high PCR activity and an average of images associated with low PCR activity. Again, this will be explained later.
[0025] All these images are suitable for being stored in memory 4.
[0026] Finally, the memory 4 also receives real-time PCR reaction data, which may indicate whether a nucleic acid sequence has been detected and / or specify a cycle from which the real-time PCR reaction is considered to have revealed this detection. This latter value is also known as "Ct" in the field of real-time PCR. Generally speaking, the Ct value is an indicator of the quantity of the desired nucleic acid sequence that has been detected. Indeed, the more material there is to be detected in a sample, the more the PCR reaction will produce a large quantity of detected material from a cycle whose index is low (i.e., close to the start of the reaction). Thus, a Ct of 15 indicates that there was much more material of the desired nucleic acid sequence in a given sample than a Ct of 30.
[0027] The memory 4 can be any type of data storage suitable for receiving digital data: hard disk, hard disk with flash memory, flash memory in any form, RAM, magnetic disk, locally or cloud distributed storage, etc. The data calculated by the device can be stored on any type of memory similar to the memory 4, or on it. This data can be erased after the device has performed its tasks or retained.
[0028] The invention is based on the principle described below. Due to limitations in convection movements within the volume of reagent in the flat chamber, certain portions of the chamber do not show a reaction when they should. As a result, the fluorescence signal, which is averaged over the entire surface of the flat chamber, is artificially lowered, which decreases the LOD.
[0029] The device 2 makes it possible to circumvent this problem by analyzing all the images of a given film, and by extracting from it an image on which the detection of a PCR reaction is coded via a probability density. This then makes it possible to reprocess the film taking into account this probability density to carry out the detection. Thus, only the portions of the flat chamber which are relevant are taken into account, and the probability density makes it possible to normalize the relative participation of each portion in the final result.
[0030] For this, the analyzer 6 processes a given film to extract a PCR activity image in which the pixels of a plurality of activity zones in each of which PCR activity is determined to be probable each receive a weighting value associated with the probability of a PCR reaction such that the sum of all the weighting values is equal to one, and the pixels outside the activity zones receive a zero value.
[0031] Then, the evaluator 8 uses the PCR activity image and combines the weighting values with the given film in order to analyze the relevant areas of the images to derive detection information from a nucleic acid sequence and / or a Ct type value.
[0032] The analyzer 6 and the evaluator 8 access the memory 4 directly or indirectly. They can be implemented in the form of appropriate computer code executed on one or more processors. By processors, it is meant any processor suitable for the calculations described below. Such a processor can be implemented in any known manner, in the form of a microprocessor for a personal computer, laptop, tablet or smartphone, a dedicated chip of the FPGA or SoC type, a computing resource on a grid or in the cloud, a cluster of graphics processing units (GPUs), a microcontroller, or any other form suitable for providing the computing power necessary for the implementation described below. One or more of these elements can also be implemented in the form of specialized electronic circuits such as an ASIC. A combination of processor and electronic circuits can also be envisaged.In the case of the gradient boosting machine learning unit, dedicated machine learning processors could also be considered.
[0033] The purpose of the analyzer 6 is therefore to determine areas of interest in the images of a given film, and to qualify these areas of interest in order to restore them in the form of a probability density.
[0034] To implement the analyzer 6, several solutions are available: - use of image differences between fluorescences according to the different cycles, - use of deep neural networks dedicated to the segmentation of objects in images of the mask R-CNN type (described below), and - use of semantic segmentation neural networks directly giving an image of the classes sought. In the example described here, these classes can include active PCR area, inactive PCR area, exterior of the flat chamber, feeding hole, bubbles, strong light points.
[0035] Indeed, apart from the areas of active or inactive PCR due to convection limits, certain artifacts can disturb the fluorescence images. Thus, the camera used to film the reaction has a larger field than the flat chamber, and therefore there is an area which is not relevant by definition. In addition, anomalies are regularly observed at the hole used to introduce the reaction elements into the flat chamber. In the same way, certain imperfections of the flat chamber induce points of strong luminosity. Finally, bubbles can form during the reaction. Bubbles are the most troublesome artifact, because they are not stable during the PCR reaction, and their border is often brighter than the rest of the sample.
[0036] The first solution requires separate treatment for each class other than the active PCR zone in order to exclude the corresponding zones.
[0037] The second and third solutions have the advantage of being direct, but neural networks are always difficult to make efficient without overfitting.
[0038] [Fig.2] represents an example of a function implemented by the analyzer 6 which uses the first solution.
[0039] In the first solution, the analyzer 6 operates in four main stages - comparison of images from a given film to create a maximum fluorescence deviation image, - filtering this image to determine areas of interest, - filtered image processing to compensate for edge effects and to remove artifacts, and - modification of the resulting image to produce a probability density with the remaining areas of interest.
[0040] Thus, in a first operation 200, the images of a given film are processed to create the maximum fluorescence deviation image. [Fig. 4] represents an example of the film images received as input. When several images are available for the same cycle of a given film, an average of images taken during the cold phase of each cycle is used to produce an image representative of each cycle. This makes it possible to limit the acquisition noise of the camera, and is preferably done with the images corresponding to the cold phase of the cycle, which is known to have more stable fluorescence. The exact number of images to calculate the average as well as the exact period of the cycle where they are taken can be parameters or be fixed. Carrying out several experiments can make it possible to calibrate the device 2 for this purpose. Figures 5 and 6 represent examples of these images for cycles 10 and 41 respectively.
[0041] Then, in an operation 210, a maximum fluorescence image and a minimum fluorescence image are generated. For the maximum fluorescence image, the images from operation 200 associated with index cycles 25 to 45 are combined so that, for each pixel, it is the fluorescence value among the 20 images that is retained. Similarly, the minimum fluorescence image is obtained by retaining for each pixel the minimum fluorescence in the images from operation 200 corresponding to cycles 5 to 15. Of course, the index ranges for determining the maximum fluorescence image and the minimum fluorescence image may vary, both in their ends and in their width. Once these two images have been calculated, their difference is made, and represents for each pixel the maximum fluorescence difference during the most relevant cycles. [Fig.7] represents a difference image obtained at the output of operation 220.
[0042] This difference image is processed in an operation 220 in order to determine the contours of the areas of interest. This can for example be achieved by thresholding at two fluorescence measurement units. Alternatively, the threshold can be modified. In addition, alternative methods could be used to select the areas of interest, such as a Niblack-type or Bemsen-type method.
[0043] The thresholded image from operation 220 is then processed in an operation 230 to remove artifacts. As explained above, this processing may include canceling areas that are outside the flat chamber, detecting high-brightness points and the introduction area of the flat chamber, and removing bubbles. For the introduction area of the flat chamber, this may be determined empirically by performing several calibration cycles or be subject to ad hoc detection.
[0044] The bubbles are for their part determined by detection in the images of the film before processing by the analyzer 6. For this, the images are processed by increasing cycle index, and each pixel is qualified in each image as belonging to a bubble or not. When a pixel is qualified in any image as belonging to a bubble, it is added to a list of bubble pixels.
[0045] The detection of belonging to a bubble can be carried out by applying an algorithm in which, for a given image: - a Canny filter is applied to determine the object borders, - connected components induced by the found borders are created - the presence of bubbles is detected by borders surrounding them, and a closed border (forming a loop) determines two different connected components,
[0046] - each connected component is considered a bubble if its gray level average is below a threshold determined dynamically with respect to the fluorescence unit values of the flat chamber, and - the connected component is dilated so that the bubble area contains the edge.
[0047] The pixels in the bubble pixel list are thus canceled, as are other artifacts. Alternatively, the bubble pixel list could be determined during operation 200 or 210.
[0048] At the end of this operation, the image of the differences therefore includes pixels whose value is not zero, which represent the areas of interest, and all the other pixels have a zero value.
[0049] Finally, the processed image resulting from operation 230 is modified in an operation 240 in order to construct the probability density. For this, the values of the difference image can be processed in two ways: - creation of a variable probability density, by dividing for each pixel of a area of interest the value of this pixel by the sum of all the values of the pixels of the areas of interest, - application of a binarization function, so that all pixels have the same weight. Among the binarization functions, we can use a fixed threshold method, Otsu, Bemsen, or Niblack.
[0050] In the following, the expression "area of interest" and the expression "area of activity" may be used interchangeably, since the areas of interest correspond to the areas in which PCR activity is likely.
[0051] In the case where a binarization function is used, the areas of interest can be smoothed by applying one or more dilation, erosion or convex hull application operations. The idea of this smoothing is that the areas of interest correspond to a location where the PCR reaction took place, and are therefore normally closed.
[0052] For example, the dilation of the areas of interest can provide for the addition of a pixel around the border of each area until the total surface area of the areas exceeds a chosen threshold.
[0053] Still as an example, erosion can provide for the deletion of areas whose number of pixels is lower than a given threshold (for example 2).
[0054] Once operation 240 is complete, the resulting PCR activity image is transmitted to the evaluator 8 which will combine it with the images of the film to return a detection result and / or a Ct. [Fig.8] represents an example of an image obtained at the output of operation 240. As can be seen in this figure, the edges of the flat chamber delimit a corner.
[0055] As described above, the analyzer 6 can also be implemented using a mask R-CNN (for "Region Based Convolutional Neural Networks" in English). This type of neural network makes it possible to detect regions in an image and to perform classification of the detected regions. The article by He et al "Mask R-CNN", arXiv: 1703.06870, accessible at https: / / doi.org / 10.48550 / arXiv.1703.06870 describes how to implement them.
[0056] In the example described here, the learning base is made up of data from PCRs carried out on CHRONOS Dx machines from the company BforCure. In order to guarantee variability in the learning data, there are 20 machines. The learning and test data are separated according to the machines, so that the data from a machine used for learning are not used for testing.
[0057] These data are annotated using dedicated software according to a semantic mask which uses a value per class considered for each pixel of the image. These data are pre-processed to be put into a format compatible with the algorithm training of each type of network.
[0058] Given the nature of the data, the RCNN mask network includes a backbone corresponding to a Resnet-50 (see for example https: / / web.archive.Org / web / 20211227064145 / https: / / iq.opengenus.org / resnet50-archit ecture / for a description of Restnet-50), whose inputs are the same as those of the U-Net network described below, i.e. a stack of 20 images from different cycles. The only modification compared to a classic RCNN mask is that the input does not have 3 channels but 20. The network cannot therefore be re-learned from a pre-trained network. The training is carried out as in the article by He cited above.
[0059] Post-processing may be required at the network output, for example when some pixels are covered by multiple object instances or none at all. For pixels that are not covered by any object instance, if the pixel is within the flat chamber area, it is assigned the class “inactive PCR area”, and if the pixel is outside the flat chamber area, it is assigned the class “outside the flat chamber”. For pixels covered by multiple object instances, they are assigned the class with the highest score.
[0060] In the same way as in the reference article, we apply data augmentation methods: rotations, noise on pixels and elastic deformations. In addition, since our input includes 20 PCR cycles among about forty (value depending on the reagent kits used), we can augment our data by shifting the cycles proposed as input during training.
[0061] In this case the images of each film are provided to the analyzer 6 which returns the semantically classified zones.
[0062] Still as a variant, the analyzer 6 could be implemented by means of a simplified U-Net type neural network. The article by Ronneberger et al. "U-Net: Convo-lutional Networks for Biomedical Image Segmentation", Medical Image Computing and Computer-Assisted Intervention (MICCAI) LNCS 9351, pages 234—241 (2015), Springer available at https: / / arxiv.org / pdf / 1505.04597.pdf describes the implementation of this type of neural network. In the present case, the Applicant has identified that it is favorable to use a 3-layer U-Net instead of the 5 of the original model, with 20 input channels which each correspond to an image of a cycle distributed during the real-time PCR reaction from which the film is taken. The U-Net network was trained using images and data from 1000 real-time PCR reactions, 10% of which were retained for testing.As in the reference article cited above, it is advantageous to use data augmentation methods: rotations, noise on pixels and elastic deformations. The rebalancing of the different classes considered is ensured by a weighting map which also takes into account the distance of the pixels to the border zones. The . [Fig. 10] represents an example implementation of the U-Net network architecture described here.
[0063] The output of the R-CNN mask and the U-NET network is each time a list of semantically classified areas, with the probability density for the "active PCR area" class.
[0064] [Fig.3] represents an example of the realization of a function implemented by the evaluator 8.
[0065] This function begins with a mixing operation 300 in which the images of the film and the PCR activity image determined by the evaluator 6 are combined. In the example described here, the value of each pixel in each image of the film is weighted by the value of the pixel which corresponds to it in the PCR activity image.
[0066] Then, in an operation 320, the evaluator 8 applies an algorithm on the resulting images to each area of interest or to each pixel, in the same way as this is done for the entire image in the state of the art.
[0067] The output of this algorithm may be a value indicating whether or not an amplification has been detected and / or a cycle index value from which the amplification is significant. This algorithm is known elsewhere. The output of this algorithm may also be the concentration curve shown in [Fig.9]. In this figure, the continuous curve represents the concentration curve measured using the device of the invention, while the dotted curve represents the concentration measured using the state-of-the-art method.
[0068] It is therefore possible to obtain a Ct value for each area of interest, or even for each pixel whose associated probability in the probability density of the PCR activity image is non-zero.
[0069] Optionally, the evaluator 8 can return a Ct value for the reaction Real-time PCR from these local Ct values.
[0070] Thus, the Ct value can be calculated as / St / \, where St I z v1 - CTv I / £ X x 2 \ / fl / is the total area of the areas of interest (e.g. in pixels), Si is the area of each area of interest (e.g. in pixels), and Cf is the Ct value of the area of interest with index i. This approach can be taken to the extreme by reducing each area of interest to a single pixel.
[0071] As the concentration of the desired nucleic acid sequence doubles at each cycle, the concentration of this sequence is therefore proportional to 2 Ct.
[0072] Figures 4 to 6 illustrate the images obtained by implementing the device 2 with an analyzer 6 conforming to that described with [Fig.2].
[0073] Thus, the PCR activity image is obtained as follows: - for each cycle, determination of a fluorescence image corresponding to the cold phase of the cycle. This image is obtained by averaging the images taken during this phase, taken from the second half of the cycle, - construction of the difference image from an image of the maximum fluorescences of the last cycles, from which an image of the minimum fluorescences of the first cycles is subtracted. The cycles used for the calculation of this image are cycles 5 to 15 for the minimum image and cycles 26 to 45 for the maximum image, - transformation of the difference image into a binary image by applying a fixed threshold of 2 fluorescence values with application of erosion, a convex hull to "fill the holes", and a dilation until obtaining a total surface of at least 1000 pixels, - removal of areas of the image that do not correspond to the flat chamber with which the PCR is performed, and - removal of areas that correspond to bubbles.
[0074] Thus, starting from [Fig.6], which represents the averaged image for cycle 41, we obtain an image of the differences represented in [Fig.7]. Finally, the thresholding operation gives the image in [Fig.8]. This image is combined with the film images to produce [Fig.9], which shows a Cti at 35.6849, which gives a Ct of 38.363 by applying the formula explained previously.
Claims
Claims
1. Device for processing real-time PCR measurements with a homogeneous reaction medium in which the PCR reagents can diffuse, comprising: - a memory (4) arranged to receive a plurality of fluorescence images obtained by filming a real-time PCR reaction in a flat chamber, - an analyzer (6) arranged to produce a PCR activity image from the plurality of fluorescence images obtained by filming a real-time PCR reaction in a flat chamber with a homogeneous reaction medium in which the PCR reagents can diffuse, which PCR activity image has a plurality of activity zones in each of which a PCR activity is determined as probable on the basis of the fluorescence value of the pixels of these activity zones in the plurality of fluorescence images obtained by filming a real-time PCR reaction in a flat chamber,the pixels of the activity zones each receiving a weighting value associated with the probability of a PCR reaction such that the sum of all the weighting values is equal to one, and the pixels outside the activity zones receiving a zero value, - an evaluator (8) arranged to analyze the plurality of fluorescence images obtained by filming a real-time PCR reaction in a flat chamber by weighting in each image the fluorescence value of each pixel by the weighting value of this pixel in the activity image, and to return one or more of a value indicating whether the filmed real-time PCR reaction exhibits PCR amplification, a threshold cycle value, and a concentration curve during the PCR reaction.,
2. Device according to claim 1, wherein the analyzer (6) is arranged to determine a difference image from the plurality of fluorescence images obtained by filming a real-time PCR reaction in a flat chamber, in which each pixel corresponds to the difference between the highest value and the lowest value for this pixel among the plurality of fluorescence images obtained by filming a real-time PCR reaction in a flat chamber, and to determine the activity image from the difference image.
3. Device according to claim 2, wherein the analyzer (6) is arranged to determine areas of activation in the difference image by thresholding the difference image.
4. Device according to claim 2 or 3, wherein the analyzer (6) is arranged to determine a unique weighting value for each of the pixels of the PCR activity image.
5. Device according to claim 4, wherein the analyzer (6) is arranged to determine the weighting value by applying a fixed threshold binarization function, Otsu, Bemsen, or Niblack.
6. Device according to claim 4 or 5, wherein the analyzer (6) is arranged to apply a binarization function comprising the regularization of the activity zones by application of dilation, erosion, or convex envelopes.
7. Device according to claim 6, in which the analyzer (6) is arranged to apply a binarization function in which the expansion of the activity zones is obtained by adding a pixel around each activity zone until the sum of the areas of the activity zones exceeds a chosen threshold, or to apply a binarization function in which the erosion of the activity zones comprises the deletion of the activity zones whose number of pixels is less than a chosen threshold.
8. Device according to claim 2 or 3, wherein the analyzer (6) is arranged to determine the weighting value by dividing the value of each pixel belonging to an activity zone by the sum of all the pixel values of all the activity zones.
9. Device according to claim 1, in which the analyzer (6) is a neural network of the R-CNN mask type or of the U-Net type carrying out a semantic segmentation of the pixels from the plurality of fluorescence images obtained by filming a real-time PCR reaction in a flat chamber.
10. Device according to one of the preceding claims, in which the evaluator (8) is arranged to determine a threshold cycle value for each activity zone, and to calculate a threshold cycle value according to the formula \ , where St is the total surface area C' = ,Og^ / E5,x2^ of the activity zones, Si is the surface area of each activity zone, and Cf is the threshold cycle value of the activity zone of index i.
11. Method for processing real-time PCR measurements with a homogeneous reaction medium in which the PCR reagents can diffuse comprising: a) receiving a plurality of fluorescence images obtained by filming a real-time PCR reaction in a flat chamber with a homogeneous reaction medium in which the PCR reagents can diffuse, b) producing a PCR activity image from the plurality of fluorescence images obtained by filming a real-time PCR reaction in a flat chamber, which PCR activity image has a plurality of activity zones in each of which PCR activity is determined to be probable on the basis of the fluorescence value of the pixels of these activity zones in the plurality of fluorescence images obtained by filming a real-time PCR reaction in a flat chamber, the pixels of the activity zones each receiving a weighting value associated with the probability of a PCR reaction such that the sum of all the weighting values is one, and the pixels outside the activity zones receiving a zero value,c) analyzing the plurality of fluorescence images obtained by filming a real-time PCR reaction in a flat chamber by weighting in each image the fluorescence value of each pixel by the weighting value of that pixel in the activity image, and to return one or more of a value indicating whether the filmed real-time PCR reaction exhibits PCR amplification, a threshold cycle value, and a concentration curve during the PCR reaction.,
12. The method of claim 11, wherein step b) comprises: bl) determining a difference image from the plurality of fluorescence images obtained by filming a real-time PCR reaction in a flat chamber, wherein each pixel corresponds to the difference between the highest value and the lowest value for that pixel among the plurality of fluorescence images obtained by filming a real-time PCR reaction in a flat chamber, and b2) determining the activity image from the difference image.
13. The method of claim 12, wherein step b) comprises determining a single weighting value for each of the pixels in the PCR activity image, or determining the weighting value by dividing the value of each pixel belonging to an activity area by the sum of all pixel values of all activity areas.
14. Method according to claim 11, in which operation b) is obtained by applying a neural network of the R-CNN mask type or of the U-Net type carrying out a semantic segmentation of the pixels from at least some of the images from operation a).
15. Method according to one of claims 10 to 14, in which operation c) comprises determining a threshold cycle value for each activity zone, and calculating a threshold cycle value according to the formula -• / Sf / \, where St is the total surface area of the activity zones M / eax2 ), Si is the surface area of each activity zone, and Cf is the threshold cycle value of the activity zone of index i.
16. Computer program product, characterized in that it is arranged to implement the method according to one of claims 11 to 15 when executed by a computer.