Training data generation for AI-based sequencing

Through neural network-based sub-pixel base calling technology and deep learning system, it solves the problem of data analysis of closely related or overlapping clusters in high-density nucleic acid cluster sequencing, improves sequencing throughput and quality, and achieves cost-effective near real-time analysis. .

CN112313666BInactive Publication Date: 2024-09-06ILLUMINA INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080003622.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-03-20
Filing Date
2020-03-21
Publication Date
2024-09-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing high-density nucleic acid cluster sequencing technology is difficult to accurately analyze data when dealing with closely adjacent or overlapping nucleic acid clusters, resulting in limited nucleic acid sequencing throughput and quality, and the inability to obtain sufficient nucleic acid sequencing data quickly and cost-effectively.

Method used

Using a neural network-based approach, sub-pixel base calling technology and a deep learning system are used to generate templates to resolve position uncertainty, and upsampling image technology is used to identify cluster centers and shapes to generate training data sets to improve base classification. accuracy.

Benefits of technology

Improved throughput levels and data quality for nucleic acid sequencing, reduced hardware costs, enabled cost-effective near-real-time analysis, and reduced lag between image collection and base classification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112313666B_ABST
    Figure CN112313666B_ABST
Patent Text Reader

Abstract

The technology disclosed in the present invention relates to generating ground truth training data to train a neural network-based template generator for cluster metadata determination tasks. Specifically, the technology involves: accessing a sequencing image; obtaining a base call from a base caller that classifies each sub-pixel in the sequencing image into one of four bases (A, C, T, and G); generating a cluster map that identifies clusters as non-intersecting regions of adjacent sub-pixels that share substantially matching base call sequences; determining cluster metadata based on the non-intersecting regions in the cluster map; and using the cluster metadata to generate the ground truth training data for training the neural network-based template generator for the cluster metadata determination task.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Priority application

[0002] This patent application claims priority or the benefit of the following patent applications:

[0003] U.S. Provisional Patent Application No. 62 / 821,602, entitled “Training Data Generation for Artificial Intelligence-Based Sequencing,” filed on March 21, 2019 (Attorney Docket No. ILLM 1008-1 / IP-1693-PRV);

[0004] U.S. Provisional Patent Application No. 62 / 821,618, entitled “Artificial Intelligence-Based Generation of Sequencing Metadata,” filed on March 21, 2019 (Attorney Docket No. ILLM 1008-3 / IP-1741-PRV);

[0005] U.S. Provisional Patent Application No. 62 / 821,681, entitled “Artificial Intelligence-Based Base Calling,” filed on March 21, 2019 (Attorney Docket No. ILLM 1008-4 / IP-1744-PRV);

[0006] U.S. Provisional Patent Application No. 62 / 821,724, entitled “Artificial Intelligence-Based QualityScoring,” filed on March 21, 2019 (Attorney Docket No. ILLM 1008-7 / IP-1747-PRV);

[0007] U.S. Provisional Patent Application No. 62 / 821,766, entitled “Artificial Intelligence-Based Sequencing,” filed on March 21, 2019 (Attorney Docket No. ILLM 1008-9 / IP-1752-PRV);

[0008] Netherlands Patent Application No. 2023310, entitled “Training Data Generation for Artificial Intelligence-Based Sequencing,” filed on June 14, 2019 (Attorney Docket No. ILLM1008-11 / IP-1693-NL);

[0009] Netherlands Patent Application No. 2023311, entitled “Artificial Intelligence-Based Generation of Sequencing Metadata,” filed on June 14, 2019 (attorney docket number ILLM 1008-12 / IP-1741-NL);

[0010] Netherlands Patent Application No. 2023312, entitled “Artificial Intelligence-Based Base Calling,” filed on June 14, 2019 (Attorney Docket No. ILLM 1008-13 / IP-1744-NL);

[0011] Netherlands Patent Application No. 2023314, entitled “Artificial Intelligence-Based QualityScoring,” filed on June 14, 2019 (Attorney Docket No. ILLM 1008-14 / IP-1747-NL);

[0012] Netherlands Patent Application No. 2023316, entitled “Artificial Intelligence-Based Sequencing,” filed on June 14, 2019 (Attorney Docket No. ILLM 1008-15 / IP-1752-NL); and

[0013] U.S. nonprovisional patent application No. 16 / 825,987, entitled “Training Data Generation for Artificial Intelligence-Based Sequencing,” filed on March 20, 2020 (Attorney Docket No. ILLM 1008-16 / IP-1693-US);

[0014] U.S. nonprovisional patent application No. 16 / 825,991, entitled “Training Data Generation for Artificial Intelligence-Based Sequencing,” filed on March 20, 2020 (Attorney Docket No. ILLM 1008-17 / IP-1741-US);

[0015] U.S. nonprovisional patent application No. 16 / 826,126, entitled “Artificial Intelligence-Based Base Calling,” filed on March 20, 2020 (Attorney Docket No. ILLM 1008-18 / IP-1744-US);

[0016] U.S. non-provisional patent application No. 16 / 826,134, entitled “Artificial Intelligence-Based QualityScoring,” filed on March 20, 2020 (Attorney Docket No. ILLM 1008-19 / IP-1747-US);

[0017] U.S. nonprovisional patent application No. 16 / 826,168, entitled “Artificial Intelligence-Based Sequencing,” filed on March 21, 2020 (Attorney Docket No. ILLM 1008-20 / IP-1752-PRV);

[0018] concurrently filed PCT Patent Application No. PCT_________ (Attorney Docket No. ILLM 1008-22 / IP-1741-PCT) entitled “Artificial Intelligence-Based Generation of Sequencing Metadata,” which was subsequently published as PCT Publication No. WO_________;

[0019] PCT Patent Application No. PCT_______ (Attorney Docket No. ILLM 1008-23 / IP-1744-PCT), entitled “Artificial Intelligence-Based Base Calling”, filed concurrently, which was subsequently published as PCT Publication No. WO_________;

[0020] concurrently filed PCT Patent Application No. PCT_______ (Attorney Docket No. ILLM 1008-24 / IP-1747-PCT) entitled “Artificial Intelligence-Based Quality Scoring,” which was subsequently published as PCT Publication No. WO_____________; and

[0021] A PCT patent application entitled “Artificial Intelligence-Based Sequencing” was filed at the same time as PCT Patent Application No. PCT_______ (Agent Docket No. ILLM 1008-25 / IP-1752-PCT), which was subsequently published as PCT Publication No. WO__________.

[0022] These priority applications are hereby incorporated by reference as if fully set forth herein for all purposes.

[0023] Literature Incorporation

[0024] The following documents are incorporated by reference as if fully set forth herein for all purposes:

[0025] U.S. Provisional Patent Application No. 62 / 849,091, entitled “Systems and Devices for Characterization and Performance Analysis of Pixel-Based Sequencing,” filed on May 16, 2019 (Attorney Docket No. ILLM 1011-1 / IP-1750-PRV);

[0026] U.S. Provisional Patent Application No. 62 / 849,132, entitled “Base Calling Using Convolutions,” filed on May 16, 2019 (Attorney Docket No. ILLM 1011-2 / IP-1750-PR2);

[0027] U.S. Provisional Patent Application No. 62 / 849,133, entitled “Base Calling Using Compact Convolutions,” filed on May 16, 2019 (Attorney Docket No. ILLM 1011-3 / IP-1750-PR3);

[0028] U.S. Provisional Patent Application No. 62 / 979,384, entitled “Artificial Intelligence-Based Base Calling of Index Sequences,” filed on February 20, 2020 (Attorney Docket No. ILLM 1015-1 / IP-1857-PRV);

[0029] U.S. Provisional Patent Application No. 62 / 979,414, entitled “Artificial Intelligence-Based Many-To-ManyBase Calling,” filed on February 20, 2020 (Attorney Docket No. ILLM 1016-1 / IP-1858-PRV);

[0030] U.S. Provisional Patent Application No. 62 / 979,385, entitled “Knowledge Distillation-Based Compression of Artificial Intelligence-Based Base Caller,” filed on February 20, 2020 (Attorney Docket No. ILLM 1017-1 / IP-1859-PRV);

[0031] U.S. Provisional Patent Application No. 62 / 979,412, filed on February 20, 2020, entitled “Multi-Cycle Cluster Based Real Time Analysis System” (Attorney Docket No. ILLM 1020-1 / IP-1866-PRV);

[0032] U.S. Provisional Patent Application No. 62 / 979,411, entitled “Data Compression for Artificial Intelligence-Based Base Calling,” filed on February 20, 2020 (Attorney Docket No. ILLM 1029-1 / IP-1964-PRV);

[0033] U.S. Provisional Patent Application No. 62 / 979,399, entitled “Squeezing Layer for Artificial Intelligence-Based Base Calling,” filed on February 20, 2020 (Attorney Docket No. ILLM 1030-1 / IP-1982-PRV);

[0034] Liu P, Hemani A, Paul K, Weis C, Jung M, Wehn ​​N, “3D-Stacked Many-Core Architecture for Biological Sequence Analysis Problems”, Int J Parallel Prog, 2017, Vol. 45(No. 6): pp. 1420-1460;

[0035] Z. Wu, K. Hammad, R. Mittmann, S. Magierowski, E. Ghafar-Zadeh, and X. Zhong, “FPGA-Based DNA Basecalling Hardware Acceleration,” Proc. IEEE 61st Int. Midwest Symp. Circuits Syst., August 2018, pp. 1098–1101;

[0036] Z. Wu, K. Hammad, E. Ghafar-Zadeh, and S. Magierowski, “FPGA-Accelerated 3rd Generation DNA Sequencing,” IEEE Transactions on Biomedical Circuits and Systems, Vol. 14, No. 1, February 2020, pp. 65–74;

[0037] Prabhakar et al., “Plasticine: A Reconfigurable Architecture for Parallel Patterns,” ISCA 17, June 24-28, 2017, Toronto, ON, Canada;

[0038] M.Lin, Q.Chen and S.Yan, "Network in Network", Proc.of ICLR, 2014;

[0039] L.Sifre, "Rigid-motion Scattering for Image Classification", Ph.D. thesis, 2014;

[0040] L.Sifre and S.Mallat, "Rotation, Scaling and Deformation InvariantScattering for Texmre Discrimination", Proc.of CVPR, 2013;

[0041] F.Chollet, "Xception: Deep Learning with Depthwise SeparableConvolutions", Proc.of CVPR, 2017;

[0042] X. Zhang, X. Zhou, M. Lin, and J. Sun, “ShuffleNet: An Extremely Efficient Convolutional Neural Network for Mobile Devices,” arXiv:1707.01083, 2017;

[0043] K. He, X. Zhang, S. Ren, and J. Sun, “Deep Residual Learning for Image Recognition,” Proc. of CVPR, 2016;

[0044] S. Xie, R. Girshick, P. Dollár, Z. Tu, and K. He, “Aggregated Residual Transformations for Deep Neural Networks,” Proc. of CVPR, 2017;

[0045] A. G. Howard, M. Zhu, B. Chen, D. Kalenichenko, W. Wang, T. Weyand, M. Andreetto, and H. Adam, “Mobilenets: Efficient Convolutional Neural Networks for Mobile Vision Applications,” arXiv:1704.04861, 2017;

[0046] M. Sandler, A. Howard, M. Zhu, A. Zhmoginov, and L. Chen, “MobileNetV2: Inverted Residuals and Linear Bottlenecks,” arXiv:1801.04381v3, 2018;

[0047] Z. Qin, Z. Zhang, X. Chen, and Y. Peng, “FD-MobileNet: Improved MobileNet with a Fast Downsampling Strategy,” arXiv:1802.03750, 2018;

[0048] Liang-Chieh Chen, George Papandreou, Florian Schroff, and Hartwig Adam, "Rethinking atrous convolution for semantic image segmentation", CoRR, abs / 1706.05587, 2017;

[0049] J. Huang, V. Rathod, C. Sun, M. Zhu, A. Korattikara, A. Fathi, I. Fischer, Z. Wojna, Y. Song, S. Guadarrama, et al., "Speed / accuracy trade-offs for modern convolutional object detectors", arXiv preprint arXiv:1611.10012, 2016;

[0050] S. Dieleman, H. Zen, K. Simonyan, O. Vinyals, A. Graves, N. Kalchbrenner, A. Senior, and K. Kavukcuoglu, "WAVENET: A GENERATIVE MODEL FOR RAW AUDIO", arXiv:1609.03499, 2016;

[0051] S. S. Arik, M. Chrzanowski, A. Coates, G. Diamos, A. Gibiansky, Y. Kang, X. Li, J. Miller, A. Ng, J. Raiman, S. Sengupta, and M. Shoeybi, "DEEP VOICE: REAL-TIME NEURAL TEXT-TO-SPEECH", arXiv:1702.07825, 2017;

[0052] F. Yu and V. Koltun, "MULTI-SCALE CONTEXT AGGREGATION BY DILATED CONVOLUTIONS", arXiv:1511.07122, 2016;

[0053] K. He, X. Zhang, S. Ren, and J. Sun, "DEEP RESIDUAL LEARNING FOR IMAGE RECOGNITION", arXiv:1512.03385, 2015;

[0054] R. K. Srivastava, K. Greff, and J. Schmidhuber, "HIGHWAY NETWORKS", arXiv:1505.00387, 2015;

[0055] G. Huang, Z. Liu, L. van der Maaten, and K. Q. Weinberger, "DENSELY CONNECTED CONVOLUTIONAL NETWORKS", arXiv:1608.06993, 2017;

[0056] C. Szegedy, W. Liu, Y. Jia, P. Sermanet, S. Reed, D. Anguelov, D. Erhan, V. Vanhoucke, and A. Rabinovich, "GOING DEEPER WITH CONVOLUTIONS", arXiv:1409.4842, 2014;

[0057] S. Ioffe and C. Szegedy, "BATCH NORMALIZATION: ACCELERATING DEEP NETWORK TRAINING BY REDUCING INTERNAL COVARIATE SHIFT", arXiv:1502.03167, 2015;

[0058] J. M. Wolterink, T. Leiner, M. A. Viergever, and I. "DILATED CONVOLUTIONAL NEURAL NETWORKS FOR CARDIOVASCULAR MR SEGMENTATION IN CONGENITAL HEART DISEASE", arXiv:1704.03669, 2017;

[0059] L.C. Piqueras, “AUTOREGRESSIVE MODEL BASED ON A DEEP CONVOLUTIONAL NEURAL NETWORK FOR AUDIO GENERATION,” Tampere University of Technology, 2016;

[0060] J.Wu, “Introduction to Convolutional Neural Networks”, Nanjing University, 2017;

[0061] "Illumina CMOS Chip and One-Channel SBS Chemistry", Illumina, Inc, 2018, page 2;

[0062] “skikit-image / peak.py at master”, GitHub, page 5, [retrieved on November 16, 2018], retrieved from the Internet <URL: https: / / github.com / scikit-image / scikit-image / blob / master / skimage / feature / peak.py#L25 >

[0063] "3.3.9.11. Watershed and random walker for segmentation", Scipy lecturenotes, page 2, [retrieved on November 13, 2018], retrieved from the Internet <URL: http: / / scipy- lectures.org / packages / scikit-image / auto_examples / plot_segmentations.html> ;

[0064] Mordvintsev, Alexander and Revision, Abid K., "Image Segmentation with Watershed Algorithm", version 43532856, 2013, page 6, [retrieved on November 13, 2018], retrieved from the Internet <URL: https: / / opencv-python-tutroals.readthedocs.io / en / latest / py_ tutorials / py_imgproc / py_watershed / py_water shed.html> ;

[0065] Mzur, “Watershed.py”, October 25, 2017, page 3, [retrieved November 13, 2018], retrieved from the Internet <URL: https: / / github.com / mzur / watershed / blob / master / Watershed.py> ;

[0066] Thakur, Pratibha, et al., “A Survey of Image Segmentation Techniques,” International Journal of Research in Computer Applications and Robotics, Vol. 2, No. 4, April 2014, pp. 158-165;

[0067] Long, Jonathan et al., “Fully Convolutional Networks for Semantic Segmentation,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 39, vol. 4, April 1, 2017, p. 10.

[0068] Ronneberger, Olaf, et al., “U-net: Convolutional networks for biomedical image segmentation,” International Conference on Medical image computing and computer-assisted intervention, May 18, 2015, page 8;

[0069] Xie, W. et al., “Microscopy cell counting and detection with fully convolutional regression networks”, Computer methods in biomechanics and biomedical engineering: Imaging & Visualization, Issue 6 (Volume 3), pp. 283-292, 2018;

[0070] Xie, Yuanpu et al., "Beyond classification: structured regression for robust cell detection using convolutional neural network", International Conference on Medical Image Computing and Computer-Assisted Intervention, October 12, 2015, page 12;

[0071] Snuverink, IAF, “Deep Learning for Pixelwise Classification of Hyperspectral Images,” Master of Science Thesis, TU Delft, November 23, 2017, page 19;

[0072] Shevchenko, A., "Keras weighted categorical_crossentropy", Page 1, [Retrieved January 15, 2019], retrieved from the Internet <URL: https: / / gist.github.com / skeeet / cad06d584548f b45eece1d4e28cfa98b >

[0073] van den Assem, DCF, “Predicting periodic and chaotic signals using Wavenets,” Master of Science thesis, Delft University of Technology, August 18, 2017, pp. 3-38;

[0074] I.J. Goodfellow, D. Warde-Farley, M. Mirza, A. Courville, and Y. Bengio, “CONVOLUTIONAL NETWORKS,” Deep Learning, MIT Press, 2016; and

[0075] J. Gu, Z. Wang, J. Kuen, L. Ma, A. Shahroudy, B. Shuai, T. Liu, X. Wang, and G. Wang, “RECENT ADVANCES IN CONVOLUTIONAL NEURAL NETWORKS,” arXiv:1512.07108, 2017. Technical Field

[0076] The technology disclosed in the present invention relates to artificial intelligence type computers and digital data processing systems and corresponding data processing methods and products for simulating intelligence (i.e., knowledge-based systems, inference systems, and knowledge acquisition systems); and includes systems for uncertainty inference (e.g., fuzzy logic systems), adaptive systems, machine learning systems, and artificial neural networks. Specifically, the technology disclosed relates to the use of deep neural networks such as deep convolutional neural networks for analyzing data. Background Art

[0077] The subject matter discussed in this section should not be considered to be prior art simply because it is mentioned in this section. Similarly, problems mentioned in this section or associated with the subject matter provided as background technology should not be considered to have been previously recognized in the prior art. The subject matter in this section merely represents different approaches, which themselves may also correspond to specific implementations of the technology protected by the claims.

[0078] A deep neural network is an artificial neural network that uses multiple nonlinear and complex transformation layers to continuously model high-level features. Deep neural networks provide feedback via backpropagation, which carries the difference between observed and predicted outputs to adjust parameters. Deep neural networks have evolved with the availability of large training data sets, the power of parallel and distributed computing, and sophisticated training algorithms. Deep neural networks have led to significant advances in many fields such as computer vision, speech recognition, and natural language processing.

[0079] Convolutional neural networks (CNNs) and recurrent neural networks (RNNs) are components of deep neural networks. Convolutional neural networks are particularly successful in image recognition with an architecture that includes convolutional layers, nonlinear layers, and pooling layers. Recurrent neural networks are designed to exploit the sequential information of input data and have cyclic connections between building blocks such as perceptrons, long short-term memory units, and gated recurrent units. In addition, many other emerging deep neural networks for limited contexts have been proposed, such as deep spatiotemporal neural networks, multidimensional recurrent neural networks, and convolutional autoencoders.

[0080] The goal of training a deep neural network is to optimize the weight parameters in each layer, which gradually combines simpler features into complex features so that the most appropriate hierarchical representation can be learned from the data. A single cycle of the optimization process is performed as follows. First, given a training data set, the forward pass sequentially calculates the output in each layer and propagates the function signal forward through the network. In the final output layer, the target loss function measures the error between the inferred output and the given label. In order to minimize the training error, the backward pass uses the chain rule to backpropagate the error signal and calculate the gradient relative to all weights in the entire neural network. Finally, the weight parameters are updated using an optimization algorithm based on stochastic gradient descent. While batch gradient descent performs parameter updates for each complete data set, stochastic gradient descent provides a stochastic approximation by performing updates for each small data example set. Several optimization algorithms are derived from stochastic gradient descent. For example, the Adagrad and Adam training algorithms perform stochastic gradient descent while adaptively modifying the learning rate based on the update frequency and momentum of the gradient of each parameter, respectively.

[0081] Another core element in deep neural network training is regularization, which refers to strategies designed to avoid overfitting and thus achieve good generalization performance. For example, weight decay adds a penalty factor to the objective loss function so that the weight parameters converge to a small absolute value. Dropout randomly removes hidden units from a neural network during training and can be thought of as an ensemble of possible subnetworks. To enhance the capabilities of dropout, new activation functions, maxout, and a dropout variant of recurrent neural networks (called rnnDrop) have been proposed. In addition, batch normalization provides a new regularization method by normalizing the scalar features of each activation within a mini-batch and learning each mean and variance as parameters.

[0082] Given that sequence data is multidimensional and high-dimensional, deep neural networks hold great promise in bioinformatics research due to their broad applicability and enhanced predictive power. Convolutional neural networks have been used to solve sequence-based problems in genomics, such as motif discovery, pathogenic variant identification, and gene expression inference. Convolutional neural networks use a weight-sharing strategy that is particularly useful for studying DNA because it can capture sequence motifs, which are short, recurring local patterns in DNA that are assumed to have significant biological functions. The hallmark of convolutional neural networks is the use of convolutional filters.

[0083] Unlike traditional classification methods based on carefully designed features and handcrafted features, convolutional filters perform adaptive learning of features, similar to the process of mapping raw input data to information representations of knowledge. In this sense, convolutional filters act as a series of motif scanners, because a group of such filters are able to recognize relevant patterns in the input and update themselves during the training process. Recurrent neural networks can capture long-range dependencies in sequence data with different lengths, such as protein or DNA sequences.

[0084] Therefore, there is an opportunity to use a principled deep learning based framework for template generation and base calling.

[0085] In the era of high-throughput technologies, accumulating the most interpretable data at the lowest cost per work remains a major challenge. Cluster-based nucleic acid sequencing methods, such as those that use bridge amplification to form clusters, have made important contributions to the goal of increasing nucleic acid sequencing throughput. These cluster-based methods rely on sequencing dense populations of nucleic acids immobilized on solid supports and typically involve the use of image analysis software to deconvolute the optical signals generated during the simultaneous sequencing of multiple clusters located at different locations on the solid support.

[0086] However, this type of sequencing technology based on solid phase nucleic acid clusters is still faced with considerable obstacles, which limit achievable throughput. For example, in the sequencing method based on clusters, obstacles may be present in determining that the nucleic acid sequences of two or more clusters that are too close to each other physically cannot be spatially resolved or actually physically overlapped on a solid support. For example, current image analysis software may require valuable time and computing resources to determine which cluster in two overlapping clusters has emitted a light signal. Therefore, for a variety of detection platforms, the compromise about the quantity and / or quality of obtainable nucleic acid sequence information is inevitable.

[0087] Genomic methods based on high-density nucleic acid clusters have also expanded to other areas of genome analysis. For example, nucleic acid cluster-based genomics can be used for sequencing applications, diagnostics and screening, gene expression analysis, epigenetic analysis, polymorphic genetic analysis, etc. Each of these nucleic acid cluster-based genomic technologies is also limited when data generated by nucleic acid clusters that are in close proximity or spatially overlapping cannot be parsed.

[0088] Clearly, there remains a need to increase the quality and quantity of nucleic acid sequencing data that can be rapidly and cost-effectively obtained for a wide variety of uses, including genomics (e.g., for genomic characterization of any and all animal, plant, microbial or other biological species or populations), pharmacogenetics, transcriptomics, diagnostics, prognosis, biomedical risk assessment, clinical and research genetics, personalized medicine, drug efficacy and drug interaction assessment, veterinary medicine, agriculture, evolutionary and biodiversity studies, aquaculture, forestry, oceanography, ecological and environmental management, and other purposes.

[0089] The disclosed technology provides neural network-based methods and systems that address these and similar needs, including increasing throughput levels in high-throughput nucleic acid sequencing technologies, and provide other related advantages. BRIEF DESCRIPTION OF THE DRAWINGS

[0090] This patent or patent application file contains at least one drawing executed in color. Copies of this patent or patent application publication with color drawing(s) will be provided by the Office upon request and payment of the necessary fee. Color drawings are also available in pairs via the Supplemental Content tab.

[0091] In the drawings, similar reference symbols generally refer to similar parts throughout the different views. In addition, the drawings are not necessarily drawn to scale, but rather focus on illustrating the principles of the disclosed technology. In the following description, various specific implementations of the disclosed technology are described with reference to the following drawings, in which:

[0092] Figure 1 One specific implementation of a processing pipeline that uses sub-pixel base calling to determine cluster metadata is shown.

[0093] Figure 2 One specific implementation of a flow cell containing clusters within its blocks is depicted.

[0094] Figure 3 An example of an Illumina GA-IIx flow cell with eight channels is shown.

[0095] Figure 4 Depicted is an image set of sequencing images for four-channel chemistry, ie, the image set has four sequencing images captured using four different wavelength bands (images / imaging channels) in the pixel domain.

[0096] Figure 5 It is a specific implementation of dividing the sequencing image into sub-pixels (or sub-pixel regions).

[0097] Figure 6 The initial center coordinates of the clusters identified by the base caller during sub-pixel base calling are shown.

[0098] Figure 7 Depicted is an example of merging sub-pixel base calls generated over multiple sequencing cycles to generate a so-called "cluster map" containing cluster metadata.

[0099] Figure 8a An example of a cluster map generated by merging sub-pixel base calls is shown.

[0100] Figure 8b Depicted is a specific implementation of sub-pixel base calling.

[0101] Fig. 9 Another example of a cluster map identifying cluster metadata is shown.

[0102] Fig.10 It shows how to calculate the centroid (COM) of disjoint regions in a cluster map.

[0103] Fig.11 One specific implementation of calculating the weighted attenuation factor based on the Euclidean distance of sub-pixels in a disjoint region from the COM of the disjoint region is depicted.

[0104] Fig.12 One specific implementation of an exemplary ground truth decay map derived from an exemplary cluster map produced by sub-pixel base calling is shown.

[0105] Fig.13 A specific implementation of deriving a ternary map from a cluster map is shown.

[0106] Fig.14 A specific implementation of deriving a binary map from a cluster map is shown.

[0107] Fig.15 is a block diagram illustrating one specific implementation of generating training data for training a neural network-based template generator and a neural network-based base caller.

[0108] Fig.16 Features of the disclosed training examples used to train a neural network-based template generator and a neural network-based base caller are shown.

[0109] Fig.17 A specific implementation of processing input image data through a disclosed neural network-based template generator and generating output values ​​for each cell in an array is shown. In one specific implementation, the array is an attenuation map. In another specific implementation, the array is a ternary map. In yet another specific implementation, the array is a binary map.

[0110] Fig.18One specific implementation of a post-processing technique is shown, which is applied to an attenuation map, a ternary map, or a binary map produced by a neural network-based template generator to derive cluster metadata, including cluster center, cluster shape, cluster size, cluster background, and / or cluster border.

[0111] Fig.19 One specific implementation of extracting cluster intensities in the pixel domain is depicted.

[0112] Fig. 20 One specific implementation of extracting cluster intensities in the sub-pixel domain is shown.

[0113] Fig.21a Three different implementations of a neural network based template generator are shown.

[0114] Figure 21b Depicted is one specific implementation of input image data fed as input to a neural network-based template generator 1512. The input image data includes a series of image sets having sequencing images generated during a certain number of initial sequencing cycles of a sequencing run.

[0115] Fig. 22 Shows from Figure 21b A specific implementation of extracting patches from a series of image sets in order to produce a series of "reduced-size" image sets forming input image data.

[0116] Fig.23 Describes the Figure 21b A specific implementation of upsampling a series of image sets in to produce a series of "upsampled" image sets forming the input image data.

[0117] Fig.24 Shows from Fig.23 A specific implementation of extracting patches from a series of upsampled image sets in to produce a series of "upsampled and downsized" image sets forming the input image data.

[0118] Fig.25 One specific implementation of an overall exemplary process for generating ground truth data for training a neural network-based template generator is shown.

[0119] Fig.26 A specific implementation of the regression model is shown.

[0120] Fig. 27 A specific implementation of generating a ground truth decay map from a cluster map is described. The ground truth decay map is used as ground truth data for training a regression model.

[0121] Fig.28It is a specific implementation of using back-propagation based gradient update technique to train regression models.

[0122] Fig.29 is a specific implementation of generating templates through a regression model during inference.

[0123] Fig.30 One specific implementation of subjecting the attenuation map to post-processing to identify cluster metadata is shown.

[0124] Fig.31 Depicted is a specific implementation of a watershed segmentation technique for identifying non-overlapping adjacent clusters / groups of intra-cluster sub-pixels that characterize clusters.

[0125] Fig.32 is a table showing an exemplary U-Net architecture for a regression model.

[0126] Fig.33 Different methods of extracting cluster intensities using cluster shape information identified in a template image are shown.

[0127] Fig.34 Different methods of using the output of a regression model for base calling are shown.

[0128] Fig.35 The difference in base calling performance when the RTA base caller uses the ground truth centroid (COM) position as the cluster center instead of using a non-COM position as the cluster center is shown. The results show that using COM improves base calling.

[0129] Fig.36 An exemplary decay map produced by the regression model is shown on the left. Fig.36 Also shown on the right is an exemplary ground truth decay map that the regression model approximates during training.

[0130] Fig.37 One specific implementation of a peak locator for identifying cluster centers in an attenuation map by detecting peaks is depicted.

[0131] Fig.38 Peaks detected by the peak locator in the attenuation map produced by the regression model are compared with corresponding peaks in the ground truth attenuation map.

[0132] Fig.39 The performance of the regression model using precision and recall statistics is shown.

[0133] Fig.40 The performance of the regression model and the RTA base caller were compared for a library concentration of 20 pM (normal operation).

[0134] Fig.41The performance of the regression model and the RTA base caller were compared for a 30 pM library concentration (dense run).

[0135] Fig.42 The number of non-duplicate correct read pairs detected by the regression model (ie, the number of paired reads where neither read aligned inward within a reasonable distance) was compared to the number of non-duplicate correct read pairs detected by the RTA base caller.

[0136] Fig.43 A first attenuation map resulting from the regression model is shown on the right. Fig.43 A second decay map resulting from the regression model is shown on the left.

[0137] Fig.44 The performance of the regression model and the RTA base caller were compared for a 40 pM library concentration (a highly dense run).

[0138] Fig.45 On the left is shown a first attenuation map resulting from the regression model. Fig.45 The results of the thresholding, peak location and watershed segmentation techniques applied to the first attenuation map are shown on the right.

[0139] Fig.46 A specific implementation of a binary classification model is shown.

[0140] Fig.47 It is a specific implementation for training a binary classification model using a back-propagation based gradient update technique involving the softmax score.

[0141] Fig.48 is another implementation for training a binary classification model using a backpropagation-based gradient update technique involving a sigmoid score.

[0142] Fig.49 Another specific implementation of input image data fed to a binary classification model and corresponding class labels for training the binary classification model is shown.

[0143] Fig.50 is a specific implementation of generating templates during inference by a binary classification model.

[0144] Fig.51 One specific implementation of subjecting the binary map to peak detection to identify cluster centers is shown.

[0145] Fig.52a An exemplary binary map produced by a binary classification model is shown on the left. Fig.52a Also shown on the right is an exemplary ground truth binary map that the binary classification model approaches during training.

[0146] Fig.52b The performance of a binary classification model using the precision statistic is shown.

[0147] Fig.53 is a table showing an example architecture for a binary classification model.

[0148] Fig.54 A specific implementation of the ternary classification model is shown.

[0149] Fig.55 It is a specific implementation of training a ternary classification model using a back-propagation based gradient update technique.

[0150] Fig.56 Another specific implementation of input image data fed to a ternary classification model and corresponding class labels for training the ternary classification model is shown.

[0151] Fig.57 is a table showing an example architecture for a ternary classification model.

[0152] Fig.58 is a specific implementation of generating templates through a ternary classification model during inference.

[0153] Fig.59 The ternary map produced by the ternary classification model is shown.

[0154] Fig.60 Depicted is the cell array produced by the ternary classification model 5400, along with the cell-by-cell output values.

[0155] Fig.61 One specific implementation of post-processing the ternary map to identify cluster centers, cluster backgrounds, and cluster interiors is shown.

[0156] Fig.62a Exemplary predictions for a three-class classification model are shown.

[0157] Figure 62b Other exemplary predictions for the ternary classification model are shown.

[0158] Figure 62c Other exemplary predictions for the ternary classification model are also shown.

[0159] Fig.63 Describes from Fig.62a A specific implementation of deriving cluster centers and cluster shapes from the output of the ternary classification model in .

[0160] Fig.64 The base calling performance of binary classification models, regression models, and the RTA base caller were compared.

[0161] Fig.65 The performance of the ternary classification model was compared with that of the RTA base caller under three contexts, five sequencing metrics, and two run densities.

[0162] Fig.66 The performance of the regression model was compared with that of the RTA base caller. Fig.65 The comparisons were performed under the three contexts discussed in [ 14 ], five sequencing metrics, and two run densities.

[0163] Fig.67 Focus on the penultimate layer of the neural network-based template generator.

[0164] Fig.68 Visualizes what the penultimate layer of the neural network-based template generator has learned due to back-propagation-based gradient update training. The example implementation visualizes Fig.67 24 of the 32 trained convolutional filters of the penultimate layer depicted in .

[0165] Fig.69 The cluster center predictions of the binary classification model (blue) are superimposed on those of the RTA base caller (pink).

[0166] Fig.70 Cluster center predictions (pink) made by the RTA base caller are superimposed on a visualization of the trained convolutional filters of the penultimate layer of the binary classification model.

[0167] Fig.71 One specific implementation of training data for training a neural network based template generator is shown.

[0168] Fig.72 It is a specific implementation of image registration using beads based on cluster center prediction of a neural network-based template generator.

[0169] Fig.73 One specific implementation of cluster statistics for clusters identified by a neural network-based template generator is shown.

[0170] Fig.74 It shows how the ability of the neural network-based template generator to distinguish adjacent clusters improves when the number of initial sequencing cycles using input image data increases from five to seven.

[0171] Fig.75 Shown is the difference in base calling performance when the RTA base caller uses the ground truth centroid (COM) position as the cluster center instead of using a non-COM position as the cluster center.

[0172] Fig.76The performance of the neural network-based template generator for additional detected clusters is plotted.

[0173] Fig.77 Different datasets used to train a neural network based template generator are shown.

[0174] Fig.78A and Fig.78B A specific implementation of a sequencing system is depicted. The sequencing system includes a configurable processor.

[0175] Fig.79 is a simplified block diagram of a system for analyzing sensor data (such as base calling sensor output) from a sequencing system.

[0176] Fig.80 is a simplified diagram showing aspects of a base calling operation including the functionality of a runtime program executed by a host processor.

[0177] Fig.81 Is a configurable processor such as Fig.79 A simplified diagram depicting the configuration of a configurable processor.

[0178] Fig.82 It can be Fig.78A The sequencing system is a computer system used to implement the technology disclosed in this article. DETAILED DESCRIPTION

[0179] The following discussion is presented to enable any person skilled in the art to make and use the disclosed technology, and is provided in the context of a specific application and its requirements. Various modifications to the disclosed implementations will be apparent to those skilled in the art, and the general principles defined herein may be applied to other implementations and applications without departing from the spirit and scope of the disclosed technology. Therefore, the disclosed technology is not intended to be limited to the specific implementations shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.

[0180] Introduction

[0181] Base calling from digital images is massively parallel and computationally intensive. This presents many technical challenges that we recognized before the introduction of new technologies.

[0182] As the base classification cycle progresses, the signal from the image set being evaluated becomes weaker and weaker, especially as the base chains become longer and longer. As the base classification proceeds along the length of the chain, the signal-to-noise ratio decreases, and therefore the reliability decreases. When the estimated reliability of the base classification changes, an updated reliability estimate is expected.

[0183] Digital images are captured from clusters of amplified sample strands. The sample is amplified by replicating the strands using a variety of physical structures and chemicals. During sequencing by synthesis, tags are chemically attached cyclically and stimulated to emit light. A digital sensor collects photons from the tags that are read out of the pixel to produce an image.

[0184] Interpreting digital images to classify bases requires resolving positional uncertainty, which is hampered by limited image resolution. At resolutions greater than those collected during base calling, it is apparent that the imaged clusters have irregular shapes and uncertain center positions. Because cluster positions are not mechanically regulated, cluster centers are not aligned with pixel centers. The pixel center can be an integer coordinate assigned to a pixel. In other embodiments, the pixel center can be the upper left corner of the pixel. In other embodiments, the pixel center can be the center of mass or centroid of the pixel. Amplification does not produce uniform cluster shapes. Therefore, the distribution of cluster signals in digital images is a statistical distribution rather than a regular pattern. We refer to this as positional uncertainty.

[0185] One of the signal classes may produce no detectable signal and be classified at a particular location based on a "dark" signal. Therefore, a template is necessary for classification during dark cycles. Generating a template uses multiple imaging cycles to resolve initial position uncertainty to avoid missing dark signals.

[0186] Tradeoffs in image sensor size, magnification, and stepped design result in relatively large pixel sizes that are too large to consider cluster centers coincident with sensor pixel centers. The present disclosure uses pixels in two senses. A physical sensor pixel is the area where an optical sensor reports detected photons. A logical pixel (referred to simply as a pixel) is data that corresponds to at least one physical pixel (i.e., data read from a sensor pixel). A pixel can be subdivided or "upsampled" into sub-pixels, such as 4×4 sub-pixels. To account for the likelihood that all photons hit one side of a physical pixel rather than the opposite side, values ​​can be assigned to the sub-pixels by interpolation, such as bilinear interpolation or area weighting. Interpolation or bilinear interpolation is also applied when pixels are reframed by applying an affine transformation to the data from the physical pixels.

[0187] Larger physical pixels are more sensitive to weak signals than smaller pixels. While digital sensors have improved over time, physical limitations on collector surface area are unavoidable. Given the design tradeoffs, conventional systems have been designed to collect and analyze image data from a 3×3 patch of the sensor, with the cluster center located somewhere in the center pixel of the patch.

[0188] The high resolution sensor captures only a portion of the imaging medium at a time. The sensor is stepped across the imaging medium to cover the entire field. Thousands of digital images can be collected during one processing cycle.

[0189] The sensor and lighting design are combined to distinguish at least four illumination response values ​​for classifying bases. If a traditional RGB camera with a Bayer color filter array is used, four sensor pixels will be combined into a single RGB value. This will reduce the effective sensor resolution to a quarter of the original. Alternatively, multiple images can be collected at a single location using different illumination wavelengths and / or different filters rotated into the position between the imaging medium and the sensor. The number of images required to distinguish the four base classifications varies between systems. Some systems use an image with four intensity levels for bases of different categories. Other systems use two images with different illumination wavelengths (e.g., red and green) and / or filters with a truth table to classify bases. The system can also use four images with different illumination wavelengths and / or filters tuned to specific base categories.

[0190] In practice, massively parallel processing of digital images is required to align and assemble relatively short chains (approximately 30 to 2000 base pairs) into longer sequences, which may be millions or even billions of bases in length. Redundant samples are desirable on the imaging medium so that a portion of the sequence can be covered by dozens of sample reads. Millions or at least hundreds of thousands of sample clusters are imaged from a single imaging medium. Massively parallel processing of so many clusters increases sequencing capacity while reducing costs.

[0191] Sequencing capacity is growing at a rate comparable to Moore’s Law. Although the first sequencing cost billions of dollars, in 2018 service providers such as Illumina TM The price of delivering sequencing results is in the hundreds of dollars. As sequencing becomes mainstream and unit prices drop, less computing power is available for classification, increasing the challenge of near real-time classification. With these technical challenges in mind, we turn to the disclosed technology.

[0192] The disclosed technology improves the processing during the generation of templates to resolve positional uncertainty and during base classification of clusters at resolved positions. Applying the disclosed technology, cheaper hardware can be used to reduce the cost of the machine. Near real-time analysis can become cost-effective, thereby reducing the lag between image collection and base classification.

[0193] The disclosed technology can use an upsampled image that is generated by interpolating sensor pixels into sub-pixels and then generating a template that resolves positional uncertainty. The resulting sub-pixels are submitted to a base caller for classification, which treats the sub-pixels as being located at cluster centers. Clusters are determined from groups of adjacent sub-pixels that repeatedly receive the same base classification. This aspect of the technology utilizes existing base calling technology to determine the shape of the clusters and super-locate the cluster centers with sub-pixel resolution.

[0194] Another aspect of the disclosed technology is to create a benchmark truth training data set that pairs images with confidently determined cluster centers and / or cluster shapes. Deep learning systems and other machine learning methods require a large number of training sets. Human-curated data is expensive to compile. The disclosed technology can be used to generate a large number of confidently classified training data sets using existing classifiers in non-standard operating modes without intervention or labor. In non-standard operating modes, such as in a CNN-based deep learning system, the training data associates the original image with cluster centers and / or cluster shapes that can be obtained from an existing classifier, and then the CNN-based deep learning system can directly process the image sequence. A training image can be rotated and reflected to produce other equally valid examples. The training examples can focus on areas with predetermined sizes within the entire image. The context evaluated during base calling determines the size of the exemplary training area, rather than determining the size of the image from the entire imaging medium or the size of the entire imaging medium.

[0195] The disclosed technology can generate different types of maps, which can be used as training data or templates for base classification, and cluster centers and / or cluster shapes are associated with digital images. First, sub-pixels can be classified as cluster centers, thereby locating cluster centers within physical sensor pixels. Second, cluster centers can be calculated as the mass center of cluster shapes. This position can be reported with a selected digital accuracy. Third, cluster centers with surrounding sub-pixels can be reported in an attenuation map with sub-pixel or pixel resolution. As the separation of the region from the cluster center increases, the attenuation map reduces the weight of the photons detected in the region, thereby weakening the signal from a farther position. Fourth, binary or ternary classification can be applied to sub-pixels or pixels in clusters of adjacent regions. In binary classification, a region is classified as belonging to a cluster center or is classified as background. In ternary classification, the third type is a region that contains the interior of a cluster but does not contain a cluster center. The sub-pixel classification for the cluster center position can replace the real-valued cluster center coordinates within a larger optical pixel.

[0196] Maps of alternative styles may be generated initially as ground truth data sets, or neural networks may be used to generate these maps through training. For example, clusters may be depicted as disjoint regions of adjacent sub-pixels with appropriate classification. If the centers have not yet been determined, the intensity map clusters from the neural network may be post-processed by a peak detector filter to calculate the cluster centers. Adjacent regions may be assigned to separate clusters using a so-called watershed analysis. When generated by a neural network inference engine, the maps may be used as templates for evaluating digital image sequences and classifying bases during the cyclic process of base calling.

[0197] Template generation based on neural network

[0198] The first step in template generation is to determine cluster metadata. Cluster metadata identifies the spatial distribution of clusters and identifies the center, shape, size, background and / or boundaries of these clusters.

[0199] Determining cluster metadata

[0200] Figure 1 One specific implementation of a processing pipeline that uses sub-pixel base calling to determine cluster metadata is shown.

[0201] Figure 2 A specific implementation of a flow cell containing clusters in its blocks is depicted. The flow cell is divided into channels. These channels are further divided into non-overlapping areas called "blocks". During sequencing, the clusters on the blocks and their surrounding background are imaged.

[0202] Figure 3 An exemplary Illumina GA-IIx with eight channels is shown. TM Circulation pool. Figure 3 A zoomed-in view of one block and its cluster and its surrounding background is also shown.

[0203] Figure 4 Depicted is an image set of sequencing images for four-channel chemistry, that is, the image set has four sequencing images captured using four different wavelength bands (images / imaging channels) in the pixel domain. Each image in the image set covers a block of a circulation pool, and depicts the intensity emission captured for a specific imaging channel in a specific sequencing cycle of a plurality of sequencing cycles of a sequencing run performed on the circulation pool by a cluster on the block and its surrounding background. In one specific implementation, each imaging channel corresponds to a filter wavelength band in a plurality of filter wavelength bands. In another specific implementation, each imaging channel corresponds to an imaging event in a plurality of imaging events in a sequencing cycle. In yet another specific implementation, each imaging channel corresponds to a combination of illumination with a specific laser and imaging through a specific optical filter. The intensity emission of the cluster includes signals detected from the analyte, which can be used to classify the bases associated with the analyte. For example, the intensity emission can be a signal indicating the photons emitted by a label, which are chemically attached to the analyte during the cycle of the stimulation label and can be detected by one or more digital sensors, as described above.

[0204] Figure 5It is a specific implementation of dividing the sequencing image into sub-pixels (or sub-pixel regions). In the illustrated specific implementation, a quarter (0.25) sub-pixel is used, which results in each pixel in the sequencing image being divided into sixteen sub-pixels. In view of the resolution of the sequencing image shown is 20x20 pixels (i.e., 400 pixels), the division produces 6400 sub-pixels. Each sub-pixel in the sub-pixel is regarded as the regional center of the sub-pixel base call by the base caller. In some specific implementations, the base caller does not use a neural network-based process. In other specific implementations, the base caller is a neural network-based base caller.

[0205] For a given sequencing cycle and a particular sub-pixel, the base caller is configured with logic to generate base calls for a given sequencing cycle and a particular sub-pixel by performing an image processing step and extracting the intensity data of the sub-pixel from the corresponding image set of the sequencing cycle. This is done for each sub-pixel in the sub-pixel and for each sequencing cycle in multiple sequencing cycles. Experiments have also been conducted with a quarter sub-pixel division of a block image of a 1800x1800 pixel resolution of an Illumina MiSeq sequencer. Sub-pixel base calls were performed for fifty sequencing cycles and ten blocks of one channel.

[0206] Figure 6 The initial center coordinates of the clusters identified by the base caller during sub-pixel base calling are shown. Figure 6 Also shown is the "origin sub-pixel" or "center sub-pixel" containing the initial center coordinates.

[0207] Figure 7 An example of merging sub-pixel base calls generated over multiple sequencing cycles to generate a so-called "cluster map" containing cluster metadata is depicted. In the illustrated implementation, a breadth-first search approach is used to merge sub-pixel base calls.

[0208] Figure 8a An example of a cluster map generated by merging sub-pixel base calls is shown. Figure 8b An example of sub-pixel base calling is depicted. Figure 8b Also shown is one specific implementation of analyzing a sub-pixel base call sequence produced by sub-pixel base calling to generate a cluster map.

[0209] Sequencing images

[0210] Cluster metadata determination involves analyzing image data generated by a sequencing instrument 102 (e.g., Illumina's iSeq, HiSeqX, HiSeq3000, HiSeq4000, HiSeq2500, NovaSeq6000, NextSeq, NextSeqDx, MiSeq, and MiSeqDx). According to one specific implementation, the following discussion outlines how image data is generated and what it depicts.

[0211] Base calling is the process in which the raw signal of the sequencing instrument 102 (i.e., the intensity data extracted from the image) is decoded into a DNA sequence and a quality score. In one specific implementation, the Illumina platform employs cyclic reversible termination (CRT) chemistry for base calling. The process relies on growing a nascent DNA chain complementary to a template DNA chain with modified nucleotides while tracking the emission signal of each newly added nucleotide. The modified nucleotides have a 3′ removable block that anchors the fluorophore signal of the nucleotide type.

[0212] Sequencing is performed in repeated cycles, each cycle comprising three steps: (a) extending the nascent chain by adding modified nucleotides; (b) exciting the fluorophore using one or more lasers of the optical system 104 and imaging through different filters of the optical system 104, thereby generating a sequencing image 108; and (c) cleaving the fluorophore and removing the 3' block in preparation for the next sequencing cycle. The binding and imaging cycles are repeated until a specified number of sequencing cycles are reached, thereby defining the read length of all clusters. Using this method, each cycle interrogates a new position along the template chain.

[0213] The huge power of Illumina platform comes from its ability to perform and sense millions or even billions of clusters that experience CRT reactions at the same time. The sequencing process occurs in a circulation cell 202, which is a small glass slide that keeps the input DNA fragments during the sequencing process. The circulation cell 202 is connected to a high-throughput optical system 104, which includes microscope imaging, excitation lasers and fluorescence filters. The circulation cell 202 includes a plurality of chambers referred to as grooves 204. The grooves 204 are physically separated from each other, and different labeled sequencing libraries may be included, which may be distinguished when there is no cross contamination of samples. An imaging device 106 (e.g., a solid-state imager, such as a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) sensor) takes snapshots at a plurality of positions along the grooves 204, in a series of non-overlapping regions (referred to as blocks 206).

[0214] For example, each channel in the Illumina Genome Analyzer II has one hundred blocks, and each channel in the Illumina HiSeq2000 has sixty-eight blocks. Block 206 accommodates hundreds of thousands to millions of clusters. An image generated from a block with clusters shown as bright spots is shown at 208. Cluster 302 includes approximately one thousand identical copies of the template molecule, but the size and shape of the clusters are different. Before the sequencing run, clusters are generated from the template molecules by bridge amplification of the input library. The purpose of amplification and cluster growth is to increase the intensity of the emission signal because the imaging device 106 cannot reliably sense a single fluorophore. However, the physical distance of the DNA fragments within the cluster 302 is small, so the imaging device 106 perceives the cluster of fragments as a single point 302.

[0215] The output of the sequencing run is sequencing images 108, each of which depicts the intensity emission of clusters on a block in the pixel domain for a particular combination of lane, block, sequencing cycle, and fluorophore (208A, 208C, 208T, 208G).

[0216] In one specific implementation, the biosensor includes an array of photosensors. The photosensors are configured to sense information from corresponding pixel areas (e.g., reaction sites / wells / nanopores) on the detection surface of the biosensor. An analyte disposed in a pixel area is said to be associated with the pixel area, i.e., an associated analyte. In a sequencing cycle, the photosensors corresponding to the pixel areas are configured to detect / capture / sense emission / photons from associated analytes, and in response, a pixel signal is generated for each imaging channel. In one specific implementation, each imaging channel corresponds to a filter wavelength band in a plurality of filter wavelength bands. In another specific implementation, each imaging channel corresponds to an imaging event in a plurality of imaging events in a sequencing cycle. In yet another specific implementation, each imaging channel corresponds to a combination of illumination with a specific laser and imaging through a specific optical filter.

[0217] The pixel signals from the photosensors are transmitted to a signal processor coupled to the biosensor (e.g., via a communication port). For each sequencing cycle and each imaging channel, the signal processor generates an image whose pixels respectively depict / contain / indicate / represent / characterize the pixel signals obtained from the corresponding photosensors. Thus, the pixels in the image correspond to: (i) the photosensor of the biosensor, which generates the pixel signal depicted by the pixel, (ii) the associated analyte, whose emissions are detected by the corresponding photosensor and converted into the pixel signal, and (iii) the pixel area on the detection surface of the biosensor that holds the associated analyte.

[0218] For example, consider a sequencing run using two different imaging channels, namely a red channel and a green channel. Then, in each sequencing cycle, the signal processor generates a red image and a green image. Thus, for a series of k sequencing cycles of a sequencing run, a sequence with k pairs of red and green images is generated as output.

[0219] The pixels in the red and green images (i.e., different imaging channels) correspond one-to-one within a sequencing cycle. This means that corresponding pixels in a pair of red and green images depict intensity data for the same associated analyte, albeit in different imaging channels. Similarly, the pixels on a pair of red and green images correspond one-to-one between sequencing cycles. This means that corresponding pixels in different pairs of red and green images depict intensity data for the same associated analyte, albeit for different acquisition events / time steps (sequencing cycles) of a sequencing run.

[0220] Corresponding pixels in the red and green images (i.e., different imaging channels) may be considered as pixels of an "image for each cycle" expressing intensity data in a first red channel and a second green channel. An image for each cycle whose pixels depict the pixel signals of a subset of a pixel region (i.e., an area (tile) of the detection surface of the biosensor) is referred to as a "tile image for each cycle". Patches extracted from the tile image for each cycle are referred to as "image patches for each cycle". In one specific implementation, patch extraction is performed by an input preparer.

[0221] The image data includes a sequence of image patches for each cycle generated for a series of k sequencing cycles of a sequencing run. The pixels in the image patch for each cycle contain intensity data for an associated analyte, and intensity data for one or more imaging channels (e.g., a red channel and a green channel) are obtained by a corresponding light sensor, which is configured to detect emission from the associated analyte. In one specific implementation, when base calling is to be performed on a single target cluster, the image patch for each cycle is centered on a center pixel containing intensity data for the target associated analyte, and non-center pixels in the image patch for each cycle contain intensity data for associated analytes adjacent to the target associated analyte. In one specific implementation, the image data is prepared by an input preparer.

[0222] Sub-pixel base calling

[0223] The disclosed technology accesses a series of image sets generated during a sequencing run. The image set includes a sequencing image 108. Each image set in the series of image sets is captured during a corresponding sequencing cycle of the sequencing run. Each image (or sequencing image) in the series of image sets captures a cluster on a block of a flow cell and its surrounding background.

[0224] In one implementation, the sequencing run utilizes a four-channel chemistry, and each image set has four images. In another implementation, the sequencing run utilizes a two-channel chemistry, and each image set has two images. In yet another implementation, the sequencing run utilizes a single-channel chemistry, and each image set has two images. In other implementations, each image set has only one image.

[0225] The sequencing image 108 in the pixel domain is first converted into the sub-pixel domain by the sub-pixel addresser 110 to generate the sequencing image 112 in the sub-pixel domain. In one embodiment, each pixel in the sequencing image 108 is divided into sixteen sub-pixels 502. Therefore, in one embodiment, the sub-pixel 502 is a quarter sub-pixel. In another embodiment, the sub-pixel 502 is a half sub-pixel. Therefore, each sequencing image 112 in the sub-pixel domain has a plurality of sub-pixels 502.

[0226] The sub-pixels are then fed individually as input to a base caller 114 to obtain a base call from the base caller 114 that classifies each of the sub-pixels as one of the four bases (A, C, T, and G). This produces a sequence of base calls 116 for each of the sub-pixels in multiple sequencing cycles of a sequencing run. In one specific implementation, the sub-pixels 502 are identified by the base caller 114 based on their integer coordinates or non-integer coordinates. By tracking the emission signal from the sub-pixels 502 across the set of images generated during multiple sequencing cycles, the base caller 114 recovers the underlying DNA sequence for each sub-pixel. An example of this is shown in FIG. Figure 8b Shown in.

[0227] In other implementations, the disclosed techniques obtain base calls from base caller 114 that classify each of the sub-pixels as one of five bases (A, C, T, G, and N). In such implementations, an N base call indicates an undecided base call, which is typically caused by a low extracted intensity level.

[0228] Some examples of base callers 114 include non-neural network based Illumina products such as RTA (Real Time Analysis), the Firecrest program of the Genome Analyzer analysis pipeline, the IPAR (Integrated Primary Analysis and Reporting) machine, and the OLB (Offline Base Caller). For example, the base caller 114 generates a base call sequence by interpolating the intensity of sub-pixels, and the intensity extraction methods include: nearest neighbor intensity extraction, Gaussian-based intensity extraction, intensity extraction based on the average value of a 2×2 sub-pixel area, intensity extraction based on the brightest point in a 2×2 sub-pixel area, intensity extraction based on the average value of a 3×3 sub-pixel area, bilinear intensity extraction, bicubic intensity extraction, and / or intensity extraction based on weighted area coverage. These techniques are described in detail in the Appendix entitled "Intensity Extraction Methods".

[0229] In other implementations, the base caller 114 may be a neural network based base caller, such as the neural network based base caller 1514 disclosed herein.

[0230] The sub-pixel-by-sub-pixel base call sequence 116 is then fed as input to a searcher 118. The searcher 118 searches for substantially matching base call sequences of adjacent sub-pixels. Base call sequences of adjacent sub-pixels are "substantially matched" when a predetermined portion of the base calls match in positional order (e.g., there are ≥41 matches in 45 cycles, ≤4 mismatches in 45 cycles, ≤4 mismatches in 50 cycles, or ≤2 mismatches in 34 cycles).

[0231] The searcher 118 then generates a cluster map 802 that identifies clusters as disjoint regions of adjacent sub-pixels that share substantially matching base call sequences, such as 804a-d. "Disjoint" and "non-overlapping" are used interchangeably herein. The search involves base calling sub-pixels that comprise portions of the clusters to allow the called sub-pixels to be linked to adjacent sub-pixels with which they share substantially matching base call sequences. In some implementations, the searcher 118 requires that at least some of the disjoint regions have a predetermined minimum number of sub-pixels (e.g., more than 4, 6, or 10 sub-pixels) to be processed as clusters.

[0232] In some implementations, the base caller 114 also identifies the initial center coordinates of the cluster. The sub-pixel containing the initial center coordinates is referred to as the origin sub-pixel. Figure 6604a-c) and the corresponding origin sub-pixels (606a-c) identified by the base caller 114 are shown in FIG. However, the origin sub-pixel (the initial center coordinate of the cluster) need not be identified, as described below. In some implementations, the searcher 118 uses a breadth-first search to identify a substantially matching base call sequence of sub-pixels by starting with the origin sub-pixels 606a-c and continuing with consecutive adjacent non-origin sub-pixels 702a-c. This is also optional, as described below.

[0233] Cluster Map

[0234] Figure 8a An example of a cluster map 802 generated by merging sub-pixel base calls is shown. The cluster map identifies multiple non-intersecting regions (in Figure 8a Each disjoint region includes a set of non-overlapping adjacent sub-pixels representing a corresponding cluster on the tile (via sub-pixel base calling from its sequencing image and generation of a cluster map for it). The region between the disjoint regions represents the background on the tile. The sub-pixels in the background region are referred to as "background sub-pixels". The sub-pixels in the disjoint regions are referred to as "cluster sub-pixels" or "cluster interior sub-pixels". In this discussion, the origin sub-pixels are those sub-pixels where the initial center cluster coordinates determined by RTA or another base caller are located.

[0235] The origin sub-pixel contains the initial center cluster coordinates. This means that the area covered by the origin sub-pixel includes coordinate positions that coincide with the initial center cluster coordinate positions. Since the cluster map 802 is an image of logical sub-pixels, the origin sub-pixels are some sub-pixels in the cluster map.

[0236] The search to identify clusters having substantially matching base call sequences for sub-pixels need not begin with identifying the origin sub-pixel (the initial center coordinate of the cluster) because the search can be performed for all sub-pixels and can begin at any sub-pixel (e.g., the 0,0 sub-pixel or any random sub-pixel). Thus, since each sub-pixel is evaluated to determine whether it shares a substantially matching base call sequence with another adjacent sub-pixel, the search is not dependent on the origin sub-pixel; the search can begin at any sub-pixel.

[0237] Regardless of whether the origin sub-pixel is used, certain clusters are identified that do not contain the origin sub-pixel (the initial center coordinate of the cluster) predicted by base caller 114. Some examples of clusters identified by merging sub-pixel base calling and that do not contain the origin sub-pixel are Figure 8a812a, 812b, 812c, 812d, and 812e in FIG. Thus, the disclosed technique identifies additional or additional clusters whose centers have not yet been identified by base caller 114. Thus, using base caller 114 to identify the origin sub-pixel (initial center coordinates of the cluster) is optional and is not required for searching adjacent sub-pixels for substantially matching base call sequences.

[0238] In one specific implementation, the origin sub-pixel (initial center coordinate of the cluster) identified by the base caller 114 is first used to identify a first set of clusters (by identifying substantially matching base call sequences of adjacent sub-pixels). Then, sub-pixels that are not part of the first set of clusters are used to identify a second set of clusters (by identifying substantially matching base call sequences of adjacent sub-pixels). This allows the disclosed technique to identify additional or additional clusters whose centers have not yet been identified by the base caller 114. Finally, sub-pixels that are not part of the first set of clusters and the second set of clusters are identified as background sub-pixels.

[0239] Figure 8b An example of sub-pixel base calling is depicted. Figure 8b In , each sequencing cycle has an image set with four different images (ie, A, C, T, G images) captured using four different wavelength bands (images / imaging channels) and four different fluorescent dyes (one for each base).

[0240] In this example, the pixels in the image are divided into sixteen sub-pixels. The sub-pixels are then independently base called by base caller 114 in each sequencing cycle. In order to base call a given sub-pixel in a particular sequencing cycle, base caller 114 uses the intensity of a given sub-pixel in each of the A, C, T, G images. For example, the intensity in the image area covered by sub-pixel 1 in each of the A, C, T, G images of cycle 1 is used to base call sub-pixel 1 in cycle 1. For sub-pixel 1, these image areas include the upper left sixteenth of the area of ​​the corresponding upper left pixel in each of the A, C, T, G images of cycle 1. Similarly, the intensity in the image area covered by sub-pixel m in each of the A, C, T, G images of cycle n is used to base call sub-pixel m in cycle n. For sub-pixel m, these image areas include the lower right sixteenth of the area of ​​the corresponding lower right pixel in each of the A, C, T, G images of cycle 1.

[0241] This process generates a subpixel-by-subpixel base call sequence 116 across multiple sequencing cycles. The searcher 118 then evaluates pairs of adjacent subpixels to determine whether they have substantially matching base call sequences. If so, the pair of subpixels is stored in the cluster map 802 as being part of the same cluster in the disjoint region. If not, the pair of subpixels is stored in the cluster map 802 as not being part of the same disjoint region. Thus, the cluster map 802 identifies groups of adjacent subpixels for which the base calls for the subpixels are substantially matched across multiple cycles. The cluster map 802 thus uses information from multiple cycles to provide multiple clusters with high confidence, wherein each of the multiple clusters provides sequence data for a single DNA strand.

[0242] The cluster metadata generator 122 then processes the cluster map 802 to determine cluster metadata, including determining the spatial distribution of clusters based on disjoint regions, and determining the center (810a), shape, size, background, and / or borders ( Fig. 9 ).

[0243] In some implementations, the cluster metadata generator 122 identifies those sub-pixels in the cluster map 802 that do not belong to any of the disjoint regions and therefore do not contribute to any cluster as background. Such sub-pixels are referred to as background sub-pixels 806a-c.

[0244] In some implementations, the cluster map 802 identifies cluster boundary portions 808a-c between two adjacent sub-pixels whose base call sequences do not substantially match.

[0245] The cluster map is stored in a memory (e.g., cluster map data storage 120) to serve as a ground truth for training classifiers such as neural network-based template generator 1512 and neural network-based base caller 1514. Cluster metadata may also be stored in a memory (e.g., cluster metadata storage 124).

[0246] Fig. 9 Another example of a cluster map identifying cluster metadata including the spatial distribution of clusters, as well as cluster centers, cluster shapes, cluster sizes, cluster backgrounds, and / or cluster boundaries is shown.

[0247] Center of mass (COM)

[0248] Fig.10 It shows how to calculate the center of mass (COM) of disjoint regions in a cluster map. The COM can be used as a "modified" or "improved" center of the corresponding cluster in downstream processing.

[0249] In some implementations, the centroid generator 1004 determines the hyperlocalized center coordinates of the clusters cluster by cluster by calculating the centroids of the disjoint regions of the cluster map as the average of the coordinates of the corresponding adjacent sub-pixels that form the disjoint regions 1006. The centroid generator then stores the hyperlocalized center coordinates of the clusters cluster by cluster in a memory to be used as ground truth for training the classifier.

[0250] In some implementations, the sub-pixel classifier identifies the centroid sub-pixel 1008 in the disjoint regions 804a-d of the cluster map 802 on a cluster-by-cluster basis at the hyper-located center coordinates 1006 of the cluster.

[0251] In other specific implementations, the cluster map is upsampled using an interpolation method. The upsampled cluster map is stored in a memory to be used as a ground truth for training a classifier.

[0252] Attenuation Factor and Attenuation Map

[0253] Fig.11 A specific implementation of calculating a weighted attenuation factor for a sub-pixel based on the Euclidean distance of the sub-pixel from the centroid (COM) of the disjoint region to which the sub-pixel belongs is depicted. In the illustrated implementation, the weighted attenuation factor provides the highest value to the sub-pixel containing the COM, and the value obtained for the sub-pixel farther from the COM is smaller. The weighted attenuation factor is used to derive a reference truth attenuation map 1204 from a cluster map generated according to the sub-pixel base calling described above. The reference truth attenuation map 1204 includes an array of cells and assigns at least one output value to each cell in the array. In some implementations, the cells are sub-pixels, and an output value is assigned to each sub-pixel based on the weighted attenuation factor. The reference truth attenuation map 1204 is then used as a reference truth for training the disclosed neural network-based template generator 1512. In some implementations, information from the reference truth attenuation map 1204 is also used to prepare inputs for the disclosed neural network-based base caller 1514.

[0254] Fig.12 One implementation of an exemplary ground truth decay map 1204 derived from an exemplary cluster map generated by sub-pixel base calling as described above is shown. In some implementations, in the upsampled cluster map, a value is assigned to each neighboring sub-pixel in a disjoint region on a cluster-by-cluster basis based on a decay factor 1102 that is proportional to the distance 1106 of the neighboring sub-pixel from the centroid sub-pixel 1104 in the disjoint region to which the neighboring sub-pixel belongs.

[0255] Fig.12A ground truth attenuation map 1204 is depicted. In one implementation, the sub-pixel value is an intensity value normalized between zero and one. In another implementation, in the upsampled cluster map, the same predetermined value is assigned to all sub-pixels identified as background. In some implementations, the predetermined value is a zero intensity value.

[0256] In some specific implementations, a reference truth attenuation map 1204 is generated by a reference truth attenuation map generator 1202 based on the upsampled cluster map, and the reference truth attenuation map expresses adjacent sub-pixels in non-intersecting areas and sub-pixels identified as background based on the assigned values ​​of the adjacent sub-pixels. The reference truth attenuation map 1204 is stored in a memory to be used as a reference truth for training a classifier. In a specific implementation, each sub-pixel in the reference truth attenuation map 1204 has a value normalized between zero and one.

[0257] Ternary (three-category) mapping

[0258] Fig.13 A specific implementation of deriving a reference truth ternary map 1304 from a cluster map is shown. The reference truth ternary map 1304 comprises an array of cells and assigns at least one output value to each cell in the array. As the name implies, the ternary map specific implementation of the reference truth ternary map 1304 assigns three output values ​​to each cell in the array, so that for each cell, the first output value corresponds to a classification label or score of the background class, the second output value corresponds to a classification label or score of the cluster center class, and the third output value corresponds to a classification label or score of the cluster / cluster internal class. The reference truth ternary map 1304 is used as reference truth data for training a neural network-based template generator 1512. In some specific implementations, information from the reference truth ternary map 1304 is also used to prepare inputs for a neural network-based base detector 1514.

[0259] Fig.13 An exemplary ground truth ternary map 1304 is depicted. In another implementation, in the upsampled cluster map, the ground truth ternary map generator 1302 classifies adjacent sub-pixels in the disjoint region cluster by cluster as cluster internal sub-pixels belonging to the same cluster, classifies centroid sub-pixels as cluster center sub-pixels, and classifies sub-pixels that do not belong to any cluster as background sub-pixels. In some implementations, the classifications are stored in the ground truth ternary map 1304. These classifications and the ground truth ternary map 1304 are stored in a memory to be used as ground truth for training a classifier.

[0260] In other specific implementations, the coordinates of the cluster interior sub-pixels, cluster center sub-pixels, and background sub-pixels are stored in a memory cluster by cluster to be used as ground truth for training the classifier. The coordinates are then scaled down by a factor used to upsample the cluster map. The scaled down coordinates are then stored in a memory cluster by cluster to be used as ground truth for training the classifier.

[0261] In other embodiments, the base truth ternary map generator 1302 generates ternary base truth data 1304 based on the upsampled cluster map using the cluster map. The ternary base truth data 1304 marks background sub-pixels as belonging to the background class, cluster center sub-pixels as belonging to the cluster center class, and cluster interior sub-pixels as belonging to the cluster interior class. In some visualization embodiments, color coding can be used to depict and distinguish different class labels. The ternary base truth data 1304 is stored in a memory to be used as a base truth for training a classifier.

[0262] Binary (two-class) mapping

[0263] Fig.14 A specific implementation of a reference truth binary map 1404 derived from a cluster map is shown. Binary map 1404 comprises an array of cells and assigns at least one output value to each cell in the array. As the name implies, the binary map assigns two output values ​​to each cell in the array so that for each cell, the first output value corresponds to a classification mark or score of the cluster center class, and the second output value corresponds to a classification mark or score of the non-center class. The binary map is used as a reference truth data for training a template generator 1512 based on a neural network. In some specific implementations, information from the binary map is also used to prepare input for a base caller 1514 based on a neural network.

[0264] Fig.14 A ground truth binary map 1404 is depicted. The ground truth binary map generator 1402 generates binary ground truth data 1404 from the upsampled cluster map using the cluster map 120. The binary ground truth data 1404 labels the cluster center sub-pixels as belonging to the cluster center class and labels all other sub-pixels as belonging to the non-center class. The binary ground truth data 1404 is stored in a memory to be used as ground truth for training a classifier.

[0265] In some specific implementations, the disclosed technology generates cluster maps 120 for multiple blocks of the circulation pool, stores these cluster maps in a memory, and determines the spatial distribution of clusters in the blocks based on these cluster maps 120, and determines the shape and size of these clusters. Then, in the upsampled cluster maps 120 of the clusters in the blocks, the disclosed technology classifies the sub-pixels into cluster-internal sub-pixels, cluster-center sub-pixels, and background sub-pixels belonging to the same cluster cluster by cluster. Then, the disclosed technology stores the classification in a memory for use as a reference truth for training a classifier, and stores the coordinates of the cluster-internal sub-pixels, cluster-center sub-pixels, and background sub-pixels in a memory cluster by cluster across blocks for use as a reference truth for training a classifier. In addition, the disclosed technology reduces the coordinates by a factor for upsampling the cluster map, and stores the reduced coordinates in a memory cluster by cluster across blocks for use as a reference truth for training a classifier.

[0266] In some implementations, the flow cell has at least one patterned surface having an array of pores that occupy clusters. In such implementations, the disclosed techniques determine, based on the determined shapes and sizes of the clusters: (1) which of the pores are substantially occupied by at least one cluster, (2) which of the pores are minimally occupied, and (3) which of the pores are co-occupied by multiple clusters. This allows for determination of corresponding metadata for multiple clusters that co-occupy the same pore, i.e., the center, shape, and size of two or more clusters that share the same pore.

[0267] In some implementations, the solid support on which the sample is amplified into clusters includes a patterned surface." Patterned surface" refers to the arrangement of different regions in or on the exposed layer of the solid support. For example, one or more regions in these regions can be features where there are one or more amplification primers. Features can be separated by gap regions where there are no amplification primers. In some implementations, the pattern can be the xy format of features in the form of rows and columns. In some implementations, the pattern can be the repeated arrangement of features and / or gap regions. In some implementations, the pattern can be the random arrangement of features and / or gap regions. Exemplary patterned surfaces that can be used in the methods and compositions described herein are described in U.S. Patent No. 8,778,849, U.S. Patent No. 9,079,148, U.S. Patent No. 8,778,848 and U.S. Patent Publication No. 2014 / 0243224, each of which is incorporated herein by reference.

[0268] In some embodiments, the solid support includes an array of holes or depressions in the surface. This can be manufactured using a variety of techniques as generally known in the art, including but not limited to photolithography, imprinting techniques, molding techniques, and micro-etching techniques. Those skilled in the art will appreciate that the technique used will depend on the composition and shape of the array substrate.

[0269] The features in the patterned surface can be holes (e.g., micropores or nanopores) in a hole array on a glass, silicon, plastic or other suitable solid support with a patterned and covalently attached gel (such as, poly (N- (5-azidoacetamidopentyl) acrylamide-co-acrylamide) (PAZAM, see, e.g., U.S. Patent Publication No. 2013 / 184796, WO 2016 / 066586 and WO 2015-002813, each of which is incorporated herein by reference in its entirety)). The method produces a gel pad for sequencing that can be stable in sequencing runs with a large number of cycles. The covalent attachment of the polymer to the hole helps to maintain the gel as a structured feature during multiple uses and throughout the life of the structured substrate. However, in many specific implementations, the gel need not be covalently attached to the hole. For example, under some conditions, a silane-free acrylamide (SFA, see, e.g., U.S. Pat. No. 8,563,477, which is incorporated herein by reference in its entirety) that is not covalently attached to any portion of the structured substrate can be used as a gel material.

[0270] In a particular implementation, a structured substrate can be made by patterning a solid support material with pores (e.g., micropores or nanopores), coating the patterned support with a gel material (e.g., PAZAM, SFA, or a chemically modified variant thereof, such as an azidated version of SFA (azido-SFA)), and polishing the gel-coated support, for example by chemical or mechanical polishing, so that the gel is retained in the pores, while substantially all of the gel is removed or inactivated from the interstitial regions on the surface of the structured substrate between the pores. Primer nucleic acids can be attached to the gel material. A solution of target nucleic acids (e.g., a fragmented human genome) can then be contacted with the polished substrate so that a single target nucleic acid will be seeded into a single pore by interaction with a primer attached to the gel material; however, the target nucleic acid will not occupy the interstitial region due to the absence of the gel material or the inactivation of the gel material. Amplification of the target nucleic acid will be confined to the pores because the absence of the gel in the interstitial region or the inactivation of the gel will prevent the outward migration of the growing nucleic acid colony. The process can be easily and scalably manufactured and utilizes micro- or nano-fabrication methods.

[0271] As used herein, the term "flow cell" refers to a chamber comprising a solid surface through which one or more fluid reagents can flow. Examples of flow cells and related fluid systems and detection platforms that can be readily used in the methods of the present disclosure are described in, for example, Bentley et al., Nature, 456:53-59 (2008); WO 04 / 018497, US 7,057,026, WO 91 / 06678, WO 07 / 123744, US 7,329,492, US 7,211,414, US 7,315,019, US 7,405,281 and US 2008 / 0108082, each of which is incorporated herein by reference.

[0272] Throughout this disclosure, when referring to amplification primers, the terms "P5" and "P7" are used. It should be understood that any suitable amplification primer can be used in the method presented herein, and the use of P5 and P7 is only an exemplary embodiment. The use of amplification primers such as P5 and P7 on a circulation cell is known in the art, as illustrated by the disclosures of WO 2007 / 010251, WO 2006 / 064199, WO2005 / 065814, WO 2015 / 106941, WO 1998 / 044151, and WO 2000 / 018957, each of which is incorporated herein by reference in its entirety. For example, any suitable forward amplification primer, whether immobilized or in solution, can be used in the method presented herein for hybridization with a complementary sequence and amplification of the sequence. Similarly, any suitable reverse amplification primer, whether immobilized or in solution, can be used in the methods presented herein for hybridizing with complementary sequences and amplifying sequences. Those skilled in the art will understand how to design and use primer sequences suitable for capturing and amplifying nucleic acids presented herein.

[0273] In some implementations, the flow cell has at least one non-patterned surface, and the clusters are non-uniformly dispersed on the non-patterned surface.

[0274] In some implementations, the density of the clusters is about 100,000 clusters / mm 2 Up to about 1,000,000 clusters / mm 2 In other embodiments, the density of the clusters is about 1,000,000 clusters / mm 2 Up to about 10,000,000 clusters / mm 2 within the range.

[0275] In one implementation, the initial center coordinates of the clusters determined by the base caller are defined in the template image of the patch. In some implementations, the pixel resolution, image coordinate system, and measurement scale of the image coordinate system are the same for both the template image and the image.

[0276] In another specific implementation, the disclosed technology involves determining metadata about clusters on a block of a flow cell. First, the disclosed technology accesses (1) a set of images of the block captured during a sequencing run and (2) initial center coordinates of the clusters determined by a base caller.

[0277] Then, for each image set, the disclosed technique obtains base calls that classify the following into one of four bases: (1) an origin sub-pixel containing the initial center coordinates, and (2) a predetermined neighborhood of adjacent sub-pixels that are contiguously adjacent to a corresponding one of the origin sub-pixels. This produces a sequence of base calls for each of the origin sub-pixels and each of the predetermined neighborhoods of adjacent sub-pixels. The predetermined neighborhood of adjacent sub-pixels may be an m×n sub-pixel patch centered on the sub-pixel containing the origin sub-pixel. In one implementation, the sub-pixel patch is a 3×3 sub-pixel. In other implementations, the image patch may have any size, such as 5×5, 15×15, 20×20, etc. In other implementations, the predetermined neighborhood of adjacent sub-pixels may be an n-connected sub-pixel neighborhood centered on the sub-pixel containing the origin sub-pixel.

[0278] In one specific implementation, the disclosed technique identifies those sub-pixels in the cluster map that do not belong to any of the disjoint regions as background.

[0279] The disclosed technique then generates a cluster map that identifies clusters as non-intersecting regions of contiguous sub-pixels that: (a) are contiguously contiguous with at least some of the corresponding ones of the origin sub-pixels, and (b) share substantially matching base call sequences of one of the four bases with at least some of the corresponding ones of the origin sub-pixels.

[0280] The disclosed technology then stores the cluster map in a memory and determines the shape and size of the cluster based on the disjoint areas in the cluster map. In other implementations, the center of the cluster is also determined.

[0281] Generating training data for the template generator

[0282] Fig.15 is a block diagram illustrating one specific implementation of generating training data for training a neural network-based template generator 1512 and a neural network-based base caller 1514.

[0283] Fig.16 Features of the disclosed training examples used to train the neural network-based template generator 1512 and the neural network-based base caller 1514 are shown. Each training example corresponds to a block and is labeled with a corresponding ground truth data representation. In some implementations, the ground truth data representation is a ground truth mask or ground truth map that identifies ground truth cluster metadata in the form of a ground truth decay map 1204, a ground truth ternary map 1304, or a ground truth binary map 1404. In some implementations, multiple training examples correspond to the same block.

[0284] In one specific implementation, the disclosed technology involves generating training data 1504 for neural network-based template generation and base calling. First, the disclosed technology accesses multiple images 108 of the flow cell 202 captured within multiple cycles of a sequencing run. The flow cell 202 has multiple blocks. In the multiple images 108, each block in the block has a sequence of image sets generated within the multiple cycles. Each image in the sequence of image sets 108 depicts the intensity emission of a cluster 302 and its surrounding background 304 at a specific block in the block in a specific cycle.

[0285] Then, the training set constructor 1502 constructs a training set 1504 having a plurality of training examples. Fig.16 As shown, each training example corresponds to a specific block in the block and includes image data from at least some of the image sets in the sequence of image sets 1602 for the specific block in the block. In one specific implementation, the image data includes images from at least some of the image sets in the sequence of image sets 1602 for the specific block in the block. For example, the image may have a resolution of 1800×1800. In other specific implementations, the image may have any resolution, such as 100×100, 3000×3000, 10000×10000, etc. In other specific implementations, the image data includes at least one image patch from each image. In one specific implementation, the image patch covers a portion of the specific block in the block. In one example, the image patch may have a resolution of 20×20. In other specific implementations, the image patch may have any resolution, such as 50×50, 70×70, 90×90, 100×100, 3000×3000, 10000×10000, etc.

[0286] In some implementations, the image data includes an upsampled representation of the image patch. The upsampled representation may have a resolution of, for example, 80×80. In other implementations, the upsampled representation may have any resolution, such as 50×50, 70×70, 90×90, 100×100, 3000×3000, 10000×10000, etc.

[0287] In some implementations, the plurality of training examples correspond to the same specific block in the blocks and respectively include as image data different image patches of each image in each of at least some of the image sets in the sequence of image sets 1602 for the same specific block in the blocks. In such implementations, at least some of the different image patches overlap with each other.

[0288] Then, a ground truth generator 1506 generates at least one ground truth data representation for each of the training examples. The ground truth data representation identifies at least one of the spatial distribution of clusters on a particular one of the blocks and its surrounding background, and identifies at least one of the cluster shape, cluster size, and / or cluster boundary and / or cluster center, the intensity emissions of these clusters being depicted by the image data.

[0289] In one embodiment, the reference truth data indicates that a cluster is identified as a non-intersecting area of ​​adjacent sub-pixels, the center of the cluster is identified as a centroid sub-pixel within a corresponding non-intersecting area in the non-intersecting area, and its surrounding background is identified as a sub-pixel that does not belong to any of the non-intersecting areas.

[0290] In one implementation, the ground truth data representation has an upsampled resolution of 80 × 80. In other implementations, the ground truth data representation may have any resolution, such as 50 × 50, 70 × 70, 90 × 90, 100 × 100, 3000 × 3000, 10000 × 10000, etc.

[0291] In one specific implementation, the ground truth data indicates that each sub-pixel is identified as a cluster center or a non-center. In another specific implementation, the ground truth data indicates that each sub-pixel is identified as a cluster interior, a cluster center, or a surrounding background.

[0292] In some implementations, the disclosed technology stores the training examples in the training set 1504 and the associated ground truth data 1508 in a memory as training data 1504 for training a neural network-based template generator 1512 and a neural network-based base caller 1514. The training is performed by a trainer 1510.

[0293] In some implementations, the disclosed technology generates training data for a variety of flow cells, sequencing instruments, sequencing protocols, sequencing chemistries, sequencing reagents, and cluster densities.

[0294] Neural network based template generator

[0295] In an inference or production implementation, the disclosed technology uses peak detection and segmentation to determine cluster metadata. The disclosed technology processes input image data 1702 derived from a series of image sets 1602 through a neural network 1706 to generate an alternative representation 1708 of the input image data 1702. For example, an image set may be used for a particular sequencing cycle and include four images (A, C, T, and G images), one image for each imaging channel. Then, for a sequencing run with fifty sequencing cycles, there will be fifty such image sets, i.e., a total of 200 images. When temporarily arranged, fifty image sets, each of which has four images, will form a series of image sets 1602. In some implementations, an image patch of a specific size is extracted from each image in the fifty image sets, thereby forming fifty image patch sets, each of which has four image patches, and in one implementation, this is the input image data 1702. In other specific implementations, the input image data 1702 includes image patch sets where each image patch set has four image patches, and the image patch sets are used for less than fifty sequencing cycles, i.e., only one, two, three, fifteen, twenty sequencing cycles.

[0296] Fig.17 One implementation is shown of processing input image data 1702 through a neural network-based template generator 1512 and generating output values ​​for each cell in an array. In one implementation, the array is an attenuation map 1716. In another implementation, the array is a ternary map 1718. In yet another implementation, the array is a binary map 1720. Thus, the array may represent one or more attributes of each of a plurality of locations represented in the input image data 1702.

[0297] Different from using the structure in the previous figure to train the template generator, the reference truth decay map 1204, the reference truth ternary map 1304 and the reference truth binary map 1404, the decay map 1716, the ternary map 1718 and / or the binary map 1720 are generated by the forward propagation of the trained neural network-based template generator 1512. Forward propagation can be performed during training or during inference. During training, due to the gradient update based on backpropagation, the decay map 1716, the ternary map 1718 and the binary map 1720 (i.e., cumulatively the output 1714) gradually match or approach the reference truth decay map 1204, the reference truth ternary map 1304 and the reference truth binary map 1404, respectively.

[0298] According to one implementation, the size of the image array analyzed during inference depends on the size of the input image data 1702 (e.g., the same or an enlarged or reduced version of the size). Each cell may represent a pixel, sub-pixel, or super-pixel. The cell-by-cell output values ​​of the array may characterize / represent / indicate the attenuation map 1716, the ternary map 1718, or the binary map 1720. In some implementations, the input image data 1702 is also an array of cells at pixel, sub-pixel, or super-pixel resolution. In such implementations, the neural network-based template generator 1512 uses semantic segmentation techniques to generate output values ​​for each cell in the input array. Additional details about the input image data 1702 can be found at Figure 21b , Fig. 22 , Fig.23 and Fig.24 and discussion of these figures.

[0299] In some specific implementations, the neural network-based template generator 1512 is a fully convolutional network, such as the fully convolutional network described in "Fully convolutional networks for semantic segmentation" (2015) by J. Long, E. Shelhamer, and T. Darrell in CVPR, which is incorporated herein by reference. In other specific implementations, the neural network-based template generator 1512 is a U-Net network with jump connections between the decoder and the encoder, such as the U-Net network described in "U-net: Convolutional networks for biomedical image segmentation" (2015) by Ronneberger O, Fischer P, Brox T. in Med. Image Comput. Comput. Assist. Interv (the document is obtained from http: / / link.springer.com / chapter / 10.1007 / 978-3-319-24574-4_28), which is incorporated herein by reference. The U-Net architecture is similar to an autoencoder with two main substructures: 1) an encoder that takes an input image and reduces its spatial resolution through multiple convolutional layers to create a representation encoding. 2) a decoder that takes the representation encoding and increases the spatial resolution back to produce a reconstructed image as output. U-Net introduces two innovations to the architecture: first, setting the objective function to reconstruct the segmentation mask using a loss function; second, using skip connections to connect the convolutional layers of the encoder to the corresponding layers of the decoder with the same resolution. In another embodiment, the neural network-based template generator 1512 is a deep fully convolutional segmentation neural network with an encoder subnetwork and a corresponding decoder network. In such embodiments, the encoder subnetwork includes an encoder hierarchy, and the decoder subnetwork includes a decoder hierarchy that maps the low-resolution encoder feature map to the full-input resolution feature map. Additional details about the segmentation network can be found in the Appendix entitled "Segmentation Network".

[0300] In one implementation, the neural network based template generator 1512 is a convolutional neural network. In another implementation, the neural network based template generator 1512 is a recursive neural network. In yet another implementation, the neural network based template generator 1512 is a residual neural network with residual blocks and residual connections. In another implementation, the neural network based template generator 1512 is a combination of a convolutional neural network and a recursive neural network.

[0301] Those skilled in the art will appreciate that the neural network-based template generator 1512 (i.e., the neural network 1706 and / or the output layer 1710) can use various padding and stride configurations. It can use different output functions (e.g., classification or regression) and may or may not include one or more fully connected layers. It can use 1D convolution, 2D convolution, 3D convolution, 4D convolution, 5D convolution, dilated or dilated convolution, transposed convolution, depthwise separable convolution, pointwise convolution, 1×1 convolution, grouped convolution, flattened convolution, spatial and cross-channel convolution, shuffled grouped convolution, spatially separable convolution, and deconvolution. It can use one or more loss functions, such as logistic regression / logarithmic loss function, multi-class cross entropy / softmax loss function, binary cross entropy loss function, mean square error loss function, L1 loss function, L2 loss function, smoothed L1 loss function, and Huber loss function. It can use any parallelism, efficiency and compression scheme, such as TFRecords, compression encoding (e.g., PNG), sharpening, parallel detection of map conversion, batching, prefetching, model parallelism, data parallelism and synchronous / asynchronous SGD. It can include upsampling layers, downsampling layers, recurrent connections, gate and gate memory units (such as LSTM or GRU), residual blocks, residual connections, high-speed connections, skip connections, peephole connections, activation functions (e.g., non-linear transformation functions such as rectified linear units (ReLU), leaky ReLU, exponential lining units (ELU), sigmoid and hyperbolic tangent (tanh)), batch normalization layers, regularization layers, dropout layers, pooling layers (e.g., max or average pooling), global average pooling layers and attention mechanisms.

[0302] In some implementations, each image in the sequence of image set 1602 covers a block and depicts the intensity emission captured for a specific imaging channel in a specific sequencing cycle of multiple sequencing cycles of a sequencing run performed on a flow cell for a cluster on the block and its surrounding background. In one implementation, the input image data 1702 includes at least one image patch from each image in the sequence of images from the image set 1602. In such implementations, the image patch covers a portion of the block. In one example, the image patch has a resolution of 20×20. In other cases, the resolution of the image patch may be in the range of 20×20 to 10000×10000. In another implementation, the input image data 1702 includes an upsampled sub-pixel resolution representation of the image patch from each image in the sequence of images from the image set 1602. In one example, the upsampled sub-pixel representation has a resolution of 80×80. In other cases, the resolution of the upsampled sub-pixel representation may be in the range of 80×80 to 10000×10000.

[0303] The input image data 1702 has a cell array 1704 depicting a cluster and its surrounding background. For example, an image set may be used for a particular sequencing cycle and include four images (A, C, T, and G images), one for each imaging channel. Then, for a sequencing run with fifty sequencing cycles, there will be fifty such image sets, i.e., 200 images in total. When temporarily arranged, fifty image sets, each of which has four images, will form a series of image sets 1602. In some implementations, an image patch of a specific size is extracted from each image in the fifty image sets, thereby forming fifty image patch sets, each of which has four image patches, and in one implementation, this is the input image data 1702. In other implementations, the input image data 1702 includes image patch sets, each of which has four image patches, which are used for less than fifty sequencing cycles, i.e., only one, two, three, fifteen, twenty sequencing cycles. An alternative representation is a feature map. When the neural network is a convolutional neural network, the feature map may be a convolutional feature or a convolutional representation. When the neural network is a recurrent neural network, the feature map may be a hidden state feature or a hidden state representation.

[0304] The disclosed technology then processes the alternative representation 1708 through an output layer 1710 to generate an output 1714 having an output value 1712 for each cell in the array 1704. The output layer can be a classification layer such as softmax or sigmoid that produces cell-by-cell output values. In one specific implementation, the output layer is a ReLU layer or any other activation function layer that produces cell-by-cell output values.

[0305] In one implementation, the units in the input image data 1702 are pixels, and thus pixel-by-pixel output values ​​1712 are generated in the output 1714. In another implementation, the units in the input image data 1702 are sub-pixels, and thus sub-pixel-by-sub-pixel output values ​​1712 are generated in the output 1714. In yet another implementation, the units in the input image data 1702 are super-pixels, and thus super-pixel-by-super-pixel output values ​​1712 are generated in the output 1714.

[0306] Export cluster metadata from decay, ternary, and / or binary maps

[0307] Fig.18One implementation of a post-processing technique is shown, which is applied to the attenuation map 1716, ternary map 1718, or binary map 1720 generated by the neural network-based template generator 1512 to derive cluster metadata, including cluster centers, cluster shapes, cluster sizes, cluster backgrounds, and / or cluster boundaries. In some implementations, the post-processing technique is applied by a post-processor 1814, which also includes a thresholder 1802, a peak locator 1806, and a segmenter 1810.

[0308] The input to the thresholder 1802 is an attenuation map 1716, a ternary map 1718, or a binary map 1720 generated by a template generator 1512 (such as the disclosed neural network-based template generator). In one specific implementation, the thresholder 1802 applies thresholding to the values ​​in the attenuation map, the ternary map, or the binary map to identify background cells 1804 (i.e., sub-pixels that characterize the non-cluster background) and non-background cells. In other words, once the output 1714 is generated, the thresholder 1802 thresholds the output values ​​of the cells 1712 and classifies or reclassifies a first subset of the cells 1712 as "background cells" 1804, which depict the surrounding background of the cluster, and "non-background cells" that depict cells that may belong to the cluster. The thresholds applied by the thresholder 1802 can be preset.

[0309] The input to the peak locator 1806 is also the attenuation map 1716, the ternary map 1718, or the binary map 1720 generated by the neural network-based template generator 1512. In one implementation, the peak locator 1806 applies peak detection to the values ​​in the attenuation map 1716, the ternary map 1718, or the binary map 1720 to identify the center cell 1808 (i.e., the center sub-pixel that characterizes the center of the cluster). In other words, the peak locator 1806 processes the output values ​​of the cells 1712 in the output 1714 and classifies a second subset of the cells 1712 as "center cells" 1808 that contain cluster centers. In some implementations, the cluster centers detected by the peak locator 1806 are also cluster centroids. The center cells 1808 are then provided to the segmenter 1810. Additional details about the peak locator 1806 can be found in the Appendix entitled "Peak Detection".

[0310] Thresholding and peak detection can be performed in parallel or sequentially. That is, they are independent of each other.

[0311] The input to the segmenter 1810 is also the attenuation map 1716, ternary map 1718, or binary map 1720 generated by the neural network-based template generator 1512. Additional complementary inputs to the segmenter 1810 include the threshold cells (background, non-background cells) 1804 identified by the thresholder 1802, and the center cell 1808 identified by the peak locator 1806. The segmenter 1810 uses the background, non-background cells 1804, and the center cell 1808 to identify the disjoint regions 1812 (i.e., non-overlapping adjacent clusters / cluster-internal sub-pixel groups that characterize clusters). In other words, the segmenter 1810 processes the output values ​​of the cells 1712 in the output 1714, and uses the background, non-background cells 1804, and the center cell 1808 to determine the shape 1812 of the cluster as a non-overlapping region of adjacent cells separated by the background cells 1804 and centered on the center cell 1808. The output of the segmenter 1810 is the cluster metadata 1812. Cluster metadata 1812 identifies cluster centers, cluster shapes, cluster sizes, cluster backgrounds, and / or cluster boundaries.

[0312] In one implementation, segmenter 1810 starts with center cell 1808 and determines for each center cell a set of consecutive adjacent cells that depict the same cluster whose centroid is contained in the center cell. In one implementation, segmenter 1810 uses a so-called "watershed" segmentation technique to subdivide adjacent clusters into multiple adjacent clusters at valley intensities. Additional details on the watershed segmentation technique and other segmentation techniques can be found in the appendix entitled "Watershed Segmentation".

[0313] In one implementation, the output values ​​of the units 1712 in the output 1714 are continuous values, such as the values ​​encoded in the ground truth decay map 1204. In another implementation, the output values ​​are softmax scores, such as the scores encoded in the ground truth ternary map 1304 and the ground truth binary map 1404. In the ground truth decay map 1204, according to one implementation, the neighboring cells in the corresponding non-overlapping regions of the non-overlapping regions have output values ​​weighted according to the distance of the neighboring cells from the center cell in the non-overlapping region to which the neighboring cells belong. In this implementation, the center cell has the highest output value in the corresponding non-overlapping region of the non-overlapping regions. As described above, during training, due to back-propagation-based gradient updates, the attenuation map 1716, the ternary map 1718, and the binary map 1720 (i.e., cumulatively the output 1714) gradually match or approach the reference truth attenuation map 1204, the reference truth ternary map 1304, and the reference truth binary map 1404, respectively.

[0314] Pixel Domain - Intensity Extraction for Irregular Cluster Shapes

[0315] We now discuss how the cluster shape determined by the disclosed techniques can be used to extract the intensity of the cluster. Since clusters typically have irregular shapes and contours, the disclosed techniques can be used to identify which sub-pixels contribute to the non-intersecting / non-overlapping regions of the irregular shape representing the cluster shape.

[0316] Fig.19 A specific implementation of extracting cluster intensities in the pixel domain is depicted. A "template image" or "template" may refer to a data structure that contains or identifies cluster metadata 1812 derived from the attenuation map 1716, the ternary map 1718, and / or the binary map 1718. The cluster metadata 1812 identifies cluster centers, cluster shapes, cluster sizes, cluster backgrounds, and / or cluster boundaries.

[0317] In some implementations, the template image is in the upsampled sub-pixel domain to distinguish cluster boundaries at a fine-grained level. However, the sequencing image 108 containing cluster and background intensity data is usually in the pixel domain. Therefore, the disclosed technology proposes two methods to use the cluster shape information encoded in the template image at the upsampled sub-pixel resolution to extract the intensity of irregular-shaped clusters from the optical pixel resolution sequencing image. In the first method, as Fig.19 As depicted, non-overlapping groups of adjacent sub-pixels identified in the template image are located in the pixel-resolution sequencing image, and the intensities of these non-overlapping groups of adjacent sub-pixels are extracted by interpolation. Additional details on this intensity extraction technique can be found in Fig.33 and a discussion about the figure.

[0318] In one implementation, when the non-overlapping regions have irregular contours and the units are sub-pixels, the cluster intensity 1912 of a given cluster is determined by the intensity extractor 1902 as follows.

[0319] First, sub-pixel locator 1904 identifies sub-pixels that contribute to the cluster intensity of a given cluster based on corresponding non-overlapping areas of adjacent sub-pixels that identify the shape of the given cluster.

[0320] The sub-pixel locator 1904 then locates the identified sub-pixels in one or more optical pixel resolution images 1918 generated for one or more imaging channels in the current sequencing cycle. In one implementation, integer or non-integer coordinates (e.g., floating point) are located in the optical pixel resolution images after downscaling based on a downscaling factor that matches the upsampling factor used to create the sub-pixel domain.

[0321] Then, the interpolator and sub-pixel intensity combiner 1906 performs the following operations: interpolating the intensities of the sub-pixels identified in the processed image, combining the interpolated intensities and normalizing the combined interpolated intensities to produce a per-image cluster intensity for a given cluster in each image in the image. Normalization is performed by a normalizer 1908 and is based on a normalization factor. In one specific implementation, the normalization factor is the number of sub-pixels identified. This is done to normalize / account for different cluster sizes and the uneven illumination received by the clusters (which depends on their position in the flow cell).

[0322] Finally, a cross-channel sub-pixel intensity accumulator 1910 combines the per-image cluster intensities for each image in the image to determine a cluster intensity 1912 for a given cluster in the current sequencing cycle.

[0323] The given cluster is then base called based on the cluster intensity 1912 in the current sequencing cycle by any of the base callers discussed in this application, resulting in base calls 1916.

[0324] However, in some implementations, when the cluster size is large enough, the output of the neural network-based base caller 1514 (i.e., the attenuation map 1716, the ternary map 1718, and the binary map 1720) is in the optical pixel domain. Therefore, in such implementations, the template image is also in the optical pixel domain.

[0325] Sub-pixel domain - intensity extraction of irregular cluster shapes

[0326] Fig. 20 A second method for extracting cluster intensities in the sub-pixel domain is depicted. In this second method, the sequencing image at optical pixel resolution is upsampled to sub-pixel resolution. This results in a correspondence between the "cluster shapes depicted in sub-pixels" in the template image and the "cluster intensities depicted in sub-pixels" in the upsampled sequencing image. Cluster intensities are then extracted based on the correspondence. Additional details on this intensity extraction technique can be found in Fig.33 and a discussion about the figure.

[0327] In one implementation, when the non-overlapping regions have irregular contours and the units are sub-pixels, the cluster intensity 2012 of a given cluster is determined by the intensity extractor 2002 as follows.

[0328] First, sub-pixel locator 2004 identifies sub-pixels that contribute to the cluster intensity of a given cluster based on corresponding non-overlapping areas of adjacent sub-pixels that identify the shape of the given cluster.

[0329] The sub-pixel locator 2004 then locates the identified sub-pixels in one or more optical pixel resolution images 2018 upsampled from the corresponding optical pixel resolution images 1918 generated for one or more imaging channels in the current sequencing cycle. Upsampling can be performed by: nearest neighbor intensity extraction, Gaussian-based intensity extraction, intensity extraction based on the average of a 2×2 sub-pixel area, intensity extraction based on the brightest point in a 2×2 sub-pixel area, intensity extraction based on the average of a 3×3 sub-pixel area, bilinear intensity extraction, bicubic intensity extraction, and / or intensity extraction based on weighted area coverage. These techniques are described in detail in the Appendix entitled "Intensity Extraction Methods". In some embodiments, a template image can be used as a mask for intensity extraction.

[0330] Then, in each of the upsampled images, a subpixel intensity combiner 2006 combines the intensities of the identified subpixels and normalizes the combined intensities to produce a per-image cluster intensity for a given cluster in each of the upsampled images. Normalization is performed by a normalizer 2008 and is based on a normalization factor. In one specific implementation, the normalization factor is the number of identified subpixels. This is done to normalize / account for different cluster sizes and the uneven illumination received by the clusters (depending on their position in the flow cell).

[0331] Finally, a cross-channel sub-pixel intensity accumulator 2010 combines the per-image cluster intensities for each of the upsampled images to determine a cluster intensity 2012 for a given cluster in the current sequencing cycle.

[0332] The given cluster is then base called based on the cluster intensity 2012 in the current sequencing cycle by any of the base callers discussed in this application, resulting in base calls 2016.

[0333] Types of Neural Network-Based Template Generators

[0334] The details of three different implementations of the neural network-based template generator 1512 are now discussed. Fig.21a , and includes: (1) a template generator 2600 based on an attenuation map (also known as a regression model), (2) a template generator 4600 based on a binary map (also known as a binary classification model), and (3) a template generator 5400 based on a ternary map (also known as a ternary classification model).

[0335] In one implementation, the regression model 2600 is a fully convolutional network. In another implementation, the regression model 2600 is a U-Net network with skip connections between the decoder and the encoder. In one implementation, the binary classification model 4600 is a fully convolutional network. In another implementation, the binary classification model 4600 is a U-Net network with skip connections between the decoder and the encoder. In one implementation, the ternary classification model 5400 is a fully convolutional network. In another implementation, the ternary classification model 5400 is a U-Net network with skip connections between the decoder and the encoder.

[0336] Input image data

[0337] Figure 21b Depicted is one specific implementation of input image data 1702 fed as input to a neural network-based template generator 1512. The input image data 1702 includes a series of image sets 2100 having sequencing images 108 generated during a certain number of initial sequencing cycles (e.g., the first 2 to 7 sequencing cycles) of a sequencing run.

[0338] In some implementations, the intensity of the sequencing images 108 is corrected for background and / or the images are aligned to each other using an affine transform. In one implementation, the sequencing run utilizes a four-channel chemistry, and each image set has four images. In another implementation, the sequencing run utilizes a dual-channel chemistry, and each image set has two images. In yet another implementation, the sequencing run utilizes a single-channel chemistry, and each image set has two images. In other implementations, each image set has only one image. These and other different implementations are described in Appendix 6 and 9.

[0339] Each image 2116 in the series of image sets 2100 covers a block 2104 of the flow cell 2102 and depicts the intensity emission of the cluster 2106 and its surrounding background on the block 2104 captured for a particular imaging channel in a particular sequencing cycle among a plurality of sequencing cycles of a sequencing run. In one example, for cycle t1, the image set includes four images 2112A, 2112C, 2112T, and 2112G: one image for each base A, C, T, and G, which are labeled with corresponding fluorescent dyes and imaged in corresponding wavelength bands (images / imaging channels).

[0340] For schematic illustration, in image 2112G, Figure 21bCluster intensity emission is depicted as 2108 and background intensity emission is depicted as 2110. In another example, for cycle tn, the image set includes four images 2114A, 2114C, 2114T, and 2114G: one image for each base A, C, T, and G, which are labeled with corresponding fluorescent dyes and imaged in corresponding wavelength bands (images / imaging channels). Also for schematic illustration, in image 2114A, Figure 21b The cluster intensity emission is depicted as 2118 and in image 2114T, the background intensity emission is depicted as 2120.

[0341] Input image data 1702 is encoded using intensity channels (also referred to as imaging channels). For each image in the c-image obtained from the sequencer for a particular sequencing cycle, its intensity signal data is encoded using a separate imaging channel. For example, considering that the sequencing run uses a dual-channel chemistry that produces a red image and a green image in each sequencing cycle. In this case, the input data 2632 includes (i) a first red imaging channel with w×h pixels, which depicts the intensity emission captured in the red image of the one or more clusters and their surrounding background; and (ii) a second green imaging channel with w×h pixels, which depicts the intensity emission captured in the green image of the one or more clusters and their surrounding background.

[0342] Non-image data

[0343] In another implementation, the input data to the neural network-based template generator 1512 and the neural network-based base caller 1514 is based on pH changes due to the release of hydrogen ions during molecular extension. The pH change is detected and converted into a voltage change that is proportional to the number of bases incorporated (e.g., in the case of Ion Torrent).

[0344] In yet another specific implementation, the input data is constructed according to nanopore sensing, which uses a biosensor to measure the interruption of the current when the analyte passes through the nanopore or approaches its orifice, while determining the type of base. For example, Oxford Nanopore Technology (ONT) sequencing is based on the following concept: single-stranded DNA (or RNA) is passed through the membrane via a nanopore, and a voltage difference is applied across the membrane. The nucleotides present in the hole will affect the resistance of the hole, so the current measurement results over time can indicate the sequence of DNA bases passing through the hole. This current signal (called a "squiggle" due to its appearance when drawn) is the raw data collected by the ONT sequencer. These measurements are stored as 16-bit integer data acquisition (DAC) values ​​obtained at a frequency of (for example) 4kHz. In the case of a DNA chain speed of about 450 base pairs / second, this gives an average of about nine raw observations for each base. The signal is then processed to identify the interruption of the opening signal corresponding to each reading. These maximum uses of the raw signal are to perform base calling, the process of converting DAC values ​​into DNA base sequences. In some implementations, the input data includes normalized or scaled DAC values.

[0345] In another specific implementation, image data is not used as input to the neural network-based template generator 1512 or the neural network-based base caller 1514. Instead, the input to the neural network-based template generator 1512 and the neural network-based base caller 1514 is based on pH changes due to the release of hydrogen ions during molecular extension. The pH change is detected and converted into a voltage change that is proportional to the number of bases incorporated (e.g., in the case of Ion Torrent).

[0346] In yet another specific implementation, the inputs of the neural network-based template generator 1512 and the neural network-based base detector 1514 are constructed according to nanopore sensing, which uses a biosensor to measure the interruption of the current when the analyte passes through the nanopore or approaches its orifice, while determining the type of base. For example, Oxford Nanopore Technology (ONT) sequencing is based on the following concept: single-stranded DNA (or RNA) is passed through a membrane via a nanopore, and a voltage difference is applied across the membrane. The nucleotides present in the hole will affect the resistance of the hole, so the current measurement results over time can indicate the sequence of DNA bases passing through the hole. This current signal (called a "squiggle" because of its appearance when plotted) is the raw data collected by the ONT sequencer. These measurements are stored as 16-bit integer data acquisition (DAC) values ​​acquired at a frequency of (for example) 4kHz. In the case of a DNA chain speed of about 450 base pairs / second, this gives an average of about nine raw observations per base. The signal is then processed to identify the interruption of the opening signal corresponding to each reading. The greatest use of these raw signals is to perform base calling, the process of converting DAC values ​​into DNA base sequences. In some implementations, input data 2632 includes normalized or scaled DAC values.

[0347] Patch extraction

[0348] Fig. 22 Shows from Figure 21b In one embodiment, the sequenced images 108 in the sequence of image sets 2100 are extracted from the sequence of image sets 2100 to generate a series of "reduced size" image sets that form the input image data 1702. In the illustrated embodiment, the size of the sequencing images 108 in the sequence of image sets 2100 is L×L (e.g., 2000×2000). In other embodiments, L is any number in the range of 1 to 10,000.

[0349] In one specific implementation, the patch extractor 2202 extracts patches from the sequencing images 108 in the series of image sets 2100, and generates a series of reduced-size image sets 2206, 2208, 2210, and 2212. Each image in the series of reduced-size image sets is a patch of size M×M (e.g., 20×20) extracted from a corresponding sequencing image in the series of image sets 2100. The size of the patch can be preset. In other specific implementations, M is any number in the range of 1 to 1000.

[0350] exist Fig. 22, four exemplary series of reduced-size image sets are shown. A first exemplary series of reduced-size image sets 2206 are extracted from the sequenced images 108 (coordinates 0, 0 to 20, 20) in the series of image sets 2100. A second exemplary series of reduced-size image sets 2208 are extracted from the sequenced images 108 (coordinates 20, 20 to 40, 40) in the series of image sets 2100. A third exemplary series of reduced-size image sets 2210 are extracted from the sequenced images 108 (coordinates 40, 40 to 60, 60) in the series of image sets 2100. A fourth exemplary series of reduced-size image sets 2212 are extracted from the sequenced images 108 (coordinates 60, 60 to 80, 80) in the series of image sets 2100.

[0351] In some implementations, the series of reduced-size image sets form input image data 1702, which is fed as input to the neural network-based template generator 1512. Multiple series of reduced-size image sets can be fed simultaneously as an input batch, and a separate output can be generated for each series in the input batch.

[0352] Upsampling

[0353] Fig.23 Describes the Figure 21b A specific implementation of upsampling a series of image sets 2100 in to produce a series of “upsampled” image sets 2300 that form the input image data 1702.

[0354] In one specific implementation, the upsampler 2302 uses an interpolation method (eg, bicubic interpolation) to upsample the sequenced images 108 in the series of image sets 2100 by an upsampling factor (eg, 4 times) to generate a series of upsampled image sets 2300 .

[0355] In the illustrated implementation, the sequencing images 108 in the series of image sets 2100 have a size of L×L (e.g., 2000×2000) and are upsampled by an upsampling factor of 4 to produce upsampled images of size U×U (e.g., 8000×8000) in the series of upsampled image sets 2300.

[0356] In one specific implementation, the sequencing images 108 in the series of image sets 2100 are directly fed to the neural network-based template generator 1512, and upsampling is performed by the initial layer of the neural network-based template generator 1512. That is, the upsampler 2302 is part of the neural network-based template generator 1512, and operates as its first layer, which upsamples the sequencing images 108 in the series of image sets 2100 and generates a series of upsampled image sets 2300.

[0357] In some implementations, a series of upsampled image sets 2300 form input image data 1702, which is fed as input to the neural network-based template generator 1512.

[0358] Fig.24 Shows from Fig.23 A specific implementation of extracting patches from the series of upsampled image sets 2300 to produce a series of “upsampled and downsized” image sets 2406 , 2408 , 2410 , and 2412 that form the input image data 1702 .

[0359] In one implementation, the patch extractor 2202 extracts patches from the upsampled images in the series of upsampled image sets 2300, and generates a series of upsampled and downsized image sets 2406, 2408, 2410, and 2412. Each upsampled image in the series of upsampled and downsized image sets is a patch of size M×M (e.g., 80×80) extracted from a corresponding upsampled image in the series of upsampled image sets 2300. The size of the patch may be preset. In other implementations, M is any number in the range of 1 to 1000.

[0360] exist Fig.24 , four exemplary series of upsampled and downsized image sets are shown. A first exemplary series of upsampled and downsized image sets 2406 are extracted from the upsampled images (coordinates 0, 0 to 80, 80) in the series of upsampled image sets 2300. A second exemplary series of upsampled and downsized image sets 2408 are extracted from the upsampled images (coordinates 80, 80 to 160, 160) in the series of upsampled image sets 2300. A third exemplary series of upsampled and downsized image sets 2410 are extracted from the upsampled images (coordinates 160, 160 to 240, 240) in the series of upsampled image sets 2300. A fourth exemplary series of upsampled and downsized image sets 2412 are extracted from the upsampled images (coordinates 240, 240 to 320, 320) in the series of upsampled image sets 2300.

[0361] In some implementations, the series of upsampled and downsized image sets form input image data 1702, which is fed as input to the neural network based template generator 1512. Multiple series of upsampled and downsized image sets can be fed simultaneously as an input batch, and a separate output can be generated for each series in the input batch.

[0362] Output

[0363] The three models are trained to produce different outputs. This is achieved by using different types of ground truth data representations as training labels. The regression model 2600 is trained to produce an output that characterizes / represents / indicates the so-called "attenuation map" 1716. The binary classification model 4600 is trained to produce an output that characterizes / represents / indicates the so-called "binary map" 1720. The ternary classification model 5400 is trained to produce an output that characterizes / represents / indicates the so-called "ternary map" 1718.

[0364] The output 1714 of each type of model includes an array of cells 1712. Cells 1712 can be pixels, sub-pixels, or super-pixels. The output of each type of model includes cell-by-cell output values, such that the output values ​​of the cell arrays together characterize / represent / indicate an attenuation map 1716 in the case of the regression model 2600, a binary map 1720 in the case of the binary classification model 4600, and a ternary map 1718 in the case of the ternary classification model 5400. More details are as follows.

[0365] Benchmark truth data generation

[0366] Fig.25 One specific implementation of the overall exemplary process for generating ground truth data for training a neural network-based template generator 1512 is shown. For a regression model 2600, the ground truth data may be a decay map 1204. For a binary classification model 4600, the ground truth data may be a binary map 1404. For a ternary classification model 5400, the ground truth data may be a ternary map 1304. The ground truth data is generated from cluster metadata. The cluster metadata is generated by a cluster metadata generator 122. The ground truth data is generated by a ground truth data generator 1506.

[0367] In the illustrated implementation, ground truth data is generated for block A on channel A of flow cell A. Ground truth data is generated from sequencing images 108 of block A captured during sequencing run A. Sequencing images 108 of block A are in the pixel domain. In one example involving four-channel chemistry generating four sequencing images per sequencing cycle, fifty sequencing cycles yield two hundred sequencing images 108. Each of the two hundred sequencing images 108 depicts the intensity emission of a cluster on block A and its surrounding background captured in a particular imaging channel in a particular sequencing cycle.

[0368] The sub-pixel addresser 110 converts the sequenced image 108 into the sub-pixel domain (eg, by dividing each pixel into a plurality of sub-pixels) and generates a sequenced image 112 in the sub-pixel domain.

[0369] Then, a base caller 114 (eg, RTA) processes the sequencing image 112 in the sub-pixel domain and generates a base call for each sub-pixel and each of the fifty sequencing cycles. This is referred to herein as "sub-pixel base calling."

[0370] The sub-pixel base calls are then merged 116 to generate a base call sequence for each sub-pixel across fifty sequencing cycles. The base call sequence for each sub-pixel has fifty base calls, ie, one base call for each of the fifty sequencing cycles.

[0371] Searcher 118 evaluates the base call sequences of adjacent sub-pixels pair by pair. The search involves evaluating each sub-pixel to determine which of its adjacent sub-pixels it shares a substantially matching base call sequence with. The base call sequences of adjacent sub-pixels are "substantially matched" when a predetermined portion of the base calls match in positional order (e.g., there are ≥41 matches in 45 cycles, ≤4 mismatches in 45 cycles, ≤4 mismatches in 50 cycles, or ≤2 mismatches in 34 cycles).

[0372] In some implementations, the base caller 114 also identifies the initial center coordinates of the cluster. The sub-pixel containing the initial center coordinates is referred to as the center or origin sub-pixel. Figure 6 604a-c) and the corresponding origin sub-pixels (606a-c) identified by the base caller 114 are shown in FIG. However, the origin sub-pixel (the initial center coordinate of the cluster) need not be identified, as described below. In some implementations, the searcher 118 uses a breadth-first search to identify a substantially matching base call sequence of sub-pixels by starting with the origin sub-pixels 606a-c and continuing with consecutive adjacent non-origin sub-pixels 702a-c. This is also optional, as described below.

[0373] The search for a substantially matching base call sequence for a sub-pixel does not require identification of the origin sub-pixel (the initial center coordinate of the cluster) because the search can be performed on all sub-pixels, and the search does not have to start from the origin sub-pixel, but can start from any sub-pixel (e.g., the 0,0 sub-pixel or any random sub-pixel). Therefore, since each sub-pixel is evaluated to determine whether it shares a substantially matching base call sequence with another adjacent sub-pixel, the search does not have to utilize the origin sub-pixel and can start at any sub-pixel.

[0374] Regardless of whether the origin sub-pixel is used, certain clusters are identified that do not contain the origin sub-pixel (the initial center coordinate of the cluster) predicted by base caller 114. Some examples of clusters identified by merging sub-pixel base calling and that do not contain the origin sub-pixel are Figure 8aThus, using base caller 114 to identify the origin sub-pixel (initial center coordinate of the cluster) is optional and not necessary for searching for substantially matching base call sequences of sub-pixels.

[0375] Searcher 118: (1) identifies adjacent sub-pixels having substantially matching base call sequences as so-called "disjoint regions," (2) further evaluates the base call sequences of those sub-pixels that do not belong to any of the disjoint regions identified at (1) to generate additional disjoint regions, and (3) then identifies background sub-pixels as those sub-pixels that do not belong to either of the disjoint regions identified at (1) and (2). Action (2) allows the disclosed technique to identify additional or additional clusters whose centers have not yet been identified by base caller 114.

[0376] The results of the searcher 118 are encoded in a so-called "cluster map" for tile A and stored in a cluster map data storage device 120. In the cluster map, each of the clusters on tile A is identified by a corresponding non-intersecting region of adjacent sub-pixels, with background sub-pixels separating the non-intersecting regions to identify the surrounding background on the tile.

[0377] A centroid (COM) calculator 1004 determines the center of each of the clusters on block A by calculating the COM of each of the non-intersecting regions as the average of the coordinates of the corresponding adjacent sub-pixels forming the non-intersecting regions. The centroid of the cluster is stored as COM data 2502 .

[0378] The sub-pixel classifier 2504 uses the cluster map and the COM data 2502 to generate a sub-pixel classification 2506. The sub-pixel classification 2506 classifies the sub-pixels in the cluster map into: (1) background sub-pixels, (2) COM sub-pixels (each non-intersecting region of the COM containing the corresponding non-intersecting region has one COM sub-pixel), and (3) cluster / cluster-internal sub-pixels forming the corresponding non-intersecting region. That is, each sub-pixel in the cluster map is assigned to one of the three categories.

[0379] Based on the sub-pixel classification 2506, in some specific implementations, (i) the baseline truth attenuation map 1204 is generated by the baseline truth attenuation map generator 1202, (ii) the baseline truth binary map 1304 is generated by the baseline truth binary map generator 1302, and (iii) the baseline truth ternary map 1404 is generated by the baseline truth ternary map generator 1402.

[0380] 1. Regression Model

[0381] Fig.26One implementation of a regression model 2600 is shown. In the illustrated implementation, the regression model 2600 is a fully convolutional network 2602 that processes input image data 1702 through an encoder subnetwork and a corresponding decoder subnetwork. The encoder subnetwork includes an encoder hierarchy. The decoder subnetwork includes a decoder hierarchy that maps a low-resolution encoder feature map to a full input resolution attenuation map 1716. In another implementation, the regression model 2600 is a U-Net network 2604 with jump connections between the decoder and the encoder. Additional details about the segmentation network can be found in the Appendix entitled "Segmentation Network".

[0382] Attenuation Map

[0383] Fig. 27 A specific implementation of generating a reference truth attenuation map 1204 from a cluster map 2702 is depicted. The reference truth attenuation map 1204 is used as reference truth data for training the regression model 2600. In the reference truth attenuation map 1204, the reference truth attenuation map generator 1202 assigns a weighted attenuation value to each adjacent sub-pixel in the non-intersecting region based on a weighted attenuation factor. The weighted attenuation value is proportional to the Euclidean distance of the adjacent sub-pixel from the centroid (COM) sub-pixel in the non-intersecting region to which the adjacent sub-pixel belongs, so that the weighted attenuation value is the highest (e.g., 1 or 100) for the COM sub-pixel, and is lower for the sub-pixel farther away from the COM sub-pixel. In some specific implementations, the weighted attenuation value is multiplied by a preset factor, such as 100.

[0384] Additionally, the ground truth attenuation map generator 1202 assigns the same predetermined value (eg, a floor background value) to all background sub-pixels.

[0385] The reference truth attenuation map 1204 expresses neighboring sub-pixels and background sub-pixels in the disjoint region based on the assigned values. The reference truth attenuation map 1204 also stores the assigned values ​​in a cell array, where each cell in the array represents a corresponding sub-pixel in the input.

[0386] train

[0387] Fig.28 It is a specific implementation of training 2800 the regression model 2600 using a back-propagation based gradient update technique, which modifies the parameters of the regression model 2600 until the training output of the regression model 2600 during training 2800 gradually approaches or matches the reference true value attenuation map 1204 to generate an attenuation map 1716.

[0388] The training 2800 includes iteratively optimizing a loss function that minimizes an error 2806 between the attenuation map 1716 and the ground truth attenuation map 1204, and updating parameters of the regression model 2600 based on the error 2806. In one specific implementation, the loss function is a mean squared error, and the error is minimized sub-pixel by sub-pixel between the weighted attenuation values ​​of the corresponding sub-pixels in the attenuation map 1716 and the ground truth attenuation map 1204.

[0389] Training 2800 includes hundreds, thousands, and / or millions of iterations of forward propagation 2808 and backward propagation 2810, including parallelization techniques such as batch processing. Training data 1504 includes a series of upsampled and downsized image sets as input image data 1702. Training data 1504 is annotated with ground truth labels by annotator 2806. Training 2800 is operated by trainer 1510 using a stochastic gradient update algorithm such as ADAM.

[0390] infer

[0391] Fig.29 is a specific implementation of generating a template by the regression model 2600 during inference 2900, wherein the attenuation map 1716 is produced by the regression model 2600 as an inference output during inference 2900. An example of the attenuation map 1716 is disclosed in the Appendix entitled "Regression_Model_Sample_Ouput". The Appendix includes unit-by-unit weighted attenuation output values ​​2910 that together represent the attenuation map 1716.

[0392] Inference 2900 includes hundreds, thousands, and / or millions of iterations of forward propagation 2904, including parallelization techniques such as batch processing. Inference 2900 is performed on inference data 2908, which includes a series of upsampled and downsized image sets as input image data 1702. Inference 2900 is operated by a tester 2906.

[0393] Watershed segmentation

[0394] Fig.30 One specific implementation of subjecting the attenuation map 1716 to (i) thresholding to identify background sub-pixels that characterize the background of a cluster and (ii) peak detection to identify center sub-pixels that characterize the center of a cluster is shown. Thresholding is performed by a thresholder 1802 that uses a local threshold binary to produce a binarized output. Peak detection is performed by a peak locator 1806 to identify the center of a cluster. Additional details about the peak locator can be found in the Appendix entitled "Peak Detection".

[0395] Fig.31One specific implementation of a watershed segmentation technique is depicted that takes as input the background sub-pixels identified by thresholder 1802 and the center sub-pixels identified by peak locator 1806, finds the valley intensities between adjacent clusters, and outputs non-overlapping sets of adjacent clusters / cluster interior sub-pixels that characterize the clusters. Additional details on the watershed segmentation technique can be found in the appendix entitled "Watershed Segmentation".

[0396] In one specific implementation, the watershed segmenter 3102 takes as input the following data: (1) the negative output values ​​2910 in the attenuation map 1716, (2) the binarized output of the thresholder 1802, and (3) the cluster centers identified by the peak locator 1806. The watershed segmenter 3102 then generates an output 3104 based on the input. In the output 3104, each cluster center is identified as a set of unique sub-pixels that belong to the cluster center (as long as the sub-pixel is "1" in the binarized output, that is, it is not a background sub-pixel, it belongs to the cluster center). In addition, the clusters are filtered based on containing at least four sub-pixels. The watershed segmenter 3102 can be part of the segmenter 1810, which in turn can be part of the post-processor 1814.

[0397] Network Architecture

[0398] Fig.32 is a table showing an exemplary U network architecture of the regression model 2600, as well as details of the layers of the regression model 2600, the dimensions of the outputs of the layers, the magnitudes of the model parameters, and the interconnections between the layers. Similar details are disclosed in a file entitled “Regression_Model_Example_Architecture”, which is filed as an appendix to this application.

[0399] Cluster strength extraction

[0400] Fig.33 Different methods of extracting cluster intensities using cluster shape information identified in a template image are shown. As described above, the template image identifies cluster shape information at upsampled sub-pixel resolution. However, the cluster intensity information is in the sequencing images 108, which are typically at optical pixel resolution.

[0401] According to a first method, the coordinates of the sub-pixels are located in the sequencing image 108 and their respective intensities are extracted using bilinear interpolation and normalized based on the count of sub-pixels contributing to the cluster.

[0402] The second method uses a weighted area coverage technique to modulate the intensity of a pixel according to the number of sub-pixels contributing to the pixel. Here again, the modulated pixel intensity is normalized by the sub-pixel count parameter.

[0403] The third method upsamples the sequenced image into the sub-pixel domain using bicubic interpolation, sums the intensities of the upsampled pixels belonging to the cluster, and normalizes the summed intensities based on the counts of the upsampled pixels belonging to the cluster.

[0404] Experimental results and observations

[0405] Fig.34 Different methods of base calling using the output of the regression model 2600 are shown. In the first method, cluster centers identified from the output of the neural network-based template generator 1512 in the template image are fed to a base caller (e.g., Illumina's Real-Time Analysis software, referred to herein as the "RTA Base Caller") for base calling.

[0406] In the second method, instead of cluster centers, cluster intensities extracted from the sequencing image based on cluster shape information in the template image are fed to the RTA base caller for base calling.

[0407] Fig.35 The difference in base calling performance when the RTA base caller uses the ground truth centroid (COM) position as the cluster center instead of using a non-COM position as the cluster center is shown. The results show that using the COM improves base calling.

[0408] Example Model Output

[0409] Fig.36 An exemplary attenuation map 1716 produced by the regression model 2600 is shown on the left. Fig.36 Also shown on the right is an exemplary ground truth decay map 1204 that the regression model 2600 approximated during training.

[0410] Both the attenuation map 1716 and the baseline truth attenuation map 1204 depict clusters as non-intersecting regions of adjacent sub-pixels, depict the center of the cluster as the central sub-pixel at the centroid of the corresponding non-intersecting regions in the non-intersecting regions, and depict its surrounding background as background sub-pixels that do not belong to any of the non-intersecting regions.

[0411] In addition, adjacent sub-pixels in corresponding ones of the disjoint regions have values ​​weighted according to the distance of the adjacent sub-pixels from the center sub-pixel in the disjoint regions to which the adjacent sub-pixels belong. In one specific implementation, the center sub-pixel has the highest value in the corresponding ones of the disjoint regions. In one specific implementation, the background sub-pixels all have the same minimum background value in the attenuation map.

[0412] Fig.37One specific implementation of peak locator 1806 is depicted for identifying cluster centers in an attenuation map by detecting peaks 3702. Additional details regarding the peak locator can be found in the Appendix entitled "Peak Detection."

[0413] Fig.38 The peaks detected by peak locator 1806 in attenuation map 1716 produced by regression model 2600 are compared to the corresponding peaks in ground truth attenuation map 1204. The red markers are the peaks predicted by regression model 2600 to be cluster centers, and the green markers are the ground truth centroids of the clusters.

[0414] More experimental results and observations

[0415] Fig.39 The performance of the regression model 2600 using precision and recall statistics is shown. The precision and recall statistics indicate that the regression model 2600 is suitable for recovering all identified cluster centers.

[0416] Fig.40 The performance of regression model 2600 was compared to the RTA base caller for a 20 pM library concentration (normal operation). Outperforming the RTA base caller, regression model 2600 identified 34,323 more (4.46%) clusters (i.e., 988,884 clusters) in a higher cluster density environment.

[0417] Fig.40 Results for other sequencing metrics are also shown, such as the number of clusters passing the purity filter ("% PF" (passed filter)), the number of aligned reads ("% Aligned"), the number of duplicate reads ("% Duplicate"), the number of reads that mismatched the reference sequence among all reads aligned to the reference sequence ("% Mismatch"), the detected bases with a quality score of 30 and above ("% Q30 Bases"), and so on.

[0418] Fig.41 The performance of regression model 2600 was compared to that of the RTA base caller for a 30 pM library concentration (dense run). Outperforming the RTA base caller, regression model 2600 identified 34,323 more (6.27%) clusters (i.e., 1,351,588 clusters) in a much higher cluster density environment.

[0419] Fig.41 Results for other sequencing metrics are also shown, such as the number of clusters passing the purity filter ("% PF" (passed filter)), the number of aligned reads ("% Aligned"), the number of duplicate reads ("% Duplicate"), the number of reads that mismatched the reference sequence among all reads aligned to the reference sequence ("% Mismatch"), the detected bases with a quality score of 30 and above ("% Q30 Bases"), and so on.

[0420] Fig.42 The number of non-duplicate (unique or de-duplicated) correct read pairs detected by the regression model 2600 (i.e., the number of paired reads where both reads are aligned within a reasonable distance) was compared to the number of non-duplicate correct read pairs detected by the RTA base caller. Both the 20pM normal run and the 30pM dense run were compared.

[0421] More importantly, Fig.42 It is shown that the disclosed neural network-based template generator is able to detect more clusters in sequencing cycles with fewer template generation inputs than the RTA base caller. In only four sequencing cycles, the regression model 2600 identified 11% more non-duplicate correct read pairs than the RTA base caller during normal operation at 20 pM and 33% more non-duplicate correct read pairs than the RTA base caller during intensive operation at 30 pM. In only seven sequencing cycles, the regression model 2600 identified 4.5% more non-duplicate correct read pairs than the RTA base caller during normal operation at 20 pM and 6.3% more non-duplicate correct read pairs than the RTA base caller during intensive operation at 30 pM.

[0422] Fig.43 On the right is shown a first attenuation map generated by the regression model 2600. The first attenuation map identifies clusters imaged during normal operation at 20 pM and their surrounding background, and its spatial distribution depicting cluster shape, cluster size, and cluster centers.

[0423] Fig.43 Shown on the left is a second attenuation map generated by the regression model 2600. The second attenuation map identifies clusters imaged during the 30 pM intensive run and their surrounding background, and its spatial distribution depicting cluster shape, cluster size, and cluster centers.

[0424] Fig.44 The performance of regression model 2600 and RTA base caller for 40 pM library concentration (highly dense run) were compared. Regression model 2600 produced 89,441,688 more aligned bases than RTA base caller in a much higher cluster density environment (ie, 1,509,395 clusters).

[0425] Fig.44 Results for other sequencing metrics are also shown, such as the number of clusters passing the purity filter ("% PF" (passed filter)), the number of aligned reads ("% aligned"), the number of duplicate reads ("% duplicates"), the number of reads that mismatched the reference sequence among all reads aligned to the reference sequence ("% mismatches"), the number of bases detected with a quality score of 30 and above ("% Q30 bases"), and so on.

[0426] More example model outputs

[0427] Fig.45 Shown on the left is a first attenuation map generated by the regression model 2600. The first attenuation map identifies clusters imaged during normal operation at 40 pM and their surrounding background, and its spatial distribution depicting cluster shape, cluster size, and cluster centers.

[0428] Fig.45 The results of the following operations are shown on the right: thresholding and peak location are applied to the first attenuation map to distinguish the corresponding clusters from each other and from the background, and to identify their corresponding cluster centers. In some implementations, the intensity of the corresponding clusters is identified, and a purity filter (or filtering) is applied to reduce the mismatch rate.

[0429] 2. Binary Classification Model

[0430] Fig.46 One implementation of a binary classification model 4600 is shown. In the illustrated implementation, the binary classification model 4600 is a deep fully convolutional segmentation neural network that processes input image data 1702 through an encoder subnetwork and a corresponding decoder subnetwork. The encoder subnetwork includes an encoder hierarchy. The decoder subnetwork includes a decoder hierarchy that maps a low-resolution encoder feature map to a full-input resolution binary map 1720. In another implementation, the binary classification model 4600 is a U-Net network with jump connections between the decoder and the encoder. Additional details about the segmentation network can be found in the appendix entitled "Segmentation Network".

[0431] Binary Map

[0432] The final output layer of the binary classification model 4600 is a unit-by-unit classification layer that produces a classification label for each unit in the output array. In some implementations, the unit-by-unit classification layer is a sub-pixel classification layer that produces a softmax classification score distribution across two classes (i.e., cluster center class and non-cluster class) for each sub-pixel in the binary map 1720, and the classification label of a given sub-pixel is determined by the corresponding softmax classification score distribution.

[0433] In other embodiments, the unit-by-unit classification layer is a sub-pixel-by-sub-pixel classification layer that produces a sigmoid classification score for each sub-pixel in the binary map 1720, such that the activation of a unit is interpreted as the probability that the unit belongs to the first class, and conversely, 1 minus the activation gives the probability that it belongs to the second class.

[0434] The binary map 1720 represents each sub-pixel based on the predicted classification score. The binary map 1720 also stores the predicted classification scores in a cell array, where each cell in the array represents a corresponding sub-pixel in the input.

[0435] Training practice

[0436] Fig.47 It is a specific implementation of training 4700 the binary classification model 4600 using a back-propagation based gradient update technique, which modifies the parameters of the binary classification model 4600 until the binary map 1720 of the binary classification model 4600 gradually approaches or matches the reference truth binary map 1404.

[0437] In the illustrated implementation, the final output layer of the binary classification model 4600 is a softmax-based sub-pixel classification layer. In the softmax implementation, the ground truth binary map generator 1402 assigns each ground truth sub-pixel to either (i) a cluster center value pair (e.g., [1, 0]) or (ii) a non-center value pair (e.g., [0, 1]).

[0438] In the cluster center value pair [1, 0], the first value [1] represents the cluster center class label, and the second value [0] represents the non-center class label. In the non-center value pair [0, 1], the first value [0] represents the cluster center class label, and the second value [1] represents the non-center class label.

[0439] The ground truth binary map 1404 expresses each sub-pixel based on an assigned value pair / value. The ground truth binary map 1404 also stores the assigned value pairs / values ​​in a cell array, where each cell in the array represents a corresponding sub-pixel in the input.

[0440] Training includes iteratively optimizing a loss function that minimizes an error 4706 (eg, a softmax error) between the binary map 1720 and the ground truth binary map 1404 , and updating parameters of the binary classification model 4600 based on the error 4706 .

[0441] In one specific implementation, the loss function is a custom weighted binary cross entropy loss, and the error 4706 is minimized on a sub-pixel-by-sub-pixel basis between the predicted classification scores (e.g., softmax scores) and the labeled class scores (e.g., softmax scores) of the corresponding sub-pixels in the binary map 1720 and the ground truth binary map 1404, as Fig.47 shown.

[0442] The custom weighted loss function will give more weight to COM sub-pixels, so that whenever a COM sub-pixel is misclassified, the cross entropy loss is multiplied by the corresponding reward (or penalty) weight specified in the reward (or penalty) matrix. Additional details about the custom weighted loss function can be found in the appendix titled "Custom Weighted Loss Function".

[0443] Training 4700 includes hundreds, thousands, and / or millions of iterations of forward propagation 4708 and backward propagation 4710, including parallelization techniques such as batch processing. Training data 1504 includes a series of upsampled and downsized image sets as input image data 1702. Training data 1504 is annotated with ground truth labels by annotator 2806. Training 2800 is operated by trainer 1510 using a stochastic gradient update algorithm such as ADAM.

[0444] Fig.48 is another specific implementation of training 4800 the binary classification model 4600, wherein the final output layer of the binary classification model 4600 is a sigmoid-based sub-pixel classification layer.

[0445] In a sigmoid implementation, the ground truth binary map generator 1302 assigns each ground truth sub-pixel either (i) a cluster center value (e.g., [1]) or (ii) a non-center value (e.g., [0]). The COM sub-pixel is assigned a cluster center value pair / value, and all other sub-pixels are assigned a non-center value pair / value.

[0446] For cluster center values, values ​​above a threshold midpoint between 0 and 1 (e.g., values ​​above 0.5) represent center class labels. For non-center values, values ​​below a threshold midpoint between 0 and 1 (e.g., values ​​below 0.5) represent non-center class labels.

[0447] The ground truth binary map 1404 expresses each sub-pixel based on an assigned value pair / value. The ground truth binary map 1404 also stores the assigned value pairs / values ​​in a cell array, where each cell in the array represents a corresponding sub-pixel in the input.

[0448] Training includes iteratively optimizing a loss function that minimizes an error 4806 (eg, a sigmoid error) between the binary map 1720 and the ground truth binary map 1404 , and updating parameters of the binary classification model 4600 based on the error 4806 .

[0449] In one specific implementation, the loss function is a custom weighted binary cross entropy loss, and the error 4806 is minimized on a sub-pixel-by-sub-pixel basis between the predicted scores (e.g., sigmoid scores) and the labeled scores (e.g., sigmoid scores) of the corresponding sub-pixels in the binary map 1720 and the ground truth binary map 1404, as Fig.48 shown.

[0450] The custom weighted loss function will give more weight to COM sub-pixels, so that whenever a COM sub-pixel is misclassified, the cross entropy loss is multiplied by the corresponding reward (or penalty) weight specified in the reward (or penalty) matrix. Additional details about the custom weighted loss function can be found in the appendix titled "Custom Weighted Loss Function".

[0451] Training 4800 includes hundreds, thousands, and / or millions of iterations of forward propagation 4808 and backward propagation 4810, including parallelization techniques such as batch processing. Training data 1504 includes a series of upsampled and downsized image sets as input image data 1702. Training data 1504 is annotated with ground truth labels by annotator 2806. Training 2800 is operated by trainer 1510 using a stochastic gradient update algorithm such as ADAM.

[0452] Fig.49 Another specific implementation of the input image data 1702 fed to the binary classification model 4600 and the corresponding class labels 4904 used to train the binary classification model 4600 is shown.

[0453] In the illustrated implementation, the input image data 1702 includes a series of upsampled and downsized image sets 4902. The class labels 4904 include two classes: (1) "no cluster center" and (2) "cluster center", which are distinguished using different output values. That is, (1) light green cells / sub-pixels 4906 represent sub-pixels predicted by the binary classification model 4600 as not containing cluster centers, and (2) dark green sub-pixels 4908 represent cells / sub-pixels predicted by the binary classification model 4600 as containing cluster centers.

[0454] infer

[0455] Fig.50is a specific implementation of generating a template by the binary classification model 4600 during inference 5000, wherein the binary map 1720 is generated by the binary classification model 4600 as an inference output during inference 5000. An example of the binary map 1720 includes unit-by-unit binary classification scores 5010 that together represent the binary map 1720. In a softmax application, the binary map 1720 has a first array 5002a of unit-by-unit classification scores for non-center classes and a second array 5002b of unit-by-unit classification scores for cluster center classes.

[0456] Inference 5000 includes hundreds, thousands, and / or millions of iterations of forward propagation 5004, including parallelization techniques such as batch processing. Inference 5000 is performed on inference data 2908, which includes a series of upsampled and downsized image sets as input image data 1702. Inference 5000 is operated by tester 2906.

[0457] In some implementations, the binary map 1720 is subjected to the post-processing techniques discussed above, such as thresholding, peak detection, and / or watershed segmentation, to generate cluster metadata.

[0458] Peak Detection

[0459] Fig.51 A specific implementation of peak detection for a binary map 1720 to identify cluster centers is depicted. As described above, the binary map 1720 is an array of cells that classify each sub-pixel based on a predicted classification score, where each cell in the array represents a corresponding sub-pixel in the input. The classification score can be a softmax score or a sigmoid score.

[0460] In the softmax application, the binary map 1720 includes two arrays: (1) a first array 5002a of cell-by-cell classification scores for the non-center class and (2) a second array 5002b of cell-by-cell classification scores for the cluster center class. In both arrays, each cell represents a corresponding sub-pixel in the input.

[0461] To determine which sub-pixels in the input contain cluster centers and which sub-pixels do not contain cluster centers, the peak locator 1806 applies peak detection to the cells in the binary map 1720. Peak detection identifies those cells whose classification scores (e.g., softmax / sigmoid scores) are above a preset threshold. The identified cells are inferred to be cluster centers, and the corresponding sub-pixels of these cells in the input are determined to contain cluster centers and are stored as cluster center sub-pixels in the sub-pixel classification data storage device 5102. Additional details about the peak locator 1806 can be found in the Appendix entitled "Peak Detection".

[0462] The remaining cells and their corresponding sub-pixels in the input are determined to not contain the cluster center and are stored as non-center sub-pixels in the sub-pixel classification data storage device 5102.

[0463] In some implementations, those cells with classification scores below a certain background threshold (e.g., 0.3) are set to zero before peak detection is applied. In some implementations, such cells and their corresponding sub-pixels in the input are inferred to represent background around the cluster and stored as background sub-pixels in the sub-pixel classification data storage 5102. In other implementations, such cells may be considered noise and ignored.

[0464] Example Model Output

[0465] Fig.52a An exemplary binary map produced by the binary classification model 4600 is shown on the left. Fig.52a Also shown on the right is an exemplary ground truth binary map approximated during training by the binary classification model 4600. The binary map has multiple sub-pixels, and each sub-pixel is classified as a cluster center or a non-center. Similarly, the ground truth binary map has multiple sub-pixels, and each sub-pixel is classified as a cluster center or a non-center.

[0466] Experimental results and observations

[0467] Fig.52b The performance of the binary classification model 4600 using recall and precision statistics is shown. Applying these statistics, the binary classification model 4600 outperforms the RTA base caller.

[0468] Network Architecture

[0469] Fig.53 is a table showing an example architecture of a binary classification model 4600, as well as details of the layers of the binary classification model 4600, the dimensions of the outputs of the layers, the magnitudes of the model parameters, and the interconnections between the layers. Similar details are disclosed in the Appendix titled "Binary_Classification_Model_Example_Architecture".

[0470] 3. Ternary (three-category) classification model

[0471] Fig.54One implementation of a ternary classification model 5400 is shown. In the illustrated implementation, the ternary classification model 5400 is a deep fully convolutional segmentation neural network that processes input image data 1702 through an encoder subnetwork and a corresponding decoder subnetwork. The encoder subnetwork includes an encoder hierarchy. The decoder subnetwork includes a decoder hierarchy that maps a low-resolution encoder feature map to a full-input resolution ternary map 1718. In another implementation, the ternary classification model 5400 is a U-Net network with jump connections between the decoder and the encoder. Additional details about the segmentation network can be found in the appendix entitled "Segmentation Network".

[0472] Ternary Map

[0473] The final output layer of the ternary classification model 5400 is a unit-by-unit classification layer that produces a classification label for each unit in the output array. In some specific implementations, the unit-by-unit classification layer is a sub-pixel classification layer that produces a softmax classification score distribution across three classes (i.e., background class, cluster center class, and cluster / cluster interior class) for each sub-pixel in the ternary map 1718, and the classification label of a given sub-pixel is determined by the corresponding softmax classification score distribution.

[0474] The ternary map 1718 expresses each sub-pixel based on the predicted classification score. The ternary map 1718 also stores the predicted classification scores in a cell array, where each cell in the array represents a corresponding sub-pixel in the input.

[0475] train

[0476] Fig.55 It is a specific implementation of training 5500 the ternary classification model 5400 using a back-propagation based gradient update technique, which modifies the parameters of the ternary classification model 5400 until the ternary map 1718 of the ternary classification model 5400 gradually approaches or matches the reference truth ternary map 1304.

[0477] In the illustrated implementation, the final output layer of the ternary classification model 5400 is a softmax-based sub-pixel classification layer. In the softmax implementation, the ground truth ternary map generator 1402 assigns each ground truth sub-pixel to (i) a background value triplet (e.g., [1, 0, 0]), (ii) a cluster center value triplet (e.g., [0, 1, 0]), or (iii) a cluster / cluster internal value triplet (e.g., [0, 0, 1]).

[0478] Background sub-pixels are assigned a background value triplet. Centroid (COM) sub-pixels are assigned a cluster center value triplet. Cluster / cluster interior sub-pixels are assigned a cluster / cluster interior value triplet.

[0479] In the background value triplet [1, 0, 0], the first value [1] represents the background class label, the second value [0] represents the cluster center label, and the third value [0] represents the cluster / cluster interior class label.

[0480] In the cluster center value triplet [0, 1, 0], the first value [0] represents the background class label, the second value [1] represents the cluster center label, and the third value [0] represents the cluster / cluster interior class label.

[0481] In the cluster / cluster internal value triplet [0, 0, 1], the first value [0] represents the background class label, the second value [0] represents the cluster center label, and the third value [1] represents the cluster / cluster internal class label.

[0482] The ground truth ternary map 1304 expresses each sub-pixel based on the assigned value triplet. The ground truth ternary map 1304 also stores the assigned triplet in a cell array, where each cell in the array represents a corresponding sub-pixel in the input.

[0483] Training includes iteratively optimizing a loss function that minimizes an error 5506 (eg, a softmax error) between the ternary map 1718 and the ground truth ternary map 1304 , and updating parameters of the ternary classification model 5400 based on the error 5506 .

[0484] In one specific implementation, the loss function is a custom weighted categorical cross entropy loss, and the error 5506 is minimized on a sub-pixel basis between the predicted classification scores (e.g., softmax scores) and the labeled class scores (e.g., softmax scores) of the corresponding sub-pixels in the ternary map 1718 and the ground truth ternary map 1304, as Fig.54 shown.

[0485] The custom weighted loss function will give more weight to COM sub-pixels, so that whenever a COM sub-pixel is misclassified, the cross entropy loss is multiplied by the corresponding reward (or penalty) weight specified in the reward (or penalty) matrix. Additional details about the custom weighted loss function can be found in the appendix titled "Custom Weighted Loss Function".

[0486] Training 5500 includes hundreds, thousands, and / or millions of iterations of forward propagation 5508 and backward propagation 5510, including parallelization techniques such as batch processing. Training data 1504 includes a series of upsampled and downsized image sets as input image data 1702. Training data 1504 is annotated with ground truth labels by annotator 2806. Training 5500 is operated by trainer 1510 using a stochastic gradient update algorithm such as ADAM.

[0487] Fig.56 A specific implementation of the input image data 1702 fed to the ternary classification model 5400 and the corresponding class labels used to train the ternary classification model 5400 is shown.

[0488] In the illustrated implementation, the input image data 1702 includes a series of upsampled and downsized image sets 5602. The class labels 5604 include three classes: (1) "background class", (2) "cluster center class", and (3) "cluster interior class", which are distinguished using different output values. For example, some of these different output values ​​can be visually represented as follows: (1) gray cells / sub-pixels 5606 represent sub-pixels predicted by the ternary classification model 5400 to be background, (2) dark green cells / sub-pixels 5608 represent sub-pixels predicted by the ternary classification model 5400 to contain cluster centers, and (3) light green sub-pixels 5610 represent sub-pixels predicted by the ternary classification model 5400 to contain the interior of the cluster.

[0489] Network Architecture

[0490] Fig.57 is a table showing an example architecture of a ternary classification model 5400, as well as details of the layers of the ternary classification model 5400, the dimensions of the outputs of the layers, the magnitudes of the model parameters, and the interconnections between the layers. Similar details are disclosed in the Appendix entitled "Ternary_Classification_Model_Example_Architecture".

[0491] infer

[0492] Fig.58 is a specific implementation of generating a template by the ternary classification model 5400 during inference 5800, wherein the ternary map 1718 is generated by the ternary classification model 5400 as an inference output during inference 5800. An example of the ternary map 1718 is disclosed in the Appendix entitled "Ternary_Classification_Model_Sample_Ouput". The Appendix includes unit-by-unit binary classification scores 5810 that together represent the ternary map 1718. In the softmax application, the Appendix has a first array 5802a of unit-by-unit classification scores for background classes, a second array 5802b of unit-by-unit classification scores for cluster center classes, and a third array 5802c of unit-by-unit classification scores for cluster / cluster internal classes.

[0493] Inference 5800 includes hundreds, thousands, and / or millions of iterations of forward propagation 5804, including parallelization techniques such as batch processing. Inference 5800 is performed on inference data 2908, which includes a series of upsampled and downsized image sets as input image data 1702. Inference 5000 is operated by tester 2906.

[0494] In some implementations, the ternary map 1718 is generated by the ternary classification model 5400 using the post-processing techniques discussed above, such as thresholding, peak detection, and / or watershed segmentation.

[0495] Fig.59 The ternary map 1718 produced by the ternary classification model 5400 is graphically depicted, where each sub-pixel has a three-way softmax classification score distribution for three corresponding classes (i.e., background class 5906, cluster center class 5902, and cluster / cluster interior class 5904).

[0496] Fig.60 Depicted is an array of cells generated by the ternary classification model 5400, and the cell-by-cell output values. As depicted, each cell has three output values ​​for three corresponding classes, namely, background class 5906, cluster center class 5902, and cluster / cluster interior class 5904. For each classification (column-by-column), each cell is assigned the class with the highest output value, as indicated by the class in parentheses below each cell. In some specific implementations, the output values ​​6002, 6004, and 6006 (row-by-row) are analyzed for each of the corresponding classes 5906, 5902, and 5904.

[0497] Peak detection and watershed segmentation

[0498] Fig.61 A specific implementation of post-processing the ternary map 1718 to identify cluster centers, cluster backgrounds, and cluster interiors is shown. As described above, the ternary map 1718 is an array of cells that classify each sub-pixel based on a predicted classification score, where each cell in the array represents a corresponding sub-pixel in the input. The classification score can be a softmax score.

[0499] In the softmax application, the ternary map 1718 includes three arrays: (1) a first array 5802a of unit-by-unit classification scores for the background class, (2) a second array 5802b of unit-by-unit classification scores for the cluster center class, and (3) a third array 5802c of unit-by-unit classification scores for the cluster interior class. In all three arrays, each cell represents a corresponding sub-pixel in the input.

[0500] To determine which sub-pixels in the input contain cluster centers, which sub-pixels contain the interior of the cluster, and which sub-pixels contain the background, the peak locator 1806 applies peak detection to the softmax values ​​in the ternary map 1718 of the cluster center class 5802b. Peak detection identifies those cells whose classification scores (e.g., softmax scores) are above a preset threshold. The identified cells are inferred to be cluster centers, and the corresponding sub-pixels of these cells in the input are determined to contain cluster centers and are stored as cluster center sub-pixels in the sub-pixel classification and segmentation data storage device 6102. Additional details about the peak locator 1806 can be found in the Appendix entitled "Peak Detection".

[0501] In some implementations, before applying peak detection, those cells whose classification scores are below a certain noise threshold (e.g., 0.3) are set to zero. Such cells can be considered noise and ignored.

[0502] In addition, cells of the background class 5802a whose classification scores are above a certain background threshold (e.g., equal to or greater than 0.5) and their corresponding sub-pixels in the input are inferred to represent the background surrounding the cluster and are stored as background sub-pixels in the sub-pixel classification and segmentation data storage device 6102.

[0503] Then, a watershed segmentation algorithm operated by the watershed segmenter 3102 is used to determine the shape of the cluster. In some specific implementations, the background cells / sub-pixels are used as masks by the watershed segmentation algorithm. The classification scores of the cells / sub-pixels inferred as cluster centers and cluster interiors are added to produce a so-called "cluster marker". The cluster center is used as a watershed marker for separation by the intensity valley by the watershed segmentation algorithm.

[0504] In one implementation, the negative feature cluster markers are provided as an input image to a watershed segmenter 3102, which performs segmentation and generates cluster shapes as non-intersecting regions of adjacent cluster interior sub-pixels separated by background sub-pixels. In addition, each non-intersecting region includes a corresponding cluster center sub-pixel. In some implementations, the corresponding cluster center sub-pixel is the center of the non-intersecting region to which it belongs. In other implementations, the centroid (COM) of the non-intersecting region is calculated based on the base position coordinates and is stored as the new center of the cluster.

[0505] The output of the watershed segmenter 3102 is stored in the sub-pixel classification and segmentation data storage device 6102. Additional details on the watershed segmentation algorithm and other segmentation algorithms can be found in the Appendix entitled "Watershed Segmentation".

[0506] Example outputs of the peak locator 1806 and the watershed segmenter 3102 are shown in Fig.62a , Figure 62b , Fig.63 and Fig.64 Shown in.

[0507] Example Model Output

[0508] Fig.62a An exemplary prediction of the ternary classification model 5400 is shown. Fig.62a Four maps are shown, and each map has an array of cells. The first map 6202 (leftmost) shows the output value of each cell of the cluster center class 5802b. The second map 6204 shows the output value of each cell of the cluster / cluster interior class 5802c. The third map 6206 (rightmost) shows the output value of each cell of the background class 5802a. The fourth map 6208 (bottom) is a binary mask of the reference truth ternary map 6008, which assigns the class label with the highest output value to each cell.

[0509] Figure 62b Other exemplary predictions of the ternary classification model 5400 are shown. Figure 62b Four maps are shown, and each map has an array of cells. The first map 6212 (bottom left) shows the output value of each cell of the cluster / cluster interior class. The second map 6214 shows the output value of each cell of the cluster center class. The third map 6216 (bottom right) shows the output value of each cell of the background class. The fourth map (top) 6210 is a reference truth ternary map, which assigns the class label with the highest output value to each cell.

[0510] Figure 62c Other exemplary predictions of the ternary classification model 5400 are also shown. Fig.64 Four maps are shown, and each map has an array of cells. The first map 6220 (bottom left) shows the output value of each cell of the cluster / cluster interior class. The second map 6222 shows the output value of each cell of the cluster center class. The third map 6224 (bottom right) shows the output value of each cell of the background class. The fourth map 6218 (top) is a reference truth ternary map, which assigns the class label with the highest output value to each cell.

[0511] Fig.63 Describes the output from post-processing Fig.62a The output of the ternary classification model 5400 in derives a specific implementation of cluster centers and cluster shapes. Post-processing (e.g., peak location, watershed segmentation) generates cluster shape data and other metadata identified in the cluster map 6310.

[0512] Experimental results and observations

[0513] Fig.64The performance of the binary classification model 4600, the regression model 2600, and the RTA base caller were compared. Multiple sequencing metrics were used to evaluate performance. One metric is the total number of clusters detected ("# clusters"), which can be measured by the number of unique cluster centers detected. Another metric is the number of clusters detected that passed the purity filter ("% PF" (passed filtering)). During the 1st-25th cycles of the sequencing run, the purity filter removes the least reliable clusters from the image extraction results. A cluster "passes filtering" if no more than one base call has a purity value below 0.6 in the first 25 cycles. Purity is defined as the ratio of the brightest base signal intensity divided by the sum of the brightest and second brightest base signal intensities. This metric goes beyond the number of clusters detected and also conveys their quality, i.e., how many of the detected clusters can be used for accurate base calling and downstream binary and ternary analysis (such as variant calling and variant pathogenicity annotation).

[0514] Other metrics for measuring how good a detected cluster is for downstream analysis include the number of aligned reads generated by the detected cluster ("% Aligned"), the number of duplicate reads generated by the detected cluster ("% Duplicates"), the number of reads generated by the detected cluster that mismatch the reference sequence among all reads aligned to the reference sequence ("% Mismatches"), the number of reads generated by the detected cluster whose portions did not match the reference sequence on either side well and were therefore ignored in the alignment ("% Soft Clipping"), the number of bases detected for the detected cluster with a quality score of 30 or above ("% Q30 Bases"), the number of paired reads generated by the detected cluster in which both reads are aligned within a reasonable distance ("Total Correct Read Pairs"), and the number of unique or deduplicated correct read pairs generated by the detected cluster ("Non-Duplicate Correct Read Pairs").

[0515] like Fig.64 As shown, in template generation, the binary classification model 4600 and the regression model 2600 outperform the RTA base caller in most metrics.

[0516] Fig.65 The performance of the ternary classification model 5400 was compared to that of the RTA base caller under three contexts, five sequencing metrics, and two run densities.

[0517] In a first context, referred to as "RTA", cluster centers are detected by the RTA base caller, intensity extraction of clusters is performed by the RTA base caller, and clusters are also base called using the RTA base caller. In a second context, referred to as "RTA IE", cluster centers are detected by the ternary classification model 5400; however, intensity extraction of clusters is performed by the RTA base caller, and clusters are also base called using the RTA base caller. In a third context, referred to as "Self IE", cluster centers are detected by the ternary classification model 5400, and intensity extraction of clusters is performed using the cluster shape-based intensity extraction technique disclosed herein (note that the cluster shape information is generated by the ternary classification model 5400); however, clusters are base called using the RTA base caller.

[0518] Performance was compared between the ternary classification model 5400 and the RTA base caller based on five metrics: (1) the total number of clusters detected ("#clusters"), (2) the number of clusters detected that passed the purity filter ("#PF"), (3) the number of unique or deduplicated correct read pairs generated by the detected clusters ("#non-duplicate correct read pairs"), (4) the mismatch rate between the sequence reads generated by the detected clusters and the reference sequence after alignment ("%Mismatch Rate"), and (5) the bases called with a quality score of 30 or above for the detected clusters ("%Q30").

[0519] The performance between the ternary classification model 5400 and the RTA base caller was compared under five metrics in three contexts and two types of sequencing runs: (1) normal run with 20 pM library concentration and (2) dense run with 30 pM library concentration.

[0520] like Fig.65 As shown, the ternary classification model 5400 outperforms the RTA base caller in all metrics.

[0521] Under the same three contexts, five metrics, and two run densities, Fig.66 It is shown that regression model 2600 outperforms the RTA base caller in all metrics.

[0522] Fig.67 Focus on the penultimate layer 6702 of the neural network based template generator 1512.

[0523] Fig.68 Visualizes what the penultimate layer 6702 of the neural network-based template generator 1512 has learned as a result of back-propagation-based gradient update training. The illustrated implementation visualizes 24 of the 32 convolutional filters of the penultimate layer 6702 superimposed on the ground truth cluster shapes. Fig.68As shown, the penultimate layer 6702 has learned cluster metadata, including the spatial distribution of clusters, such as cluster centers, cluster shapes, cluster sizes, cluster backgrounds, and cluster boundaries.

[0524] Fig.69 Cluster center predictions (blue) from the binary classification model 4600 are superimposed on those from the RTA base caller (pink). Predictions were made on sequencing image data from an Illumina NextSeq sequencer.

[0525] Fig.70 Cluster center predictions (pink) made by the RTA base caller are superimposed on a visualization of the trained convolutional filters of the penultimate layer of the binary classification model 4600. These convolutional filters were learned as a result of training on sequencing image data from an Illumina NextSeq sequencer.

[0526] Fig.71 One implementation of training data for training a neural network-based template generator 1512 is shown. In this implementation, the training data is obtained from a dense flow cell that produces data with STORM probe images. In another implementation, the training data is obtained from a dense flow cell that produces data with fewer bridge amplification cycles.

[0527] Fig.72 It is a specific implementation of image registration using beads based on cluster center prediction of the neural network based template generator 1512.

[0528] Fig.73 One specific implementation of cluster statistics is shown for clusters identified by the neural network based template generator 1512. The cluster statistics include cluster size based on the number of contributing sub-pixels and GC content.

[0529] Fig.74 17 shows how the ability of the neural network-based template generator 1512 to distinguish adjacent clusters improves as the number of initial sequencing cycles using the input image data 1702 increases from five to seven. For five sequencing cycles, a single cluster is identified by a single non-intersecting region of adjacent sub-pixels. For seven sequencing cycles, the single cluster is split into two adjacent clusters, each with their own non-intersecting region of adjacent sub-pixels.

[0530] Fig.75 Shown is the difference in base calling performance when the RTA base caller uses the ground truth centroid (COM) position as the cluster center instead of using a non-COM position as the cluster center.

[0531] Fig.76The performance of the neural network based template generator 1512 for additional detected clusters is depicted.

[0532] Fig.77 Different data sets used to train the neural network based template generator 1512 are shown.

[0533] Sequencing system

[0534] Fig.78A and Fig.78B One specific implementation of a sequencing system 7800A is depicted. The sequencing system 7800A includes a configurable processor 7846. The configurable processor 7846 implements the base calling techniques disclosed herein. A sequencing system is also referred to as a "sequencer."

[0535] The sequencing system 7800A can be operated to obtain any information or data related to at least one of a biological substance or a chemical substance. In some specific implementations, the sequencing system 7800A is a workstation that can be similar to a desktop device or a desktop computer. For example, most (or all) systems and components for performing a desired reaction can be located within a common housing 7802.

[0536] In a specific implementation, the sequencing system 7800A is a nucleic acid sequencing system configured for various applications, including but not limited to de novo sequencing, resequencing of whole genomes or target genome regions, and metagenomics. Sequencers can also be used for DNA or RNA analysis. In some implementations, the sequencing system 7800A can also be configured to generate reaction sites in a biosensor. For example, the sequencing system 7800A can be configured to receive a sample and generate surface-attached clusters of cloned amplified nucleic acids derived from the sample. Each cluster can constitute a reaction site in a biosensor or be part of it.

[0537] The exemplary sequencing system 7800A may include a system receptacle or interface 7810 configured to interact with a biosensor 7812 to perform a desired reaction within the biosensor 7812. Fig.78A In the description, the biosensor 7812 is loaded into the system receptacle 7810. However, it should be understood that a cartridge including the biosensor 7812 can be inserted into the system receptacle 7810, and in some states, the cartridge can be temporarily or permanently removed. As described above, the cartridge can also include, among other things, a fluid control component and a fluid storage component.

[0538] In a specific implementation, the sequencing system 7800A is configured to perform a large number of parallel reactions within the biosensor 7812. The biosensor 7812 includes one or more reaction sites where the desired reaction can occur. The reaction site can be, for example, fixed to the solid surface of the biosensor or fixed to a bead (or other removable substrate) located in a corresponding reaction chamber of the biosensor. The reaction site may include, for example, a cluster of cloned amplified nucleic acids. The biosensor 7812 may include a solid-state imaging device (e.g., a CCD or CMOS imager) and a flow cell mounted thereon. The flow cell may include one or more flow channels that receive a solution from the sequencing system 7800A and direct the solution to the reaction site. Optionally, the biosensor 7812 may be configured to engage a thermal element for transferring heat energy into or from the flow channel.

[0539] The sequencing system 7800A 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 7800A includes a system controller 7806 that can communicate with various components, assemblies, and subsystems of the sequencing system 7800A and the biosensor 7812. For example, in addition to the system socket 7810, the sequencing system 7800A may also include a fluid control system 7808 to control the flow of fluids throughout the fluid network of the sequencing system 7800A and the biosensor 7812; a fluid storage system 7814 that is configured to store all fluids (e.g., gases or liquids) that can be used by the bioassay system; a temperature control system 7804 that can regulate the temperature of the fluid in the fluid network, the fluid storage system 7814, and / or the biosensor 7812; and an illumination system 7816 that is configured to illuminate the biosensor 7812. As described above, if a cartridge having a biosensor 7812 is loaded into the system receptacle 7810, the cartridge may also include a fluid control component and a fluid storage component.

[0540] As also shown in the figure, the sequencing system 7800A may include a user interface 7818 that interacts with a user. For example, the user interface 7818 may include a display 7820 for displaying or requesting information from a user and a user input device 7822 for receiving user input. In some specific implementations, the display 7820 and the user input device 7822 are identical devices. For example, the user interface 7818 may include a touch-sensitive display that is configured to detect the presence of individual touches and also identify the position of touches on the display. However, other user input devices 7822 may be used, such as a mouse, a touchpad, a keyboard, a keypad, a handheld scanner, a voice recognition system, a motion recognition system, etc. As will be discussed in more detail below, the sequencing system 7800A may communicate with various components including a biosensor 7812 (e.g., in the form of a cartridge) to perform a desired reaction. The sequencing system 7800A may also be configured to analyze the data obtained from the biosensor to provide the desired information to the user.

[0541] The system controller 7806 may include any processor-based or microprocessor-based system, including the use of 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), a logic circuit, and any other circuit or processor capable of performing the functions described herein. The above examples are exemplary only and are therefore not intended to limit the definition and / or meaning of the term system controller in any way. In an exemplary implementation, the system controller 7806 executes an instruction set stored in one or more storage elements, memories, or modules to obtain at least one of the detection data and analyze the detection data. The detection data may include a plurality of pixel signal sequences, so that the pixel signal sequence of each sensor (or pixel) from millions of sensors (or pixels) can be detected within many base detection cycles. The storage element may be in the form of an information source or physical memory element within the sequencing system 7800A.

[0542] The instruction set may include various commands that instruct the sequencing system 7800A or the biosensor 7812 to perform specific operations (such as the various specific implementation methods and processes described herein). The instruction set may be in the form of a software program that may form a part of one or more tangible non-transient computer-readable media. As used herein, the terms "software" and "firmware" are interchangeable and include any computer program stored in a memory for execution by a computer, including RAM memory, ROM memory, EPROM memory, EEPROM memory, and non-volatile RAM (NVRAM) memory. The above memory types are exemplary only and therefore do not limit the memory types that can be used to store computer programs.

[0543] The software can be in various forms, such as system software or application software. In addition, the software can be in the form of a collection of independent programs, or in the form of a program module or a part of a program module in a larger program. The software can also include modular programming in the form of object-oriented programming. After obtaining the detection data, the detection data can be automatically processed by the sequencing system 7800A, processed in response to user input, or processed in response to a request (e.g., a remote request through a communication link) proposed by another processing machine. In the illustrated specific implementation, the system controller 7806 includes an analysis module 7844. In other specific implementations, the system controller 7806 does not include the analysis module 7844, but an accessible analysis module 7844 (e.g., the analysis module 7844 can be hosted separately on the cloud).

[0544] The system controller 7806 can be connected to the biosensor 7812 and other components of the sequencing system 7800A via a communication link. The system controller 7806 can also be communicatively connected to an off-site system or server. The communication link can be hardwired, wired or wireless. The system controller 7806 can receive user input or commands from the user interface 7818 and the user input device 7822.

[0545] The fluid control system 7808 includes a fluid network and is configured to direct and regulate the flow of one or more fluids through the fluid network. The fluid network may be in fluid communication with the biosensor 7812 and the fluid storage system 7814. For example, a selected fluid may be drawn from the fluid storage system 7814 and directed to the biosensor 7812 in a controlled manner, or a fluid may be drawn from the biosensor 7812 and directed toward, for example, a waste reservoir in the fluid storage system 7814. Although not shown, the fluid control system 7808 may include a flow sensor that detects the flow rate or pressure of the fluid within the fluid network. The sensor may communicate with the system controller 7806.

[0546] The temperature control system 7804 is configured to regulate the temperature of fluids at different areas of the fluid network, fluid storage system 7814, and / or biosensor 7812. For example, the temperature control system 7804 may include a thermal cycler that interfaces with the biosensor 7812 and controls the temperature of the fluid flowing along the reaction sites in the biosensor 7812. The temperature control system 7804 may also regulate the temperature of solid elements or components of the sequencing system 7800A or the biosensor 7812. Although not shown, the temperature control system 7804 may include a sensor for detecting the temperature of the fluid or other components. The sensor may communicate with the system controller 7806.

[0547] Fluid storage system 7814 is in fluid communication with biosensor 7812, and can store various reaction components or reactants for carrying out desired reaction therein. Fluid storage system 7814 can also store fluid for washing or cleaning fluid network and biosensor 7812 and for diluting reactants. For example, fluid storage system 7814 can include various reservoirs to store samples, reagents, enzymes, other biomolecules, buffer solutions, aqueous solutions and non-polar solutions, etc. In addition, fluid storage system 7814 can also include waste storage for receiving waste from biosensor 7812. In the specific implementation including cartridge, cartridge can include one or more of fluid storage system, fluid control system or temperature control system. Therefore, one or more components related to those systems described herein can be accommodated in cartridge housing. For example, cartridge can have various reservoirs to store samples, reagents, enzymes, other biomolecules, buffer solutions, aqueous solutions and non-polar solutions, waste, etc. Therefore, one or more of fluid storage system, fluid control system or temperature control system can be removably engaged with bioassay system via cartridge or other biosensors.

[0548] The illumination system 7816 may include a light source (e.g., one or more LEDs) and a plurality of optical components for illuminating the biosensor. Examples of light sources may include lasers, arc lamps, LEDs, or laser diodes. The optical components may be, for example, reflectors, dichroic mirrors, beam splitters, collimators, lenses, filters, wedge mirrors, prisms, reflectors, detectors, and the like. In a specific implementation using an illumination system, the illumination system 7816 may be configured to direct the excitation light to the reaction site. As an example, a fluorophore may be excited by green wavelength light, so the wavelength of the excitation light may be approximately 532 nm. In one specific implementation, the illumination system 7816 is configured to generate illumination parallel to the surface normal of the surface of the biosensor 7812. In another specific implementation, the illumination system 7816 is configured to generate illumination at an angle relative to the surface normal of the surface of the biosensor 7812. In yet another specific implementation, the illumination system 7816 is configured to generate illumination with multiple angles, including some parallel illumination and some angled illumination.

[0549] The system socket or interface 7810 is configured to engage the biosensor 7812 in at least one of a mechanical, electrical, and fluidic manner. The system socket 7810 can hold the biosensor 7812 in a desired orientation to facilitate fluid flow through the biosensor 7812. The system socket 7810 can also include electrical contacts configured to engage the biosensor 7812 so that the sequencing system 7800A can communicate with the biosensor 7812 and / or provide power to the biosensor 7812. In addition, the system socket 7810 can include a fluid port (e.g., a nozzle) configured to engage the biosensor 7812. In some specific implementations, the biosensor 7812 is removably coupled to the system socket 7810 mechanically, electrically, and fluidically.

[0550] In addition, the sequencing system 7800A can communicate remotely with other systems or networks or with other bioassay systems 7800A. The detection data obtained by the bioassay system 7800A can be stored in a remote database.

[0551] Fig.78B is available in Fig.78A 7806 is a block diagram of a system controller 7806 used in a system of . In one specific implementation, the system controller 7806 includes one or more processors or modules that can communicate with each other. Each of the processors or modules may include an algorithm (e.g., instructions stored on a tangible and / or non-transitory computer-readable storage medium) or a sub-algorithm for performing a specific process. The system controller 7806 is conceptually shown as a collection of modules, but can be implemented using any combination of dedicated hardware boards, DSPs, processors, etc. Alternatively, the system controller 7806 can be implemented using an off-the-shelf PC with a single processor or multiple processors, where functional operations are distributed between processors. As a further option, the modules described below can be implemented using a hybrid configuration, where certain modular functions are performed using dedicated hardware, while the remaining modular functions are performed using an off-the-shelf PC, etc. Modules can also be implemented as software modules within a processing unit.

[0552] During operation, the communication port 7850 can communicate with the biosensor 7812 ( Fig.78A ) and / or subsystems 7808, 7814, 7804 ( Fig.78A ) to transmit information (e.g., commands) or receive information (e.g., data) from it. In a specific implementation, the communication port 7850 can output multiple pixel signal sequences. The communication link 7834 can be from the user interface 7818 ( Fig.78A) receives user input and transmits data or information to the user interface 7818. Data from the biosensor 7812 or subsystems 7808, 7814, 7804 may be processed in real time during a biometric session by the system controller 7806. Additionally or alternatively, data may be temporarily stored in system memory during a biometric session and processed at a slower rate than real time or offline operation.

[0553] like Fig.78B As shown, the system controller 7806 may include a plurality of modules 7826-7848 that communicate with a main control module 7824 and a central processing unit (CPU) 7852. The main control module 7824 may communicate with a user interface 7818 ( Fig.78A ) communication. Although modules 7826-7848 are shown as communicating directly with the main control module 7824, modules 7826-7848 may also communicate directly with each other, with the user interface 7818, and with the biosensor 7812. In addition, modules 7826-7848 may communicate with the main control module 7824 through other modules.

[0554] A plurality of modules 7826-7848 include system modules 7828-7832, 7826 that communicate with subsystems 7808, 7814, 7804, and 7816, respectively. Fluid control module 7828 may communicate with fluid control system 7808 to control valves and flow sensors of a fluid network, thereby controlling the flow of one or more fluids through the fluid network. Fluid storage module 7830 may notify a user when the amount of fluid is low or when the waste storage is at or near capacity. Fluid storage module 7830 may also communicate with temperature control module 7832 so that the fluid may be stored at a desired temperature. Illumination module 7826 may communicate with illumination system 7816 to illuminate the reaction site at a specified time during the protocol, such as after a desired reaction (e.g., binding event) has occurred. In some specific implementations, illumination module 7826 may communicate with illumination system 7816 to illuminate the reaction site at a specified angle.

[0555] The plurality of modules 7826-7848 may also include a device module 7836 that communicates with the biosensor 7812 and an identification module 7838 that determines identification information associated with the biosensor 7812. The device module 7836 may, for example, communicate with the system receptacle 7810 to confirm that the biosensor has established electrical and fluid connections with the sequencing system 7800A. The identification module 7838 may receive a signal that identifies the biosensor 7812. The identification module 7838 may use the identity of the biosensor 7812 to provide other information to the user. For example, the identification module 7838 may determine and then display a batch number, a manufacturing date, or a recommended protocol to run with the biosensor 7812.

[0556] The plurality of modules 7826-7848 also include an analysis module 7844 (also referred to as a signal processing module or signal processor) that receives and analyzes signal data (e.g., image data) from the biosensor 7812. The analysis module 7844 includes a memory (e.g., RAM or flash memory) for storing detection / image data. The detection data may include a plurality of pixel signal sequences, such that a pixel signal sequence from each of the millions of sensors (or pixels) may be detected within many base calling cycles. The signal data may be stored for subsequent analysis, or may be transmitted to the user interface 7818 to display desired information to a user. In some implementations, the signal data may be processed by a solid-state imager (e.g., a CMOS image sensor) before the analysis module 7844 receives the signal data.

[0557] The analysis module 7844 is configured to obtain image data from the photodetector at each sequencing cycle of the plurality of sequencing cycles. The image data is derived from an emission signal detected by the photodetector, and the image data of each sequencing cycle of the plurality of sequencing cycles is processed by the neural network-based template generator 1512 and / or the neural network-based base detector 1514, and base calls are generated for at least some of the analytes at each sequencing cycle of the plurality of sequencing cycles. The photodetector can be part of one or more overhead cameras (e.g., a CCD camera of Illumina's GAIIx takes an image of a cluster on the biosensor 7812 from the top), or can be part of the biosensor 7812 itself (e.g., a CMOS image sensor of Illumina's iSeq is located below the cluster on the biosensor 7812 and takes an image of the cluster from the bottom).

[0558] The output of the photodetector is a sequencing image, each of which depicts the intensity emission of a cluster and its surrounding background. The sequencing image depicts the intensity emission due to the incorporation of nucleotides into the sequence during sequencing. The intensity emission comes from the associated analyte and its surrounding background. The sequencing image is stored in the memory 7848.

[0559] Protocol modules 7840 and 7842 communicate with main control module 7824 to control the operation of subsystems 7808, 7814 and 7804 when performing a predetermined determination scheme. Protocol modules 7840 and 7842 may include an instruction set for instructing sequencing system 7800A to perform specific operations according to a predetermined scheme. As shown, the scheme module may be a sequencing by synthesis (SBS) module 7840, which is configured to issue various commands for performing sequencing by synthesis processes. In SBS, the extension of nucleic acid primers along the nucleic acid template is monitored to determine the sequence of nucleotides in the template. The basic chemical process may be polymerization (e.g., catalyzed by a polymerase) or connection (e.g., catalyzed by a ligase). In a specific polymerase-based SBS implementation, fluorescently labeled nucleotides are added to primers (so that the primers are extended) in a template-dependent manner so that the detection of the order and type of nucleotides added to the primers can be used to determine the sequence of the template. For example, in order to start the first SBS cycle, a command may be issued to deliver one or more labeled nucleotides, DNA polymerases, etc. to / through a flow cell containing a nucleic acid template array. The nucleic acid template may be located at a corresponding reaction site. Those reaction sites where primer extension causes the labeled nucleotides to be incorporated may be detected by an imaging event. During an imaging event, an illumination system 7816 may provide an excitation light to the reaction site. Optionally, the nucleotide may further include a reversible termination property, which terminates further primer extension once the nucleotide is added to the primer. For example, a nucleotide analog with a reversible terminator portion may be added to the primer so that subsequent extension does not occur until a deblocking agent is delivered to remove the portion. Therefore, for a specific implementation using reversible termination, a command may be issued to deliver the deblocking agent to the flow cell (before or after detection occurs). One or more commands may be issued to achieve washing between each delivery step. The cycle may then be repeated n times to extend the primer by n nucleotides, thereby detecting a sequence of length n. Exemplary sequencing techniques are described in, e.g., Bentley et al., Nature 456:53-59 (20078); WO 04 / 0178497, US 7,057,026, WO 91 / 066778, WO 07 / 123744, US 7,329,492, US 7,211,414, US 7,315,019, US 7,405,2781, and US 20078 / 01470780782, each of which is incorporated herein by reference.

[0560] For the nucleotide delivery step of the SBS cycle, a single type of nucleotide can be delivered at a time, or a variety of different nucleotide types (e.g., A, C, T and G together) can be delivered. For a nucleotide delivery configuration in which only a single type of nucleotide is present at a time, different nucleotides do not need to have different labels, because they can be distinguished based on the time interval inherent in individualized delivery. Therefore, a sequencing method or device can use monochrome detection. For example, an excitation source only needs to provide excitation in a single wavelength or a single wavelength range. For a nucleotide delivery configuration in which delivery causes a variety of different nucleotides to be present in a flow cell simultaneously, the sites incorporating different nucleotide types can be distinguished based on different fluorescent labels attached to the corresponding nucleotide types in the mixture. For example, four different nucleotides can be used, each of which has one of four different fluorophores. In a specific implementation, 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, less than four different excitation sources can be used, but optical filtering of the excitation radiation from a single source can be used to produce different ranges of excitation radiation at the flow cell.

[0561] In some specific implementations, less than four different colors can be detected in a mixture with four different nucleotides. For example, nucleotide pairs can be detected at the same wavelength, but based on the intensity difference of one member in the pair relative to another member, or based on a member of the pair causing a change (for example, by chemical modification, photochemical modification or physical modification) that causes a significant signal to appear or disappear compared to the signal of another member of the pair detected. The exemplary device and method for distinguishing four different nucleotides using detection less than four colors are described in, for example, the following patents: U.S. Patent Application Serial Nos. 61 / 5378,294 and 61 / 619,78778, which are incorporated herein by reference in their entirety. U.S. Application 13 / 624,200, filed on September 21, 2012, is also incorporated by reference in its entirety.

[0562] Multiple protocol modules may also include a sample preparation (or generation) module 7842, which is configured to issue commands to the fluid control system 7808 and the temperature control system 7804 for amplifying the product in the biosensor 7812. For example, the biosensor 7812 may be coupled to the sequencing system 7800A. The amplification module 7842 may issue instructions to the fluid control system 7808 to deliver necessary amplification components to the reaction chamber in the biosensor 7812. In other specific implementations, the reaction site may already contain some components for amplification, such as template DNA and / or primers. After the amplification components are delivered to the reaction chamber, the amplification module 7842 may instruct the temperature control system 7804 to cycle through different temperature stages according to known amplification protocols. In some specific implementations, amplification and / or nucleotide incorporation is performed isothermally.

[0563] The SBS module 7840 can issue a command to perform bridge PCR, in which clusters of clonal amplicons are formed on localized regions within the channels of the flow cell. After the amplicons are generated by bridge PCR, the amplicons can be "linearized" to prepare single-stranded template DNA or sstDNA, and sequencing primers can be hybridized to universal sequences flanking the region of interest. For example, a sequencing-by-synthesis method based on a reversible terminator can be used as described above or as follows.

[0564] Each base detection or sequencing cycle can extend sstDNA by a single base, which can be accomplished, for example, by using a mixture of modified DNA polymerase and four types of nucleotides. Different types of nucleotides can have unique fluorescent labels, and each nucleotide can also have a reversible terminator that only allows single-base incorporation to occur in each cycle. After a single base is added to the sstDNA, the excitation light can be incident on the reaction site and the fluorescent emission can be detected. After detection, the fluorescent label and terminator can be chemically cut from the sstDNA. Next can be another similar base detection or sequencing cycle. In this sequencing scheme, the SBS module 7840 can instruct the fluid control system 7808 to guide the reagents and enzyme solution to flow through the biosensor 7812. Exemplary reversible terminator-based SBS methods that can be used with the devices and methods described herein are described in U.S. Patent Application Publication No. 2007 / 0166705 A1, U.S. Patent Application Publication No. 2006 / 017878901 A1, U.S. Patent No. 7,057,026, U.S. Patent Application Publication No. 2006 / 0240439 A1, U.S. Patent Application Publication No. 2006 / 027814714709 A1, PCT Publication No. WO 05 / 0657814, U.S. Patent Application Publication No. 2005 / 014700900 A1, PCT Publication No. WO 06 / 078B199, and PCT Publication No. WO 07 / 01470251, each of which is incorporated herein by reference in its entirety. Exemplary reagents for reversible terminator-based SBS are described in: US 7,541,444, US 7,057,026, US 7,414,14716, US 7,427,673, US 7,566,537, US 7,592,435, and WO 07 / 1478353678, each of which is incorporated herein by reference in its entirety.

[0565] In some implementations, the amplification module and the SBS module can operate in a single assay protocol, where, for example, a template nucleic acid is amplified and then sequenced within the same cartridge.

[0566] The sequencing system 7800A may also allow the user to reconfigure the assay protocol. For example, the sequencing system 7800A may provide the user with an option to modify the determined protocol through the user interface 7818. For example, if it is determined that the biosensor 7812 will be used for amplification, the sequencing system 7800A may request a temperature for the annealing cycle. In addition, if the user has provided user input that is generally unacceptable for the selected assay protocol, the sequencing system 7800A may issue a warning to the user.

[0567] In a specific implementation, the biosensor 7812 includes millions of sensors (or pixels), each of which generates multiple pixel signal sequences in consecutive base calling cycles. The analysis module 7844 detects the multiple pixel signal sequences and attributes them to the corresponding sensors (or pixels) according to the row-by-row and / or column-by-column positions of the sensors on the sensor array.

[0568] Fig.79 is a simplified block diagram of a system for analyzing sensor data (such as base call sensor output) from sequencing system 7800A. Fig.79 In an example of, the system includes a configurable processor 7846. The configurable processor 7846 can execute a base caller (e.g., a neural network-based template generator 1512 and / or a neural network-based base caller 1514) in coordination with a runtime program executed by a central processing unit (CPU) 7852 (i.e., a host processor). The sequencing system 7800A includes a biosensor 7812 and a circulation cell. The circulation cell may include one or more blocks in which clusters of genetic material are exposed to a sequence of an analyte flow that is used to cause a reaction in the cluster to identify bases in the genetic material. The sensor senses the reaction of each cycle of the sequence in each block of the circulation cell to provide block data. Genetic sequencing is a data-intensive operation that converts base call sensor data into a base call sequence for each cluster of genetic material sensed during the base call operation.

[0569] The system in this example includes a CPU 7852 that executes a runtime program to coordinate base calling operations, a memory 7848B for storing the sequence of the block data array, the base called reads generated by the base calling operations, and other information used in the base calling operations. In addition, in this illustration, the system includes a memory 7848A to store a configuration file (or multiple files) such as an FPGA bit file and model parameters of a neural network for configuring and reconfiguring the configurable processor 7846, and executing the neural network. The sequencing system 7800A may include a program for configuring the configurable processor and, in some embodiments, the reconfigurable processor to execute the neural network.

[0570] Sequencing system 7800A is coupled to configurable processor 7846 via bus 7902. Bus 7902 may be implemented using high throughput technology, such as, in one example, bus technology compatible with the PCIe standard (Peripheral Component Interconnect Express) currently maintained and developed by PCI-SIG (PCI Special Interest Group). Also in this example, memory 7848A is coupled to configurable processor 7846 via bus 7906. Memory 7848A may be an on-board memory disposed on a circuit board having configurable processor 7846. Memory 7848A is used for high-speed access by configurable processor 7846 to working data used in base calling operations. Bus 7906 may also be implemented using high throughput technology such as bus technology compatible with the PCIe standard.

[0571] Configurable processors, including field programmable gate arrays FPGAs, coarse-grained reconfigurable arrays CGRAs, and other configurable and reconfigurable devices, can be configured to implement various functions more efficiently or faster than is possible using a general-purpose processor executing a computer program. Configuration of a configurable processor involves compiling a functional description to produce a configuration file, sometimes called a bitstream or bit file, and distributing the configuration file to configurable elements on the processor. The configuration file defines the logical functions to be performed by the configurable processor by configuring the circuit to set data flow patterns, the use of distributed memory and other on-chip memory resources, the contents of lookup tables, the operation of configurable logic blocks and configurable execution units (such as multiply-accumulate units, configurable interconnects, and other elements of the configurable array). A configurable processor is reconfigurable if the configuration file can be changed in the field by changing the loaded configuration file. For example, the configuration file can be stored in volatile SRAM elements, in non-volatile read-write memory elements, and in combinations thereof, distributed in an array of configurable elements on a configurable or reconfigurable processor. A variety of commercially available configurable processors are suitable for base calling operations as described herein. Examples include Google's Tensor Processing Unit (TPU) TM , rack solutions (such as GX4 Rackmount Series TM 、GX9 Rackmount Series TM ), NVIDIA DGX-1 TM 、Microsoft's Stratix V FPGA TM , Graphcore’s Intelligent Processor Unit (IPU) TM 、Qualcomm's Snapdragon processors TM Zeroth Platform TM、NVIDIA's Volta TM 、NVIDIA's DRIVE PX TM , NVIDIA's JETSON TX1 / TX2MODULE TM 、Intel's Nirvana TM 、Movidius VPU TM ,Fujitsu DPI TM 、ARM's DynamicIQ TM 、IBM TrueNorth TM , with Testa V100s TM Lambda GPU server, Xilinx Alveo TM U200, Xilinx Alveo TM U250, Xilinx Alveo TM U280, Intel / Altera Stratix TM GX2800, Intel / AlteraStratix TM GX2800 and Intel Stratix TM GX10M. In some examples, the host CPU can be implemented on the same integrated circuit as the configurable processor.

[0572] The embodiments described herein use a configurable processor 7846 to implement a neural network-based template generator 1512 and / or a neural network-based base caller 1514. The configuration file for the configurable processor 7846 can be implemented by specifying the logic functions to be performed using a high-level description language HDL or a register transfer level RTL language specification. The specification can be compiled using resources designed for the selected configurable processor to generate the configuration file. In order to generate a design for an application-specific integrated circuit that may not be a configurable processor, the same or similar specification can be compiled.

[0573] Thus, in all embodiments described herein, alternatives to the configurable processor 7846 include a configured processor comprising a dedicated ASIC or a dedicated integrated circuit or a group of integrated circuits, or a system on a chip (SOC) device, or a graphics processing unit (GPU) processor or a coarse-grained reconfigurable architecture (CGRA) processor, the configured processor being configured to perform neural network-based base calling operations as described herein.

[0574] In general, configurable processors and processors configured as described herein that are configured to perform operations of a neural network are referred to herein as neural network processors.

[0575] In this example, the configurable processor 7846 is configured by a configuration file loaded using a program executed by the CPU 7852, or by other sources that configure an array of configurable elements 7916 (e.g., configuration logic blocks (CLBs) such as look-up tables (LUTs), flip-flops, computational processing units (PMUs) and computational memory units (CMUs), configurable I / O blocks, programmable interconnects) on the configurable processor to perform base calling functions. In this example, the configuration includes data flow logic 7908 that is coupled to buses 7902 and 7906 and performs functions for distributing data and control parameters between elements used in base calling operations.

[0576] Additionally, the configurable processor 7846 is configured with base calling execution logic 7908 to execute the neural network-based template generator 1512 and / or the neural network-based base caller 1514. The logic 7908 includes multi-cycle execution clusters (e.g., 7914), which in this example include execution cluster 1 through execution cluster X. The number of multi-cycle execution clusters may be selected based on a tradeoff involving the desired throughput of the operations and the available resources on the configurable processor 7846.

[0577] The multi-cycle execution clusters are coupled to the data flow logic 7908 via a data flow path 7910 implemented using configurable interconnect and memory resources on the configurable processor 7846. In addition, the multi-cycle execution clusters are coupled to the data flow logic 7908 via a control path 7912 implemented using, for example, configurable interconnect and memory resources on the configurable processor 7846, which provides control signals indicating that the execution clusters are available, ready to provide input elements for execution of operations of the neural network-based template generator 1512 and / or the neural network-based base caller 1514, ready to provide trained parameters for the neural network-based template generator 1512 and / or the neural network-based base caller 1514, ready to provide output patches of base call classification data, and other control data for executing the neural network-based template generator 1512 and / or the neural network-based base caller 1514.

[0578] The configurable processor 7846 is configured to execute the operation of the neural network-based template generator 1512 and / or the neural network-based base caller 1514 using the trained parameters to generate classification data for the sensing cycle of the base calling operation. The operation of the neural network-based template generator 1512 and / or the neural network-based base caller 1514 is executed to generate classification data for the subject sensing cycle of the base calling operation. The operation of the neural network-based template generator 1512 and / or the neural network-based base caller 1514 operates on a sequence (a digital N array of block data from corresponding sensing cycles of N sensing cycles), wherein the N sensing cycles provide sensor data for different base calling operations for one base position of each operation in the time series in the example described herein. Optionally, if desired, some of the N sensing cycles may be out of order depending on the specific neural network model being executed. The number N can be any number greater than 1. In some examples described herein, a sensing cycle in the N sensing cycles represents a set of sensing cycles of at least one sensing cycle before a subject sensing cycle and at least one sensing cycle after a subject cycle in a time sequence. Examples are described herein where the number N is an integer equal to or greater than five.

[0579] The data flow logic 7908 is configured to move tile data and at least some trained parameters of the model parameters from the memory 7848A to the configurable processor 7846 for operation of the neural network-based template generator 1512 and / or the neural network-based base caller 1514 using input units for a given operation, the input units comprising tile data for spatially aligned patches of the N arrays. The input units may be moved via direct memory access operations in one DMA operation or in smaller units that are moved during available time slots in coordination with the execution of the deployed neural network.

[0580] Block data for sensing cycles as described herein may include a sensor data array 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 a genetic sequence of DNA, RNA, or other genetic material. The block data may also include metadata about the images and sensors. For example, in an embodiment of a base calling operation, the block data may include information about the alignment of the image with the cluster, such as information about the distance from the center, which indicates the distance of each pixel in the sensor data array from the center of the cluster of genetic material on the block.

[0581] During execution of the neural network-based template generator 1512 and / or the neural network-based base caller 1514 as described below, the tile data may also include data generated during execution of the neural network-based template generator 1512 and / or the neural network-based base caller 1514, referred to as intermediate data, which may be reused rather than recalculated during operation of the neural network-based template generator 1512 and / or the neural network-based base caller 1514. For example, during execution of the neural network-based template generator 1512 and / or the neural network-based base caller 1514, the data flow logic 7908 may write the intermediate data to the memory 7848A in place of the sensor data for a given patch of the tile data array. Embodiments similar to this are described in more detail below.

[0582] As shown, a system for analyzing base calling sensor output is described, the system including a memory (e.g., 7848A) accessible by a runtime program, the memory storing block data, the block data including sensor data for blocks of sensing cycles from base calling operations. In addition, the system includes a neural network processor, such as a configurable processor 7846 that can access the memory. The neural network processor is configured to perform operation of the neural network using trained parameters to generate classification data for the sensing cycle. As described herein, the operation of the neural network operates on a sequence of N arrays of block data from corresponding sensing cycles of N sensing cycles (including a subject cycle) to generate classification data for the subject cycle. Data flow logic 908 is provided to move the block data and trained parameters from the memory to the neural network processor for operation of the neural network using input units (including data from spatially aligned patches of N arrays of corresponding sensing cycles of N sensing cycles).

[0583] Additionally, a system is described in which a neural network processor has access to a memory and includes a plurality of execution clusters, wherein an execution cluster of the plurality of execution clusters is configured to execute a neural network. Data flow logic 7908 has access to the memory and an execution cluster of the plurality of execution clusters to provide an input unit of tile data to an available execution cluster of the plurality of execution clusters, the input unit including a number of N spatially aligned patches from a tile data array of a corresponding sensing cycle (including a subject sensing cycle), and causes the execution cluster to apply the N spatially aligned patches to the neural network to produce an output patch of classification data for the spatially aligned patches for the subject sensing cycle, wherein N is greater than 1.

[0584] Fig.80is a simplified diagram illustrating various aspects of a base calling operation, which includes the functionality of a runtime program executed by a host processor. In the figure, the output of the image sensor from the flow cell is provided on line 8000 to an image processing thread 8001, which may perform processing on the image, such as alignment and arrangement in the sensor data array of the individual blocks and resampling of the image, and may be used by a process that calculates a block cluster mask for each block in the flow cell, which identifies pixels in the sensor data array that correspond to clusters of genetic material on the corresponding block of the flow cell. Depending on the state of the base calling operation, the output of the image processing thread 8001 is provided on line 8002 to scheduling logic 8010 in the CPU, which routes the block data array on a high-speed bus 8003 to a data cache 8004 (e.g., an SSD storage device), or on a high-speed bus 8005 to a neural network processor hardware 8020, such as Fig.79 configurable processor 7846. The processed and transformed image may be stored on data cache 8004 for use in a previously used sensing cycle. Hardware 8020 returns the classified data output by the neural network to scheduling logic 8080, which passes the information to data cache 8004, or on line 8011 to thread 8002 that performs base calling and quality score calculations using the classified data, and may arrange the data for base called reads in a standard format. The output of thread 8002 that performs base calling and quality score calculations is provided on line 8012 to thread 8003, which aggregates the base called reads, performs other operations such as data compression, and writes the resulting base called output to a specified destination for use by the client.

[0585] In some embodiments, the host may include a thread (not shown) that performs final processing of the output of the hardware 8020 to support the neural network. For example, the hardware 8020 may provide an output of the classification data from the final layer of the multi-cluster neural network. The host processor may perform an output activation function such as a softmax function on the classification data to configure the data for use by the base calling and quality scoring thread 8002. In addition, the host processor may perform input operations (not shown), such as batch normalization of the block data before input to the hardware 8020.

[0586] Fig.81 The 7846 processor can be configured such as Fig.79 A simplified diagram of the configuration of a configurable processor. Fig.81 In the embodiment, the configurable processor 7846 includes an FPGA having multiple high-speed PCIe interfaces. The FPGA is configured with a wrapper 8100, which includes a reference Fig.79The encapsulator 8100 manages the interface and coordination with the runtime program in the CPU through the CPU communication link 8109, and manages the communication with the onboard DRAM 8102 (e.g., memory 7848A) via the DRAM communication link 8110. The data flow logic 7908 in the encapsulator 8100 provides the patch data retrieved by traversing the block data array of the number N cycles on the onboard DRAM 8102 to the cluster 8101, and retrieves the process data 8115 from the cluster 8101 to be delivered back to the onboard DRAM 8102. The encapsulator 8100 also manages the data transfer between the onboard DRAM 8102 and the host memory for both the input array of block data and the output patch of classification data. The encapsulator transfers the patch data on line 8113 to the assigned cluster 8101. The encapsulator provides the trained parameters such as weights and biases to the cluster 8101 retrieved from the onboard DRAM 8102 on line 8112. The wrapper provides configuration and control data to cluster 8101 on line 8111, which the cluster provides from or generates in response to a runtime program on the host via CPU communication link 8109. The cluster may also provide status signals to wrapper 8100 on line 8116, which are used in conjunction with control signals from the host to manage traversal of the tile data array to provide spatially aligned patch data and to execute multi-recurrent neural networks on the patch data using the resources of cluster 8101.

[0587] As described above, there may be multiple clusters configured to execute on corresponding patches of multiple patches of block data on a single configurable processor managed by the wrapper 8100. Each cluster may be configured to provide classification data for base calls in a subject's sensing cycles using block data of multiple sensing cycles as described herein.

[0588] In an example of a system, model data (including kernel data, such as filter weights and biases) can be sent from a host CPU to a configurable processor so that the model can be updated based on the number of cycles. As a representative example, a base calling operation may include approximately hundreds of sensing cycles. In some embodiments, a base calling operation may include double-ended reads. For example, model training parameters may be updated every 20 cycles (or other number of cycles), or according to an update pattern implemented for a particular system and neural network model. In some embodiments including double-ended reads, where the sequence of a given string in a genetic cluster on a block includes a first portion extending downward (or upward) along the string from a first end and a second portion extending upward (or downward) along the string from a second end, the trained parameters may be updated in the transition from the first portion to the second portion.

[0589] In some examples, image data for multiple cycles of sense data for a tile may be sent from the CPU to the wrapper 8100. The wrapper 8100 may optionally perform some pre-processing and conversion on the sense data and write the information to the onboard DRAM 8102. The input tile data for each sense cycle may include an array of sensor data including approximately 4000×3000 pixels or more per tile per sense cycle, with two features representing the colors of two images of the tile, and one or two bytes per pixel for each feature. For embodiments where the number N is three sense cycles to be used in each run of the multi-cycle neural network, the tile data array for each run of the multi-cycle neural network may consume approximately hundreds of megabytes per tile. In some embodiments of the system, the tile data also includes an array of DFC data stored once per tile, or other types of metadata about the sensor data and the tile.

[0590] In operation, when a multi-cycle cluster is available, the encapsulator assigns patches to the cluster. The encapsulator fetches the next patch of the chunk data in a traversal of the chunk and sends it to the assigned cluster along with appropriate control and configuration information. The cluster can be configured to have enough memory on the configurable processor to hold data patches that are being processed in place including patches from multiple cycles in some systems, as well as data patches that will be processed when processing of the current patch is completed using ping-pong buffering techniques or raster scanning techniques in various embodiments.

[0591] When the assigned cluster completes its run of the neural network for the current patch and produces an output patch, it will signal the encapsulator. The encapsulator will read the output patch from the assigned cluster, or alternatively, the assigned cluster pushes the data to the encapsulator. The encapsulator will then assemble the output patch for the processed block in DRAM 8102. When the processing of the entire block has been completed and the output patch of data has been transferred to DRAM, the encapsulator sends the processed output array of the block back to the host / CPU in the specified format. In some embodiments, the onboard DRAM 8102 is managed by memory management logic in the encapsulator 8100. The runtime program can control the sequencing operation to complete the analysis of all arrays of block data for all cycles in the run in a continuous stream, thereby providing real-time analysis.

[0592] Technical improvements and terminology

[0593] Base calling involves binding or attaching a fluorescently labeled tag to an analyte. The analyte can be a nucleotide or an oligonucleotide, and the tag can be used for a specific nucleotide type (A, C, T, or G). Excitation light is directed to the analyte with the tag, and the tag emits a detectable fluorescent signal or intensity emission. The intensity emission indicates the photons emitted by the excited tag chemically attached to the analyte.

[0594] Throughout this application, including the claims, when phrases such as or similar to "an image, image data, or image region depicting the intensity emission of an analyte and its surrounding background" are used, they refer to the intensity emission of a label attached to the analyte. Those skilled in the art will appreciate that the intensity emission of an attached label represents or is equivalent to the intensity emission of the analyte to which the label is attached and are therefore used interchangeably. Similarly, properties of an analyte refer to properties of a label attached to the analyte or properties of the intensity emission from the attached label. For example, the center of an analyte refers to the center of the intensity emission emitted by a label attached to the analyte. In another example, the surrounding background of an analyte refers to the surrounding background of the intensity emission emitted by a label attached to the analyte.

[0595] All documents and similar materials cited in this application, including but not limited to patents, patent applications, articles, books, papers, and web pages, are expressly incorporated by reference in their entirety, regardless of the format of these documents and similar materials. If one or more of the incorporated documents and similar materials differs from or contradicts this application, including but not limited to defined terms, term usage, described techniques, etc., this application shall prevail.

[0596] The disclosed technology uses neural networks to improve the quality and quantity of nucleic acid sequence information that can be obtained from a nucleic acid sample (such as a nucleic acid template or its complementary sequence, e.g., a DNA or RNA polynucleotide or other nucleic acid sample). Thus, relative to previously available methods, certain specific implementations of the disclosed technology provide higher throughput polynucleotide sequencing, e.g., higher DNA or RNA sequence data collection rates, higher sequence data collection efficiencies, and / or lower costs for obtaining such sequence data.

[0597] The disclosed technology uses a neural network to identify the centers of solid phase nucleic acid clusters and analyzes the optical signals generated during sequencing of such clusters to unambiguously distinguish between adjacent, contiguous or overlapping clusters so as to assign sequencing signals to a single discrete source cluster. Thus, these and related embodiments allow for the retrieval of meaningful information, such as sequence data, from regions of high density cluster arrays where usable information was previously unavailable due to the confounding effects of overlapping or very closely spaced adjacent clusters, including the effects of overlapping signals emanating therefrom (e.g., as used in nucleic acid sequencing).

[0598] As described in more detail below, in some specific implementations, provide a composition comprising a solid carrier, this solid carrier has one or more nucleic acid clusters as provided herein that are fixed thereon.Each cluster comprises the immobilized nucleic acid of a plurality of identical sequences and has an identifiable center, this identifiable center has a detectable center mark as provided herein, and the immobilized nucleic acid in the surrounding area in the identifiable center and the cluster can be distinguished by this detectable center mark.This paper has also described the method for making and using this type of cluster with an identifiable center.

[0599] The disclosed embodiments will find use in many situations where advantage is gained from the ability to identify, determine, annotate, record, or otherwise assign the location of a substantially central location within a cluster, such as high-throughput nucleic acid sequencing, the development of image analysis algorithms for assigning optical or other signals to discrete source clusters, and other applications in which identifying the center of an immobilized nucleic acid cluster is desirable and beneficial.

[0600] In certain embodiments, the present invention contemplates methods involving high-throughput nucleic acid analysis such as nucleic acid sequence determination (e.g., "sequencing"). Exemplary high-throughput nucleic acid analysis includes, but is not limited to, de novo sequencing, resequencing, whole genome sequencing, gene expression analysis, gene expression monitoring, epigenetic analysis, genomic methylation analysis, allele-specific primer extension (APSE), genetic diversity analysis, whole genome polymorphism discovery and analysis, single nucleotide polymorphism analysis, hybridization-based sequence determination methods, etc. Those skilled in the art will appreciate that a variety of different nucleic acids can be analyzed using the methods and compositions of the present invention.

[0601] Although the specific implementation of the present invention is described with respect to nucleic acid sequencing, they are applicable to any field of analyzing image data collected at different time points, spatial positions or other time or physical perspectives. For example, the methods and systems described herein can be used in the field of molecular and cell biology, wherein image data from microarrays, biological specimens, cells, organisms, etc. are collected and analyzed at different time points or perspectives. Images can be obtained using any number of techniques known in the art, including but not limited to fluorescence microscopy, optical microscopy, confocal microscopy, optical imaging, magnetic resonance imaging, tomography, etc. For another example, the methods and systems described herein can be applied, wherein image data obtained by monitoring, aerial or satellite imaging techniques, etc. are collected and analyzed at different time points or perspectives. The method and system are particularly useful for analyzing images obtained for a visual field, wherein the analytes being observed are kept in the same position relative to each other in the visual field. However, the analyte may have different features in a single image, for example, the analyte may look different in a single image of the visual field. For example, an analyte may appear different in terms of its color detected in different images, a change in signal intensity for a given analyte detected in different images, or even the appearance of a signal for a given analyte detected in one image and the disappearance of a signal for that analyte detected in another image.

[0602] Examples described herein can be used for various biological or chemical processes and systems for academic or commercial analysis. More specifically, examples described herein can be used for various processes and systems for events, attributes, qualities or features of desired detection indications of specified reactions. For example, examples described herein include light detection equipment, biosensors and components thereof, and bioassay systems operated with biosensors. In some examples, equipment, biosensors and systems can include a flow cell and one or more light sensors, which are coupled together with a substantially integrated structure (removably or fixedly).

[0603] These devices, biosensors and bioassay systems can be configured to perform multiple specified reactions that can be detected individually or together. These devices, biosensors and bioassay systems can be configured to perform multiple cycles, wherein the multiple specified reactions occur synchronously. For example, these devices, biosensors and bioassay systems can be used for sequencing dense arrays of DNA features by iterative cycles of enzyme manipulation and light or image detection / collection. Therefore, these devices, biosensors and bioassay systems (for example, via one or more boxes) may include one or more microfluidic channels, and the one or more microfluidic channels deliver reagents or other reaction components in the reaction solution to the reaction sites of these devices, biosensors and bioassay systems. In some examples, the reaction solution may be substantially acidic, such as having a pH of less than or equal to about 5, or less than or equal to about 4, or less than or equal to about 3. In some other examples, the reaction solution may be substantially alkaline / alkaline, such as having a pH of greater than or equal to about 8, or greater than or equal to about 9, or greater than or equal to about 10. As used herein, the term "acidity" and grammatical variations thereof refer to a pH value of less than about 7, and the terms "alkalinity," "alkalinity," and grammatical variations thereof refer to a pH value of greater than about 7.

[0604] In some examples, the reaction sites are provided or spaced apart in a predetermined manner, such as provided or spaced apart in a uniform or repeating pattern. In some other examples, the reaction sites are randomly distributed. Each reaction site can be associated with one or more light guides and one or more light sensors that detect light from the associated reaction site. In some examples, the reaction sites are located in reaction grooves or reaction chambers, which can at least partially separate the specified reactions therein.

[0605] As used herein, a "specified reaction" includes a change in at least one of the chemical, electrical, physical, or optical properties (or qualities) of a chemical or biological substance of interest (e.g., an analyte of interest). In a specific example, the specified reaction is a positive binding event, for example, the binding of a fluorescently labeled biomolecule to the analyte of interest. More generally, the specified reaction can be a chemical transformation, a chemical change, or a chemical interaction. The specified reaction can also be a change in an electrical property. In a specific example, the specified reaction includes binding a fluorescently labeled molecule to the analyte. The analyte can be an oligonucleotide, and the fluorescently labeled molecule can be a nucleotide. The specified reaction can be detected when excitation light is directed to the oligonucleotide with the labeled nucleotide and the fluorophore emits a detectable fluorescent signal. In an alternative example, the detected fluorescence is the result of chemiluminescence or bioluminescence. The specified reaction can also be, for example, to increase fluorescence (or ) resonance energy transfer (FRET), reducing FRET by separating the donor and acceptor fluorophores, increasing fluorescence by separating the quencher from the fluorophore, or decreasing fluorescence by colocalizing the quencher and fluorophore.

[0606] As used herein, "reaction solution", "reaction component" or "reactant" include any material that can be used to obtain at least one specified reaction. For example, possible reaction components include, for example, reagents, enzymes, samples, other biomolecules and buffers. The reaction component can be delivered to the reaction site in the solution and / or fixed at the reaction site. The reaction component can interact directly or indirectly with another substance, such as an analyte of interest fixed to the reaction site. As described above, the reaction solution can be substantially acidic (i.e., including relatively high acidity) (e.g., having a pH less than or equal to about 5, a pH less than or equal to about 4, or a pH less than or equal to about 3) or substantially alkaline / alkaline (i.e., including relatively high alkalinity / alkalinity) (e.g., having a pH greater than or equal to about 8, a pH greater than or equal to about 9, or a pH greater than or equal to about 10).

[0607] As used herein, the term "reaction site" is a local area where at least one specified reaction can occur. The reaction site may include a reaction structure or a support surface of a substrate on which a substance can be fixed. For example, the reaction site may include a surface (which may be located in a channel of a circulation cell) of a reaction structure having a reactive component (such as a nucleic acid population thereon). In some such examples, the nucleic acid in the population has the same sequence, such as a cloned copy of a single-stranded or double-stranded template. However, in some examples, the reaction site may only include a single nucleic acid molecule, such as a single-stranded or double-stranded form.

[0608] A plurality of reaction sites may be randomly distributed along the reaction structure or arranged in a predetermined manner (e.g., arranged side by side in a matrix, such as in a microarray). The reaction site may also include a reaction chamber or reaction groove, which at least partially defines a spatial region or volume configured to separate a specified reaction. As used herein, the term "reaction chamber" or "reaction groove" includes a defined spatial region of a support structure (which is generally in fluid communication with a flow channel). The reaction groove may be at least partially separated from the surrounding environment of other or spatial regions. For example, a plurality of reaction grooves may be separated from each other by a common wall such as a detection surface. As a more specific example, the reaction groove may be a nanopore including a dent, pit, hole, groove, cavity or depression defined by the inner surface of the detection surface, and having an opening or pore (i.e., open) so that the nanopore may be in fluid communication with the flow channel.

[0609] In some examples, the size and shape of the reaction groove of the reaction structure are set relative to the solid (including semi-solid) so that the solid can be fully or partially inserted therein. For example, the size and shape of the reaction groove can be set to accommodate capture beads. The capture beads can have cloned amplified DNA or other substances on them. Alternatively, the size and shape of the reaction groove can be set to accommodate an approximate number of beads or solid substrates. For another example, the reaction groove can be filled with a porous gel or substance that is configured to control diffusion or filter a fluid or solution that can flow into the reaction groove.

[0610] In some examples, a light sensor (e.g., a photodiode) is associated with a corresponding reaction site. The light sensor associated with the reaction site is configured to detect light emission from the associated reaction site via at least one light guide when a specified reaction has occurred at the associated reaction site. In some cases, multiple light sensors (e.g., several pixels of a light detection or camera device) may be associated with a single reaction site. In other cases, a single light sensor (e.g., a single pixel) may be associated with a single reaction site or with a group of reaction sites. Other features of the light sensors, reaction sites, and biosensors may be configured so that at least some of the light is detected directly by the light sensor without being reflected.

[0611] As used herein, "biological or chemical substances" include biomolecules, samples of interest, analytes of interest, and other compounds. Biological or chemical substances can be used to detect, identify, or analyze other compounds, or as intermediates for studying or analyzing other compounds. In a specific example, biological or chemical substances include biomolecules. As used herein, "biomolecules" include at least one of biopolymers, nucleosides, nucleic acids, polynucleotides, oligonucleotides, proteins, enzymes, polypeptides, antibodies, antigens, ligands, receptors, polysaccharides, carbohydrates, polyphosphates, cells, tissues, organisms, or their fragments, or any other biologically active compounds such as analogs or analogs of the aforementioned substances. In another example, biological or chemical substances or biomolecules include enzymes or reagents for detecting the product of another reaction in a coupled reaction, such as enzymes or reagents, such as enzymes or reagents for detecting pyrophosphate in a pyrophosphate sequencing reaction. Enzymes and reagents that can be used for pyrophosphate detection are described in, for example, U.S. Patent Publication 2005 / 0244870 A1, which is incorporated by reference in its entirety.

[0612] Biomolecules, samples, and biological or chemical substances may be naturally occurring or synthetic and may be suspended in a solution or mixture within a reaction groove or region. Biomolecules, samples, and biological or chemical substances may also be bound to a solid phase or gel material. Biomolecules, samples, and biological or chemical substances may also include pharmaceutical compositions. In some cases, the biomolecules, samples, and biological or chemical substances of interest may be referred to as targets, probes, or analytes.

[0613] As used herein, "biosensor" includes a device having a reaction structure with multiple reaction sites, which is configured to detect a specified reaction occurring at or near the reaction site. The biosensor may include a solid-state light detection or "imaging" device (e.g., a CCD or CMOS light detection device) and a flow cell optionally mounted thereon. The flow cell may include at least one flow channel in fluid communication with the reaction site. As a specific example, the biosensor is configured to be fluidically coupled and electrically coupled to a bioassay system. The bioassay system may deliver a reaction solution to the reaction site according to a predetermined scheme (e.g., sequencing by synthesis), and perform multiple imaging events. For example, the bioassay system may guide the reaction solution to flow along the reaction site. At least one of the reaction solutions may include four types of nucleotides with the same or different fluorescent labels. Nucleotides may be bound to the reaction site, such as to the corresponding oligonucleotides at the reaction site. Then, the bioassay system may illuminate the reaction site using an excitation light source (e.g., a solid-state light source, such as a light emitting diode (LED)). The excitation light may have a predetermined one or more wavelengths, including a wavelength range. Fluorescent markers excited by incident excitation light can provide an emission signal (eg, light of one or more wavelengths different from the excitation light and possibly different from each other) that can be detected by a light sensor.

[0614] As used herein, when used with respect to biomolecules or biological or chemical substances, the term "fixed" includes substantially connecting the biomolecules or biological or chemical substances to a surface at a molecular level, such as connecting to a detection surface of a light detection device or a reaction structure. For example, adsorption techniques can be used to fix the biomolecules or biological or chemical substances to the surface of a reaction structure, and the adsorption techniques include non-covalent interactions (e.g., electrostatic forces, van der Waals forces, and dehydration of hydrophobic interfaces) and covalent binding techniques, wherein functional groups or joints are conducive to connecting the biomolecules to the surface. Fixing the biomolecules or biological or chemical substances to the surface can be based on the properties of the surface, the liquid medium carrying the biomolecules or biological or chemical substances, and the properties of the biomolecules or biological or chemical substances themselves. In some cases, the surface can be functionalized (e.g., chemically or physically modified) to facilitate fixing the biomolecules (or biological or chemical substances) to the surface.

[0615] In some examples, nucleic acid can be fixed to a reaction structure, such as fixed to the surface of its reaction groove. In a specific example, the equipment, biosensor, bioassay system and method described herein may include the use of natural nucleotides and enzymes configured to interact with natural nucleotides. Natural nucleotides include, for example, ribonucleotides or deoxyribonucleotides. Natural nucleotides can be in the form of monophosphate, diphosphate or triphosphate, and can have a base selected from adenine (A), thymine (T), uracil (U), guanine (G) or cytosine (C). However, it should be understood that non-natural nucleotides, modified nucleotides or the analogs of the aforementioned nucleotides can be used.

[0616] As described above, biomolecules or biological or chemical substances can be fixed at the reaction site in the reaction groove of the reaction structure. Such biomolecules or biological substances can be physically maintained or fixed in the reaction groove by interference fit, adhesion, covalent bond or entrapment. Examples of articles or solids that can be arranged in the reaction groove include polymer beads, micropellets, agarose gel, powder, quantum dots or other solids that can be compressed and / or maintained in the reaction chamber. In some specific implementations, the reaction groove can be coated or filled with a hydrogel layer that can covalently bind DNA oligonucleotides. In a specific example, a nucleic acid superstructure (such as a DNA ball) can be arranged in the reaction groove or at the reaction groove, for example, by being attached to the inner surface of the reaction groove or by staying in the liquid in the reaction groove. DNA balls or other nucleic acid superstructures can be carried out and then arranged in the reaction groove or at the reaction groove. Alternatively, DNA balls can be synthesized in situ at the reaction groove. The material fixed in the reaction groove can be solid, liquid or gaseous.

[0617] As used herein, the term "analyte" is intended to represent a point or region in a pattern that can be distinguished from other points or regions based on relative position. A single analyte may include one or more specific types of molecules. For example, an analyte may include a single target nucleic acid molecule with a specific sequence, or an analyte may include several nucleic acid molecules with the same sequence (and / or its complementary sequence). Different molecules at different analytes of a pattern can be distinguished from each other based on the position of the analyte in the pattern. Exemplary analytes include, but are not limited to, holes in a substrate, beads (or other particles) in or on a substrate, a protrusion of a substrate, a ridge on a substrate, a gel material pad on a substrate, or a channel in a substrate.

[0618] Any of a variety of target analytes to be detected, characterized or identified can be used in the devices, systems or methods described herein. Exemplary analytes include, but are not limited to, nucleic acids (e.g., DNA, RNA or their analogs), proteins, polysaccharides, cells, antibodies, epitopes, receptors, ligands, enzymes (e.g., kinases, phosphatases or polymerases), small molecule drug candidates, cells, viruses, organisms, etc.

[0619] The terms "analyte", "nucleic acid", "nucleic acid molecule" and "polynucleotide" are used interchangeably herein. In various embodiments, nucleic acids can be used as templates as provided herein (e.g., nucleic acid templates, or nucleic acid complementary sequences complementary to nucleic acid templates) for specific types of nucleic acid analysis, including but not limited to nucleic acid amplification, nucleic acid expression analysis and / or nucleic acid sequence determination or suitable combinations thereof. In certain embodiments, nucleic acids include, for example, linear polymers of deoxyribonucleotides in 3'-5' phosphodiester or other bonds, such as deoxyribonucleic acid (DNA), such as single-stranded and double-stranded DNA, genomic DNA, copy DNA or complementary DNA (cDNA), recombinant DNA, or any form of synthetic or modified DNA. In other embodiments, nucleic acids include, for example, linear polymers of ribonucleotides in 3'-5' phosphodiester or other bonds, such as ribonucleic acids (RNA), such as single-stranded and double-stranded RNA, messenger (mRNA), copy RNA or complementary RNA (cRNA), alternatively spliced ​​mRNA, ribosomal RNA, small nucleolar RNA (snoRNA), microRNA (miRNA), small interfering RNA (sRNA), piwi RNA (piRNA), or any form of synthetic or modified RNA. The length of the nucleic acids used in the compositions and methods of the invention can vary and can be complete or full-length molecules or fragments or smaller portions of larger nucleic acid molecules. In specific embodiments, the nucleic acids can have one or more detectable labels, as described elsewhere herein.

[0620] The terms "analyte", "cluster", "nucleic acid cluster", "nucleic acid population" and "DNA cluster" are used interchangeably and refer to multiple copies of a nucleic acid template and / or its complementary sequence attached to a solid support. Typically and in certain preferred embodiments, a nucleic acid cluster comprises multiple copies of a template nucleic acid and / or its complementary sequence, which are connected to a solid support via their 5' ends. The copies of the nucleic acid chains that make up the nucleic acid cluster may be in single-stranded or double-stranded form. The copies of the nucleic acid template present in the cluster may have nucleotides at corresponding positions that are different from each other, for example due to the presence of a labeling moiety. Corresponding positions may also contain similar structures having different chemical structures but similar Watson-Crick base pairing properties, such as the case of uracil and thymine.

[0621] Nucleic acid populations may also be referred to as "nucleic acid clusters." Nucleic acid populations may optionally be generated by cluster amplification or bridge amplification techniques, as described in further detail elsewhere herein. Multiple repeats of a target sequence may be present in a single nucleic acid molecule, such as concatemers generated using a rolling circle amplification procedure.

[0622] Depending on the conditions used, the nucleic acid clusters of the present invention can have different shapes, sizes and densities. For example, the cluster can have a substantially circular, polygonal, donut-shaped or annular shape. The diameter of the nucleic acid cluster can be designed to be about 0.2 μm to about 6 μm, about 0.3 μm to about 4 μm, about 0.4 μm to about 3 μm, about 0.5 μm to about 2 μm, about 0.75 μm to about 1.5 μm or any diameter therebetween. In a specific implementation, the diameter of the nucleic acid cluster is about 0.5 μm, about 1 μm, about 1.5 μm, about 2 μm, about 2.5 μm, about 3 μm, about 4 μm, about 5 μm or about 6 μm. The diameter of the nucleic acid cluster can be affected by multiple parameters, including but not limited to the number of amplification cycles performed when generating the cluster, the length of the nucleic acid template or the density of the primers attached to the surface on which the cluster is formed. The density of the nucleic acid cluster can be designed to be usually between 0.1 / mm 2 , 1 / mm 2 , 10 / mm 2 , 100 / mm 2 、1,000 / mm 2 、10,000 / mm 2 Up to 100,000 / mm 2 The present invention also contemplates, in part, higher density nucleic acid clusters, such as 100,000 / mm 2 Up to 1,000,000 / mm 2 and 1,000,000 / mm 2 Up to 10,000,000 / mm 2 .

[0623] As used herein, "analyte" is an area of ​​interest within a specimen or field of view. When used in conjunction with a microarray device or other molecular analysis device, an analyte refers to an area occupied by similar or identical molecules. For example, an analyte can be an amplified oligonucleotide or any other group of polynucleotides or polypeptides having the same or similar sequence. In other embodiments, an analyte can be any element or group of elements that occupies a physical area on a specimen. For example, an analyte can be a piece of land, a body of water, etc. When imaging the analytes, each analyte will have a certain area. Therefore, in many embodiments, an analyte is more than just a pixel.

[0624] The distance between analytes can be described in any number of ways. In some implementations, the distance between analytes can be described from the center of one analyte to the center of another analyte. In other implementations, the distance can be described from the edge of one analyte to the edge of another analyte, or between the outermost identifiable points of each analyte. The edge of the analyte can be described as a theoretical or actual physical boundary on the chip, or a point within the boundary of the analyte. In other implementations, the distance can be described relative to a fixed point on the specimen or a fixed point in an image of the specimen.

[0625] Generally speaking, several specific implementations will be described herein with respect to the analysis methods. It should be understood that systems for performing the methods in an automated or semi-automated manner are also provided. Thus, the present disclosure provides a neural network-based template generation and base calling system, wherein the system may include a processor; a storage device; and a program for image analysis, the program including instructions for performing one or more of the methods described herein. Thus, the methods described herein may be performed, for example, on a computer having components described herein or known in the art.

[0626] The method and system shown herein can be used for analyzing any of a variety of objects. Particularly useful objects are solid supports or solid phase surfaces with connected analytes. When used for objects with a repetitive pattern of analytes in the xy plane, the method and system shown herein provide advantages. An example is a microarray with a connection set of cells, viruses, nucleic acids, proteins, antibodies, carbohydrates, small molecules (such as candidate drugs), bioactive molecules or other analytes of interest.

[0627] More and more applications have been developed for arrays of analytes with biomolecules (such as nucleic acids and polypeptides). Such microarrays typically include deoxyribonucleic acid (DNA) or ribonucleic acid (RNA) probes. These probes are specific to nucleotide sequences present in humans and other organisms. In certain applications, for example, a single DNA or RNA probe may be connected to a single analyte of the array. A sample such as from a known person or organism may be exposed to the array so that a target nucleic acid (e.g., a gene fragment, mRNA, or its amplicon) hybridizes with a complementary probe at the corresponding analyte in the array. The probe may be labeled in a target-specific process (e.g., due to a label present on the target nucleic acid or due to an enzyme label of the probe or target present in a hybridized form in the analyte). The array may then be checked by scanning the light of a specific frequency on the analyte to identify which target nucleic acids are present in the sample.

[0628] Biological microarray can be used for gene sequencing and similar applications.Generally speaking, gene sequencing includes determining the nucleotide sequence in the length of target nucleic acid (fragment such as DNA or RNA).Relatively short sequence is usually sequenced at each analyte, and the sequence information gained can be used in various bioinformatics methods to logically fit the sequence fragments together, thereby reliably determining the wider sequence of the length range of the genetic material derived from it.Automatic, computer-based algorithms for characteristic fragments have been developed, and have recently been used for genome mapping, identification of genes and their functions, etc.Microarrays are particularly useful for characterizing genome content, because there are a large number of variants, and this replaces the selection scheme of many experiments carried out on single probes and targets.Microarrays are ideal forms for carrying out such research in a practical manner.

[0629] Any of the various analyte arrays (also referred to as "microarrays") known in the art can be used in the methods or systems described herein. Typical arrays contain analytes, each analyte having a separate probe or probe population. In the latter case, the probe population at each analyte is generally homogeneous, with a single type of probe. For example, with respect to nucleic acid arrays, each analyte may have a plurality of nucleic acid molecules, each of which has a common sequence. However, in some specific implementations, the probe population at each analyte of the array may be heterogeneous. Similarly, a protein array may have an analyte containing a single protein or protein population, which generally but not always has the same amino acid sequence. The probe may be attached to the surface of the array, for example, by covalent bonding of the probe to the surface or by non-covalent interactions of the probe with the surface. In some specific implementations, probes such as nucleic acid molecules may be attached to the surface via a gel layer, as described, for example, in the following patent applications: U.S. Patent Application Serial No. 13 / 784,368 and U.S. Patent Application Publication No. 2011 / 0059865 A1, each of which is incorporated herein by reference.

[0630] Exemplary arrays include, but are not limited to, BeadChip arrays from Illumina, San Diego, Calif., or other arrays such as those in which probes are attached to beads present on a surface (e.g., beads in wells on a surface), e.g., U.S. Pat. Nos. 6,266,459, 6,355,431, 6,770,441, 6,859,570, or 7,622,294, or PCT Publication WO 00 / 63437, each of which is incorporated herein by reference. Other examples of commercially available microarrays that can be used include, for example, VLSIPS TMOther microarrays synthesized using the ultra-large-scale immobilized polymer synthesis technique. Spot microarrays can also be used in methods or systems according to some specific embodiments of the present invention. An exemplary spot microarray is a CodeLink® microarray from Amersham Biosciences. TM Another microarray that can be used is one that uses an inkjet printing method (such as SurePrint from Agilent Technologies). TM Microarrays fabricated using PCR technology.

[0631] Other useful arrays include arrays for nucleic acid sequencing applications. For example, arrays with genomic fragment amplicons (often referred to as clusters) are particularly useful, such as those described in Bentley et al., Nature 456: 53-59 (2008); WO 04 / 018497; WO 91 / 06678; WO 07 / 123744; U.S. Patent Nos. 7,329,492; 7,211,414; 7,315,019; 7,405,281 or 7,057,026; or U.S. Patent Application Publication No. 2008 / 0108082 A1, each of which is incorporated herein by reference. Another type of array that can be used for nucleic acid sequencing is an array of particles produced by emulsion PCR technology. Examples are described in: Dressman et al., Proc. Natl. Acad. Sci. USA 100:8817-8822 (2003); WO 05 / 010145; US Patent Application Publication No. 2005 / 0130173 or US Patent Application Publication No. 2005 / 0064460, each of which is incorporated herein by reference in its entirety.

[0632] Arrays for nucleic acid sequencing generally have random spatial patterns of nucleic acid analytes. For example, HiSeq or MiSeq sequencing platforms derived from Illumina (San Diego, Calif.) utilize flow cells, on which nucleic acid arrays are formed by random inoculation and then bridge amplification. However, patterned arrays may also be used for nucleic acid sequencing or other analytical applications. Exemplary patterned arrays, their methods of manufacture and methods of use thereof are described in the following U.S. patents: U.S. Serial No. 13 / 787,396, U.S. Serial No. 13 / 783,043, U.S. Serial No. 13 / 784,368, U.S. Patent Application Publication 2013 / 0116153 A1 and U.S. Patent Application Publication 2012 / 0316086 A1, each of which is incorporated herein by reference. The analyte of such patterned arrays may be used to capture a single nucleic acid template molecule for inoculation, and then, for example, a homogeneous population is formed via bridge amplification. Such patterned arrays may be particularly useful for nucleic acid sequencing applications.

[0633] The size of the analytes on the array (or other objects used in the methods or systems herein) can be selected to suit a particular application. For example, in some implementations, the analytes of the array can have a size that only accommodates a single nucleic acid molecule. A surface having a plurality of analytes within this size range can be used to construct a molecular array, thereby detecting with single molecule resolution. Analytes within this size range can also be used in an array with analytes that each contain a population of nucleic acid molecules. Therefore, the analytes of the array can each have a size of no more than about 1 mm 2 , not more than about 500μm 2 , not more than about 100μm 2 , not more than about 10μm 2 , not more than about 1μm 2 , not more than about 500nm 2 , or not greater than about 100 nm 2 , not more than about 10nm 2 , not more than about 5nm 2 or not greater than about 1 nm 2 Alternatively or in addition, the analytes of the array will be no smaller than about 1 mm 2 , not less than about 500μm 2 , not less than about 100μm 2 , not less than about 10μm 2 , not less than about 1μm 2 , not less than about 500nm 2 , not less than about 100nm 2 , not less than about 10nm 2 , not less than about 5nm 2 or not less than about 1nm 2 In practice, the analyte may have a size within a range selected from those upper and lower limits exemplified above. Although several size ranges of analytes on the surface have been exemplified with respect to nucleic acids and nucleic acid scales, it should be understood that analytes within these size ranges can be used for applications that do not include nucleic acids. It should also be understood that the size of the analyte is not necessarily limited to the scales used in nucleic acid applications.

[0634] For specific implementations including objects with multiple analytes (such as, arrays of analytes), the analytes can be discrete and spaced apart from each other. Arrays useful for the present invention can have analytes separated by edge-to-edge distances of up to 100 μm, 50 μm, 10 μm, 5 μm, 1 μm, 0.5 μm or less. Alternatively or in addition, the array can have analytes separated by edge-to-edge distances of at least 0.5 μm, 1 μm, 5 μm, 10 μm, 50 μm, 100 μm or more. These ranges can be applied to the average edge-to-edge spacing of the analytes and the minimum or maximum spacing.

[0635] In some implementations, the analytes of the array need not be discrete, but rather adjacent analytes may be adjacent to each other. Whether or not the analytes are discrete, the size of the analytes and / or the spacing of the analytes may vary so that the array may have a desired density. For example, the average analyte spacing in a regular pattern may be at most 100 μm, 50 μm, 10 μm, 5 μm, 1 μm, 0.5 μm or less. Alternatively or in addition thereto, the average analyte spacing in a regular pattern may be at least 0.5 μm, 1 μm, 5 μm, 10 μm, 50 μm, 100 μm or more. These ranges may also be applicable to the maximum or minimum spacing of a regular pattern. For example, the maximum analyte spacing of the regular pattern may be at most 100μm, 50μm, 10μm, 5μm, 1μm, 0.5μm or less; and / or the minimum analyte spacing in the regular pattern may be at least 0.5μm, 1μm, 5μm, 10μm, 50μm, 100μm or more.

[0636] The density of analytes in an array can also be understood in terms of the number of analytes present per unit area. For example, the average analyte density of an array can be at least about 1×10 3 Analytes / mm 2 , 1×10 4 Analytes / mm 2 , 1×10 5 Analytes / mm 2 , 1×10 6 Analytes / mm 2 , 1×10 7 Analytes / mm 2 , 1×10 8 Analytes / mm 2 or 1×10 9 Analytes / mm 2 Alternatively or in addition, the average analyte density of the array may be at most about 1×10 9 Analytes / mm 2 , 1×10 8 Analytes / mm 2 , 1×10 7 Analytes / mm 2 , 1×10 6 Analytes / mm 2 , 1×10 5 Analytes / mm 2 , 1×10 4 Analytes / mm 2 or 1×10 3 Analytes / mm 2 or lower.

[0637] The above ranges may apply to all or part of a regular pattern, including, for example, all or part of an analyte array.

[0638] The analytes in the pattern can have any of a variety of shapes. For example, when viewed in a two-dimensional plane (such as on the surface of an array), the analytes may appear to be circular, annular, elliptical, rectangular, square, symmetrical, asymmetrical, triangular, polygonal, etc. The analytes can be arranged in a regular repeating pattern, including, for example, a hexagonal or linear pattern. The pattern can be selected to achieve a desired filling level. For example, a circular analyte is optimally filled with a hexagonal arrangement. Of course, other filling arrangements can also be used for circular analytes, and vice versa.

[0639] The pattern can be characterized by the number of analytes present in a subset of the smallest geometric units that form the pattern. The subset can include, for example, at least about 2, 3, 4, 5, 6, 10, or more analytes. Depending on the size and density of the analytes, a geometric unit can occupy less than 1 mm 2 , 500μm 2 , 100μm 2 , 50μm 2 , 10μm 2 , 1μm 2 , 500nm 2 , 100nm 2 , 50nm 2 , 10nm 2 Alternatively or in addition, the geometric unit may occupy an area greater than 10 nm. 2 , 50nm 2 , 100nm 2 , 500nm 2 , 1μm 2 , 10μm 2 , 50μm 2 , 100μm 2 , 500μm 2 , 1mm 2 The features of the analytes in the geometric unit (such as shape, size, spacing, etc.) can be selected from those set forth more generally herein for analytes in an array or pattern.

[0640] An array with a regular pattern of analytes may be ordered with respect to the relative positions of the analytes, but random with respect to one or more other features of each analyte. For example, with respect to a nucleic acid array, the nucleic acid analytes may be ordered with respect to their relative positions, but random with respect to one's knowledge of the sequence of the nucleic acid material present at any particular analyte. As a more specific example, a nucleic acid array formed by inoculating a repeating pattern of analytes with template nucleic acids, and amplifying the template at each analyte to form a copy of the template at the analyte (e.g., by cluster amplification or bridge amplification) will have a regular pattern of nucleic acid analytes, but will be random with respect to the distribution of nucleic acid sequences throughout the array. Therefore, typically detecting the presence of nucleic acid material on an array may produce a repeating pattern of analytes, while sequence-specific detection may produce a non-repetitive distribution of signals across the array.

[0641] It should be understood that the descriptions of patterns, sequences, randomness, etc. herein relate not only to analytes on an object, such as an analyte on an array, but also to analytes in an image. Thus, the patterns, sequences, randomness, etc. may exist in any of a variety of formats for storing, manipulating, or transmitting image data, including but not limited to computer readable media or computer components, such as a graphical user interface or other output device.

[0642] As used herein, the term "image" is intended to mean a representation of all or part of an object. The representation may be a reproduction of an optical detection. For example, an image may be obtained from fluorescence, luminescence, scattering, or absorption signals. The portion of the object present in the image may be the surface or other xy plane of the object. Typically, an image is a two-dimensional representation, but in some cases, the information in the image may come from 3 or more dimensions. The image need not include optically detected signals. Instead, non-optical signals may be present. The image may be provided in a computer-readable format or medium, such as one or more of those described elsewhere herein.

[0643] As used herein, an "image" is a reproduction or representation of at least a portion of a specimen or other object. In some implementations, the reproduction is an optical reproduction, such as produced by a camera or other optical detector. The reproduction may be a non-optical reproduction, such as a representation of an electrical signal obtained from a nanopore analyte array or a representation of an electrical signal obtained from an ion-sensitive CMOS detector. In specific implementations, non-optical reproduction may be excluded from the methods or devices described herein. The image may have a resolution capable of distinguishing analytes of specimens present at any of a variety of spacings, including, for example, those spacings less than 100 μm, 50 μm, 10 μm, 5 μm, 1 μm, or 0.5 μm.

[0644] As used herein, the terms "acquiring", "collecting", and the like refer to any part of the process of obtaining an image file. In some embodiments, data collection may include generating an image of a specimen, searching for a signal in the specimen, instructing a detection device to search for or generate an image of the signal, giving instructions for further analysis or conversion of the image file, and any number of conversions or manipulations of the image file.

[0645] As used herein, the term "template" refers to a representation of a position or relationship between a signal or an analyte. Thus, in some implementations, a template is a physical grid having a representation of a signal corresponding to an analyte in a specimen. In some implementations, a template can be a chart, table, text file, or other computer file indicating a position corresponding to an analyte. In the implementation presented herein, a template is generated to track the position of an analyte of a specimen on an image set of a specimen captured at different reference points. For example, a template can be a set of x, y coordinates or a set of values ​​describing the direction and / or distance of an analyte relative to another analyte.

[0646] As used herein, the term "specimen" may refer to an object or region of an object that captures an image. For example, in a specific implementation of an image of the Earth's surface, a piece of land may be a specimen. In other specific implementations of the analysis of biomolecules in a circulation cell, the circulation cell may be divided into any number of sub-portions, each of which may be a specimen. For example, the circulation cell may be divided into various flow channels or channels, and each channel may be further divided into 2, 3, 4, 5, 6, 7, 8, 9, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 140, 160, 180, 200, 400, 600, 800, 1000 or more separate imaging regions. An example of a circulation cell has 8 channels, wherein each channel is divided into 120 specimens or blocks. In another specific implementation, the specimen may be composed of a plurality of blocks or even the entire circulation cell. Therefore, the image of each specimen may represent an imaging region of a larger surface.

[0647] It should be understood that references to ranges and ordinal lists described herein include not only the enumerated numbers, but also all real numbers between the enumerated numbers.

[0648] As used herein, "reference point" refers to any temporal or physical distinction between images. In a preferred implementation, the reference point is a time point. In a more preferred implementation, the reference point is a time point or cycle during a sequencing reaction. However, the term "reference point" may include other aspects that distinguish or separate images, such as angular aspects, rotational aspects, temporal aspects, or other aspects that may distinguish or separate images.

[0649] As used herein, "image subset" refers to an image set within a set. For example, a subset may include 1, 2, 3, 4, 6, 8, 10, 12, 14, 16, 18, 20, 30, 40, 50, 60 images or any number of images selected from an image set. In a specific implementation, a subset may include no more than 1, 2, 3, 4, 6, 8, 10, 12, 14, 16, 18, 20, 30, 40, 50, 60 images or any number of images selected from an image set. In a preferred implementation, images are obtained from one or more sequencing cycles, wherein four images are associated with each cycle. Thus, for example, a subset may be a group of 16 images obtained by four cycles.

[0650] Base refers to a nucleotide base or nucleotide, A (adenine), C (cytosine), T (thymine), or G (guanine). This patent application uses "base" and "nucleotide" interchangeably.

[0651] The term "chromosome" refers to the hereditary gene carrier of a living cell, which is derived from a chromatin chain containing DNA and protein components (especially histones). The conventional internationally recognized individual human genome chromosome numbering system is used herein.

[0652] The term "site" refers to a unique position on a reference genome (e.g., chromosome ID, chromosome position and orientation). In some implementations, a site can be the position of a residue, sequence tag, or fragment on a sequence. The term "gene locus" can be used to refer to a specific position of a nucleic acid sequence or polymorphism on a reference chromosome.

[0653] The term "sample" herein refers to a sample that is usually derived from a biological fluid, cell, tissue, organ or organism and contains a nucleic acid or a mixture of nucleic acids, which contains at least one nucleic acid sequence to be sequenced and / or phased. Such samples include, but are not limited to, sputum / oral fluid, amniotic fluid, blood, blood fractions, fine needle biopsy samples (e.g., surgical biopsy, fine needle biopsy, etc.), urine, peritoneal fluid, pleural fluid, tissue explants, organ cultures, and any other tissue or cell preparations, or fractions or derivatives thereof, or fractions or derivatives separated therefrom. Although samples are usually taken from human subjects (e.g., patients), samples can be taken from any organism with chromosomes, inclu...

Claims

1. A computer-implemented method for generating ground truth training data and training a neural network-based template generator for a cluster metadata determination task, the method comprising: accessing a series of image sets generated during a sequencing run, each image set in the series of image sets being generated during a corresponding sequencing cycle of the sequencing run, each image in the series of image sets depicting a cluster and its surrounding background, each image in the series of image sets having pixels in a pixel domain, and each of the pixels being divided into a plurality of sub-pixels in a sub-pixel domain; obtaining, from a base caller, base calls that classify each of the sub-pixels as one of four bases (A, C, T, and G), thereby generating a sequence of base calls for each of the sub-pixels in a plurality of sequencing cycles of the sequencing run; generating a cluster map that identifies the clusters as disjoint regions of contiguous sub-pixels that share substantially matching base call sequences; determining cluster metadata based on the disjoint regions in the cluster map, wherein the cluster metadata includes cluster center, cluster shape, cluster size, cluster background, and / or cluster border; using the cluster metadata to generate ground truth training data for training a neural network based template generator for the cluster metadata determination task, wherein the reference truth training data includes an attenuation map, a ternary map or a binary map, wherein the attenuation map is calculated based on the distance between a sub-pixel and the centroid of a disjoint region to which the sub-pixel belongs, wherein the ternary map is calculated by classifying sub-pixels in the non-intersecting regions as cluster-internal sub-pixels, classifying sub-pixels at the centroid of the non-intersecting regions as cluster-center sub-pixels, and classifying sub-pixels that do not belong to any of the non-intersecting regions as background sub-pixels, and wherein the binary map is calculated by classifying the sub-pixel at the centroid of the disjoint region as a cluster center sub-pixel and classifying all other sub-pixels as non-center sub-pixels; as well as The neural network-based template generator is trained to generate as output the attenuation map, the ternary map, or the binary map based on the ground truth training data.

2. A computer-implemented method for base calling, the method comprising: accessing a series of image sets generated during a sequencing run, each image set in the series of image sets being generated during a corresponding sequencing cycle of the sequencing run, each image in the series of image sets depicting a cluster and its surrounding background, each image in the series of image sets having pixels in a pixel domain, and each of the pixels being divided into a plurality of sub-pixels in a sub-pixel domain; obtaining, from a base caller, base calls that classify each of the sub-pixels as one of four bases (A, C, T, and G), thereby generating a sequence of base calls for each of the sub-pixels in a plurality of sequencing cycles of the sequencing run; generating a cluster map that identifies the clusters as disjoint regions of contiguous sub-pixels that share substantially matching base call sequences; determining cluster metadata based on the disjoint regions in the cluster map, wherein the cluster metadata includes cluster center, cluster shape, cluster size, cluster background, and / or cluster border; using the cluster metadata to generate ground truth training data for training a neural network based template generator for the cluster metadata determination task, wherein the reference truth training data includes an attenuation map, a ternary map or a binary map, wherein the attenuation map is calculated based on the distance between a sub-pixel and the centroid of a disjoint region to which the sub-pixel belongs, wherein the ternary map is calculated by classifying sub-pixels in the non-intersecting regions as cluster-internal sub-pixels, classifying sub-pixels at the centroid of the non-intersecting regions as cluster-center sub-pixels, and classifying sub-pixels that do not belong to any of the non-intersecting regions as background sub-pixels, and wherein the binary map is calculated by classifying the sub-pixel at the centroid of the disjoint region as a cluster center sub-pixel and classifying all other sub-pixels as non-center sub-pixels; training the neural network-based template generator to generate as output the attenuation map, the ternary map, or the binary map based on the ground truth training data; as well as The cluster metadata derived from the attenuation map, the ternary map or the binary map generated as the output by the neural network-based template generator is used for base calling by a neural network-based base caller to increase throughput in high-throughput nucleic acid sequencing technology.

3. The computer-implemented method according to any one of claims 1 to 2, further comprising: The cluster map is generated by identifying those sub-pixels that do not belong to any of the disjoint regions as background.

4. The computer-implemented method of any one of claims 1 to 2, wherein the cluster map identifies a cluster boundary portion between two adjacent sub-pixels whose base called sequences do not substantially match.

5. The computer-implemented method of any one of claims 1 to 2, wherein the cluster map is generated based on: identifying an origin sub-pixel at the initial center coordinates of the cluster determined by the base caller; and A breadth-first search is performed for substantially matching base-called sequences by starting with the origin sub-pixel and continuing with consecutive adjacent non-origin sub-pixels.

6. The computer-implemented method of any one of claims 1 to 2, further comprising: determining the hyperlocalized center coordinates of the cluster by calculating the centroid of the non-intersecting region of the cluster map as the average of the coordinates of the corresponding adjacent sub-pixels forming the non-intersecting region; as well as The hyper-located center coordinates of the clusters are stored in a memory to be used as the ground truth training data for training the neural network-based template generator.

7. The computer-implemented method of claim 6, further comprising: identifying a centroid sub-pixel in the disjoint region of the cluster map at the hyperlocated center coordinates of the cluster; upsampling the cluster map using an interpolation method and storing the upsampled cluster map in the memory to serve as the reference truth training data for training the neural network-based template generator; as well as In the upsampled cluster map, a value is assigned to each neighboring sub-pixel in the disjoint region based on an attenuation factor that is proportional to the distance of the neighboring sub-pixel from the centroid sub-pixel in the disjoint region to which the neighboring sub-pixel belongs.

8. The computer-implemented method of claim 7, further comprising: generating the attenuation map from the upsampled cluster map, the attenuation map expressing the neighboring sub-pixels in the disjoint region and the sub-pixels identified as the background based on assigned values ​​of the neighboring sub-pixels; as well as The attenuation map is stored in the memory to be used as the ground truth training data for training the neural network based template generator.

9. The computer-implemented method of claim 8, further comprising: In the upsampled cluster map, cluster by cluster, classifying the adjacent sub-pixels in the disjoint area as cluster internal sub-pixels belonging to the same cluster, classifying the centroid sub-pixels as cluster center sub-pixels, classifying the sub-pixels containing the cluster boundary portion as boundary sub-pixels, and classifying the sub-pixels identified as the background as background sub-pixels; as well as The classification is stored in the memory to be used as the ground truth training data for training the neural network based template generator.

10. The computer-implemented method of claim 9, further comprising: storing the coordinates of the cluster internal sub-pixels, the cluster center sub-pixels, the boundary sub-pixels, and the background sub-pixels in the memory cluster by cluster to be used as the reference truth training data for training the neural network-based template generator; scaling down the coordinates by a factor used to upsample the cluster map; as well as The reduced coordinates are stored in the memory cluster by cluster to be used as the ground truth training data for training the neural network based template generator.

11. The computer-implemented method of claim 10, further comprising: Generating cluster maps for multiple blocks of the flow cell; storing the cluster map in a memory, and determining the cluster metadata of the clusters in the block based on the cluster map, including the cluster center, the cluster shape, the cluster size, the cluster background and / or the cluster boundary; In the upsampled cluster map of the clusters in the block, sub-pixels are classified cluster by cluster into cluster-internal sub-pixels, cluster-center sub-pixels, boundary sub-pixels, and background sub-pixels belonging to the same cluster; storing the classification in the memory for use as the ground truth training data for training the neural network-based template generator; storing the coordinates of the cluster interior sub-pixels, the cluster center sub-pixels, the boundary sub-pixels, and the background sub-pixels in the memory cluster by cluster across the blocks to serve as the reference truth training data for training the neural network-based template generator; scaling down the coordinates by the factor used to upsample the cluster map; as well as The reduced coordinates are stored in the memory cluster-by-cluster across the tiles to serve as the ground truth training data for training the neural network-based template generator.

12. The computer-implemented method of any one of claims 1 to 2, wherein the base called sequences are substantially matched when predetermined portions of the base calls match in positional order.

13. The computer-implemented method of any one of claims 1 to 2, wherein the cluster map is generated based on a predetermined minimum number of sub-pixels of disjoint areas.

14. The computer-implemented method of claim 11, wherein the flow cell has at least one patterned surface having an array of pores occupying the clusters, the method further comprising: Based on the determined shape and size of the clusters: which of the wells are substantially occupied by at least one cluster, which of the wells are minimally occupied, and Which of the wells are commonly occupied by multiple clusters.

15. A computer-implemented method of determining metadata about clusters on a block of a flow cell, the method comprising: accessing a set of images of the block captured during a sequencing run and initial center coordinates of the cluster determined by a base caller; For each image set, a base call is obtained from the base caller that classifies the following as one of four bases: The origin sub-pixel containing the initial center coordinates, and a predetermined neighborhood of adjacent sub-pixels, the adjacent sub-pixels being continuously adjacent to corresponding ones of the origin sub-pixels, thereby generating a base call sequence for each of the origin sub-pixels and each of the predetermined neighborhoods of the adjacent sub-pixels; Generate a cluster map that identifies the clusters as disjoint regions of adjacent sub-pixels are continuously adjacent to at least some of the corresponding ones of the origin sub-pixels, and substantially matching base-called sequences that share the one of the four bases with the at least some of the corresponding ones of the origin sub-pixels; as well as The cluster map is stored in a memory, and the shape and size of the clusters are determined based on the disjoint areas in the cluster map.

16. A computer-implemented method of generating training data for neural network-based template generation and base calling, the method comprising: accessing a plurality of images of a flow cell captured within a plurality of cycles of a sequencing run, the flow cell having a plurality of blocks, and in the plurality of images, each block in the blocks having a sequence of image sets generated within the plurality of cycles, and each image in the sequence of image sets depicting intensity emission of a cluster and its surrounding background at a particular block in the blocks at a particular cycle in the cycles; constructing a training set having a plurality of training examples, each training example corresponding to a specific block among the blocks and comprising image data from at least some of the image sets in the sequence of image sets for the specific block among the blocks; as well as At least one baseline truth data representation is generated for each of the training examples, the baseline truth data representation identifying at least one attribute of a cluster on the particular block in the block, the intensity emission of the cluster being depicted by the image data and determined at least in part using a method according to any one of claims 1 to 15.

17. The computer-implemented method of claim 16, wherein the at least one property of the clusters is selected from: a spatial distribution of clusters on the tile; a cluster shape; Cluster size; cluster boundaries; and the center of the contiguous region that includes a single cluster.

18. The computer-implemented method of any one of claims 16 to 17, wherein the image data comprises an image in each of the at least some of the image sets in the sequence of image sets for the particular one of the tiles.

19. A computer-implemented method according to any one of claims 16 to 17, wherein the image data comprises at least one image patch from each of the images.

20. The computer-implemented method of claim 19, wherein the image data comprises an upsampled representation of the image patch.

21. A computer-implemented method according to any one of claims 16 to 17, wherein multiple training examples correspond to the same specific block in the block, and respectively include different image patches from each image in each image set of at least some of the image sets in the sequence of image sets of the same specific block in the block as image data, and wherein at least some of the different image patches overlap with each other.

22. A computer-implemented method according to any one of claims 16 to 17, wherein the baseline truth data represents identifying the cluster as a non-intersecting area of ​​adjacent sub-pixels, identifying the center of the cluster as a centroid sub-pixel within a corresponding non-intersecting area in the non-intersecting area, and identifying the surrounding background of the cluster as a sub-pixel that does not belong to any of the non-intersecting areas.

23. The computer-implemented method of any one of claims 16 to 17, further comprising: The training examples and associated ground truth data representations in the training set are stored in a memory as the training data for the neural network-based template generation and base calling.