Cluster detection and filtering based on artificial intelligence predicted basecalls
Patent Information
- Application Number
- JP2022581614
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-08-25
- Filing Date
- 2021-08-26
- Publication Date
- 2024-09-11
- Estimated Expiration
- 2041-08-26
AI Technical Summary
Existing base calling methods in nucleic acid sequencing, such as those used by Illumina's Real-Time Analysis (RTA) software, struggle with accurately identifying and filtering unreliable clusters, leading to reduced sequencing accuracy and efficiency.
Employing a neural network-based base caller that utilizes deep convolutional neural networks to analyze sequencing images, processing intensity data from multiple cycles to generate per-cluster, per-cycle probability quartiles, and apply a softmax function to identify and filter out unreliable clusters.
Improves the accuracy and efficiency of base calling by effectively detecting and excluding unreliable clusters, enhancing the overall quality of nucleic acid sequencing results.
Abstract
Description
Technical Field
[0001] Priority Application This application claims the benefit of U.S. Provisional Patent Application No. 63 / 072,032, entitled "DETECTING AND FILTERING CLUSTERS BASED ON ARTIFICIAL INTELLIGENCE-PREDICTED BASE CALLS" (Attorney Docket No. ILLM1018-1 / IP-1860-PRV), filed on August 28, 2020, and claims the priority of U.S. Patent No. 17 / 411,980, entitled "DETECTING AND FILTERING CLUSTERS BASED ON ARTIFICIAL INTELLIGENCE-PREDICTED BASE CALLS" (Attorney Docket No. ILLM1018-2 / IP-1860-US), filed on August 25, 2021. The priority application is incorporated herein by reference.
[0002] Incorporation The following are incorporated by reference for all purposes as if fully set forth herein. U.S. Provisional Patent Application No. 62 / 821,602, entitled "Training Data Generation for Artificial Intelligence-Based Sequencing" (Attorney Docket No. ILLM1008-1 / IP-1693-PRV), filed on March 21, 2019, U.S. Provisional Patent Application No. 62 / 821,618, entitled "Artificial Intelligence-Based Generation of Sequencing Metadata" (Attorney Docket No. ILLM1008-3 / IP-1741-PRV), filed on March 21, 2019, U.S. Provisional Patent Application No. 62 / 821,681, entitled "Artificial Intelligence-Based Base Calling" (Attorney Docket No. ILLM1008-4 / IP-1744-PRV), filed on March 21, 2019, U.S. Patent Provisional Application No. 62 / 821,724, entitled "Artificial Intelligence-Based Quality Scoring" (Agent Reference Number ILLM1008-7 / IP-1747-PRV), filed on March 21, 2019. U.S. Patent Provisional Application No. 62 / 821,766, entitled "Artificial Intelligence-Based Sequencing" (Agent Reference Number ILLM1008-9 / IP-1752-PRV), filed on March 21, 2019. Dutch Patent Application No. 2023310, titled "Training Data Generation for Artificial Intelligence-Based Sequencing" (Agent Reference Number ILLM1008-11 / IP-1693-NL), filed on June 14, 2019. Dutch Patent Application No. 2023311, titled "Artificial Intelligence-Based Generation of Sequencing Metadata" (Agent Reference Number ILLM1008-12 / IP-1741-NL), filed on June 14, 2019. Dutch Patent Application No. 2023312, titled "Artificial Intelligence-Based Base Calling" (Agent Reference Number ILLM1008-13 / IP-1744-NL), filed on June 14, 2019. Dutch Patent Application No. 2023314, titled "Artificial Intelligence-Based Quality Scoring" (Agent Reference Number ILLM1008-14 / IP-1747-NL), filed on June 14, 2019. Dutch Patent Application No. 2023316, titled "Artificial Intelligence-Based Sequencing" (Agent Reference Number ILLM1008-15 / IP-1752-NL), filed on June 14, 2019. U.S. Patent Provisional Application No. 62 / 849,091, entitled "Systems and Devices for Characterization and Performance Analysis of Pixel-Based Sequencing" (Agent Reference Number ILLM1011-1 / IP-1750-PRV), filed on May 16, 2019. U.S. Patent Provisional Application No. 62 / 849,132, entitled "Base Calling Using Convolutions" (Agent Reference Number ILLM1011-2 / IP-1750-PR2), filed on May 16, 2019. U.S. Patent Provisional Application No. 62 / 849,133, entitled "Base Calling Using Compact Convolutions" (Agent Reference Number ILLM1011-3 / IP-1750-PR3), filed on May 16, 2019. U.S. Patent Provisional Application No. 62 / 979,384, entitled "Artificial Intelligence-Based Base Calling of Index Sequences" (Agent Reference Number ILLM1015-1 / IP-1857-PRV), filed on February 20, 2020. U.S. Patent Provisional Application No. 62 / 979,414, entitled "Artificial Intelligence-Based Many-To-Many Base Calling" (Agent Reference Number ILLM1016-1 / IP-1858-PRV), filed on February 20, 2020. U.S. Patent Provisional Application No. 62 / 979,385, entitled "Knowledge Distillation-Based Compression of Artificial Intelligence-Based Base Caller" (Agent Reference Number ILLM1017-1 / IP-1859-PRV), filed on February 20, 2020. U.S. Patent Provisional Application No. 62 / 979,412, entitled "Multi-Cycle Cluster Based Real Time Analysis System" (Agent Reference Number ILLM1020-1 / IP-1866-PRV), filed on February 20, 2020. U.S. Patent Provisional Application No. 62 / 979,411, entitled "Data Compression for Artificial Intelligence-Based Base Calling" (Agent Reference Number ILLM1029-1 / IP-1964-PRV), filed on February 20, 2020, and U.S. Patent Provisional Application No. 62 / 979,399, entitled "Squeezing Layer for Artificial Intelligence-Based Base Calling" (Agent Reference Number ILLM1030-1 / IP-1982-PRV), filed on February 20, 2020.
[0003] The disclosed technologies relate to artificial intelligence computers and digital data processing systems, as well as corresponding data processing methods and products for mimicking intelligence (i.e., knowledge-based systems, reasoning systems, and knowledge acquisition systems), including systems for reasoning with uncertainty (e.g., fuzzy logic systems), adaptive systems, machine learning systems, and artificial neural networks. Specifically, the disclosed technologies relate to the use of deep neural networks, such as deep convolutional neural networks, for analyzing data. [Background technology]
[0004] The subject matter considered in this section should not be assumed to be prior art simply as a result of its reference in this section. Similarly, the issues mentioned in this section, or those associated with the subject matter provided as background, should not be assumed to have been previously recognized in the prior art. The subject matter in this section simply represents different approaches and may in itself also correspond to embodiments of the claimed technology.
[0005] The base call assigns a base and associated quality value to each read position. The quality of the sequenced bases is evaluated by an Illumina sequencer with a procedure called chastity filtering. Chastity may be determined as the highest intensity value divided by the sum of the highest and second highest intensity values. Quality evaluation may include identifying reads in a first subset of the base call whose second-worst chastity is below a threshold and marking those reads as poor quality data. The first subset of the base call can be any number of suitable base calls. For example, the subset may be the first 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, or beyond the first 25 base calls. This may be called read filtering, and so clusters that meet this cutoff are referred to as having "passed the filter".
[0006]
number
[0007] In some embodiments, the purity of the signals from each cluster is examined over the first 25 cycles and calculated as a chastity value. Up to one cycle may fall below the chastity threshold (e.g., 0.6), otherwise the read will not pass through the chastity filter.
[0008] Illumina calculates a Phred score, which is used to store an assessment of the error probability of base calls. The Phred score is calculated based on the intensity profile (shifted purity: how much signal is occupied by the brightest channel?) and the signal-to-noise ratio (signal overlap with background: is the signal from the colony sufficiently delineated from the peripheral region of the flow cell?). Illumina attempts to quantify the chastity of the strongest base signal, whether the signal of a given base call is much stronger than the signals of nearby bases, whether the spots representing colonies are suspiciously ambiguous during the sequencing process (intensity decay), and whether the signals appear clean in preceding and succeeding cycles.
[0009] Based on AI-driven predictions for base calls, there is an opportunity to detect and filter unreliable clusters. As a result, the accuracy and quality of base calls may improve. [Brief explanation of the drawing]
[0010] In the drawings, similar reference letters generally refer to the same parts throughout different drawings. Furthermore, the drawings are not necessarily to scale, but rather emphasize that they illustrate the principles of the disclosed technology. In the following description, various embodiments of the disclosed technology are described with reference to the following drawings. [Figure 1] This is a block diagram showing various aspects of the disclosed technology. [Figure 2A] An example of the softmax function is shown. [Figure 2B] The following shows exemplary cluster-by-cluster, cycle-by-cycle probability quartiles generated by the disclosed technology. [Figure 3] This example demonstrates how to use filter values to identify unreliable clusters. [Figure 4] This flowchart illustrates one embodiment of a method for identifying unreliable clusters in order to improve the accuracy and efficiency of base call d. [Figure 5A]An embodiment of a sequencing system is shown. The sequencing system includes a configurable processor. [Figure 5B] An embodiment of a sequencing system is shown. The sequencing system includes a configurable processor. [Figure 5C] This is a simplified block diagram of a system for analyzing sensor data from a sequencing system, such as base call sensor output. [Figure 6] One embodiment of the disclosed dataflow logic is shown, which enables the host processor to filter out untrustworthy clusters based on base calls predicted by a neural network running on the configurable processor, and further enables the configurable processor to generate a trustworthy remaining intermediate representation using the data that identifies the untrustworthy clusters. [Figure 7] Another embodiment of the disclosed dataflow logic is shown, which enables the host processor to filter out untrusted clusters based on base calls predicted by a neural network running on a configurable processor, and further enables the host processor to base call only trusted clusters using data that identifies untrusted clusters. [Figure 8] Another embodiment of the disclosed dataflow logic is shown, which enables the host processor to filter out untrustworthy clusters based on base calls predicted by a neural network running on the configurable processor, and further uses the data identifying untrustworthy clusters to generate data for the remaining trusted clusters. [Figure 9] This specification presents the results of a comparative analysis of empty and non-empty well detection using the disclosed technology referred to as "DeepRTA" and Illumina's conventional base caller called Real-Time Analysis (RTA) software. [Figure 10]The results of a comparative analysis of the detection of empty wells and non-empty wells by contrasting the disclosed technology referred to herein as "DeepRTA" with the conventional base caller of Illumina called Real-Time Analysis (RTA) software are shown. [Figure 11] The results of a comparative analysis of the detection of empty wells and non-empty wells by contrasting the disclosed technology referred to herein as "DeepRTA" with the conventional base caller of Illumina called Real-Time Analysis (RTA) software are shown. [Figure 12] The results of a comparative analysis of the detection of empty wells and non-empty wells by contrasting the disclosed technology referred to herein as "DeepRTA" with the conventional base caller of Illumina called Real-Time Analysis (RTA) software are shown. [Figure 13] The results of a comparative analysis of the detection of empty wells and non-empty wells by contrasting the disclosed technology referred to herein as "DeepRTA" with the conventional base caller of Illumina called Real-Time Analysis (RTA) software are shown. [Figure 14] A computer system that can be used to implement the disclosed technology.
Best Mode for Carrying Out the Invention
[0011] The following considerations are presented to enable one of ordinary skill in the art to make and use the disclosed technology and are provided in relation to a particular application and its requirements. Various modifications to the disclosed embodiments will be readily apparent to those of ordinary skill in the art, and the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the disclosed technology. Accordingly, the disclosed technology is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.
[0012] This disclosure provides an artificial intelligence-based image analysis method and system particularly useful for detecting and filtering untrustworthy clusters. Figure 1 shows an exemplary data analysis and filtering system and some of its components. The system includes an image generation system 132, cycle-by-cycle cluster data 112, a data provider 102, a neural network-based base caller 104, probability quartiles 106, detection and filtering logic 146, and data that identifies untrustworthy clusters 124. The system may be formed by one or more programmed computers, and programming having code to be executed to perform one or more steps of the method described herein is stored on one or more machine-readable media. For example, in the illustrated embodiment, the system includes an image generation system 132 configured to output cycle-by-cycle cluster data 112 as digital image data, e.g., image data representing individual pixels or pixels that together form an image of an array or other object.
[0013] (Neural network-based base call) Base calling is the process of determining the nucleotide composition of a sequence. Base calling is performed by sequencing instruments such as Illumina's iSeq, HiSeqX, HiSeq3000, HiSeq4000, HiSeq2500, NovaSeq6000, NextSeq550, NextSeq1000, NextSeq2000, NextSeqDx, MiSeq, and MiSeqDx, and involves the analysis of image data, or sequencing images, generated during the sequencing reaction. The following description outlines, according to one embodiment, how sequencing images are generated and what they depict.
[0014] Base calling decodes the raw signal from the sequencing instrument, i.e., intensity data extracted from the sequencing image, into a nucleotide sequence. In one embodiment, the Illumina platform employs Cyclic Reversible Termination (CRT) chemistry for base calling. This process relies on extending a nascent strand complementary to a template strand having fluorescently labeled nucleotides, while tracking the release signal of each newly added nucleotide. The fluorescently labeled nucleotides have a 3' removable block that anchors the nucleotide-type fluorophore signal.
[0015] Sequencing is performed in iterative cycles, each consisting of three steps: (a) extending the emergent strand by adding fluorescently labeled nucleotides; (b) generating a sequencing image by exciting fluorophores using one or more lasers in the sequencing instrument's optical system and imaging through different filters of the optical system; and (c) cleaving the fluorophores and removing the 3' block in preparation for the next sequencing cycle. The acquisition and imaging cycles are repeated for a specified number of sequencing cycles to define the read length. Using this approach, each cycle matches a new position along the template strand.
[0016] The immense capabilities of Illumina sequencers stem from their ability to simultaneously execute and detect CRT reactions involving millions or even billions of clusters (e.g., clusters). A cluster contains approximately 1000 identical copies of a template strand, but its size and shape vary. Clusters are grown from the template strand by bridge amplification or exclusion amplification of the input library before the sequencing run. The purpose of amplification and cluster growth is to increase the intensity of the emitted signal, as imaging devices cannot reliably detect single-stranded fluorophore signals. However, because the physical distance between strands within a cluster is small, imaging devices perceive the cluster of strands as a single spot.
[0017] Sequencing is performed in a flow cell, a small glass slide that holds the input chain. The flow cell is connected to an optical system that includes a microscope imager, an excitation laser, and a fluorescence filter. The flow cell contains multiple chambers called lanes. The lanes are physically separated from each other and can contain different tagged sequencing libraries that are distinguishable without cross-contamination of the samples. The imaging device of the sequencing instrument (e.g., a solid-state image sensor such as a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) sensor) takes snapshots at multiple locations along the lane in a series of non-overlapping regions called tiles. For example, Illumina's Genome Analyzer II has 100 tiles per lane, and Illumina's HiSeq2000 has 68 tiles per lane. Tiles hold hundreds of thousands to millions of clusters.
[0018] The sequencing output consists of a sequencing image showing the intensity emission of each cluster and their surrounding background. The sequencing image shows the intensity emission generated as a result of incorporating nucleotides into the sequence during sequencing. The intensity emission originates from the associated clusters and their surrounding background.
[0019] The explanation is structured as follows: First, the input to the neural network-based base caller 104 is described according to one embodiment. Next, examples of the structure and form of the neural network-based base caller 104 are shown. Finally, the output of the neural network-based base caller 104 according to one embodiment is described.
[0020] Further details relating to the neural network-based base caller 104 can be found in U.S. Provisional Patent Application No. 62 / 821,766, filed March 21, 2019, entitled "ARTIFICIAL INTELLIGENCE-BASED SEQUENCING" (Agent Reference Number ILLM1008-9 / IP-1752-PRV), which is incorporated herein by reference.
[0021] In one embodiment, image patches are extracted from a sequence determination image. The data provider 102 provides the extracted image patches to a neural network-based base caller 104 as “input image data” for base calling. The image patches have dimensions w × h, where w (width) and h (height) are any number in the range of 1 to 10,000 (e.g., 3 × 3, 5 × 5, 7 × 7, 10 × 10, 15 × 15, 25 × 25). In some embodiments, w and h are the same. In other embodiments, w and h are different.
[0022] The sequencing process generates m images for each corresponding m imaging channel in each sequencing cycle. In one embodiment, each image channel corresponds to one of a plurality of filter wavelength bands. In another embodiment, each image channel corresponds to one of a plurality of imaging events in the sequencing cycle. In yet another embodiment, each image channel corresponds to a combination of irradiation with a specific laser and imaging through a specific optical filter.
[0023] To prepare the input image data for a specific sequencing cycle, image patches are extracted from each of m images. In different embodiments, such as 4-, 2-, and 1-channel chemistry, m is 4 or 2. In other embodiments, m is greater than 1, 3, or 4. The input image data is in the optical pixel domain in some embodiments and in the upsampled subpixel domain in others.
[0024] For example, consider a sequence determination process that uses two different image channels, namely a red channel and a green channel. Then, in each sequence determination cycle, the signal determination process generates a red image and a green image. In this way, for a series of k sequence determination cycles, a sequence with k pairs of red and green images is produced as the output.
[0025] The input image data includes an array of cycle-by-cycle image patches generated for a series of k sequencing cycles of a sequencing run. Each cycle-by-cycle image patch includes intensity data for associated clusters of one or more image channels (e.g., a red channel and a green channel) and the background surrounding them. In one embodiment, when a single target cluster (e.g., a cluster) is base-called, the cycle-by-cycle image patch centers on a central pixel containing intensity data for the target-associated cluster, while pixels other than the center of the cycle-by-cycle image patch contain intensity data for associated clusters adjacent to the target-associated cluster. The cycle-by-cycle image patches for multiple sequencing cycles are stored as cycle-by-cycle cluster data 112.
[0026] The input image data includes data from multiple sequencing cycles (e.g., the current sequencing cycle, one or more preceding sequencing cycles, and one or more consecutive sequencing cycles). In one embodiment, the input image data includes data from three sequencing cycles such that the data of the current (time t) sequencing cycle being base-called is accompanied by (i) data from the left adjacent / context / previous / preceding / previous (time t-1) sequencing cycle, and (ii) data from the right adjacent / context / next / consecutive / successor (time t+1) sequencing cycle. In another embodiment, the input image data includes data for five sequencing cycles, and the data for the current (time t) sequencing cycle being base-called includes (i) data for the first left neighbor / context / previous / preceding / previous (time t-1) sequencing cycle, (ii) data for the second left neighbor / context / previous / preceding / previous (time t-2) sequencing cycle, (iii) data for the first right neighbor / context / next / consecutive / successive (time t+1) sequencing cycle, and (iv) data for the second right neighbor / context / next / consecutive / successive (time t+2) sequencing cycle. In yet another embodiment, the input image data includes data for seven sequencing cycles, and the data for the current (time t) sequencing cycle being base-called includes (i) data for the first left neighbor / context / previous / preceding / previous (time t-1) sequencing cycle, (ii) data for the second left neighbor / context / previous / preceding / previous (time t-2) sequencing cycle, (iii) data for the third left neighbor / context / previous / preceding / previous (time t-3) sequencing cycle, (iv) data for the first right neighbor / context / next / consecutive / successive (time t+1) sequencing cycle, (v) data for the second right neighbor / context / next / consecutive / successive (time t+2) sequencing cycle, and (vi) data for the third right neighbor / context / next / consecutive / successive (time t+3) sequencing cycle. In other embodiments, the input image data includes data for a single sequencing cycle.In yet another embodiment, the input image data includes data from 58, 75, 92, 130, 168, 175, 209, 225, 230, 275, 318, 325, 330, 525, or 625 sequencing cycles.
[0027] In one embodiment, the sequenced image from the current (time t) sequenced cycle is accompanied by sequenced images from first and second preceding (time t-1, time t-2) sequenced cycles and sequenced images from first and second subsequent (time t+1, time t+2) sequenced cycles. According to one embodiment, a neural network-based base caller 104 processes the sequenced images through its convolutional layer to generate an alternative representation. This alternative representation is then used by an output layer (e.g., a softmax layer) to generate a base call for the current (time t) sequenced cycle, or for each of the sequenced cycles (i.e., the current (time t) sequenced cycle, the first and second preceding (time t-1, time t-2) sequenced cycles, and the first and second subsequent (time t+1, time t+2) sequenced cycles). The resulting base call forms a sequenced read.
[0028] In another embodiment, the sequencing image from the current (time t) sequencing cycle is accompanied by the sequencing image from the preceding (time t-1) sequencing cycle and the sequencing image from the subsequent (time t+1) sequencing cycle. According to one embodiment, a neural network-based base caller 104 processes the sequencing images through its convolutional layers to generate alternative representations. These alternative representations are then used by an output layer (e.g., a softmax layer) to generate base calls for the current (time t) sequencing cycle, or for each of the sequencing cycles, i.e., the current (time t) sequencing cycle, the preceding (time t-1) sequencing cycle, and the subsequent (time t+1) sequencing cycle. The resulting base calls form a sequencing read.
[0029] In one embodiment, the neural network-based base caller 104 outputs a base call for a single target cluster for a given sequencing cycle. In another embodiment, the neural network-based base caller 104 outputs a base call for each target cluster in a plurality of target clusters for a given sequencing cycle. In yet another embodiment, the neural network-based base caller 104 generates a base call sequence for each target cluster by outputting a base call for each target cluster in a plurality of target clusters for each sequencing cycle in a plurality of sequencing cycles.
[0030] In one embodiment, the neural network-based base caller 104 is a multilayer perceptron (MLP). In another embodiment, the neural network-based base caller 104 is a feedforward neural network. In yet another embodiment, the neural network-based base caller 104 is a fully connected neural network. In yet another embodiment, the neural network-based base caller 104 is a fully convolutional neural network. In yet another embodiment, the neural network-based base caller 104 is a semantic segmentation neural network. In yet another embodiment, the neural network-based base caller 104 is a generative adversarial network (GAN).
[0031] In one embodiment, the neural network-based base caller 104 is a convolutional neural network (CNN) having multiple convolutional layers. In another embodiment, the neural network-based base caller 104 is an iterative neural network (RNN) such as a long short-term memory network (LSTM), a bidirectional LSTM (Bi-LSTM), or a gated iterative unit (GRU). In yet another embodiment, the neural network-based base caller 104 includes both CNNs and RNNs.
[0032] In further embodiments, the neural network-based base caller 104 can use 1D convolution, 2D convolution, 3D convolution, 4D convolution, 5D convolution, expansion or dilating convolution, transposed convolution, depth-separable convolution, point-unit convolution, 1x1 convolution, group convolution, flattened convolution, spatial and cross-channel convolution, shuffled-grouped convolution, spatially separable convolution, and deconvolution. The neural network-based base caller 104 can use one or more loss functions such as logistic regression / log loss, multi-class cross-entropy / softmax loss, binary cross-entropy loss, mean squared error loss, L1 loss, L2 loss, smoothed L1 loss, and Huber loss. It can use any parallel, efficient, and compression scheme, such as TFRecord, compressed encoding (e.g., PNG), sharding, parallel calls for map transformations, batching, prefetching, model parallelism, data parallelism, and synchronous / asynchronous stochastic gradient descent (SGD). This may include nonlinear transformation functions such as upsampling layers, downsampling layers, iterative connections, gated and gated memory units (LSTM or GRU, etc.), residual blocks, residual connections, highway connections, skip connections, Pehehol connections, activation functions (e.g., nonlinear transformation functions such as rectified linear units (ReLU), leaky ReLU, exponential linear units (ELU), sigmoid and hyperbolic tangent (tanh)), batch normalization layers, ruler layers, dropout, pooling layers (e.g., max or mean pool), global mean pooling layers, and attention mechanisms.
[0033] The neural network-based base caller 104 learns using backpropagation-based gradient update techniques. Exemplary gradient descent techniques that the neural network-based base caller 104 may use to learn include stochastic gradient descent, batch gradient descent, and minibatch gradient descent. Some examples of gradient descent optimization algorithms that the neural network-based base caller 104 may use to learn include Momentum, Nestorv-accelerated gradient, Adagrad, Adadelta, RMSprop, Adam, AdaMax, Nadam, and AMSGrad.
[0034] The neural network-based base caller 104 uses a dedicated architecture to separate the processing of data for different sequencing cycles. The motivation for using the dedicated architecture described above will first be explained. As mentioned above, the neural network-based base caller 104 processes intensity contextualization patches for the current sequencing cycle, one or more preceding sequencing cycles, and one or more subsequent sequencing cycles. The data for the additional sequencing cycles provides a unique context for each sequence. The neural network-based base caller 104 learns sequence-specific contexts during training and base calls them. Furthermore, the data for the pre- and post-sequence sequencing cycles provides the current sequencing cycle with a second-order contribution of pre-phasing and phasing signals.
[0035] However, images captured in different sequencing cycles and within different image channels are misaligned and have residual misalignment errors with each other. To account for this misalignment, a dedicated architecture includes a spatial convolutional layer that does not mix information between sequencing cycles, but only within the same sequencing cycle.
[0036] The spatial convolutional layer uses a so-called "separated convolution" that manipulates separation by processing data independently for each of multiple sequencing cycles via a "dedicated, non-shared" sequence of convolutions. The separated convolution convolves only on the data and feature maps within a given sequencing cycle, i.e., only within that cycle, without convolving on the data and feature maps of any other sequencing cycle.
[0037] For example, suppose the input data includes (i) the current intensity contextualization patch for the current (time t) sequencing cycle that is base-called, (ii) the previous intensity contextualization patch for the previous (time t-1) sequencing cycle, and (iii) the next intensity contextualization patch for the next (time t+1) sequencing cycle. The dedicated architecture then starts three separate convolution pipelines: the current convolution pipeline, the previous convolution pipeline, and the next convolution pipeline. The current data processing pipeline receives the current intensity contextualization patch for the current (time t) sequencing cycle as input and processes it independently through multiple spatial convolution layers 784 to produce a so-called "current spatial convolutional representation" as the output of the final spatial convolution layer. The previous convolution pipeline receives the previous intensity contextualization patch for the previous (time t-1) sequencing cycle as input and processes it independently through multiple spatial convolution layers to produce a so-called "previous spatial convolutional representation" as the output of the final spatial convolution layer. The next convolution pipeline receives the next intensity contexting patch for the next (time t+1) sequence determination cycle as input, processes it independently through multiple spatial convolution layers, and generates the so-called "next spatial convolution representation" as the output of the final spatial convolution layer.
[0038] In some embodiments, the current, previous, and next convolution pipelines run in parallel. In some embodiments, the spatial convolution layer is part of a spatial convolution network (or subnetwork) within a dedicated structure.
[0039] The neural network-based base caller 104 further includes a temporal convolutional layer that mixes information between sequence determination cycles, i.e., between cycles. The temporal convolutional layer receives its inputs from the spatial convolutional network and operates with the spatial convolutional representation generated by the final spatial convolutional layer for each data processing pipeline.
[0040] The intercycle operational degrees of freedom of a temporal convolutional layer arise from the fact that misalignment characteristics present in the image data supplied as input to the spatial convolutional network are purged from the spatial convolutional representation by a stack or cascade of isolated convolutions performed by the array of spatial convolutional layers.
[0041] The temporal convolution layer uses a so-called "combinatorial convolution," which convolves on the input channel in groups with subsequent inputs on a slide window basis. In one embodiment, the subsequent input is the subsequent output generated by a previous spatial convolution layer or a previous temporal convolution layer.
[0042] In some embodiments, a temporal convolutional layer is part of a temporal convolutional network (or subnetwork) within a dedicated structure. The temporal convolutional network receives its input from a spatial convolutional network. In one embodiment, the first temporal convolutional layer of the temporal convolutional network combines spatial convolutional representations between sequence determination cycles in groups. In another embodiment, subsequent temporal convolutional layers of the temporal convolutional network combine the consecutive outputs of previous temporal convolutional layers. The output of the final temporal convolutional layer is fed to an output layer that generates an output. The output is used to base-call one or more clusters in one or more sequence determination cycles.
[0043] In one embodiment, bypassing base calls to untrusted clusters means processing untrusted clusters only through the spatial convolutional layer of the neural network-based base caller 104, and not processing untrusted clusters through the temporal convolutional layer of the neural network-based base caller 104.
[0044] In the context of this application, unreliable clusters are also identified by pixels that do not show any clusters, and such pixels are discarded from processing by the temporal convolutional layer. In some embodiments, this occurs when the well into which the biological sample is deposited is empty.
[0045] Detection and filtering of untrusted clusters The disclosed technology detects and filters untrustworthy clusters. The following discussion explains untrustworthy clusters.
[0046] An unreliable cluster is a low-quality cluster that emits only a small amount of the desired signal compared to the background signal. The signal-to-noise ratio of an unreliable cluster is substantially low, for example, less than 1. In some embodiments, an unreliable cluster may not produce any desired signal at all. In other embodiments, an unreliable cluster may produce only a very small amount of signal compared to the background. In one embodiment, the signal is intended to be an optical signal, including, for example, a fluorescence, emission, scattering, or absorption signal. The signal level means the amount of detected energy or encoded information having a desired or predetermined characteristic. For example, an optical signal can be quantified by one or more of the following: intensity, wavelength, energy, frequency, power, luminance, etc. Other signals can be quantified according to characteristics such as voltage, current, field strength, magnetic field strength, frequency, power, temperature, etc. The absence of a signal in an unreliable cluster is understood to be a signal level of zero, or a signal level that is not significantly distinguishable from noise.
[0047] There are many potential reasons for poor quality signals in unreliable clusters. If polymerase chain reaction (PCR) errors exist in colony amplification, a signal for two bases may be observed, such that a significant proportion of the approximately 1000 molecules in an unreliable cluster contain different bases at specific positions. This is interpreted as a sign of poor quality and is called a phase error. Phase errors occur when individual molecules within an unreliable cluster lag behind other molecules by failing to incorporate nucleotides in some cycles (e.g., due to incomplete removal of the 3' terminator, called phasing), or when individual molecules incorporate more than two nucleotides in a single cycle (e.g., due to nucleotide incorporation without an effective 3' block, called prephasing). This results in a loss of synchronization in the readout of the sequence copy. The proportion of sequences affected by phasing and prephasing in unreliable clusters increases with increasing cycle count, and this is the main reason why read quality tends to decrease at higher cycle counts.
[0048] Unreliable clusters also arise as a result of fading. Fading is the exponential decay of the signal intensity of unreliable clusters as a function of the number of cycles. As the sequencing operation progresses, strands of unreliable clusters are excessively washed, exposed to laser emissions that create reactive species, and subjected to harsh environmental conditions. All of these result in the gradual loss of fragments in unreliable clusters, reducing their signal intensity.
[0049] Unreliable clusters also stem from the small cluster size of unreliable clusters, which result in underdeveloped colonies, i.e., empty or partially filled wells on patterned flow cells. That is, in some embodiments, unreliable clusters manifest as empty wells, polyclonal wells, and ambiguous wells on patterned flow cells. Unreliable clusters also arise from overlapping colonies caused by non-exclusive amplification. Unreliable clusters also arise from insufficient or uneven illumination, for example, due to their location at the edge of the flow cell. Unreliable clusters also arise from impurities on the flow cell that obscure the emitted signal. Unreliable clusters also include polyclonal clusters, which occur when multiple clusters accumulate in the same well.
[0050] Here, we discuss how unreliable clusters are detected and filtered by detection and filtering logic 146 to improve the accuracy and efficiency of the base call. The data provider 102 provides the neural network-based base caller 104 with per-cycle cluster data 112. The per-cycle cluster data 112 is for multiple clusters and is for a first subset of the sequencing cycles of a sequencing operation. For example, suppose a sequencing operation has 150 sequencing cycles. Then, the first subset of sequencing cycles can include any subset of the 150 sequencing cycles, for example, the first 5, 10, 15, 25, 35, 40, 50, or 100 sequencing cycles of a 150-cycle sequencing operation. Also, each sequencing cycle produces a sequencing image that depicts the intensity emission of clusters within multiple clusters. Thus, the per-cycle cluster data 112 for multiple clusters and for the first subset of sequencing cycles of the sequencing operation includes only the sequencing images for the first 5, 10, 15, 25, 35, 40, 50, or 100 sequencing cycles of the 150-cycle sequencing operation, and does not include the sequencing images for the remaining sequencing cycles of the 150-cycle sequencing operation.
[0051] The neural network-based base caller 104 base-calls each cluster among multiple clusters in each sequencing cycle within a first subset of sequencing cycles. To do this, the neural network-based base caller 104 processes the cycle-by-cycle cluster data 112 and generates an intermediate representation of the cycle-by-cycle cluster data 112. The neural network-based base caller 104 then processes the intermediate representation through an output layer to generate cluster-by-cluster, cycle-by-cycle probability quartiles for each cluster and for each sequencing cycle. Examples of output layers include the softmax function, log-softmax function, ensemble output mean function, multilayer perceptron uncertainty function, Bayesian Gaussian distribution function, and cluster strength function. The cluster-by-cluster, cycle-by-cycle probability quartiles are stored as probability quartiles 106.
[0052] The following discussion focuses on cluster- and cycle-specific probability quartiles, using the softmax function as an example. First, the softmax function is explained, followed by cluster- and cycle-specific probability quartiles.
[0053] The softmax function is a preferred function for multi-class classification. The softmax function calculates the probability of each target class across all possible target classes. The output range of the softmax function is between zero and one, and the sum of all probabilities is equal to one. The softmax function calculates the exponents of a given input value and the sum of the exponents of all input values. The ratio of the exponents of the input values to the sum of the exponents is the output of the softmax function, referred to herein as “exponential normalization”.
[0054] Formally, training a so-called softmax classifier is a regression to class probabilities rather than a true classifier, as it returns a reliability prediction of the probability of each class rather than the classes themselves. The softmax function takes some kind of values and transforms them into probabilities that sum to 1. The softmax function compresses an arbitrary n-dimensional vector of real values into an n-dimensional vector of real values in the range 0 to 1. Therefore, using the softmax function guarantees that the output is a valid, exponentially normalized probability mass function (non-negative and sums to 1).
[0055] Intuitively, the softmax function is a "soft" version of the max function. The term "soft" comes from the fact that the softmax function is continuous and differentiable. Instead of selecting one maximum element, it decomposes the vector into parts such that the largest input element takes on a proportionally larger value, while the others take on a smaller proportion of the value. Its property of outputting a probability distribution makes the softmax function suitable for probabilistic interpretation in classification tasks.
[0056] Let's consider z as the input vector to the softmax layer. The softmax layer unit is the number of nodes in the softmax layer, and therefore the length of the z vector is the number of units in the softmax layer (if there are 10 output units, there are 10 z elements).
[0057] n-dimensional vector Z=[Z1,Z2,...Z n In this case, the softmax function uses exponential normalization (exp) to generate another n-dimensional vector p(Z) with normalized values within the range [0,1] such that its sum is 1.
[0058]
number
[0059] Figure 2A shows an exemplary softmax function. The softmax function is,
[0060]
number
[0061] The probability quartiles for each specific cluster and cycle identify the probabilities of A, C, T, and G, which are bases incorporated into a particular cluster in a particular sequencing cycle. When the output layer of the neural network-based base caller 104 uses the softmax function, the probabilities in the cluster and cycle probability quartiles are exponentially normalized classification scores that sum to 1. Figure 2B shows exemplary cluster and cycle probability quartiles 222 generated by the softmax function for cluster 1 (202, shown in brown) and for sequencing cycles 1 to S (212), respectively. In other words, the first subset of sequencing cycles contains S sequencing cycles.
[0062] The detection and filtering logic 146 identifies unreliable clusters based on generating filter values from cluster-by-cluster, cycle-by-cycle probability quartiles. In this application, cluster-by-cluster, cycle-by-cycle probability quartiles are also referred to as base call classification scores, normalized base call classification scores, initial base call classification scores, normalized initial base call classification scores, or initial base call.
[0063] The filter calculator 116 generates an array of filter values 232 for each cluster by determining the filter value for each probability quartile for each cluster and cycle based on the probability identified by the probability quartile for each cluster and cycle. The array of filter values 232 is stored as the filter values 126.
[0064] The filter values for the probability quartiles for each cluster and each cycle are determined based on an arithmetic operation involving one or more probabilities. In one embodiment, the arithmetic operation used by the filter calculator 116 is subtraction. For example, in the embodiment shown in Figure 2B, the filter values for the probability quartiles for each cluster and each cycle are determined by subtracting the second highest probability (shown in blue) from the highest probability (shown in magenta).
[0065] In another embodiment, the arithmetic operation used by the filter calculator 116 is division. For example, the filter value for the probability quartiles for each cluster and each cycle is determined as the ratio of the highest probability (shown in magenta) to the second highest probability (shown in blue). In yet another embodiment, the arithmetic operation used by the filter calculator 116 is addition. In yet another embodiment, the arithmetic operation used by the filter calculator 116 is multiplication.
[0066] In one embodiment, the filter computer 116 generates a filter value 126 using a filtering function. In one example, the filtering function is a chasty filter, where chastity is defined as the ratio of the brightest base intensity to the sum of the brightest base intensity and the second brightest base intensity. In another example, the filtering function is at least one of the following: the maximum log probability function, the least squares error function, the mean signal-to-noise ratio (SNR), and the least absolute error function.
[0067] The untrusted cluster identifier 136 uses filter values 126 to identify several clusters within a group of clusters as untrusted clusters 124. The data identifying untrusted clusters 124 may be in computer-readable format or on a medium. Untrusted clusters can be identified by instrument ID, run number on instrument, flow cell ID, lane number, tile number, X coordinate of the cluster, Y coordinate of the cluster, and unique molecular identifier (UMI). The untrusted cluster identifier 136 identifies clusters among a group of clusters as untrusted clusters 124 if the sequence of filter values contains "N" filter values that fall below the threshold "M". In one embodiment, "N" is in the range of 1 to 5. In another embodiment, "M" is in the range of 0.5 to 0.99.
[0068] Figure 3 shows an example of identifying unreliable cluster 124 using filter value 126. In Figure 3, the threshold "M" is 0.5 and the number of filter values "N" is 2. Figure 3 shows the arrays 302, 312, and 322 of three filter values for three clusters 1, 2, and 3, respectively. In the first array 302 for cluster 1, there are two filter values less than M (shown in purple), i.e., N=2, and therefore cluster 1 is identified as an unreliable cluster. In the second array 312 for cluster 2, there are three filter values less than M (shown in pink), i.e., N=3, and therefore cluster 2 is identified as an unreliable cluster. In the third array 322 for cluster 3, there is only one filter value less than M (shown in green), i.e., N=1, and therefore cluster 3 is identified as a reliable cluster.
[0069] Here, we discuss the bypass logic 142 implemented by the data provider 102. The bypass logic 142 base-calls only clusters that are not identified as untrusted clusters among multiple clusters in the remainder of the sequence determination cycle of the sequence determination operation, by bypassing the base-calls of untrusted clusters (e.g., clusters 1 and 2) in the remainder of the sequence determination cycle of the sequence determination operation. For example, suppose the first subset of the sequence determination cycle of the sequence determination operation contains 25 sequence-determining cycles, and the sequence determination operation has a total of 100 sequence-determining cycles. Then, after the first 25 sequence-determining cycles, each of clusters 1, 2, and 3 has its own array of 25 filter values based on the filtering function described above.
[0070] Next, the remainder of the sequencing cycle includes the last 75 cycles of the 100-cycle sequencing operation. Then, after the first 25 sequencing cycles and before the 26th sequencing cycle, the untrusted cluster identifier 136 determines which of clusters 1, 2, and 3 is an untrusted cluster based on the sequence of each of the 25 filter values. Then, for the remaining sequencing cycle, i.e., the last 75 cycles of the 100-cycle sequencing operation, the bypass logic 142 does not base call (i.e., stops base calling) clusters identified as untrusted by the untrusted cluster identifier 136 (e.g., clusters 1 and 2), and continues base calling only clusters not identified as untrusted by the untrusted cluster identifier 136 (e.g., cluster 3). In other words, untrusted clusters are base called only for cycles 1-25 of the sequencing operation and not for cycles 26-100 of the sequencing operation, while trusted clusters are base called for all cycles 1-100 of the sequencing operation.
[0071] When used in relation to clusters and base calls, the term filtering refers to discarding or ignoring clusters as data points. Therefore, any clusters with insufficient strength or quality may be filtered and not included in the output dataset. In some embodiments, filtering of low-quality clusters is performed at one or more separate points during the sequencing operation. In some embodiments, filtering is performed during template generation. Alternatively, or additionally, in some embodiments, filtering is performed after a predefined cycle. In certain embodiments, filtering is performed in or after cycles 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, or after cycle 30. In some embodiments, filtering is performed in cycle 25, resulting in the filtering of unreliable clusters based on an array of filter values determined for the first 25 cycles.
[0072] Figure 4 is a flowchart illustrating one embodiment of a method for identifying unreliable clusters to improve the accuracy and efficiency of base calls. Various processes and steps of the methods described herein may be performed using a computer. The computer may include a processor that is part of a detection device, networked with a detection device used to acquire data to be processed by the computer, or separate from the detection device. In some embodiments, information (e.g., image data) may be transmitted directly or over a computer network between components of the system disclosed herein. A local area network (LAN) or wide area network (WAN) may be an enterprise computing network, including access to the Internet, to which computers and computing devices, including the system, are connected. In one embodiment, the LAN conforms to the Transmission Control Protocol / Internet Protocol (TCP / IP) industry standard. In some cases, information (e.g., image data) is input to the system disclosed herein via an input device (e.g., a disk drive, compact disk player, USB port, etc.). In some cases, information is received by loading information from a storage device, such as a disk or flash drive.
[0073] The processor used to execute the algorithms or other processes described herein may include a microprocessor. The microprocessor may be any conventional general-purpose single-chip or multi-chip microprocessor, such as an Intel Pentium® processor. A particularly useful computer may utilize an Intel Ivybridge dual-12 core processor and an LSI RAID controller, with 128GB of RAM and a 2TB solid-state disk drive. Furthermore, the processor may include any conventional dedicated processor, such as a digital signal processor or a graphics processor. The processor typically has conventional address lines, conventional data lines, and one or more conventional control lines.
[0074] Embodiments disclosed herein may be implemented as methods, apparatus, systems, or articles using standard programming or engineering techniques for generating software, firmware, hardware, or any combination thereof. As used herein, the term “manufactured article” means code or logic implemented in hardware such as optical storage devices or computer-readable media, and in volatile or non-volatile memory devices. Such hardware may include, but is not limited to, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), complex programmable logic devices (CPLDs), programmable logic arrays (PLAs), microprocessors, or other similar processing devices. In certain embodiments, the information or algorithms described herein reside in a non-transient storage medium.
[0075] In certain embodiments, the computer-implemented methods described herein may be performed in real time while multiple images of an object are being acquired. Such real-time analysis is particularly useful in nucleic acid sequencing applications where nucleic acid sequences are subjected to repeated cycles of fluid and detection processes. While it may often be beneficial to perform the methods described herein in real time or in the background for the analysis of sequencing data, it may also be beneficial to perform the methods described herein while other data acquisition or analysis algorithms are in process. Examples of real-time analysis methods that can be used in this method are commercially available from Illumina, Inc. (San Diego, Calif) and / or used in the MiSeq and HiSeq sequencing instruments described in U.S. Patent Application Publication 2012 / 0020537(A1), which is incorporated herein by reference.
[0076] Action 402 involves accessing per-cycle cluster data for multiple clusters and for a first subset of the sequencing cycles of the sequencing operation.
[0077] Action 412 involves a method that base-calls each cluster among multiple clusters in each sequencing cycle within a first subset of sequencing cycles.
[0078] Action 422 includes processing the cluster data for each cycle and generating an intermediate representation of the cluster data for each cycle.
[0079] Action 432 involves processing the intermediate representation through the output layer to generate cluster-by-cluster, cycle-by-cycle probability quartiles for each cluster and for each sequencing cycle. The specific cluster-by-cluster, cycle-by-cycle probability quartiles identify the probabilities of A, C, T, and G, which are bases incorporated into a particular cluster in a particular sequencing cycle.
[0080] Action 442 involves generating an array of filter values for each cluster by determining filter values for each cluster and cycle based on the probabilities identified by each cluster and cycle's probability quartile.
[0081] Action 452 includes identifying, among multiple clusters, a cluster whose array of filter values contains at least "N" filter values that fall below a threshold "M" as an unreliable cluster.
[0082] Action 462 includes a method that, for the remainder of a sequencing cycle, base calls only on clusters that are not identified as untrusted clusters, by bypassing base calls on untrusted clusters for the remainder of the sequencing cycle of the sequencing operation.
[0083] Sequence determination system Figures 5A and 5B show one embodiment of the sequencing system 500A. The sequencing system 500A includes a configurable processor 546. The configurable processor 546 implements the base call technique disclosed herein. The sequencing system is also referred to as a “sequencer”.
[0084] The sequencing system 500A may operate to obtain any information or data relating to at least one of biological or chemical substances. In some embodiments, the sequencing system 500A may be a workstation, which may be a benchtop device or a desktop computer. For example, most (or all) of the system and components for carrying out the desired reaction may be located within a common housing 502.
[0085] In certain embodiments, the sequencing system 500A is a nucleic acid sequencing system configured for a variety of applications, including but not limited to de novo sequencing, whole-genome or targeted genomic region rearrangement, and metagenomics. The sequencer may also be used for DNA or RNA analysis. In some embodiments, the sequencing system 500A may also be configured to generate reaction sites within a biosensor. For example, the sequencing system 500A may be configured to accept a sample and generate surface-bound clusters of clonally amplified nucleic acids derived from the sample. Each cluster may constitute or be part of a reaction site within the biosensor.
[0086] An exemplary sequencing system 500A may include a system receiver or interface 510 configured to interact with a biosensor 512 to perform a desired reaction within the biosensor 512. In the following description with respect to Figure 5A, the biosensor 512 is loaded into the system receiver 510. However, a cartridge containing the biosensor 512 may be inserted into the system receiver 510, and it will be understood that in some conditions the cartridge may be removed temporarily or permanently. As described above, the cartridge may include, among other things, fluid control and fluid storage components.
[0087] In certain embodiments, the sequencing system 500A is configured to carry out a number of parallel reactions within the biosensor 512. The biosensor 512 includes one or more reaction sites in which a desired reaction may occur. The reaction sites may be immobilized, for example, on a solid surface of the biosensor, or on beads (or other movable substrates) located within the corresponding reaction chamber of the biosensor. The reaction sites may include, for example, clusters of clonally amplified nucleic acids. The biosensor 512 may include a solid imaging device (e.g., a CCD or CMOS imager) and a flow cell attached thereto. The flow cell may include one or more channels that receive a solution from the sequencing system 500A and direct the solution toward the reaction sites. Optionally, the biosensor 512 may be configured to engage with a thermal element for transferring thermal energy in and out of the channels.
[0088] The sequencing system 500A may include various components, assemblies, and systems (or subsystems) that interact with each other to perform a predetermined method or assay protocol for biological or chemical analysis. For example, the sequencing system 500A may include a system controller 506 that can communicate with the various components, assemblies, and subsystems of the sequencing system 500A, and further a biosensor 512. For example, in addition to the system receiver 510, the sequencing system 500A may also include a fluid control system 508 for controlling the flow of fluids throughout the fluid network of the sequencing system 500A and the biosensor 512, a fluid storage system 514 configured to hold all fluids (e.g., gases or liquids) that may be used by the bioassay system, a temperature control system 504 that can adjust the temperature of the fluids in the fluid network, the fluid storage system 514, and / or the biosensor 512, and an illumination system 516 configured to illuminate the biosensor 512. As described above, when a cartridge having a biosensor 512 is loaded into the system receiving section 510, the cartridge may also include fluid control and fluid storage components.
[0089] The sequencing system 500A may also include a user interface 518 for interacting with the user. For example, the user interface 518 may include a display 520 for displaying or requesting information from the user, and a user input device 522 for receiving user input. In some embodiments, the display 520 and the user input device 522 are the same device. For example, the user interface 518 may include a touch-sensitive display configured to detect the presence of individual touches and to identify the location of touches on the display. However, other user input devices 522 such as a mouse, touchpad, keyboard, keypad, handheld scanner, voice recognition system, or motion recognition system may be used. As will be described in more detail below, the sequencing system 500A may communicate with various components, including a biosensor 512 (e.g., in the form of a cartridge), to perform a desired response. The sequencing system 500A may also be configured to analyze data obtained from the biosensor to provide the user with desired information.
[0090] The system controller 506 may include a microcontroller, a Reduced Instruction Set Computer (RISC), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), a Coarse-Grained Reconfigurable Architecture (CGRA), logic circuits, and any other circuits or processors capable of performing the functions described herein. The above embodiments are illustrative and are therefore not intended to limit the definition and / or meaning of the term system controller. In the exemplary embodiments, the system controller 506 executes a set of instructions stored in one or more storage elements, memories, or modules for at least one of acquiring and analyzing detection data. The detection data may include multiple arrays of pixel signals, thereby enabling the detection of arrays of pixel signals from each of millions of sensors (or pixels) over many base call cycles. The storage elements may be in the form of information sources or physical memory elements within the array determination system 500A.
[0091] The instruction set may include a variety of commands that instruct the sequencing system 500A or the biosensor 512 to perform specific operations, such as methods and processes of various embodiments described herein. The instruction set may also be in the form of a software program that can form part of a tangible, non-temporary computer-readable medium or a medium. As used herein, the terms “software” and “firmware” are interchangeable and include any computer program stored in memory executed by a computer, including RAM memory, ROM memory, EPROM memory, EEPROM memory, and non-volatile RAM (NVRAM) memory. The memory types described above are illustrative and are therefore not limited to the types of memory that can be used to store computer programs.
[0092] The software may take various forms, such as system software or application software. Furthermore, the software may take the form of a collection of separate programs, or a program module or a part of a program module within a larger program. The software may also include modular programming in the form of object-oriented programming. After acquiring the detection data, the detection data may be processed automatically by the sequence determination system 500A, which processes the data in response to user input, or it may be processed in response to a request made by another processing machine (e.g., a remote request via a communication link). In the illustrated embodiment, the system controller 506 includes an analysis module 544. In other embodiments, the system controller 506 does not include the analysis module 544, but instead has access to the analysis module 544 (e.g., the analysis module 544 may be hosted separately on the cloud).
[0093] The system controller 506 may be connected to the biosensor 512 and other components of the sequencing system 500A via a communication link. The system controller 506 may also be communicatively connected to an off-site system or server. The communication link may be wired, corded, or wireless. The system controller 506 may receive user input or commands from the user interface 518 and the user input device 522.
[0094] The fluid control system 508 includes a fluid network and is configured to regulate the flow of one or more fluids through the fluid network. The fluid network may be in fluid communication with a biosensor 512 and a fluid storage system 514. For example, a selected fluid may be drawn from the fluid storage system 514 and directed to the biosensor 512 in a controlled manner, or the fluid may be drawn from the biosensor 512 and directed, for example, to a waste reservoir in the fluid storage system 514. Although not shown, the fluid control system 508 may include flow sensors that detect the flow rate or pressure of fluids in the fluid network. The sensors may communicate with a system controller 506.
[0095] The temperature control system 504 is configured to regulate the temperature of fluids in different areas of the fluid network, the fluid storage system 514, and / or the biosensor 512. For example, the temperature control system 504 may include a thermal circulator that interacts with the biosensor 512 and controls the temperature of the fluid flowing along the reaction sites within the biosensor 512. The temperature control system 504 may also regulate the temperature of the solid elements or components of the sequencing system 500A or the biosensor 512. Although not shown, the temperature control system 504 may include sensors for detecting the temperature of fluids or other components. The sensors may communicate with the system controller 506.
[0096] The fluid storage system 514 is in fluid communication with the biosensor 512 and may store various reactants or reactants used to carry out a desired reaction. The fluid storage system 514 may also store fluids for washing or cleaning the fluid network and the biosensor 512 and for diluting reactants. For example, the fluid storage system 514 may include various reservoirs for storing samples, reagents, enzymes, other biomolecules, buffers, aqueous solutions, and nonpolar solutions. Furthermore, the fluid storage system 514 may also include a waste reservoir for receiving waste from the biosensor 512. In embodiments including a cartridge, the cartridge may include one or more of the fluid storage system, fluid control system, or temperature control system. Thus, one or more of the components described herein relating to these systems may be housed in a cartridge housing. For example, the cartridge may have various reservoirs for storing samples, reagents, enzymes, other biomolecules, buffers, aqueous solutions, and nonpolar solutions, waste, and the like. Therefore, one or more of the fluid storage system, fluid control system, or temperature control system can be removably engaged with the bioassay system via a cartridge or other biosensor.
[0097] The illumination system 516 may include a light source (e.g., one or more light-emitting diodes (LEDs)) and a plurality of optical components for illuminating the biosensor. Examples of light sources include lasers, arc lamps, LEDs, or laser diodes. Optical components may include, for example, reflectors, polarizers, beam splitters, collimators, lenses, filters, wedges, prisms, mirrors, and detectors. In embodiments using the illumination system, the illumination system 516 may be configured to direct excitation light to the reaction site. For example, the fluorophore may be excited by the wavelength of green light, so the wavelength of the excitation light may be about 532 nm. In one embodiment, the illumination system 516 is configured to produce illumination parallel to the surface normal of the surface of the biosensor 512. In another embodiment, the illumination system 516 is configured to produce illumination that is off-angle with respect to the surface normal of the surface of the biosensor 512. In yet another embodiment, the illumination system 516 is configured to produce illumination with multiple angles, including some parallel illumination and some off-angle illumination.
[0098] The system receiver or interface 510 is configured to engage with the biosensor 512 by at least one of mechanical, electrical, and fluidic means. The system receiver 510 can hold the biosensor 512 in a desired orientation to facilitate the flow of fluid through the biosensor 512. The system receiver 510 may also include electrical contacts configured to engage with the biosensor 512, thereby enabling the sequencing determination system 500A to communicate with and / or power the biosensor 512. Furthermore, the system receiver 510 may include fluid ports (e.g., nozzles) configured to engage with the biosensor 512. In some embodiments, the biosensor 512 is removably coupled to the system receiver 510 by mechanical, electrical, and / or fluidic means.
[0099] In addition, the sequencing system 500A may communicate remotely with other systems or networks, or with other bioassay systems 500A. Detection data obtained by the bioassay system(s) 500A may be stored in a remote database.
[0100] Figure 5B is a block diagram of a system controller 506 that may be used in the system of Figure 5A. In one embodiment, the system controller 506 includes one or more processors or modules that can communicate with each other. Each processor or module may include an algorithm (e.g., instructions stored on a tangible and / or non-temporary computer-readable storage medium) or sub-algorithm for executing a particular process. The system controller 506 is conceptually exemplified as a collection of modules, but may be implemented using any combination of dedicated hardware boards, DSPs, processors, etc. Alternatively, the system controller 506 may be implemented using a single processor or a ready-made PC with multiple processors, with functional operation distributed among the processors. As a further option, the modules described below may be implemented using a hybrid configuration in which certain modular functions are performed using dedicated hardware, and the remaining modular functions are performed using a ready-made PC, etc. Modules may also be implemented as software modules within a processing unit.
[0101] During operation, the communication port 550 may transmit information (e.g., commands) to the biosensor 512 (Figure 5A) and / or subsystems 508, 514, 504 (Figure 5A), or receive information (e.g., data) from the biosensor 512 (Figure 5A) and / or subsystems 508, 514, 504 (Figure 5A). In some embodiments, the communication port 550 may output multiple sequences of pixel signals. The communication link 534 may receive user input from the user interface 518 (Figure 5A) and transmit data or information to the user interface 518. Data from the biosensor 512 or subsystems 508, 514, 504 may be processed in real time by the system controller 506 during a bioassay session. Additionally or alternatively, data may be temporarily stored in system memory during a bioassay session and processed at a slower rate than real-time or offline operation.
[0102] As shown in Figure 5B, the system controller 506 may include a number of modules 526-548 that communicate with the main control module 524 together with the central processing unit (CPU) 552. The main control module 524 may also communicate with the user interface 518 (Figure 5A). Although modules 526-548 are shown as communicating directly with the main control module 524, modules 526-548 may also communicate directly with each other, with the user interface 518, and with the biosensor 512. Modules 526-548 may also communicate with the main control module 524 via other modules.
[0103] Multiple modules 526-548 include system modules 528-532, 526, which communicate with subsystems 508, 514, 504, and 516, respectively. Fluid control module 528 may communicate with fluid control system 508 to control valves and flow sensors in the fluid network in order to control the flow of one or more fluids through the fluid network. Fluid storage module 530 may notify the user when the fluid level is low or when the waste reservoir is full or nearly full. Fluid storage module 530 may also communicate with temperature control module 532 so that the fluid can be stored at a desired temperature. Illumination module 526 may communicate with illumination system 516 to illuminate the reaction site at a specified time in the protocol, such as after a desired reaction (e.g., a coupling event) has occurred. In some embodiments, illumination module 526 may communicate with illumination system 516 to illuminate the reaction site at a specified angle.
[0104] The modules 526-548 may also include a device module 536 that communicates with the biosensor 512 and an identification module 538 that determines identification information associated with the biosensor 512. The device module 536 may, for example, communicate with the system receiver 510 to confirm that the biosensor has established an electrical and fluid connection with the sequencing system 500A. The identification module 538 may receive a signal that identifies the biosensor 512. The identification module 538 may use the identification information of the biosensor 512 to provide the user with other information. For example, the identification module 538 may determine and then display a lot number, manufacturing date, or a protocol that is recommended to operate on the biosensor 512.
[0105] The multiple modules 526-548 also include an analysis module 544 (also called a signal processing module or signal processor) that receives and analyzes signal data (e.g., image data) from the biosensor 512. The analysis module 544 includes memory (e.g., RAM or flash) for storing the detection / image data. The detection data may include multiple arrays of pixel signals, thereby allowing arrays of pixel signals from each of millions of sensors (or pixels) to be detected over many base call cycles. The signal data may be stored for subsequent analysis or transmitted to a user interface 518 to display desired information to the user. In some embodiments, the signal data may be processed by a solid-state image sensor (e.g., a CMOS image sensor) before the analysis module 544 receives the signal data.
[0106] The analysis module 544 is configured to acquire image data from a photodetector in each of a plurality of sequencing cycles. The image data is derived from the light emission signal detected by the photodetector and is processed for each of the plurality of sequencing cycles via a neural network-based base caller 104 to generate base calls for at least some of the analytes in each of the plurality of sequencing cycles. The photodetector may be part of one or more overhead cameras (e.g., an Illumina GAIIx CCD camera that takes images of the clusters on the biosensor 512 from above) or part of the biosensor 512 itself (e.g., an Illumina iSeq CMOS image sensor that is located below the clusters on the biosensor 512 and takes images of the clusters from the bottom).
[0107] The output of the photodetector consists of the intensity emission of the clusters and a sequencing image showing their surrounding background. The sequencing image shows the intensity emission generated as a result of incorporating nucleotides into the sequence during sequencing. The intensity emission comes from the relevant sample and its surrounding background. The sequencing image is stored in memory 548.
[0108] Protocol modules 540 and 542 communicate with the main control module 524 to control the operation of subsystems 508, 514, and 504 when performing a predetermined assay protocol. Protocol modules 540 and 542 may include a set of instructions for instructing the sequencing system 500A to perform specific actions according to a predetermined protocol. As shown in the figure, the protocol module may be a sequencing-by-synthesis (SBS) module 540 configured to issue various commands for performing a per-sequence synthesis process. In SBS, the extension of nucleic acid primers along a nucleic acid template is monitored to determine the nucleotide sequence in the template. The underlying chemical process may be (e.g., catalyzed by a polymerase enzyme) or ligation (e.g., catalyzed by a ligase enzyme). In certain polymer system SBS embodiments, fluorescently labeled nucleotides are added to the primers (which extend the primers) in a template-dependent manner so that the sequence of the template can be determined by detecting the order and type of nucleotides added to the primers. For example, to initiate the first SBS cycle, one or more labeled nucleotides, DNA polymerase, etc., can be delivered into / through a flow cell containing an array of nucleic acid templates. The nucleic acid templates may be located at corresponding reaction sites. These reaction sites can be detected, and primer extension can detect the incorporated labeled nucleotides through an imaging event. During the imaging event, the illumination system 516 can provide excitation light to the reaction sites. Optionally, the nucleotides may further include reversible termination properties, which terminate further primer extension once the nucleotide is attached to the primer. For example, a nucleotide analog with a reversible terminator moiety can be attached to the primer so that further extension does not occur until a deblocking agent is delivered and that moiety is removed. Thus, in another embodiment using reversible termination, a command can be given to deliver a deblocking reagent to the flow cell (before or after detection).One or more commands may be given to result in a wash(s) between various delivery steps. The sequence of length n can then be detected by repeating the cycle n times to extend the primer by n nucleotides. Exemplary sequencing techniques are described, for example, in Bentley et al., Nature 456:53-59 (2005), International Publication No. 04 / 015497, U.S. Patent No. 7,057,026, International Publication No. 91 / 06675, International Publication No. 07 / 123744, U.S. Patent No. 7,329,492, International Publication No. 7,211,414, International Publication No. 7,315,019, International Publication No. 7,405,251, and International Publication No. 2005 / 014705052, each of which is incorporated herein by reference.
[0109] In the nucleotide delivery process of the SBS cycle, any single type of nucleotide can be delivered at once, or multiple different nucleotide types (e.g., A, C, T, and G) can be delivered. In nucleotide delivery configurations where only a single type of nucleotide is present at any given time, the different nucleotides do not need to have distinct labels, as they can be distinguished based on the temporal separation inherent in individualized delivery. Therefore, a single color detection can be used for sequencing methods or apparatus. For example, the excitation source only needs to provide excitation at a single wavelength or a single wavelength range. In nucleotide delivery configurations where, at some point, delivery results in multiple different nucleotides present in the flow cell, the sites incorporating the different nucleotide types can be distinguished based on different fluorescent labels attached to each nucleotide type in the mixture. For example, four different nucleotides, each having one of four different fluorophores, can be used. In one embodiment, the four different fluorophores can be distinguished using excitation in four different regions of the spectrum. For example, four different excitation radiation sources can be used. Alternatively, fewer than four different excitation sources can be used, but different ranges of excitation radiation can be generated in the flow cell using optical filtration of excitation radiation from a single source.
[0110] In some embodiments, fewer than four different colors can be detected in a mixture having four different nucleotides. For example, pairs of nucleotides can be detected at the same wavelength but can be distinguished based on differences in intensity for one member of the pair, or based on changes in one member of the pair (e.g., through chemical modification, photochemical modification, or physical modification) that cause a signal to appear or disappear compared to the signal detected for the other members of the pair. Exemplary apparatuses and methods for distinguishing four different nucleotides using detection of fewer than four colors are described, for example, in U.S. Patent Applications 61 / 535294 and 61 / 619,575, which are incorporated herein by reference in their entirety. U.S. Patent Application 13 / 624,200, filed September 21, 2012, is incorporated herein by reference in its entirety.
[0111] The multiple protocol modules may also include a sample preparation (or generation) module 542 configured to issue commands to a fluid control system 508 and a temperature control system 504 for amplifying the product in the biosensor 512. For example, the biosensor 512 may be engaged with a sequencing system 500A. The amplification module 542 can issue commands to the fluid control system 508 to deliver the necessary amplification components to the reaction chamber in the biosensor 512. In other embodiments, the reaction site may already contain several components for amplification, such as template DNA and / or primers. After delivering the amplification components to the reaction chamber, the amplification module 542 may instruct the temperature control system 504 to cycle through different temperature steps according to a known amplification protocol. In some embodiments, amplification and / or nucleotide incorporation are carried out isothermally.
[0112] The SBS module 540 can issue a command to perform bridge PCR, in which clusters of clonal amplicons are formed on local regions within the channels of the flow cell. After generating amplicons via bridge PCR, the amplicons may be "linearized" to produce single-stranded template DNA, and the sstDNA and sequencing primers may be hybridized to universal sequences adjacent to the region of interest. For example, reversible terminator sequencing by a synthetic method can be used as described above or as follows:
[0113] Each base calling or sequencing cycle can extend the sstDNA by a single base, which can be achieved, for example, by using a modified DNA polymerase and a mixture of four types of nucleotides. Different types of nucleotides may have unique fluorescent labels, and each nucleotide may further have a reversible terminator that allows only the incorporation of a single base to occur in each cycle. After adding a single base to the sstDNA, excitation light can be incident on the reaction site and fluorescence emission can be detected. After detection, the fluorescent label and terminator can be chemically cleaved from the sstDNA. Another similar base calling or sequencing cycle may be as follows. In such a sequencing protocol, the SBS module 540 can instruct the fluid control system 508 to direct the flow of reagent and enzyme solutions through the biosensor 512. An exemplary reversible terminator-based SBS method that can be used with the apparatus and methods described herein is U.S. Patent Application Publication Nos. 2007 / 0166705(A1) and 2006 / 0156. *These are described in U.S. Patent No. 3901(A1), U.S. Patent No. 7,057,026, U.S. Patent Publication Nos. 2006 / 0240439(A1), 2006 / 02514714709(A1), International Publication No. 05 / 065514, U.S. Patent Publication No. 2005 / 014700900(A1), International Publication No. 06 / 05B199, and International Publication No. 07 / 01470251 (each incorporated herein in its entirety by reference). Exemplary reagents of reversible terminator-based SBS are described in U.S. Patents Nos. 7,541,444, 7,057,026, 7,414,14716, 7,427,673, 7,566,537, 7,592,435 and International Publication No. 07 / 14535365, each of which is incorporated herein by reference.
[0114] In some embodiments, the amplification and SBS modules may operate within a single assay protocol, for example, by amplifying a template nucleic acid and then sequencing it within the same cartridge.
[0115] The sequencing system 500A may also allow the user to reconfigure the assay protocol. For example, the sequencing system 500A may provide the user with options through the user interface 518 to modify the determined protocol. For instance, if it is determined that the biosensor 512 is to be used for amplification, the sequencing system 500A may request the annealing cycle temperature. Furthermore, the sequencing system 500A may issue a warning to the user if the user provides user input that is generally unacceptable for the selected assay protocol.
[0116] In this embodiment, the biosensor 512 comprises millions of sensors (or pixels), each of which generates a sequence of multiple pixel signals over a series of base call cycles. The analysis module 544 detects the sequence of pixel signals according to the row and / or column locations of the sensors on the array of sensors and assigns them to the corresponding sensors (or pixels).
[0117] Configurable Processor Figure 5C is a simplified block diagram of the system for analyzing sensor data from a sequencing system 500A, such as base call sensor output. In the example of Figure 5C, the system includes a configurable processor 546. The configurable processor 546 may run a base caller (e.g., a neural network-based base caller 104) in cooperation with a runtime program run by a central processing unit (CPU) 552 (i.e., a host processor). The sequencing system 500A includes a biosensor 512 and a flow cell. The flow cell may contain one or more tiles in which clusters of genetic material are exposed to a series of sample flows used to trigger reactions within the clusters to identify bases in the genetic material. The sensor senses the reactions of each cycle of the sequence at each tile in the flow cell to provide tile data. Genetic sequencing is a data-intensive operation, which translates the base call sensor data into base call sequences for each group of genetic material sensed during the base call operation.
[0118] The system of this embodiment includes a CPU 552 that executes a runtime program for coordinating base call operations, and a memory 548B for storing an array of tile data, base call reads generated by the base call operations, and other information used in the base call operations. In this figure, the system also includes one or more configuration files, such as FPGA bit files, and a memory 548A for storing model parameters of the neural network used to configure and reconfigure the configurable processor 546 and run the neural network. The array determination system 500A may include a program for configuring the configurable processor, and in some embodiments, it may include a reconfigurable processor that runs the neural network.
[0119] The sequence determination system 500A is coupled to the configurable processor 546 by bus 589. Bus 589 may be implemented using high-throughput technology, for example, in one embodiment, bus technology compatible with the PCIe standard (Peripheral Component Interconnect Express) currently maintained and developed by the PCI-SIG standard (PCI Special Interest Group). In this embodiment, memory 548A is coupled to the configurable processor 546 by bus 593. Memory 548A may be onboard memory disposed on the circuit board having the configurable processor 546. Memory 548A is used for high-speed access by the configurable processor 546 to working data used in base call operations. Bus 593 may also be implemented using high-throughput technology, such as bus technology compatible with the PCIe standard.
[0120] Configurable processors, including field-programmable gate array FPGAs, coarse gray configurable reconfigurable array CGRAs, and other configurable and reconfigurable devices, can be configured to implement various functions more efficiently or faster than can be achieved using general-purpose processors that run computer programs. Configuring a configurable processor involves compiling a functional description to generate a configuration file, sometimes referred to as a bitstream or bitfile, and distributing the configuration file to configurable elements on the processor. The configuration file includes, by configuring the circuitry to set data flow patterns, the use of distributed memory and other on-chip memory resources, lookup table contents, the operation of configurable logic blocks, and configurable execution units such as configurable interconnects and other elements of configurable arrays. Reconfigurable means that the configuration file can be modified in the field, or by modifying the loaded configuration file. For example, the configuration file may be stored in volatile SRAM elements, in non-volatile read / write memory elements, or distributed among arrays of configurable elements on a configurable or reconfigurable processor. Various commercially available configurable processors are suitable for use in base-call operations as described herein.Examples include Google's Tensor Processing Unit (TPU) (trademark), GX4 Rackmount Series (trademark), GX9 Rackmount Series (trademark), NVIDIA DGX-1 (trademark), Microsoft's Stratix V FPGA (trademark), Graphcore's Intelligent Processor Unit (IPU) (trademark), Qualcomm's Zeroth Platform (trademark), Snapdragon processors (trademark), NVIDIA Volta (trademark), NVIDIA Drive PX (trademark), NVIDIA JETSON TX1 / TX2 MODULE (trademark), Intel's Nirvana™, Movidius VPU (trademark), Fujitsu DPI (trademark), ARM DynamicIQ (trademark), IBM TrueNorth (trademark), Lambda GPU Server with Testa V100s (trademark), Xilinx Alveo (trademark) U200, Xilinx Alveo (trademark) U250, Xilinx Alveo (trademark) U280, Intel / Altera This includes Stratix® GX2800, Intel / Altera Stratix® GX2800, and Intel Stratix® GX10M. In some embodiments, the host CPU can be implemented on the same integrated circuit as the configurable processor.
[0121] Embodiments described herein implement a neural network-based base caller 104 using a configurable processor 546. The configuration file for the configurable processor 546 may be implemented by specifying logic functions to be executed using a high-level description language HDL or register-transfer-level RTL language specification. This specification can be compiled using resources designed to generate a configuration file for a selected configurable processor. The same or similar specifications can be compiled for the purpose of generating designs for application-specific integrated circuits, which may not be configurable processors.
[0122] Accordingly, alternatives to the configurable processor 546 in all embodiments described herein include a processor configured to include an application-specific ASIC or a dedicated integrated circuit or set of integrated circuits, or a system-on-chip SOC device, or a graphics processing unit (GPU) processor or a coarse-grained reconfigurable architecture (CGRA) processor, configured to perform neural network-based base call operations as described herein.
[0123] Generally, configurable processors and configured processors described herein that are configured to perform the operation of a neural network are referred to herein as neural network processors.
[0124] In this embodiment, the configurable processor 546 is configured to execute base call functions by a configuration file or other source loaded using a program executed by the CPU 552, which constitutes an array of configurable elements 591 on the configurable processor (e.g., a Configuration Logic Block (CLB), e.g., a Look Up Table (LUT), flip-flops, an Arithmetic Processing Unit (PMU), and a Compute Memory Unit (CMU), a configurable I / O block, and a programmable interconnect). In this embodiment, the configuration includes data flow logic 597 coupled to buses 589 and 593, which executes a function for distributing data and control parameters among the elements used in the base call operation.
[0125] Furthermore, the configurable processor 546 is configured with dataflow logic 597 to execute a neural network-based base caller 104. The logic 597 includes multi-cycle execution clusters (e.g., 579), which in this embodiment include execution cluster 1 via execution cluster X. The number of multi-cycle execution clusters may be selected according to trade-offs with the desired throughput of operation and the available resources on the configurable processor 546.
[0126] The multicycle execution cluster is coupled to the dataflow logic 597 by a data channel 599 implemented using configurable interconnects and memory resources on the configurable processor 546. The multicycle execution cluster is also coupled to the dataflow logic 597 by a control path 595 implemented, for example, on the configurable processor 546 using configurable interconnects and memory resources, which provides control signals indicating available execution clusters, preparations for providing input units for the execution of the neural network-based base caller 104 to the available execution clusters, preparations for providing learned parameters for the neural network-based base caller 104, preparations for providing output patches of base call classification data, and other control data used for the execution of the neural network-based base caller 104.
[0127] The configurable processor 546 is configured to use learned parameters to perform the operation of the neural network-based base caller 104 to generate classification data for the detection cycles of base call operations. The operation of the neural network-based base caller 104 performs the operation to generate classification data for the subject detection cycles of base call operations. The operation of the neural network-based base caller 104 operates on an array containing a number N of arrays of tile data from each of the N detection cycles, where the N detection cycles provide sensor data for different base call operations for one base position per operation in the time array in the examples described herein. Optionally, some of the N detection cycles may be removed from the array as needed, according to the particular neural network model being performed. The number N can be any number greater than 1. In some embodiments described herein, the detection cycles of the N detection cycles represent a set of detection cycles for at least one detection cycle preceding the subject detection cycle and at least one detection cycle after the subject cycle. Embodiments are described herein where the number N is an integer greater than or equal to 5.
[0128] The dataflow logic 597 is configured to move tile data and at least some learned parameters of model parameters from memory 548A to a configurable processor 546 for the operation of a neural network-based base caller 104, using an input unit for a given operation containing tile data of spatially aligned patches in an array of N. The input unit can be moved by a direct memory access operation in a single DMA operation, or in smaller units that move during available time slots, in coordination with the execution of the deployed neural network.
[0129] The tile data for a sensing cycle described herein may include an array of sensor data having one or more features. For example, the sensor data may include two images that are analyzed to identify one of four bases at a base position in the genetic sequence of DNA, RNA, or other genetic material. The tile data may also include metadata relating to the images and sensors. For example, in an embodiment of base-call operation, the tile data may include information regarding the alignment of the images with clusters, such as distance from center information indicating the distance of each pixel in the array of sensor data from the center of the group of genetic material on the tile.
[0130] As described below, during the execution of the neural network-based base caller 104, the tile data may also include data generated during the execution of the neural network-based base caller 104. This data is referred to as intermediate data, which can be reused rather than recalculated during the operation of the neural network-based base caller 104. For example, during the execution of the neural network-based base caller 104, the data flow logic 597 may write intermediate data to memory 548A instead of sensor data for a given patch of the array of tile data. Such embodiments are described in more detail below.
[0131] As illustrated, a system for analyzing base call sensor outputs is described, including a runtime program-accessible memory (e.g., 548A) that stores tile data containing tile sensor data from the sensing cycles of base call operations. The system also includes a neural network processor, such as a configurable processor 546, which has access to the memory. The neural network processor is configured to perform a neural network operation using trained parameters to generate classification data for sensing cycles. As described herein, the neural network operation operates on an array of N arrays of tile data from each of N sensing cycles, including subject cycles, to generate classification data for subject cycles. Data flow logic 908 is provided to move the tile data and trained parameters from memory to the neural network processor for the execution of the neural network, using an input unit containing data of spatially aligned patches of N arrays from each of N sensing cycles.
[0132] The system also describes a neural network processor having access to memory and including multiple execution clusters, and including execution clusters within multiple execution clusters configured to run a neural network. The dataflow logic 597 has access to memory and access to execution clusters within multiple execution clusters in order to provide an input unit of tiled data to an available execution cluster in the multiple execution clusters, the input unit including N spatially aligned patches of an array of tiled data from each detection cycle including a subject detection cycle, and to cause an execution cluster to apply the N spatially aligned patches to a neural network to generate an output patch of classification data for the spatially aligned patches of the subject detection cycle, where N is greater than 1.
[0133] Dataflow Logic Figure 6 shows one embodiment of the disclosed dataflow logic, which enables the host processor to filter out untrustworthy clusters based on base calls predicted by a neural network running on the configurable processor, and further enables the configurable processor to generate a trustworthy remaining intermediate representation using the data that identifies the untrustworthy clusters.
[0134] In Action 1, the dataflow logic 597 requests initial cluster data from memory 548B. The initial cluster data includes, as described above, sequencing images showing the intensity emission of clusters in the first subset of the sequencing cycles of the sequencing operation, i.e., the initial sequencing cycles of the sequencing operation. For example, the initial cluster data may include sequencing images for the first 25 sequencing cycles (initial sequencing cycles) of the sequencing operation.
[0135] It should be noted that because clusters are arranged on the flow cell at high spatial density (e.g., low micrometer or submicrometer resolution), the sequencing image of the initial cluster data will show intensity radiation from multiple clusters, which may include both reliable and unreliable clusters. That is, if a particular unreliable cluster is adjacent to a particular reliable cluster, the sequencing image of the initial cluster data will show intensity radiation from both reliable and unreliable clusters, as it will be captured at an optical resolution that captures light or signals emitted from multiple clusters.
[0136] In action 2, memory 548B sends the initial cluster data to dataflow logic 597.
[0137] In action 3, the dataflow logic 597 provides the initial cluster data to the configurable processor 546.
[0138] In Action 4, a neural network-based base caller 104 operating on a configurable processor 546 generates an initial intermediate representation (e.g., a feature map) from the initial cluster data (e.g., by processing the initial cluster data through its spatial and temporal convolutional layers), and based on the initial intermediate representation, generates initial base call classification scores for multiple clusters and for the initial sequence determination cycle. In one embodiment, the initial base call classification scores are not normalized, for example, not subjected to exponential normalization by a softmax function.
[0139] In Action 5, the configurable processor 546 sends the unnormalized initial base call classification score to the dataflow logic 597.
[0140] In Action 6, the dataflow logic 597 provides the host processor 552 with an unnormalized initial base call classification score.
[0141] In Action 7, the host processor 552 normalizes the unnormalized initial base call classification score (for example, by applying a softmax function) to generate a normalized initial base call classification score, i.e., the initial base call.
[0142] In Action 8, the detection and filtering logic 146, running on the host processor 552, uses the normalized initial base call classification score / initial base call to identify untrustworthy clusters among multiple clusters based on the generation of filter values, as described above in the section titled "Detection and Filtering of Untrustworthy Clusters".
[0143] In action 9, the host processor 552 sends data to the dataflow logic 597 to identify untrusted clusters. Untrusted clusters can be identified by the instrument ID, run number on the instrument, flow cell ID, lane number, tile number, cluster's X coordinate, cluster's Y coordinate, and unique molecular identifier (UMI).
[0144] In action 10, dataflow logic 597 requests the remaining cluster data from memory 548B. The remaining cluster data includes, as described above, sequence images showing the intensity emission of clusters in the remaining sequence determination cycles of the sequence determination operation, i.e., the sequence determination cycles of the sequence determination operation that do not include the first subset of the sequence determination cycles of the sequence determination operation. For example, the remaining cluster data may include sequence images from the 26th to the 100th sequence determination cycles (the last 75 sequence determination cycles) of a 100-cycle sequence determination operation.
[0145] It should be noted that because clusters are arranged on the flow cell at high spatial density (e.g., low micrometer or submicrometer resolution), the sequencing image of the remaining cluster data will show intensity radiation from multiple clusters, which may include both reliable and unreliable clusters. That is, if a particular unreliable cluster is adjacent to a particular reliable cluster, the sequencing image of the remaining cluster data will show intensity radiation from both reliable and unreliable clusters, as it will be captured at an optical resolution that captures light or signals emitted from multiple clusters.
[0146] In action 11, memory 548B sends the remaining cluster data to dataflow logic 597.
[0147] In action 12, the data flow logic 597 sends data to the configurable processor 546 to identify an untrusted cluster. An untrusted cluster can be identified by the instrument ID, run number on the instrument, flow cell ID, lane number, tile number, X coordinate of the cluster, Y coordinate of the cluster, and a unique molecular identifier (UMI).
[0148] In action 13, the data flow logic 597 sends the remaining cluster data to the configurable processor 546.
[0149] In action 14, the neural network-based base caller 104, operating on the configurable processor 546, generates a remaining intermediate representation (e.g., a feature map) from the remaining cluster data (e.g., by processing the remaining cluster data through its spatial convolutional layer). The configurable processor 546 generates a reliable remaining intermediate representation by using data that identifies unreliable clusters to remove from the remaining intermediate representation portions that represent unreliable clusters arising from portions of the remaining cluster data. In one embodiment, the data that identifies unreliable clusters identifies pixels that show intensity radiation of unreliable clusters in the initial cluster data and the remaining cluster data. In some embodiments, the configurable processor 546 is further configured to generate a reliable remaining intermediate representation by discarding feature map pixels arising from pixels of the remaining cluster data that show intensity radiation of unreliable clusters captured for the remaining sequencing cycles from the pixelated feature map generated from the remaining cluster data by the neural network-based base caller 104.
[0150] Action 15 further configures the configurable processor 546 to bypass the generation of remaining base call classification scores for unreliable clusters by providing the neural network-based base caller 104 with a reliable remaining intermediate representation, causing the neural network-based base caller 104 to generate only the remaining base call classification scores for clusters that are not unreliable among the multiple clusters, and for the remaining sequencing cycles. In one embodiment, the remaining base call classification scores are not normalized, for example, not subjected to exponential normalization by a softmax function.
[0151] In action 16, the configurable processor 546 sends the remaining unnormalized base call classification score to the dataflow logic 597.
[0152] In Action 17, the dataflow logic 597 provides the remaining unnormalized base call classification score to the host processor 552.
[0153] In action 18, the host processor 552 normalizes the remaining unnormalized base call classification scores (for example, by applying a softmax function) to produce the normalized remaining base call classification scores, i.e., the remaining base calls.
[0154] Figure 7 shows another embodiment of the disclosed dataflow logic, which enables the host processor to filter out untrusted clusters based on base calls predicted by a neural network running on the configurable processor, and further enables the host processor to base call only trusted clusters using data that identifies untrusted clusters.
[0155] In Action 1, the dataflow logic 597 requests initial cluster data from memory 548B. The initial cluster data includes, as described above, sequencing images showing the intensity emission of clusters in the first subset of the sequencing cycles of the sequencing operation, i.e., the initial sequencing cycles of the sequencing operation. For example, the initial cluster data may include sequencing images for the first 25 sequencing cycles (initial sequencing cycles) of the sequencing operation.
[0156] It should be noted that because clusters are arranged on the flow cell at high spatial density (e.g., low micrometer or submicrometer resolution), the sequencing image of the initial cluster data will show intensity radiation from multiple clusters, which may include both reliable and unreliable clusters. That is, if a particular unreliable cluster is adjacent to a particular reliable cluster, the sequencing image of the initial cluster data will show intensity radiation from both reliable and unreliable clusters, as it will be captured at an optical resolution that captures light or signals emitted from multiple clusters.
[0157] In action 2, memory 548B sends the initial cluster data to dataflow logic 597.
[0158] In action 3, the dataflow logic 597 provides the initial cluster data to the configurable processor 546.
[0159] In Action 4, a neural network-based base caller 104 operating on a configurable processor 546 generates an initial intermediate representation (e.g., a feature map) from the initial cluster data (e.g., by processing the initial cluster data through its spatial and temporal convolutional layers), and based on the initial intermediate representation, generates initial base call classification scores for multiple clusters and for the initial sequence determination cycle. In one embodiment, the initial base call classification scores are not normalized, for example, not subjected to exponential normalization by a softmax function.
[0160] In Action 5, the configurable processor 546 sends the unnormalized initial base call classification score to the dataflow logic 597.
[0161] In Action 6, the dataflow logic 597 provides the host processor 552 with an unnormalized initial base call classification score.
[0162] In Action 7, the host processor 552 normalizes the unnormalized initial base call classification score (for example, by applying a softmax function) to generate a normalized initial base call classification score, i.e., the initial base call.
[0163] In Action 8, the detection and filtering logic 146, running on the host processor 552, uses the normalized initial base call classification score / initial base call to identify untrustworthy clusters among multiple clusters based on the generation of filter values, as described above in the section titled "Detection and Filtering of Untrustworthy Clusters".
[0164] In action 9, the host processor 552 sends data to the dataflow logic 597 that identifies the untrusted cluster.
[0165] In action 10, dataflow logic 597 requests the remaining cluster data from memory 548B. The remaining cluster data includes, as described above, sequence images showing the intensity emission of clusters in the remaining sequence determination cycles of the sequence determination operation, i.e., the sequence determination cycles of the sequence determination operation that do not include the first subset of the sequence determination cycles of the sequence determination operation. For example, the remaining cluster data may include sequence images from the 26th to the 100th sequence determination cycles (the last 75 sequence determination cycles) of a 100-cycle sequence determination operation.
[0166] It should be noted that because clusters are arranged on the flow cell at high spatial density (e.g., low micrometer or submicrometer resolution), the sequencing image of the remaining cluster data will show intensity radiation from multiple clusters, which may include both reliable and unreliable clusters. That is, if a particular unreliable cluster is adjacent to a particular reliable cluster, the sequencing image of the remaining cluster data will show intensity radiation from both reliable and unreliable clusters, as it will be captured at an optical resolution that captures light or signals emitted from multiple clusters.
[0167] In action 11, memory 548B sends the remaining cluster data to dataflow logic 597.
[0168] In action 12, the dataflow logic 597 sends the remaining cluster data to the configurable processor 546.
[0169] In action 13, the neural network-based base caller 104, operating on the configurable processor 546, generates a remaining intermediate representation (e.g., a feature map) from the remaining cluster data (e.g., by processing the remaining cluster data through its spatial and temporal convolutional layers). Based on the remaining intermediate representation, the neural network-based base caller 104 further generates remaining base call classification scores for multiple clusters and for the remaining sequencing cycles. In one embodiment, the remaining base call classification scores are not normalized, for example, not subjected to exponential normalization by a softmax function.
[0170] In action 14, the configurable processor 546 sends the remaining unnormalized base call classification score to the dataflow logic 597.
[0171] In action 15, the data flow logic 597 sends data to the host processor 552 that identifies the untrusted cluster.
[0172] In Action 16, the dataflow logic 597 provides the remaining unnormalized base call classification score to the host processor 552.
[0173] In Action 17, the host processor 552 normalizes the remaining unnormalized base call classification scores (for example, by applying a softmax function) and bypasses the base calls of untrusted clusters in the remaining sequencing cycle by generating normalized remaining base call classification scores, i.e., remaining base calls, by using data that identifies untrusted clusters to base call only the clusters that are not untrusted among the multiple clusters. In one embodiment, the data that identifies untrusted clusters identifies the location coordinates of the untrusted clusters.
[0174] Figure 8 illustrates yet another embodiment of the disclosed dataflow logic, which enables the host processor to filter out untrustworthy clusters based on base calls predicted by a neural network running on the configurable processor, and then uses the data identifying further untrustworthy clusters to generate data for the remaining trusted clusters.
[0175] In Action 1, the dataflow logic 597 requests initial cluster-by-cluster data from memory 548B. The cluster-by-cluster data refers to image patches centered on the target clusters extracted from the sequencing image and base-called. The central pixel of the image patch contains the center of the target cluster. The image patch also shows signals from additional clusters adjacent to the target cluster, in addition to the target cluster. The initial cluster-by-cluster data, as described above, includes image patches centered on the target clusters and shows the intensity emission of the target clusters in the initial sequencing cycle of the sequencing operation, i.e., the first subset of the sequencing cycles of the sequencing operation. For example, the initial cluster-by-cluster data may include image patches from the first 25 sequencing cycles of the sequencing operation (initial sequencing cycle).
[0176] In Action 2, memory 548B sends the initial per-cluster data to the dataflow logic 597.
[0177] In Action 3, the dataflow logic 597 provides the initial per-cluster data to the configurable processor 546.
[0178] In Action 4, a neural network-based base caller 104 operating on a configurable processor 546 generates an initial intermediate representation (e.g., a feature map) from the initial cluster-by-cluster data (e.g., by processing the initial cluster-by-cluster data through its spatial and temporal convolutional layers), and based on the initial intermediate representation, generates initial base call classification scores for multiple clusters and for the initial sequencing cycle. In one embodiment, the initial base call classification scores are not normalized, for example, not subjected to exponential normalization by a softmax function.
[0179] In Action 5, the configurable processor 546 sends the unnormalized initial base call classification score to the dataflow logic 597.
[0180] In Action 6, the dataflow logic 597 provides the host processor 552 with an unnormalized initial base call classification score.
[0181] In Action 7, the host processor 552 normalizes the unnormalized initial base call classification score (for example, by applying a softmax function) to generate a normalized initial base call classification score, i.e., the initial base call.
[0182] In Action 8, the detection and filtering logic 146, running on the host processor 552, uses the normalized initial base call classification score / initial base call to identify untrustworthy clusters among multiple clusters based on the generation of filter values, as described above in the section titled "Detection and Filtering of Untrustworthy Clusters".
[0183] In action 9, the host processor 552 sends data to the dataflow logic 597 to identify untrusted clusters. Untrusted clusters can be identified by the instrument ID, run number on the instrument, flow cell ID, lane number, tile number, cluster's X coordinate, cluster's Y coordinate, and unique molecular identifier (UMI).
[0184] In action 10, dataflow logic 597 requests the remaining per-cluster data from memory 548B. The remaining per-cluster data, as described above, includes image patches centered on the target cluster and shows the intensity emission of the target cluster in the remaining sequencing cycles of the sequencing operation, i.e., the sequencing cycles of the sequencing operation that do not include the first subset of the sequencing cycles of the sequencing operation. For example, the remaining per-cluster data may include image patches from the 26th to the 100th sequencing cycle (the last 75 sequencing cycles) of a 100-cycle sequencing operation.
[0185] In action 11, memory 548B sends the remaining per-cluster data to dataflow logic 597.
[0186] In action 12, data flow logic 597 generates trusted per-cluster data by using data that identifies untrusted clusters to remove per-cluster data representing untrusted clusters from the remaining per-cluster data.
[0187] In action 13, the dataflow logic 597 provides the remaining reliable per-cluster data to the configurable processor 546.
[0188] Action 14 further configures the neural network-based base caller 104, which operates on the configurable processor 546, to bypass the generation of remaining base call classification scores for untrustworthy clusters by generating only the remaining base call classification scores for clusters that are not untrustworthy among the multiple clusters, and for the remaining sequencing cycles. In one embodiment, the remaining base call classification scores are not normalized, for example, not subjected to exponential normalization by a softmax function.
[0189] In action 15, the configurable processor 546 sends the remaining unnormalized base call classification score to the dataflow logic 597.
[0190] In Action 16, the dataflow logic 597 provides the remaining unnormalized base call classification score to the host processor 552.
[0191] In action 17, the host processor 552 normalizes the remaining unnormalized base call classification scores (for example, by applying a softmax function) to produce the normalized remaining base call classification scores, i.e., the remaining bases.
[0192] technical improvements Figures 9, 10, 11, 12, and 13 show the results of a comparative analysis of empty and non-empty well detection between the dataflow logic disclosed herein and referred to as “DeepRTA” and Illumina’s conventional base caller called Real-Time Analysis (RTA) software.
[0193] In Figure 9, in all three plots, the x-axis represents the minimum score difference over the first 25 cycles, where the score difference is the result of subtracting the second-highest likelihood from the highest likelihood. The y-axis represents the number of clusters within a single tile. The first plot shows the results for clusters that passed the RTA chastity filter. The intermediate plot is for empty wells (according to RTA, these nanowells have no clusters). The third plot shows the results for clusters that failed the RTA chastity filter. A large number of clusters detected as unreliable using the RTA chastity filter have at least one instance of a low score difference over the first 25 cycles.
[0194] Figure 10 shows the alignment metric for one tile. The last column shows the alignment metric using trusted clusters based on RTA chastity filtering and RTA base calls. The second to last column shows the alignment metric using trusted clusters based on RTA chastity filtering and DeepRTA base calls. The first two columns are the alignment metrics using DeepRTA base calls and trusted clusters based on the disclosed dataflow logic, with a threshold of 0.8 (first column) or 0.9 (second column), and two of the first 25 cycles must not meet the threshold for being considered unreliable.
[0195] In Figure 11, a threshold of 0.97 is added, similar to Figure 10. Using the disclosed dataflow logic and threshold of 0.97, more clusters are detected as trustworthy compared to using the RTA chastity filter, while maintaining a similar (or better) alignment metric.
[0196] Figure 12 shows the alignment metrics based on data from 18 tiles of the sequencing operation. The first column is DeepRTA base calls and trusted clusters using a threshold of 0.97 (highest likelihood minus the second highest likelihood), where two out of the first 25 cycles must be below the threshold considered untrustworthy. The last column is DeepRTA base calls and trusted clusters using the RTA chastity filter. Using the disclosed dataflow logic, more clusters are found to be trusted compared to using the RTA chastity filter, while maintaining similar alignment metrics.
[0197] Figure 13 shows a comparison of the RTA chastity filter with the disclosed dataflow logic using different thresholds. A large proportion of untrustworthy clusters detected by the disclosed dataflow logic were also detected as untrustworthy by the RTA chastity filter.
[0198] Computer system Figure 14 shows a computer system 1400 that may be used by a sequencing system 500A to implement the base call technique disclosed herein. The computer system 1400 includes at least one central processing unit (CPU) 1472 that communicates with a number of peripheral devices via a bus subsystem 1455. These peripheral devices may include, for example, a storage subsystem 858 including a memory device and file storage subsystem 1436, a user interface input device 1438, a user interface output device 1476, and a network interface subsystem 1474. The input and output devices enable user interaction with the computer system 1400. The network interface subsystem 1474 provides an interface to an external network, including interfaces to corresponding interface devices in other computer systems.
[0199] In one embodiment, the system controller 506 is linked to the storage subsystem 1410 and the user interface input device 1438 in a communicative manner.
[0200] The user interface input device 1438 may include pointing devices such as keyboards, mice, trackballs, touchpads, or graphics tablets, scanners, touchscreens integrated into displays, audio input devices such as voice recognition systems and microphones, and other types of input devices. In general, the use of the term “input device” is intended to include all possible types of devices and methods for inputting information into the computer system 1400.
[0201] The user interface output device 1476 may include non-visual displays such as a display subsystem, printer, fax machine, or audio output device. The display subsystem may include flat panel devices such as LED displays, cathode ray tubes (CRTs), liquid crystal displays (LCDs), projection devices, or any other mechanism for creating visible images. The display subsystem may also provide non-visual displays such as audio output devices. In general, the use of the term “output device” is intended to include all possible types of devices and methods for outputting information from the computer system 1400 to a user or another machine or computer system.
[0202] The memory subsystem 858 stores programming and data constructs that provide some or all of the functions of the modules and methods described herein. These software modules are generally executed by the deep learning processor 1478.
[0203] The deep learning processor 1478 may be a graphics processing unit (GPU), a field-programmable gate array (FPGA), an application-specific integrated circuit (ASIC), and / or a coarse-grained reconfigurable structure (CGRA). The deep learning processor 1478 may be hosted by a deep learning cloud platform such as Google Cloud Platform®, Xilinx®, and Cirrascale®. Examples of deep learning processors 1478 include Google's Tensor Processing Unit (TPU) (trademark), rackmount solutions such as the GX4 Rackmount Series (trademark) and GX14 Rackmount Series (trademark), Qualcomm's Zeroth Platform (trademark) with NVIDIA DGX-1 (trademark), Microsoft's Stratix V FPGA (trademark), Graphcore's Intelligent Processor Unit (IPU) (trademark), Snapdragon processors (trademark), NVIDIA's Volta (trademark), NVIDIA's DRIVE PX (trademark), NVIDIA's JETSON TX1 / TX2 MODULE (trademark), Intel's Nirvana (trademark), Movidius VPU (trademark), Fujitsu DPI (trademark), ARM's DynamicIQ (trademark), IBM TrueNorth (trademark), Lambda GPU Server with Testa V100s (trademark), and others.
[0204] The memory subsystem 1422 used in the storage subsystem 858 may include a number of memories, including a main random access memory (RAM) 1432 for storing instructions and data during program execution, and a read-only memory (ROM) 1434 for storing fixed instructions. The file storage subsystem 1436 can provide persistent storage for program and data files, which may include a hard disk drive, a floppy disk drive with associated removable media, a CD-ROM drive, an optical drive, or a removable media cartridge. Modules implementing the functionality of a particular embodiment may be stored by the file storage subsystem 1436 within the storage subsystem 858 or in other machines accessible by the processor.
[0205] The bus subsystem 1455 provides a mechanism for various components and subsystems of the computer system 1400 to communicate with each other as intended. Although the bus subsystem 1455 is schematically shown as a single bus, alternative embodiments of the bus subsystem may use multiple buses.
[0206] The computer system 1400 itself can be of various types, including personal computers, portable computers, workstations, computer terminals, network computers, televisions, mainframes, server farms, a widely distributed set of loosely networked computers, or any other data processing systems or user devices. Because computers and networks are constantly changing in nature, the description of the computer system 1400 shown in Figure 14 is intended only as a specific example for the purpose of illustrating preferred embodiments of the invention. Many other configurations of the computer system 1400 may have more or fewer components than the computer system shown in Figure 14.
[0207] Specific Embodiments This document describes various embodiments of cluster filtering based on artificial intelligence predictive base calls. One or more features of an embodiment can be combined with the base embodiment and can be implemented as a system, method, or article. Embodiments that are not mutually exclusive are taught to be combinable. One or more features of an embodiment can be combined with other embodiments. This disclosure periodically informs users of these options. The omission of some embodiments from the repetitive enumeration of these options should not be construed as limiting the combinations taught in the preceding sections. These descriptions are incorporated herein by reference to each of the embodiments below.
[0208] In one embodiment, the disclosed technique proposes a computer implementation method for identifying unreliable clusters in order to improve the accuracy and efficiency of neural network-based base calls. The disclosed technique accesses cycle-by-cycle cluster data for multiple clusters and for a first subset of sequencing cycles of a sequencing operation.
[0209] The disclosed technique uses a neural network-based base caller to base call each cluster among multiple clusters in each sequencing cycle within a first subset of sequencing cycles. This includes processing the cycle-by-cycle cluster data via the neural network-based base caller and generating an intermediate representation of the cycle-by-cycle cluster data. This further includes processing the intermediate representation via an output layer and generating cluster-by-cluster, cycle-by-cycle probability quartiles for each cluster and for each sequencing cycle. A particular cluster-by-cluster, cycle-by-cycle probability quartile identifies the probabilities of A, C, T, and G, which are bases incorporated into a particular cluster in a particular sequencing cycle.
[0210] The disclosed technique generates an array of filter values for each cluster by determining a filter value for each cluster and cycle based on the probability identified by each cluster and cycle's probability quartile.
[0211] The disclosed technology identifies clusters among multiple clusters that contain N filter values whose array of filter values falls below a threshold of M as unreliable clusters.
[0212] The disclosed technique uses a neural network-based base caller to base call only clusters that are not identified as untrustworthy clusters among multiple clusters for the remainder of the sequencing cycle, by bypassing base calls to untrustworthy clusters for the remainder of the sequencing cycle of the sequencing operation.
[0213] item 1. A computer implementation method for identifying unreliable clusters in order to improve the accuracy and efficiency of base calls, the method being: Accessing per-cycle cluster data for multiple clusters and for the first subset of the sequencing cycles of the sequencing operation, This involves making base calls to each cluster among multiple clusters in each sequencing cycle within the first subset of sequencing cycles, This involves processing the cluster data for each cycle and generating an intermediate representation of the cluster data for each cycle. This includes processing the intermediate representation via an output layer to generate cluster-specific, cycle-specific probability quartiles for each cluster and for each sequencing cycle, wherein a particular cluster-specific, cycle-specific probability quartile identifies the probabilities of the bases A, C, T, and G incorporated into a particular cluster in a particular sequencing cycle. Based on the probabilities identified by the probability quartiles for each cluster and each cycle, filter values are determined for each probability quartile for each cluster and each cycle, thereby generating an array of filter values for each cluster. Identifying clusters among multiple clusters that contain at least "N" filter values whose array of filter values falls below the threshold "M" as unreliable clusters, A computer implementation method comprising: bypassing base calls to untrusted clusters in the remainder of a sequencing cycle of a sequencing operation, thereby making base calls only to clusters among multiple clusters that are not identified as untrusted clusters in the remainder of a sequencing cycle. 2. The computer implementation method described in item 1, wherein the filter values for the probability quartiles for each cluster and each cycle are determined based on an arithmetic operation involving one or more of the probabilities. 3. The arithmetic operation is subtraction, as described in the computer implementation methods in items 1 and 2. 4. The computer implementation method described in items 1-3, in which the filter value for the probability quartiles for each cluster and each cycle is determined by subtracting the second highest probability from the highest probability. 5. The arithmetic operation is division, as described in the computer implementation methods in items 1-4. 6. The filter value for the probability quartiles for each cluster and each cycle is determined as the ratio of the highest probability to the second highest probability, as described in the computer implementation methods in items 1-5. 7. Arithmetic operations are addition, as described in the computer implementation methods in items 1-6. 8. The arithmetic operation is multiplication, as described in the computer implementations in items 1-7. 9. "N" is in the range of 1 to 5, and is a computer implementation method as described in items 1 to 8. 10. "M" is in the range of 0.5 to 0.99, as per the computer implementation methods described in items 1 to 9. 11. The first subset is the computer implementation method described in items 1 to 10, which includes 1 to 25 sequencing cycles of the sequencing operation. 12. The first subset is the computer implementation method described in items 1 to 11, which includes 1 to 50 sequence determination cycles of the sequence determination operation. 13. The output layer is a softmax layer, and the probability in the probability quartiles for each cluster and each cycle is exponentially normalized, resulting in a classification score where the sum is 1, as described in items 1-12 of the computer implementation method. 14. Unreliable clusters are those that appear as empty wells, polyclonal wells, and ambiguous wells on a patterned flow cell, as described in the computer implementations in items 1-13. 15. The filter value is generated by the filtering function using the computer implementation method described in items 1-14. 16. The filtering function is a chasty filter, which defines chasty as the ratio of the brightest base intensity divided by the sum of the brightest base intensity and the second brightest base intensity, as described in the computer implementation methods of items 1-15. 17. The computer implementation method described in items 1 to 16, wherein the filtering function is at least one of the maximum log probability function, least squares error function, mean signal-to-noise ratio (SNR), and least absolute error function. 18. The method involves determining the average SNR of sequencing cycles within a first subset of sequencing cycles for each cluster, based on the intensity data of the cluster data for each cycle, wherein the intensity data represents the intensity radiation of the clusters within multiple clusters and the intensity radiation of the surrounding background. Computer implementation methods described in items 1-17, further including identifying clusters among multiple clusters whose average SNR falls below a threshold as unreliable clusters. 19. Based on the maximum probability score in the probability quartile for each cluster and cycle generated for the sequencing cycles within the first subset of sequencing cycles, the mean probability score for each cluster is determined. A computer implementation method of items 1-18, further comprising identifying clusters among multiple clusters whose mean probability score falls below a threshold as unreliable clusters. 20. A system for improving the accuracy and efficiency of neural network-based base calls, wherein the system is A memory that stores, for multiple clusters, initial cluster data for the initial sequencing cycle of the sequencing operation and remaining cluster data for the remaining sequencing cycles of the sequencing operation, A host processor having access to memory and configured to perform detection and filtering logic to identify untrusted clusters, A configurable processor having access to memory and configured to run a neural network and generate a base call classification score, Data flow logic having access to memory, a host processor, and a configurable processor, The process involves providing initial cluster data to a neural network and causing the neural network to generate initial base call classification scores for multiple clusters and for the initial sequencing cycle, based on generating initial intermediate representations from the initial cluster data. The initial base call classification score is provided to the detection and filtering logic, and the detection and filtering logic is made to identify untrustworthy clusters among multiple clusters based on the generation of filter values from the initial base call classification score. The remaining cluster data is provided to the neural network, and the neural network is made to generate the remaining intermediate representation from the remaining cluster data. A system comprising: data flow logic configured to provide a configurable processor with data that identifies untrusted clusters, and to cause the configurable processor to generate a trustworthy remaining intermediate representation by removing from the remaining intermediate representation portions the untrusted clusters arising from the remaining portions of cluster data; and 21. The system described in item 20, wherein the configurable processor is further configured to provide the neural network with a reliable remaining intermediate representation, causing the neural network to generate only the remaining base call classification scores for clusters that are not unreliable among the multiple clusters, and for the remaining sequencing decision cycles, thereby bypassing the generation of the remaining base call classification scores for unreliable clusters. 22. Initial and remaining base call classification scores are not normalized, as described in items 20-21. 23. The dataflow logic is further configured to provide the host processor with unnormalized initial and remaining base call classification scores, causing the host processor to apply an output function to generate exponentially normalized initial and remaining base call classification scores that sum to 1, and to indicate the probabilities of A, C, T, and G being incorporated into a particular cluster in a particular sequencing cycle. The output function is at least one of the following: softmax function, log-softmax function, ensemble output mean function, multilayer perceptron uncertainty function, Bayesian Gaussian distribution function, and cluster strength function, as described in items 20-22. 24. The system described in items 20-23, wherein the host processor is further configured to generate filter values from an exponentially normalized initial base call classification score based on arithmetic operations involving one or more probabilities. 25. The arithmetic operation is subtraction, as described in items 20-24. 26. The filter value is generated by subtracting the second-highest probability from the highest probability, as described in items 20-25. 27. The arithmetic operation is division, as described in items 20-26. 28. The filter value is generated as the ratio of the highest probability among the probabilities to the second highest probability among the probabilities, as described in items 20-27. 29. Arithmetic operations are addition, as described in items 20-28. 30. The arithmetic operation is multiplication, as described in items 20-29. 31. The host processor is further configured to generate filter values based on the mean signal-to-noise ratio (SNR) determined for each cluster from the intensity data in the initial cluster data, and the intensity data represents the intensity radiation of the clusters among multiple clusters and the intensity radiation of the surrounding background, as described in items 20-30 of the system. 32. The system described in items 20-31, wherein the host processor is further configured to generate filter values based on the mean probability score determined for each cluster from the highest classification score among the initial base call classification scores. 33. Data to identify untrusted clusters: The system described in items 20-32 identifies the location coordinates of untrusted clusters. 34. The system described in items 20-33, wherein the host processor is further configured to identify clusters among multiple clusters that have N filter values for initial sequencing cycles below a threshold M as unreliable clusters. 35. "N" is in the range of 1 to 5, as described in items 20 to 34. 36. "M" is in the range of 0.5 to 0.99, as described in items 20 to 35. 37. The system described in items 20-36, wherein the host processor is further configured to bypass base calls to unreliable clusters in the remaining sequencing cycles by base calling only the non-unreliable clusters among multiple clusters in the remaining sequencing cycles, based on the highest score among the remaining base call classification scores which have been exponentially normalized. 38. The initial cluster data and the remaining cluster data are pixelated data. The intermediate representation is a pixelated feature map, The part is a pixel, as described in items 20-37 of the system. 39. Data for identifying unreliable clusters is the system described in items 20-38, which identifies pixels that show intensity radiation of unreliable clusters in the initial cluster data and the remaining cluster data. 40. Data that identifies unreliable clusters identifies pixels that do not show any intensity emission, as described in items 20-39. 41. The configurable processor is further configured to generate a reliable remaining intermediate representation by the spatial convolutional layer of the neural network from the pixelated feature maps generated from the remaining cluster data, by discarding feature map pixels resulting from pixels of the remaining cluster data that indicate the intensity radiation of unreliable clusters captured for the remaining sequencing cycles, as described in items 20-40. 42. The remaining intermediate representations are the systems described in items 20-41, having a total number of pixels that is 4 to 9 times that of the reliable remaining intermediate representations. 43. Discarding allows the neural network to generate the remaining base call classification score by performing fewer computational operations by operating with fewer pixels, as described in items 20-42. 44. Discarding data reduces the amount of data exchanged with the configurable processor, including cluster strength status information, and the amount of data stored, as described in items 20-43. 45. Unreliable clusters are those found in the systems described in items 20-44, which include empty wells, polyclonal wells, and ambiguous wells on patterned flow cells. 46. A system for improving the accuracy and efficiency of neural network-based base calls, wherein the system is A memory that stores, for multiple clusters, initial cluster data for the initial sequencing cycle of the sequencing operation and remaining cluster data for the remaining sequencing cycles of the sequencing operation, A host processor having access to memory and configured to perform detection and filtering logic to identify untrusted clusters, A configurable processor having access to memory and configured to run a neural network and generate a base call classification score, Data flow logic having access to memory, a host processor, and a configurable processor, The process involves providing initial cluster data to a neural network and causing the neural network to generate initial base call classification scores for multiple clusters and for the initial sequencing cycle, based on generating initial intermediate representations from the initial cluster data. The initial base call classification score is provided to the detection and filtering logic, and the detection and filtering logic is made to identify untrustworthy clusters among multiple clusters based on the generation of filter values from the initial base call classification score. The remaining cluster data is provided to the neural network, and the neural network generates the remaining base call classification scores for multiple clusters and for the remaining sequencing cycles based on generating the remaining intermediate representations from the remaining cluster data. A system comprising data flow logic configured to provide the host processor with the remaining base call classification scores, and to bypass base calls to untrusted clusters in the remaining sequencing cycle by having the host processor base call only the clusters that are not untrusted among multiple clusters, using data that identifies untrusted clusters. 47. A system for improving the accuracy and efficiency of neural network-based base calls, wherein the system is A memory that stores, for multiple clusters, initial cluster-by-cluster data for the initial sequencing cycle of the sequencing operation, and remaining cluster-by-cluster data for the remaining sequencing cycles of the sequencing operation. A host processor having access to memory and configured to perform detection and filtering logic to identify untrusted clusters, A configurable processor having access to memory and configured to run a neural network and generate a base call classification score, Data flow logic having access to memory, a host processor, and a configurable processor, The process involves providing the neural network with initial cluster-specific data, and having the neural network generate initial base call classification scores for multiple clusters and for the initial sequencing cycle, based on generating initial intermediate representations from the initial cluster-specific data. The initial base call classification score is provided to the detection and filtering logic, and the detection and filtering logic is made to identify untrustworthy clusters among multiple clusters based on the generation of filter values from the initial base call classification score. Using data that identifies untrusted clusters, we generate reliable remaining cluster-by-cluster data by removing the cluster-by-cluster data representing untrusted clusters from the remaining cluster-by-cluster data. A system comprising: data flow logic configured to provide a neural network with reliable data for each remaining cluster, and to cause the neural network to generate only the remaining base call classification scores for clusters that are not unreliable among the multiple clusters, and for the remaining sequencing cycles, thereby bypassing the generation of remaining base call classification scores for unreliable clusters. 48. A non-temporary computer-readable storage medium storing computer program instructions for identifying unreliable clusters and improving the accuracy and efficiency of base calls, wherein the instructions, when executed on a processor, Accessing per-cycle cluster data for multiple clusters and for the first subset of the sequencing cycles of the sequencing operation, This involves making base calls to each cluster among multiple clusters in each sequencing cycle within the first subset of sequencing cycles, This involves processing the cluster data for each cycle and generating an intermediate representation of the cluster data for each cycle. This includes processing the intermediate representation via an output layer to generate cluster-specific, cycle-specific probability quartiles for each cluster and for each sequencing cycle, wherein a particular cluster-specific, cycle-specific probability quartile identifies the probabilities of the bases A, C, T, and G incorporated into a particular cluster in a particular sequencing cycle. Based on the probabilities identified by the probability quartiles for each cluster and each cycle, filter values are determined for each probability quartile for each cluster and each cycle, thereby generating an array of filter values for each cluster. Identifying clusters among multiple clusters that contain at least "N" filter values whose array of filter values falls below the threshold "M" as unreliable clusters, A non-temporary computer-movable storage medium that implements a method including, for the remainder of a sequencing cycle, making base calls only to clusters among multiple clusters that are not identified as untrusted clusters, by bypassing base calls to untrusted clusters for the remainder of a sequencing cycle of a sequencing operation. 49. A system comprising one or more processors coupled to memory, wherein the memory is loaded with computer instructions for performing base calls, and when the instructions are executed on the processor, Accessing per-cycle cluster data for multiple clusters and for the first subset of the sequencing cycles of the sequencing operation, This involves making base calls to each cluster among multiple clusters in each sequencing cycle within the first subset of sequencing cycles, This involves processing the cluster data for each cycle and generating an intermediate representation of the cluster data for each cycle. This includes processing the intermediate representation via an output layer to generate cluster-specific, cycle-specific probability quartiles for each cluster and for each sequencing cycle, wherein a particular cluster-specific, cycle-specific probability quartile identifies the probabilities of the bases A, C, T, and G incorporated into a particular cluster in a particular sequencing cycle. Based on the probabilities identified by the probability quartiles for each cluster and each cycle, filter values are determined for each probability quartile for each cluster and each cycle, thereby generating an array of filter values for each cluster. Identifying clusters among multiple clusters that contain at least "N" filter values whose array of filter values falls below the threshold "M" as unreliable clusters, A system that performs actions including, for the remainder of a sequencing cycle, base calling only clusters that are not identified as untrusted clusters among multiple clusters, by bypassing base calls to untrusted clusters for the remainder of the sequencing cycle of a sequencing operation.
[0214] The present invention is disclosed with reference to the preferred embodiments and examples described above, but it should be understood that these embodiments are intended to be illustrative rather than restrictive. Those skilled in the art will readily be able to modify and combine the invention, and such modifications and combinations will be considered to fall within the spirit of the invention and the scope of the following claims. [Explanation of Symbols]
[0215] 102 Data Providers 104 Neural Network-Based Base Callers 106 Probability Quartiles Cluster data every 112 cycles 116 Filter Calculator 124 Unreliable clusters 126 filter values 132 Image Generation System 136 Untrusted cluster identifiers 142 Bypass Logic 146 Detection and filtering logic 500 Sequence Determination Systems 502 Common Housing 504 Temperature Control System 506 System Controller 508 Fluid Control System 510 System receiving section 512 Biosensors 514 Fluid storage systems 516 Lighting System 518 User Interface 520 displays 522 User Input Devices 524 Main control module 526 Lighting Modules 528 Fluid Control Module 530 Fluid Storage Module 532 Temperature control module 534 Communication Link 536 device modules 538 Identification Module 542 Amplifier Module 544 Analysis Modules 546 configurable processors 548 memory 550 communication ports 552 host processors 589 Bus 593 Bus 595 Control Path 597 Dataflow Logic 599 Data Channels 1400 Computer Systems 1410 Memory subsystem 1422 Memory subsystem used 1432 RAM 1434ROM 1436 File Storage Subsystem 1438 User Interface Input Devices 1455 Bus Subsystem 1472 Central Processing Unit (CPU) 1474 Network Interface Subsystem 1476 User Interface Output Device 1478 Deep Learning Processor
Claims
1. 1. A computer-implemented method for identifying unreliable clusters and improving base calling accuracy and efficiency, the method comprising: accessing cycle-by-cycle cluster data for a plurality of clusters and for a first subset of sequencing cycles of the sequencing operation; calling a multi-pixel image with a neural network based base caller for each cluster among the plurality of clusters at each sequencing cycle in a first subset of sequencing cycles; processing the cycle-by-cycle cluster data and generating an intermediate representation of the cycle-by-cycle cluster data via the neural network-based base caller; processing the intermediate representation through a normalization function of an output layer of the neural network based base caller to generate per-cluster, per-cycle probability quartiles for each cluster and for each sequencing cycle, wherein a particular per-cluster, per-cycle probability quartile identifies the probability of A, C, T, and G being incorporated into a particular cluster in a particular sequencing cycle; using the identified probabilities to determine a filter value as a function of the highest probability of making a base call for each cluster and for each cycle probability quartile, thereby generating an array of filter values for each cluster; identifying those clusters among said plurality of clusters whose sequence of filter values includes at least "N" filter values below a threshold "M" as unreliable clusters; and bypassing base calling of the unreliable cluster in a remainder of a sequencing cycle of the sequencing operation, thereby base calling only clusters among the plurality of clusters that are not identified as the unreliable cluster in a remainder of the sequencing cycle.
2. The computer-implemented method of claim 1 , wherein the filter values for each cluster, each cycle probability quartiles are determined based on an arithmetic operation involving one or more of the probabilities.
3. The computer-implemented method of claim 2 , wherein the arithmetic operation is subtraction.
4. 4. The computer-implemented method of claim 1, wherein the filter value for the per-cluster, per-cycle probability quartile is determined by subtracting the second-highest one of the probabilities from the highest one of the probabilities.
5. The computer-implemented method of any one of claims 2 to 4, wherein the arithmetic operation is division.
6. 4. The computer-implemented method of claim 1, wherein the filter value for the probability quartile for each cluster and cycle is determined as a ratio of the highest one of the probabilities to the second highest one of the probabilities.
7. The computer-implemented method of claim 2 , wherein the arithmetic operation is an addition.
8. The computer-implemented method of claim 2 , wherein the arithmetic operation is a multiplication.
9. The computer-implemented method of any one of claims 1 to 8, wherein the at least "N" filter values range from 1 to 5.
10. The computer-implemented method of any one of claims 1 to 9, wherein "M" is in the range of 0.5 to 0.
99.
11. The computer-implemented method of claim 1, wherein the first subset of sequencing cycles includes 1 to 25 sequencing cycles of the sequencing operation.
12. The computer-implemented method of claim 1, wherein the first subset of sequencing cycles comprises 1 to 50 sequencing cycles of the sequencing operation.
13. 13. The computer-implemented method of any one of claims 1 to 12, wherein the output layer is a softmax layer and the probabilities at probability quartiles for each cluster and each cycle are exponentially normalized classification scores that sum to one.
14. The computer-implemented method of any one of claims 1 to 13, wherein the unreliable clusters represent empty wells, polyclonal wells, and ambiguous wells on a patterned flow cell.
15. A system for improving accuracy and efficiency of neural network based base calling, the system comprising: a memory that stores, for a plurality of clusters, initial cluster data as a multi-pixel image for an initial sequencing cycle of a sequencing operation and remaining cluster data for remaining sequencing cycles of the sequencing operation; a host processor having access to the memory and configured to execute detection and filtering logic to identify unreliable clusters; a configurable processor having access to the memory and configured to execute a neural network to generate base call classification scores; data flow logic having access to the memory, the host processor, and the configurable processor; providing the initial cluster data to the neural network, causing the neural network to generate initial intermediate representations from the initial cluster data, and generating initial base call classification scores for the plurality of clusters and for the initial sequencing cycle by processing the initial intermediate representations through a normalization function in an output layer of the neural network; providing the initial base call classification scores to the detection and filtering logic, and causing the detection and filtering logic to generate filter values using the initial base call classification scores as a function of a highest classification score determining a base call, and identifying unreliable clusters within the plurality of clusters based on the generated filter values; providing the remaining cluster data to the neural network and causing the neural network to generate a remaining intermediate representation from the remaining cluster data; and data flow logic configured to: provide data identifying the unreliable clusters to the configurable processor; and cause the configurable processor to generate a reliable remaining intermediate representation by removing from the remaining intermediate representation portions representing the unreliable clusters that arise from portions of the remaining cluster data.
16. The system of claim 15, further configured to generate initial base call classification scores for the plurality of clusters and for the initial sequencing cycle by generating cluster-wise, cycle-wise probability quartiles for each cluster and for each sequencing cycle, wherein a particular cluster-wise, cycle-wise probability quartile identifies the probability of A, C, T, and G being bases incorporated into a particular cluster in a particular sequencing cycle.
17. The system of claim 16, wherein filter values for probability quartiles for each cluster and each cycle are determined based on arithmetic operations involving one or more of the probabilities.
18. The system of claim 17, wherein the arithmetic operation is subtraction, division, addition, or multiplication.
19. The system of claim 17, wherein the filter value for each cluster and cycle probability quartile is determined by subtracting the second highest probability among the probabilities from the highest probability among the probabilities.
20. The system described in claim 17, wherein the filter value for the probability quartile for each cluster and cycle is determined as the ratio of the highest probability among the probabilities to the second highest probability among the probabilities.
