Methods for determining polymer sequences
By using machine learning techniques, particularly recurrent neural networks and convolutional neural networks, in a nanopore measurement system to identify and distinguish typical and atypical polymer units, the problems of high sequencing accuracy and computational cost in existing technologies are solved, enabling more efficient polymer sequencing.
Patent Information
- Application Number
- CN201980057581.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-09-04
- Filing Date
- 2019-09-04
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2039-09-04
AI Technical Summary
Existing technologies for polymer sequencing using nanopore measurement systems, especially in long-read sequencing, suffer from high accuracy and computational costs, making it difficult to effectively identify and distinguish typical and atypical polymer units, resulting in low sequencing accuracy and computational efficiency.
By employing machine learning techniques, particularly recurrent neural networks and convolutional neural networks, combined with a nanopore measurement system, a model is trained to identify and classify typical or atypical polymer units by analyzing signal changes during polymer translocation relative to nanopores, thereby improving sequencing accuracy and reducing computational requirements.
It improves the accuracy and efficiency of polymer sequence determination, reduces computational costs, and is particularly effective in identifying and recalling bases more accurately in the presence of atypical polymer units, thereby reducing systematic errors.
Smart Images

Figure CN112703256B_ABST
Abstract
Description
[0001] The present invention relates to methods for determining polymer sequence and to the analysis of measurements taken from one or more polymers, such as but not limited to polymer units in a polynucleotide, during translocation of the polymer relative to a nanopore. Various aspects of the invention relate to the preparation of polymers for use in such methods, and the determination of consensus sequences.
[0002] A type of measurement system for estimating a target sequence of a polymer unit in a polymer uses a nanopore, and the polymer is translocated relative to the nanopore. Some properties of the system depend on the polymer unit in the nanopore, and the properties are measured. This measurement system using a nanopore has been shown to be highly effective, particularly in the field of sequencing polynucleotides such as DNA or RNA, and has become the subject of recent development. Recently, this measurement system using a nanopore has been shown to be highly effective, particularly in the field of sequencing peptide polymers such as proteins (Nivala et al., 2013 "Nature Biotechnology (Nat.Biotech.)").
[0003] Such nanopore measurement systems can provide long-term continuous readings of polynucleotides ranging from hundreds to hundreds of thousands (and potentially more) of nucleotides. Data collected in this manner include measurements, such as those of ionic currents, where each translocation of a sequence relative to a sensitive portion of a nanopore may result in a change in the measured property.
[0004] The signal measured during the movement of the polynucleotide relative to the nanopore (e.g., the translocation of the polymer through the nanopore) has been shown to depend on multiple nucleotides and is complex. Analytical techniques for estimating the polymer sequence based on the measurements obtained during the interaction of the polynucleotide with the nanopore include the use of hidden Markov models (HMMs), as disclosed in PCT / GB2012 / 052343. Machine learning techniques such as recursive neural networks can also be used, and machine learning techniques are particularly useful for determining long-range information. This technology is disclosed in PCT / GB2018 / 051208, which is hereby incorporated by reference in its entirety.
[0005] Methods are known that include analyzing the series of measurement results using machine learning techniques. Such methods include deriving a series of posterior probability matrices corresponding to the corresponding measurement results or corresponding groups of measurement results, each posterior probability matrix representing: for different corresponding historical sequences of polymer units corresponding to measurement results before or after the corresponding measurement result, the posterior probability of multiple different changes of the corresponding historical sequence of polymer units resulting in a new sequence of polymer units.
[0006] Improving the accuracy of the analysis of polymers that have translocated through a nanopore, especially on long reads of polymers, is often computationally expensive.
[0007] Various methods have been described for determining the sequence of polynucleotides in which modified polynucleotides are generated based on the sequence of a template polynucleotide.
[0008] WO 2015 / 124935, which is incorporated herein by reference in its entirety, describes a method for characterizing a template polynucleotide using a polymerase to prepare a modified polynucleotide that is subsequently characterized. The modified polynucleotide is prepared so that when forming the modified polynucleotide, the polymerase replaces one or more nucleotide species in the template polynucleotide with a different nucleotide species. WO 2015 / 124935 also describes a method for characterizing a homopolynucleotide by forming a modified polynucleotide using a polymerase, wherein when forming the modified polynucleotide, the polymerase randomly replaces some of the instances of nucleotide species that are complementary to the nucleotide species in the homopolynucleotide with different nucleotide species.
[0009] The present invention generally relates to a method for determining the sequence of a target polymer or a portion thereof, wherein the target polymer or a portion thereof comprises polymer units of different types. The method involves obtaining a series of measurements of signals associated with the target polymer. These measurements can be obtained or retrieved or derived by passing the target polymer chain through a nanopore. The measured signal depends on multiple polymer units. For example, the signal is measured with respect to the movement of multiple polymer units through a nanopore. The polymer units of the target polymer modulate the signal.
[0010] Polymers can include typical polymer units and atypical polymer units. Atypical polymer units modulate signals differently from corresponding typical polymer units. For example, in the case of nucleic acids, these corresponding typical polymer units can be matching polymer units, such as modified C can correspond to typical C or the identification of universal nucleotides (such as universal nucleotides as described herein) can correspond to any one of typical values C, A, G or T.
[0011] For example, the signal of a target polymer can be attributed to the polymer unit "CcAGT", where "c" is a modified "C" and the otherwise identical polymer unit is only the typical component, namely CCAGT. The signal can contain and measure atypical units, and during or after the analysis, the atypical units can be interpreted or identified as typical units. In other words, alternative bases such as atypical bases can be labeled as typical bases.
[0012] Polymers can include typical polymer units and atypical polymer units. Atypical polymer units typically modulate signals differently than corresponding typical polymer units. For example, in a polypeptide, these corresponding typical polymer units can be matching polymer units, i.e., a modified Lys can correspond to a typical Lys.
[0013] For example, the signal of a target polymer can be attributed to the polymer unit "Gly-Lys*-Arg-Phe-Thr", where "Lys*" is a modified "Lys", and the otherwise identical polymer units are only typical components. The signal can contain and measure atypical units, and during or after the analysis, the atypical units can be interpreted or identified as typical units. In other words, alternative amino acids such as atypical amino acids can be labeled as typical amino acids.
[0014] In some embodiments, a polypeptide comprising one or more atypical amino acids can be prepared by chemically converting one or more typical amino acids into corresponding atypical amino acids. For example, a polypeptide comprising typical amino acids can be contacted with a chemical capable of converting one or more types of typical amino acids into corresponding atypical amino acid types. Examples of such chemicals include amine reactive groups (such as NHS esters) and thiol reactive groups (such as maleimide).
[0015] In some embodiments, a polypeptide comprising one or more atypical amino acids can be prepared by enzymatically converting one or more typical amino acids to the corresponding atypical amino acids. For example, a polypeptide comprising typical amino acids can be contacted with an enzyme capable of converting one or more types of typical amino acids to the corresponding atypical amino acid types. Examples of such enzymes include kinases, phosphatases, transferases, and ligases, which add functional groups, proteins, lipids, or sugars to or remove functional groups, proteins, lipids, or sugars from amino acid side chains.
[0016] The method for analyzing the series of measurement results uses machine learning techniques. The machine learning technique may include training. The machine learning technique attributes the measurement results of one type of polymer unit to the measurement results of a different type of polymer unit. For example, an atypical "c" can be identified as a typical "C".
[0017] The method further determines the sequence of the target polymer or portion thereof based on the analyzed series of measurements, wherein the sequence is represented as a reduced number of different types of polymer units.
[0018] Particularly, method of the present invention can focus on the part or sub-region of target polymer.These sub-regions can be regions of interest and / or can be subjected to deeper analysis.Such part or sub-region can comprise homopolymer region.The homopolymer region of original polymer and other such regions of interest tend to have low-level complexity or variation, and this tends to cause the low variation of the signal derived therefrom.Having atypical units in target polymer increases the complexity or variation level of the signal derived therefrom.
[0019] The method can perform an analysis to identify atypical polymer units and use a combination of typical and atypical information to improve the accuracy of the sequence determined. If the method attributes the measurement results of the atypical polymer unit to one type of polymer unit or one of a selection of polymer units, then because the measurement result output is based only on typical polymer units, the accuracy of the sequencing determined by the target polymer is improved, which in turn reduces the computing power required to generate single-read base-calls and / or alignments and / or consensus regions.
[0020] In certain aspects, the measurement results of atypical polymer units can be attributed to the measurement results of corresponding typical polymer units by machine learning technology methods. Therefore, atypical bases are base-called as their corresponding typical bases. Compared with the situation where machine learning technology is trained to identify and base-call typical bases and atypical bases, this has lower computing requirements. Compared with the situation where machine learning technology is trained to only identify and base-call typical bases, the measurement results of atypical polymer units are attributed to the measurement results of corresponding typical polymer units, which can also cause an overall increase in sequencing accuracy. In the latter case, the measurement results of atypical bases may cause sequencing errors because they are not identified by base callers.
[0021] According to one aspect of the present invention, there is provided a method for determining the sequence of a target polymer, wherein the target polymer comprises polymer units, wherein the polymer units comprise typical bases and non-typical polymer units.
[0022] The typical bases may be, for example, A, G, C, T of DNA. A plurality of atypical polymer units may be used. A variety of types of atypical polymer units may be used.
[0023] The target polymer can be synthesized from an original naturally occurring polymer. The target polymer can be derived from an original polymer in which a proportion of typical polymer units have been replaced in a non-determinative manner by alternative polymer units. Alternatively, the target polymer can be a naturally occurring polymer with naturally occurring atypical polymer units or bases.
[0024] The method comprises (i) obtaining a series of measurements of a signal associated with the target polymer, wherein the measurement of the signal may be dependent on a plurality of polymer units, and wherein the polymer units of the target polymer modulate the signal, and wherein atypical polymer units modulate the signal differently than corresponding typical polymer units; (ii) analyzing the series of measurements using a machine learning technique, the machine learning technique preferably having been trained to attribute measurements of atypical polymer units to corresponding measurements of corresponding typical polymer units; and (iii) determining the sequence of the target polymer based on the analyzed series of measurements.
[0025] For example, atypical polymer units or alternative bases may include methylated nucleotides, inosine, bridged nucleotides, and artificial bases.
[0026] The corresponding typical polymer unit may be a matching polymer unit, ie, c to C, or may be one of a group of polymer units, where, for example, inosine may correspond to any one of the typical bases C, A, G or T.
[0027] For example, when analyzing measurement results, an atypical "c" may be identified as such and / or identified as a typical "C".
[0028] When an atypical "c" can be identified as a typical "C", the present invention can provide a more informative signal by also measuring alternative bases without base calling those alternative bases, thus making it computationally cheaper than if all atypical bases were measured. The base caller cannot determine whether a particular base is typical or atypical in nature.
[0029] The method can also accommodate target polymers with non-natural corresponding canonical bases - for example, X represented as C or TT dimer represented as T.
[0030] The atypical polymer units identified from the analysis can additionally or alternatively retain the measurement results of the atypical polymer units as the measurement results of the corresponding corresponding typical polymer units. Such information about the identity and sequence position of the atypical polymer can be retained or stored for scoring or weighting during subsequent analysis or determination of the sequence.
[0031] Determining the sequence of a target polymer may involve different variations in base calling. For example, if the target polymer has four canonical bases A, C, G, and T and four corresponding atypical bases a, c, g, and t, the base caller may only call the canonical bases, i.e., four (4) bases out of eight (8).
[0032] For example, if the target polymer has four typical bases A, C, G, and T and four corresponding atypical bases a, c, g, and t, where "c" is methylated-C, the base caller can call five (5) bases as typical bases and methylated-C, i.e., five (4) bases out of eight (8).
[0033] The target polymer may include two or more types of atypical polymer units corresponding to two or more types of typical polymer units. For example, the target polymer has four typical bases A, C, G and T and two or more alternative bases.
[0034] The identity and sequence position of atypical polymer units can be determined. That is, where atypical bases are called, for example, 5 out of 8.
[0035] The target polymer can be a polynucleotide.
[0036] The target polymer may include atypical polymer units corresponding to each type of typical polymer unit, for example, four typical bases A, C, G and T in addition to four corresponding atypical bases a, c, g and t.
[0037] Alternatively, machine learning techniques cannot determine whether a polymer unit is atypical. Analysis and sequence may produce only typical bases.
[0038] The target polymer may include a plurality of atypical polymer units for each of the one or more types of atypical polymer units present. For example, the target polymer has four typical bases A, C, G, and T and eight corresponding atypical bases a, a', c, c', g, g', t, and t'. The base caller may call typical bases, i.e., four (4) bases out of twelve (12).
[0039] Atypical polymer units can correspond to more than one typical polymer unit. For example, inosine can base pair with more than one typical base - non-specific binding.
[0040] The target polymer can include from 1 unit to about 50% atypical polymer units. 50% provides the maximum amount of modified base disruptions.
[0041] The non-typical polymer unit may be a modified typical polymer unit, such as methylated C.
[0042] The atypical polymer unit may be naturally modified. For example, it occurs naturally in vivo and has not been specifically introduced.
[0043] The series of measurements may be taken during movement of the target polymer relative to the nanopore.
[0044] The measurement may be a measurement indicative of ionic current flowing through the nanopore or a measurement of a voltage across the nanopore during translocation of the target polymer.
[0045] The machine learning technique may be capable of being trained by a method comprising the following steps: providing a plurality of target polymers, such as training chains, comprising atypical units, wherein the atypical units have substituted equivalent typical units at different sequence positions in the target polymers; obtaining a series of measurements of signals associated with the target polymers; analyzing the series of measurements using the machine learning technique; and estimating corresponding typical polymer units of the polymer training chains, which may be base sequences.
[0046] The machine learning technique may incorporate at least one of: a recurrent neural network, a convolutional neural network, a transformer network, an attention mechanism, a random forest, a support vector machine, a restricted Boltzmann machine, a hidden Markov model, a Markov random field, a conditional random field, or a combination thereof.
[0047] The polymer may be selected from a polynucleotide, a polypeptide or a polysaccharide. Specifically, the polymer is a polynucleotide, and the polymer unit may be a nucleotide base.
[0048] The one or more atypical bases may be modified enzymatically.
[0049] The method may further comprise the step of modifying a typical polymer to provide the target polymer comprising one or more different types of one or more atypical bases.
[0050] A method according to any one of the preceding claims, wherein the polynucleotide comprising one or more different types of one or more atypical bases is generated from the complement of the polynucleotide using a polymerase and a proportion of atypical bases.
[0051] The polynucleotide may be DNA. The movement of the polynucleotide relative to the nanopore may be controlled by an enzyme. The enzyme may be a helicase. The target polymer training chain may include more than one type of atypical polymer unit.
[0052] According to another aspect of the present invention, a method for determining a common sequence of a target polymer is provided, the method comprising: providing a plurality of polymers, wherein the polymers comprise typical polymer units and atypical polymer units, and each of the polymers comprises a region of polymer units corresponding to a region of the target polymer; analyzing measurement results of signals associated with the plurality of polymers, wherein the measurement results depend on a plurality of polymer units, and wherein the polymer units of the target polymer modulate the signals, and wherein the atypical polymer units modulate the signals differently from corresponding typical polymer units; and determining a common sequence based on a series of analyzed measurement results of the plurality of polymers.
[0053] A polymer (eg, a polynucleotide) can include a region of polymer units (eg, a region of nucleotides) that corresponds to a region of another polymer (eg, a region of a target polymer (eg, a target polynucleotide)).
[0054] A region of polymer units that "corresponds" to a region of another polymer may have a sequence that is identical to or complementary to the sequence of the corresponding region, taking into account the presence of atypical polymer units such that the presence of atypical polymer units is considered to represent corresponding typical polymer units. Thus, a polymer region comprising typical polymer units may correspond to a polymer region comprising one or more corresponding atypical polymer units. For example, a skilled person would consider a polymer region having a particular sequence of typical polymer units to correspond to an otherwise identical polymer region in which one or more typical polymer units are replaced by corresponding atypical polymer units.
[0055] The region of a polymer unit that "corresponds" to a region of another polymer can have a sequence that can be compared with the sequence of the corresponding region. Methods for comparing polymer sequences (e.g., comparing polynucleotide sequences) are well known in the art, such as sequence alignment programs, and will be familiar to the technician. The region can be directly compared with the corresponding region, or the region can be compared with the complementary sequence (e.g., complementary polynucleotide sequence) of the corresponding region. It will be readily understood by the technician that the properties of typical polymer units and corresponding atypical polymer units mean that a polymer region comprising a typical polymer unit can be compared with a corresponding polymer region comprising one or more corresponding atypical units.
[0056] Two regions of a polymer (eg, polynucleotide) that correspond to each other can be homologous.
[0057] Analyzing the series of measurements may include machine learning techniques that attribute measurements of atypical polymer units to corresponding measurements of corresponding typical polymer units.
[0058] Atypical polymer units identified from the analysis may additionally or alternatively retain the measurements of the atypical polymer units as the measurements of the corresponding corresponding canonical polymer units.
[0059] The atypical nucleotides can be introduced into the polynucleotide in place of the corresponding typical bases.
[0060] One or more of the polynucleotide chains may include four or more different types of atypical bases.
[0061] The method may further comprise the step of introducing the atypical base into the polynucleotide chain.
[0062] The series of measurements can be analyzed using machine learning techniques that have preferably been trained to attribute measurements associated with the presence of one or more atypical bases in a region of nucleotides to measurements of an equivalent region, except wherein the one or more types of atypical bases have been replaced by corresponding one or more corresponding typical bases and wherein an estimate of the consensus sequence is provided wherein the one or more types of atypical bases are determined to be their corresponding one or more types of typical bases.
[0063] Two or more types of atypical polymer units may be introduced into one or more of the polynucleotide chains.
[0064] Each of the polynucleotide chains may include between 30% and 80% atypical polymer units.
[0065] The series of measurements may be taken during movement of the polymer unit relative to the nanopore.
[0066] In some embodiments, the measurement results of a given type of atypical polymer unit do not belong to the measurement results of the corresponding corresponding typical polymer unit type. Therefore, in some embodiments, base calls can be performed on given atypical base types. For example, machine learning techniques can be trained to base call one or more atypical bases that frequently occur in vivo, such as 5-methyl-cytosine or 6-methyl-adenine.
[0067] As used herein with respect to polymer units, a polymer unit "type" may refer to a given polymer unit chemical species.
[0068] In the simplest form, a polymer can include multiple polymer units of a single polymer unit type (e.g., "NNNNNN," where "N" represents a given polymer unit type). A polymer can include more than one type, such as at least two types (e.g., "XYXYXY," where "X" and "Y" represent different polymer unit types), at least three types (e.g., "XYZXYZ," where "X," "Y," and "Z" represent different polymer unit types), or at least four types ("ABCDABCD," where "A," "B," "C," and "D" represent different polymer unit types). The polymer units can be present in the polymer in any order and in any ratio of the polymer unit types.
[0069] For example, DNA polynucleotides can generally include four different typical types of polymer units (bases): A, G, C, and T. RNA polynucleotides can generally include four different typical types of polymer units (bases): A, G, C, and U.
[0070] A polymer (eg, a polynucleotide) may include one or more types of atypical polymer units. As described herein, in this context, an atypical polymer unit type may refer to a given atypical polymer unit chemical species.
[0071] Thus, with respect to a polynucleotide, a polymer unit may refer to a nucleotide within the polynucleotide.
[0072] For example, a polymer (e.g., a polynucleotide) can include at least one, at least two, at least three, or at least four or more (e.g., at least 1, 2, 3, 4, 5, 6, 7, or 8) types of atypical polymer units.
[0073] A polymer (e.g., when the polymer is a polynucleotide, a polynucleotide) can include at least two, at least three, at least four or more (e.g., at least 2, 3, 4, 5, 6, 7, or 8) types of atypical polymer units (e.g., when the polymer is a polynucleotide, atypical bases).
[0074] Each atypical polymer unit type may correspond to a different typical polymer unit type.
[0075] A polymer (eg, a polynucleotide) can include at least two, at least three, or at least four atypical polymer unit types, wherein each type of atypical polymer unit corresponds to a different typical polymer unit.
[0076] In one embodiment, the polymer is a polynucleotide.In one embodiment, the polynucleotide comprises at least four types of typical bases and at least four types of atypical bases, wherein each atypical base type corresponds to a different typical base type.
[0077] For example, a polynucleotide may include typical base types A, G, C, and T (or A, G, C, and U) and four atypical base types, wherein each atypical base type corresponds to a different typical base type. Thus, a polynucleotide may include at least eight types of bases: at least four types of typical bases and at least four corresponding types of atypical bases.
[0078] An atypical polymer unit type may correspond to more than one typical polymer unit type.
[0079] A polymer may include more than one atypical polymer unit type corresponding to the same typical polymer unit type.
[0080] In an embodiment, the polynucleotide includes at least two (e.g., at least 2, 3, 4, 5, 6, 7, or 8) types of atypical bases, wherein at least two of the at least two atypical base types correspond to the same typical base.
[0081] In one embodiment, the polynucleotide includes at least four types of canonical bases and at least five types of atypical bases, wherein at least two types of atypical bases correspond to the same type of canonical bases.
[0082] The proportion of atypical polymeric units in a polymer can vary. For example, a polymer can include atypical polymeric units, wherein when considered as a percentage of the total number of polymeric units in the polymer, the atypical polymeric units include at least about 10%, at least about 20%, at least about 30%, at least about 40%, at least about 50%, at least about 60%, at least about 70%, at least about 80%, or at least about 90% of the polymer.
[0083] The ratio of typical polymer unit types and corresponding atypical polymer unit types in a polymer can vary such that, for a given polymer unit type, at least about 10%, at least about 20%, at least about 30%, at least about 40%, at least about 50%, at least about 60%, at least about 70%, at least about 80%, or at least about 90% of the instances of that polymer unit type are represented by the corresponding atypical polymer unit type.
[0084] As described herein, in one aspect of the present invention, a variety of polymers are provided.
[0085] In one embodiment, polymer (e.g., polynucleotide) comprises at least two, at least three or at least four types of atypical polymer units (e.g., atypical bases). In one embodiment, each type of atypical polymer units (e.g., atypical bases) corresponds to different types of typical polymer units (e.g., typical bases).
[0086] In one embodiment, the polymer is a polynucleotide.
[0087] In one embodiment, the polynucleotide includes typical base types A, G, C and T and at least four different atypical base types, wherein each atypical base type corresponds to a different typical base type. Therefore, the polynucleotide includes an atypical base corresponding to A, an atypical base corresponding to G, an atypical base corresponding to C and an atypical base corresponding to T.
[0088] In one embodiment, the polynucleotide includes typical base types A, G, C and U and at least four different atypical base types, wherein each atypical base type corresponds to a different typical base type. Therefore, the polynucleotide includes an atypical base corresponding to A, an atypical base corresponding to G, an atypical base corresponding to C and an atypical base corresponding to U.
[0089] In one embodiment, the polynucleotide includes typical base types A, G, C and T and at least five different atypical base types (e.g., at least 5, 6, 7 or 8), wherein at least two of the different atypical base types correspond to the same typical base type. Therefore, the polynucleotide includes an atypical base corresponding to A, an atypical base corresponding to G, an atypical base corresponding to C and an atypical base corresponding to T, and further includes at least one additional atypical base corresponding to one of A, G, C and T.
[0090] In one embodiment, the polynucleotide comprises typical base types A, G, C and U and at least five different atypical base types (e.g., at least 5, 6, 7 or 8), wherein at least two of the different atypical base types correspond to the same typical base type. Therefore, the polynucleotide comprises an atypical base corresponding to A, an atypical base corresponding to G, an atypical base corresponding to C and an atypical base corresponding to U, and further comprises at least one additional atypical base corresponding to one of A, G, C and U.
[0091] The multiple polymers (e.g., the multiple polynucleotides) can be produced by any method known in the art for preparing a polymer (e.g., polynucleotide) comprising atypical polymer units (e.g., atypical bases). For example, a plurality of polynucleotides according to the present invention can be produced by a method for preparing a polynucleotide comprising atypical bases as described herein.
[0092] The distribution of atypical polymer units in a polymer is non-deterministic. Thus, the plurality of polymers can include polymers in which a certain proportion (e.g., at least about 10%, 20%, 30%, 40%, 50%, 60%, 70%, 80% or 90%) of typical polymer units are substituted in a non-deterministic manner by corresponding atypical polymer units.
[0093] For example, a plurality of polynucleotides can be provided, wherein the plurality of polynucleotides have been produced with reference to a target polynucleotide sequence. Each polynucleotide in the polynucleotides includes a region of nucleotides corresponding to a region of the target polynucleotides. A certain proportion of nucleotide positions in each polynucleotide are replaced by atypical bases in a non-determinative manner. Considering the non-determinative nature of replacement, different polynucleotides generally have a group of different nucleotide positions that are replaced. In some embodiments where there is more than one atypical base corresponding to a specific typical base, different chains can have different replacements at a given nucleotide position. Considering the non-determinative nature of replacement, some chains can also have the same position replaced by the same atypical base.
[0094] Due to the non-deterministic nature of the substitution, the signal associated with each polynucleotide in the plurality of polynucleotides may be different. One result is that any errors present in the analysis of the signal will be non-systematic, thereby resulting in an improvement in the determination of the consensus sequence.
[0095] In embodiments where a given atypical base type corresponds to more than one typical base type (e.g., where the atypical base is a universal base), the presence of such an atypical base can represent a loss of information relative to the corresponding typical base in a particular strand, but because the incorporation of an atypical base (e.g., a universal base) is non-deterministic, a certain proportion of homologous strands retain the corresponding typical base and thus have their identity established through consensus.
[0096] In yet another aspect, the invention provides a modified polynucleotide, wherein the modified polynucleotide comprises at least four types of typical bases and at least four corresponding types of atypical bases, wherein the modified polynucleotide comprises about 40 to about 60% atypical bases, optionally about 45 to about 55% atypical bases, optionally about 50% atypical bases. In yet another aspect, the method provides a method for determining the sequence of a target polymer, wherein the target polymer comprises different types of polymer units.
[0097] a. acquiring a series of measurements of a signal associated with the target polymer,
[0098] wherein the measurement of the signal depends on a plurality of polymer units, and
[0099] wherein the polymer units of the target polymer modulate the signal, and wherein the different types of polymer units modulate the signal differently from one another;
[0100] b. analyzing the series of measurements using a machine learning technique that attributes measurements of one type of polymer unit to measurements of different types of polymer units;
[0101] c. Determining the sequence of the target polymer based on the analyzed series of measurements, wherein the sequence is represented by a reduced number of different types of polymer units.
[0102] The polymer may include two or more different types of polymer units, such as four or more different types. The polymer may consist entirely of typical polymer units, atypical polymer units, or a combination of typical units or atypical units. The measurement results of a typical unit may be attributed to the measurement results of another typical unit. For example, where the polymer is a polynucleotide, the sequence may be expressed as including purines and / or pyrimidines. Therefore, the measurement results of adenine may be attributed to the measurement results of guanine or vice versa. Similarly, the measurement results of cytosine, thymine, and uracil may be expressed as pyrimidines.
[0103] According to a first example of the present invention, a method for analyzing a series of measurement results obtained from a polymer during translocation of the polymer relative to a nanopore is provided, wherein the polymer includes a series of polymer units, the method including using machine learning technology to analyze the series of measurement results and derive a series of posterior probability matrices corresponding to corresponding measurement results or corresponding groups of measurement results, each posterior probability matrix representing: with respect to different corresponding historical sequences of polymer units corresponding to measurement results before or after the corresponding measurement results, the posterior probabilities of multiple different changes of the corresponding historical sequences of polymer units producing new polymer unit sequences.
[0104] The series of posterior probability matrices representing posterior probabilities provide improved information about the series of polymer units from which the measurement results are obtained and can be used in a variety of applications. The series of posterior probability matrices can be used to derive a score for at least one reference series of polymer units, the score representing the probability that the series of polymer units of the polymer are the reference series of polymer units. Therefore, the series of posterior probability matrices enable, for example, the following various applications.
[0105] Many applications involve deriving an estimate of the series of polymer units from the series of posterior probability matrices. This can be an estimate of the series of polymer units as a whole. This can be done by finding the highest scoring series of such series from all possible series. For example, this can be performed by estimating the most likely path through the series of posterior probability matrices.
[0106] Alternatively, the estimated value of the series of polymer units may be found by selecting one of a set of multiple reference series of polymer units that most likely corresponds to the series of posterior probability matrices, for example based on the scores.
[0107] Another type of estimate of the series of polymer units can be found by estimating the difference between the series of polymer units of the polymer and a reference series of polymer units. This can be done by scoring the variation of the reference series.
[0108] Alternatively, the estimated value can be an estimated value for a portion of the series of polymer units. For example, it can be estimated whether the portion of the series of polymer units is a reference series of polymer units. This can be done by scoring the reference sequence for a portion of the series of posterior probability matrices.
[0109] This method provides an advantage over the comparative method, which derives a series of posterior probability vectors representing the posterior probabilities of multiple different polymer unit sequences. Specifically, the series of posterior probability matrices provide additional information for this posterior probability vector, thereby allowing the series of polymer units to be estimated in a more accurate manner. For example, this technology allows to better estimate the region of repetitive sequences, comprising the region of short sequences that repeat one or more polymer units. Better estimation of homopolymers is a specific example of the advantage in the repetitive region. In other words, the increase of the complexity or variation in the region repeated in the target polymer and the low complexity in the original polymer improves the determination of the sequence.
[0110] To gain intuition for why this advantage exists, consider the problem of predicting on which day a package will be delivered. Each package arrival is analogous to extending the predicted polymer sequence by one unit. The model for the predicted state (e.g., et al., DeepNano: Deep Recurrent Neural Networks for Base Calling in Minion Nanopore Reads, Cornell University website, March 2016) will generate the probability of delivering a package on each future day. If there is a lot of uncertainty about the delivery date, then the probability of delivering a package on any particular day may be less than 50%, in which case, according to the model, the most likely sequence of events is that the package will never be delivered. On the other hand, a model that predicts change relative to the historical state may generate 2 probabilities for each day: 1) if the package has not been delivered, the probability of delivery increases as more days pass, and 2) if the package has been delivered, the probability of delivery will always be 0. Unlike the previous model, this one always predicts that the package will eventually be delivered.
[0111] Similarly, state-based models tend to underestimate the length of repeating polymer sequences compared to models that predict changes relative to history. This provides a particular advantage for homopolymer sequences, because a series of measurements produced by a homopolymer tend to be very similar, making it difficult to assign a measurement to each additional polymer unit.
[0112] It is particularly challenging to measure homopolymer regions in the context of nanopore sequencing, which involves the translocation of polymer chains (e.g., polynucleotide chains) by nanopores in a stepwise manner, such as by means of enzyme molecular motors. The current measured during translocation generally depends on a plurality of nucleotides and can be approximated to a specific number of nucleotides. When translocation is carried out under enzyme control, the polynucleotide chains generally move through the nanopore one base at a time. Therefore, for polynucleotide chains whose homopolymer length is longer than the approximate number of nucleotides that produce the current signal, it may be difficult to measure the number of polymer units in the homopolymer region. An example of the present invention is intended to improve the determination of the homopolymer region.
[0113] The machine learning technique may employ a recurrent neural network, which may optionally be a bidirectional recurrent neural network and / or include multiple layers.
[0114] There are various possibilities for changes in the posterior probability representation, such as the following.
[0115] The change may include changes that remove a single polymer unit from the beginning or end of the historical sequence of polymer units, and add a single polymer unit to the end or beginning of the historical sequence of polymer units.
[0116] The change may include changes of removing two or more polymer units from the beginning or end of the historical sequence of polymer units, and adding two or more polymer units to the end or beginning of the historical sequence of polymer units.
[0117] The variation may include a null variation.
[0118] The method may employ event calling and apply machine learning techniques to quantities derived from each event. For example, the method may include: identifying groups of consecutive measurements in the series of measurements as belonging to a common event; deriving one or more quantities from each identified group of measurements; and operating on the one or more quantities derived from each identified group of measurements using the machine learning techniques. The method may operate on a window of the quantities. The method may derive a posterior probability matrix corresponding to a corresponding identified group of measurements (which typically contains a plurality of measurements that are a priori unknown and may be variable), whereby the relationship between the posterior probability matrix and the measurement quantities depends on the number of measurements in the identified group.
[0119] The method may alternatively apply the machine learning technique to the measurement results themselves. In this case, the method may derive a posterior probability matrix corresponding to the respective measurement results or a respective predetermined number of groups of measurement results, thus predetermining the relationship between the posterior probability matrix and the measurement results.
[0120] For example, the analysis of the series of measurements may include: performing convolution on the series of measurements in consecutive windows of the series of measurements to derive a feature vector for each window; and operating on the feature vector using the machine learning technique. The windows may be overlapping windows. The convolution may be performed by operating on the series of measurements using a trained feature detector (e.g., a convolutional neural network).
[0121] According to a second example of the present invention, there is provided a method for analyzing a series of measurements taken from a polymer during translocation of the polymer relative to a nanopore, the polymer comprising a series of polymer units, the method comprising analyzing the series of measurements using a recurrent neural network that outputs decisions regarding the identity of consecutive polymer units of the series of polymer units, wherein the decisions are fed back into the recurrent neural network to inform subsequent output decisions.
[0122] Compared to the comparative method of deriving a posterior probability vector representing the posterior probability of a plurality of different polymer unit sequences and then estimating the series of polymer units from the posterior probability vector, the method of the present invention provides an advantage because it effectively incorporates the estimation value into the recurrent neural network. Therefore, the method of the present invention provides an estimation value of the identity of consecutive polymer units that may be more accurate.
[0123] The decision may be fed back unidirectionally into the recurrent neural network.
[0124] The recurrent neural network may be a bidirectional recurrent neural network and / or include a plurality of layers.
[0125] The method may employ event calling and apply machine learning techniques to quantities derived from each event. For example, the method may include: identifying groups of consecutive measurements in the series of measurements as belonging to a common event; deriving one or more quantities from each identified group of measurements; and operating on the one or more quantities derived from each identified group of measurements using the recurrent neural network. The method may operate on a window of the quantities. The method may derive a decision about the identity of consecutive polymer units corresponding to a corresponding identified group of measurements (which typically contains a priori unknown and variable multiple measurements), whereby the relationship between the decision about the identity of consecutive polymer units and the measurements depends on the number of measurements in the identified group.
[0126] The method may alternatively apply the machine learning technique to the measurement results themselves. In this case, the method may derive a decision regarding the identity of the continuous polymer unit corresponding to the respective measurement result or a respective predetermined number of groups of measurement results, thereby predetermining the relationship between the decision regarding the identity of the continuous polymer unit and the measurement results.
[0127] For example, the analysis of the series of measurements may include: performing convolution on the series of measurements in consecutive windows of the series of measurements to derive a feature vector for each window; and operating on the feature vector using the machine learning technique. The windows may be overlapping windows. The convolution may be performed by operating on the series of measurements using a trained feature detector (e.g., a convolutional neural network).
[0128] According to a third example of the present invention, there is provided a method for analyzing a series of measurement results obtained from a polymer during translocation of the polymer relative to a nanopore, wherein the polymer includes a series of polymer units, the method comprising: performing convolution on consecutive measurement results in consecutive windows of the series of measurement results to derive a feature vector about each window; and operating the feature vector using a recursive neural network to derive information about the series of polymer units.
[0129] This approach provides advantages over comparative methods that apply event calling and use recurrent neural networks to operate on quantities or feature vectors derived for each event. In particular, the inventive method provides higher accuracy, particularly when the series of measurements do not exhibit easily distinguishable events, such as when measurements are acquired at relatively high sequencing rates.
[0130] The windows may be overlapping windows. The convolution may be performed by operating on the series of measurements using a trained feature detector (eg, a convolutional neural network).
[0131] The recurrent neural network may be a bidirectional recurrent neural network and / or may include multiple layers.
[0132] The third example of the present invention may be applied in combination with the first example or the second example of the present invention.
[0133] The following description applies to all embodiments of the present invention.
[0134] The method of the present invention improves accuracy in a manner that allows analysis to be performed on a series of measurements obtained at a relatively high sequencing rate. For example, the method can be applied to a series of measurements obtained at a rate of at least 10 polymer units per second, preferably 100 polymer units per second, more preferably 500 polymer units per second or more preferably 1000 polymer units per second.
[0135] The nanopore may be a biological pore.
[0136] The polymer may be a polynucleotide, wherein the polymer units are nucleotides.
[0137] The measurements may include one or more of: current measurements, impedance measurements, tunneling measurements, FET measurements, and optical measurements.
[0138] The method may further comprise acquiring the series of measurements.
[0139] The target polymer may be derived from a template or complement of the original polymer. The template or complement of the target polymer may have a 3' or 5' connection to a polymerase fill. The connection may be an adapter. At least one of the template, complement or polymerase fill of the target polymer may include a typical polymer unit and an atypical polymer unit.
[0140] Atypical bases can be incorporated into target polymers non-determinatively.
[0141] A polynucleotide may include one or more different types of one or more atypical bases produced from a template or complement of the polynucleotide using a polymerase and a proportion of atypical bases.
[0142] The generated polynucleotide can be covalently linked to the corresponding template or complement via two hairpin adaptors, and the resulting construct is circular.
[0143] The two hairpin adaptors may be asymmetric.
[0144] The polymer may be a polynucleotide. The polymer unit may be a nucleotide base, and the target polynucleotide may include a repeating sequence segment of a template polynucleotide chain generated by a circular construct using a polymerase and a certain proportion of atypical bases.
[0145] The target polynucleotide may include alternating segments of repeating sequences of a template polynucleotide strand and a complement polynucleotide.
[0146] The target polynucleotide can be generated from the circular construct by using a polymerase and a certain proportion of atypical bases.
[0147] The complement can be prepared by at least one of: covalently attaching adaptors to opposite ends of a double-stranded polynucleotide; and separating the double-stranded polynucleotide to provide complement strands, each of which includes an adaptor at one end or an adaptor at either end.
[0148] The method can be combined synergistically with other technologies for improving base calling and / or determining the consensus region of the target polymer or its part. The target polymer can be derived from the template or complement of the original polymer. The template and / or complement of the target polymer can have a 3' or 5' connection with its reverse complement. At least one of the template, complement or reverse complement of the target polymer can include a typical polymer unit and an atypical polymer unit. Atypical polymer units can be provided by substitution. Atypical polymer units can be provided during polymerase filling. Atypical bases can be incorporated into the target polymer non-determinatively.
[0149] Apart from the step of acquiring the series of measurements, the method may be performed in a computer device.
[0150] According to another example of the present invention, an analysis system may be provided, the analysis system being arranged to perform the method according to any one of the first to third examples. Such an analysis system may be implemented in a computer device.
[0151] According to yet further examples of the invention, there may be provided such an analysis system in combination with a measurement system arranged to acquire a series of measurements from the polymer during its translocation relative to the nanopore.
[0152] In yet another example, a type of measurement system is provided for estimating a target sequence of polymer units in a polymer such as a nucleic acid. The system uses a polymerase, labeled nucleotides, and a detector. The properties of the system depend on the detection of the labeled nucleotides because the labeled nucleotides are incorporated into a copy of the nucleic acid template. For example, suitable types of detectors are zero-mode waveguides (Eid et al., 2009 Science) and nanopores (Fuller et al., 2016 PNAS).
[0153] Sources of error in single-molecule sequencing may occur by sensing the same base twice. In synthetic sequencing, this may include detecting the label on the nucleotide twice for one incorporation event. However, if there is a mixture of homologous and non-homologous labeled nucleotides, this source of error can be alleviated. For example, the sequence of the next nucleotide in the template nucleic acid can be AC or AAC. Due to at least one of the following, it may be difficult to determine the correct sequence: (I) in the case where the true sequence is AC, the label of the T base incorporated relative to A is detected, which will result in determining the correct sequence once; (II) in the case where the true sequence is AC, if the label of the T base is detected twice, this will result in determining an incorrect sequence to produce an insertion error (AAC); and (III) in the case where the true sequence is AAC, the label of the two independent T bases incorporated will result in determining the correct sequence.
[0154] Therefore, it is not possible to easily determine the sequence because it is not easy to determine whether (II) or (III) has occurred. However, if the nucleotide library contains a mixture of complementary bases with homologous and non-homologous labels, this source of error can be minimized. For example: (I) in the case where the true sequence is AC, if the label of the T base is detected twice, this will result in the determination of an incorrect sequence to produce an insertion error (AAC); (II) in the case where the true sequence is AAC, detecting the label of two different labels from two independent T bases incorporated will result in the determination of the correct sequence; and (III) if TT* or T*-T is detected, the sequence is more likely to be AAC. However, if TT or T*-T* is detected, different probabilities that the sequence is AAC can be assigned because the sequence can be AC and an insertion event has been observed. This can then be further used to compare or combine with sequence reads between or within molecules to obtain a more accurate consensus area.
[0155] For a better understanding, embodiments of the invention will now be described by way of non-limiting examples with reference to the accompanying drawings, in which:
[0156] Figure 1 is a schematic diagram of the nanopore measurement system and analysis system;
[0157] Figure 2 is a representation of the segmentation process used to find the boundaries of events input into the analysis system;
[0158] Figure 3 is a plot showing the raw signal in relation to the number of instances as a summary statistic of the identified events;
[0159] Figure 4 is a schematic diagram showing the structure of an analysis system implemented by a recurrent neural network;
[0160] Figure 5 is a schematic diagram showing the structure of a comparative example of an analysis system using an HMM (Hidden Markov Model) architecture;
[0161] Figures 6 to 9 is a schematic diagram of a layer in a neural network, which shows how the units of the layer operate on a temporal series of input features. Figure 6 shows a non-recursive layer, Figure 7 shows a unidirectional layer, Figure 8 shows a bidirectional recurrent layer combining a "forward" recurrent layer and a "backward" recurrent layer, and Fig. 9 An alternative bidirectional recursive layer is shown that combines "forward" recursive layers and "backward" recursive layers in an alternating manner;
[0162] Fig.10 Shows the Figure 4 Modification of the analysis system to operate on the measurement results (raw data);
[0163] Fig.11 Shows the Figure 4 Modification of the analysis system;
[0164] Fig.12 Shows that there is Fig.11 Modification of sample output of analytical system;
[0165] Fig.13 Some sample cases are shown where the basic approach leads to ambiguous estimates for the series of polymer units, whereas Fig.11 The sequence fragments of the mobile states in the modification are not ambiguous;
[0166] Fig.14 Shows the Figure 4 A modification of the analysis system in which decoding has been pushed back into the lowest bidirectional recursive layer;
[0167] Fig.15 By comparing Figure 4 The final layer of the analysis system and its decoder; and
[0168] Fig.16 and 17 Shows the Fig.14 Two alternative modifications of the analysis system to enable training via perplexity;
[0169] Fig.17 Shows the Figure 4 Modifications to the analysis system to enable training by perplexity, including adding an arg max unit back into the network so that its output is fed back;
[0170] FIG. 18a shows a known technique, and Figures 18b to 18k showing steps for adding atypical bases for analysis and a table indicating the typical base calling output corresponding to the identified atypical bases;
[0171] Fig.19 Three possible marking paths are shown;
[0172] Fig. 20 Shown in Figure 2 The progress of the calculation is shown graphically in FIG.
[0173] Fig.21Shown is an overlay of a 3.6 kb strand subjected to 1x cycle amplification using 100% dGTAC triphosphate - blue in the absence of polymerase and red in the presence of polymerase - the presence of a peak in the red trace at 3-4 kb indicates successful amplification; note the absence of a peak here in the blue trace;
[0174] Fig. 22 Shown is a 1x cycle amplification of a 3.6 kb chain using polymerase and 75% 7-deaza dG, 75% 2-amino dA, 25% dG, 25% dA, and 100% dTC triphosphates - the presence of a peak in the red trace at 3-4 kb indicates successful amplification;
[0175] Fig.23 Shown is a 1x cycle amplification of a 3.6 kb chain using polymerase and 50% 7-deaza dG, 50% 2-amino dA, 50% dG, 50% dA, and 100% dTC triphosphates - the presence of a peak in the red trace at 3-4 kb indicates successful amplification;
[0176] Fig.24 1x cycle amplification of a 3.6 kb chain using polymerase and 75% 5-propynyl dU, 75% 5-propynyl dC, 25% dT, 25% dC, and 100% dGA triphosphates is shown, with the presence of a peak in the red trace at approximately 5-6 kb indicating successful amplification - note that the presence of the 5-propynyl group increases the size of the peak, likely due to the additional size;
[0177] Fig.25 Shown is a 1x cycle amplification of a 3.6 kb chain using polymerase and 50% 5-propynyl dU, 50% 5-propynyl dC, 50% dT, 50% dC, and 100% dGA triphosphates - the presence of a peak in the red trace at approximately 5 kb indicates successful amplification;
[0178] Fig.26 Shown is a 1x cycle amplification of a 3.6 kb chain using polymerase and 75% 7-deaza dG, 75% 5-propynyl dU, 75% 2-amino dA, 75% 5-propynyl dC, and 25% dGTAC triphosphates - the presence of a peak in the red trace at approximately 5-6 kb indicates successful amplification;
[0179] Fig. 27 Shown is a 1x cycle amplification of a 3.6 kb chain using polymerase and 50% 7-deaza dG, 50% 5-propynyl dU, 50% 2-amino dA, 50% 5-propynyl dC, and 50% dGTAC triphosphates - the presence of a peak in the red trace at approximately 5 kb indicates successful amplification;
[0180] Fig.28Shown is an overlay of an E. coli library subjected to 1x cycle amplification using 100% dGTAC triphosphate - blue in the absence of polymerase and red in the presence of polymerase - the presence of a faint peak in the red trace at 4-10 kb indicates successful amplification; note the absence of a peak here in the blue trace;
[0181] Fig.29 Shown is an overlay of an E. coli library subjected to 1x cycle amplification using 75% 7-deaza dG, 75% 5-propynyl dU, 75% 2-amino dA, 75% 5-propynyl dC, and 25% dGTAC triphosphates - blue in the absence of polymerase and red in the presence of polymerase - the presence of a faint peak in the red trace at 6-20 kb indicates successful amplification, note the absence of a peak here in the blue trace;
[0182] Fig.30 Shown is an overlay of an E. coli library subjected to 1x cycle amplification using 50% 7-deaza dG, 50% 5-propynyl dU, 50% 2-amino dA, 50% 5-propynyl dC, and 50% dGTAC triphosphates - blue in the absence of polymerase and red in the presence of polymerase - the presence of a faint peak in the red trace at 6-20 kb indicates successful amplification, note the absence of a peak here in the blue trace; and
[0183] Fig.31 Shows from Fig.21 Example current traces obtained with the unmodified 3.6 kb product shown in . The central portion of each trace (about 887.69-887.79 seconds) corresponds to the sequence TTTTTTTTTTTGGAATTTTTTTTTTTTGGAATTTTTTTTTTT that interacts with the pore. This sequence was designed to give a flat homopolymer signal interspersed with two k-mers of low current levels; and
[0184] Fig.32 Shows from Fig.26 Example current traces obtained for a 3.6 kb product with 75% modified bases as shown in FIG. Fig.31 The difference between the current traces corresponding to the same target sequence.
[0185] Fig.33 Shows from Fig. 27 Example current traces obtained for a 3.6 kb product with 50% modified bases as shown in FIG. Fig.31 The difference between the current traces corresponding to the same target sequence.
[0186] Figure 1Nanopore measurements and an analysis system 1 comprising a measurement system 2 and an analysis system 3 are shown. The measurement system 2 obtains a series of measurements from a polymer during translocation of the polymer relative to the nanopore, the polymer comprising a series of polymer units. The analysis system 3 performs a method for analyzing the series of measurements to obtain further information about the polymer, such as an estimate of the series of polymer units. In general, the polymer can be of any type, such as a polynucleotide (or nucleic acid), a polypeptide such as a protein, or a polysaccharide. The polymer can be natural or synthetic. The polynucleotide can include a homopolymer region. The homopolymer region can include 5 to 15 nucleotides.
[0187] In the case of polynucleotides or nucleic acids, the polymer unit can be a nucleotide. Nucleic acids are typically deoxyribonucleic acids (DNA), ribonucleic acids (RNA), cDNA, or synthetic nucleic acids known in the art, such as peptide nucleic acids (PNA), glycerol nucleic acids (GNA), threose nucleic acids (TNA), locked nucleic acids (LNA), or other synthetic polymers with nucleotide side chains. The PNA backbone consists of repeated N-(2-aminoethyl)-glycine units linked by peptide bonds. The GNA backbone consists of repeated diol units linked by phosphodiester bonds. The TNA backbone consists of repeated threose linked together by phosphodiester bonds. LNA is formed by ribonucleotides with an additional bridge connecting the 2' oxygen in the ribose moiety to the 4' carbon as discussed above. Nucleic acids can be single-stranded, double-stranded, or include both single-stranded and double-stranded regions. Nucleic acids can include an RNA chain hybridized to a DNA chain. Typically, cDNA, RNA, GNA, TNA, or LNA are single-stranded.
[0188] The polymer unit can be any type of nucleotide. The nucleotide can be naturally occurring or artificial. For example, the method can be used to verify the sequence of the manufactured oligonucleotide. Nucleotide usually contains a nucleobase, a sugar and at least one phosphate group. The nucleobase and the sugar form a nucleoside. The nucleobase is usually heterocyclic. Suitable nucleobases include purines and pyrimidines, and more specifically, adenine (A), guanine (G), thymine (T), uracil (U) and cytosine (C). Sugar is usually pentose. Suitable sugars include but are not limited to ribose and deoxyribose. Nucleotide is usually ribonucleotide or deoxyribonucleotide. Nucleotide usually contains monophosphate, diphosphate or triphosphate. Nucleotide can include more than three phosphates, such as 4 or 5 phosphates. Phosphoric acid can be connected on the 5' or 3' side of the nucleotide. Nucleotides include, but are not limited to, adenosine monophosphate (AMP), guanosine monophosphate (GMP), thymidine monophosphate (TMP), uridine monophosphate (UMP), 5-methylcytidine monophosphate, 5-hydroxymethylcytidine monophosphate, cytidine monophosphate (CMP), cyclic adenosine monophosphate (cAMP), cyclic guanosine monophosphate (cGMP), deoxyadenosine monophosphate (dAMP), deoxyguanosine monophosphate (dGMP), deoxythymidine monophosphate (dTMP), deoxyuridine monophosphate (dUMP), deoxycytidine monophosphate (dCMP), and deoxymethylcytidine monophosphate.
[0189] A nucleotide may be abasic (ie, lack a nucleobase). A nucleotide may also lack a nucleobase and a sugar (ie, be a C3 spacer).
[0190] The nucleotides in a polynucleotide can be linked to each other in any manner. The nucleotides are usually linked by their sugar and phosphate groups, as in nucleic acids. The nucleotides can be linked by their nucleobases, as in pyrimidine dimers.
[0191] As used herein, a typical polymer unit is a polymer unit of a type typically found in a particular class of polymers. For example, typical polymer unit types relative to polynucleotides are typically core bases (and corresponding nucleosides and nucleotides), adenine (A), guanine (G), thymine (T), uracil (U) and cytosine (C).
[0192] As used herein, an atypical polymer unit is a polymer unit of a type different from any typical polymer unit type for the polymer of the class (e.g., having a different molecular structure). For example, an atypical polymer unit type for a polynucleotide can be any core base (and corresponding nucleosides and nucleotides) except A, G, T, U and C as described above.
[0193] Atypical polymer units can correspond to typical polymer units. For example, atypical polymer units can be derived from or have structural similarities with corresponding typical polymer units.
[0194] In the methods of the invention as described herein, the polymer units that make up the polymer can modulate a signal associated with the polymer. Atypical polymer units can modulate a signal differently than corresponding polymer units, thus enabling the distinction between typical polymer units and atypical polymer units.
[0195] As used herein, the term "typical base" generally refers to the nucleobases adenine (A), guanine (G), thymine (T), uracil (U) and cytosine (C). Typical bases can form part of typical nucleosides and typical nucleotides. Therefore, as used herein, the term "typical base" can include typical nucleosides and typical nucleotides.
[0196] As used herein, the term "atypical base" generally refers to a nucleobase that is different from the typical bases adenine (A), guanine (G), thymine (T), uracil (U) and cytosine (C) as described above. Atypical bases can form a part of atypical nucleosides and atypical nucleotides. Therefore, as used herein, the term "atypical base" can include atypical nucleosides and atypical nucleotides.
[0197] Atypical bases can correspond to typical bases. For example, a given atypical base can have a complementary binding property substantially identical to a given typical base, and therefore an atypical base can be considered to correspond to a typical base. Atypical bases can be derived from typical bases or have structural similarities to typical bases, so that the atypical bases have complementary binding properties substantially identical to corresponding typical bases. Therefore, an atypical base can be a modified typical base.
[0198] Atypical bases may be capable of specific hybridization or specific binding (i.e., complementation) to a typical base that is complementary to the typical base to which the atypical base corresponds. For example, an atypical base corresponding to adenine may be capable of specific hybridization or specific binding to thymine. Typically, atypical bases hybridize or less strongly bind to those typical bases that are not complementary to the typical base to which the atypical base corresponds.
[0199] Atypical bases can correspond to more than one typical base. Therefore, atypical bases can be able to specifically hybridize or specifically bind (i.e., complement) to more than one typical base. Examples of atypical bases corresponding to more than one typical base are universal bases as described herein (e.g., inosine).
[0200] Many different atypical bases are known in the art. The skilled artisan will be aware of a number of different types of atypical bases, where "type" can refer to a given atypical base chemical species.
[0201] Commercially available atypical nucleosides include, but are not limited to, 2,6-diaminopurine-2'-deoxynucleoside, 2-aminopurine-2'-deoxynucleoside, 2,6-diaminopurine-riboside, 2-aminopurine-riboside, pseudouridine, puromycin, 2,6-diaminopurine-2'-O-methylriboside, 2-aminopurine-2'-O-methylriboside and cytosine arabinoside. Since uracil is not usually present in DNA, 2'-deoxyuridine can be considered an atypical nucleoside in this context.
[0202] Atypical bases can be universal bases or nucleotides. Universal nucleotides are nucleotides that hybridize or bind to all bases in the template polynucleotide to some extent. Universal nucleotides are preferably nucleotides that hybridize or bind to nucleotides that include nucleosides adenosine (A), thymine (T), uracil (U), guanine (G) and cytosine (C) to some extent. Universal nucleotides can hybridize or bind to some nucleotides more strongly than compared to other nucleotides. For example, universal nucleotides (I) including nucleosides, 2'-deoxyinosine will show a preferential pairing order of IC>IA>IG approximately=IT.
[0203] The universal nucleotide preferably comprises one of the following nucleobases: hypoxanthine, 4-nitroindole, 5-nitroindole, 6-nitroindole, formyl indole, 3-nitropyrrole, nitroimidazole, 4-nitropyrazole, 4-nitrobenzimidazole, 5-nitroindazole, 4-aminobenzimidazole or phenyl (C6-aromatic ring). The universal nucleotide more preferably comprises one of the following nucleosides: 2'-deoxyinosine, inosine, 7-deaza-2'-deoxyinosine, 7-deaza-inosine, 2-aza-deoxyinosine, 2-aza-inosine, 2-O'-methylinosine, 4-nitroindole 2'-deoxyribonucleoside, 4-nitroindole ribonucleoside, 5-nitroindole 2'-deoxyribonucleoside, 5-nitroindole ribonucleoside, 6-nitroindole 2'deoxyribonucleoside, 6-nitroindole ribonucleoside, 3-nitropyrrole 2'-deoxyribonucleoside, 3-nitropyrrole ribonucleoside, a non-cyclic sugar analogue of hypoxanthine, nitroimidazole 2'-deoxyribonucleoside, 4-nitroindole ribonucleoside, 5-nitroindole ribonucleoside, 6-nitroindole 2'-deoxyribonucleoside, 6-nitroindole ribonucleoside, 3-nitropyrrole ribonucleoside, 3-nitropyrrole ribonucleoside, 3-nitropyrrole ribonucleoside, 3-nitroimidazole 2'-deoxyribonucleoside, 3-nitroimidazole ... Universal nucleotides can include 2'-deoxyribonucleoside, nitroimidazole ribonucleoside, 4-nitropyrazole 2'-deoxyribonucleoside, 4-nitropyrazole ribonucleoside, 4-nitrobenzimidazole 2'-deoxyribonucleoside, 4-nitrobenzimidazole ribonucleoside, 5-nitroindazole 2'-deoxyribonucleoside, 5-nitroindazole ribonucleoside, 4-aminobenzimidazole 2'-deoxyribonucleoside, 4-aminobenzimidazole ribonucleoside, phenyl C-ribonucleoside, phenyl C-2'-deoxyribosyl nucleoside, 2'-deoxyfumocylindole, 2'-deoxyisoguanosine, K-2'-deoxyribose, P-2'-deoxyribose and pyrrolidine. Universal nucleotides can include 2'-deoxyinosine. Universal nucleotides can be IMP or dIMP. The universal nucleotide may be dPMP (2'-deoxy-P-nucleoside monophosphate) or dKMP (N6-methoxy-2,6-diaminopurine monophosphate).
[0204] Atypical bases can include chemical atoms or groups not present in the relevant typical bases. Chemical groups can be propargyl, sulfhydryl, oxo, methyl, hydroxymethyl, formyl, carboxyl, carbonyl, benzyl, propargyl or propargylamine. Chemical groups or atoms can be or can include fluorescent molecules, biotin, digoxigenin (digoxigenin), DNP (dinitrophenol), light labile groups, alkynes, DBCO, azide, free amino groups, redox dyes, mercury atoms or selenium atoms.
[0205] Commercially available atypical nucleosides that include chemical groups not present in typical nucleosides include, but are not limited to, 6-thio-2'-deoxyguanosine, 7-deaza-2'-deoxyadenosine, 7-deaza-2'-deoxyguanosine, 7-deaza-2'-xanthine riboside, 7-deaza-8-aza-2'-deoxyadenosine, 8-5'(5'S)-cyclo-2'-deoxyadenosine, 8-amino-2'-deoxyadenosine, 8-amino-2'-deoxyguanosine, 8-deuterated-2'-deoxyguanosine, 8-oxo-2'-deoxyadenosine, 8-oxo-2'-deoxyguanosine, vinylidene-2'-deoxyadenosine, N6-methyl-2'-deoxyadenosine, O 6-methyl-2'-deoxyguanosine, O6-phenyl-2'-deoxyinosine, 2'-deoxypseudouridine, 2-thiothymidine, 4-thio-2'-deoxyuridine, 4-thiothymidine, 5'-aminothymidine, 5-(1-pyrenylethynyl)-2'-deoxyuridine, 5-(C2-EDTA)-2'-deoxyuridine, 5-(carboxy)vinyl-2'-deoxyuridine, 5,6-dihydro-2'-deoxyuridine, 5.6-dihydrothymidine, 5-bromo-2'-deoxycytidine, 5-bromo-2'-deoxyuridine, 5-carboxy-2'-deoxycytidine, 5-fluoro-2'-deoxyuridine, 5-formyl-2'-deoxycytidine, 5-hydroxy 5-Iodine-2'-deoxycytidine, 5-iodo-2'-deoxyuridine, 5-methyl-2'-deoxycytidine, 5-methyl-2'-deoxyisocytidine, 5-propynyl-2'-deoxycytidine, 5-propynyl-2'-deoxyuridine, 6-O-(TMP)-5-F-2'-deoxyuridine, C4-(1,2,4-triazol-1-yl)-2'-deoxyuridine, C8-alkyne-thymidine, dT-ferrocene, N4-ethyl-2'-deoxycytidine, O4-methylthymidine, pyridine pyrrolidine, 2'-deoxycytidine, thymidine glycol, 4-thiouridine, 5-methylcytidine, 5-methyluridine, pyrrolidine, 3-deaza-5-aza-2'-O-methylcytidine, 5-fluoro-2'-O-methyluridine, 5-fluoro-4-O-TMP-2'-O-methyluridine, 5-methyl-2'-O-methylcytidine, 5-methyl-2'-O-methylthymidine, 2',3'-dideoxyadenosine, 2',3'-dideoxycytidine, 2',3'-dideoxyguanosine, 2',3'-dideoxythymidine, 3'-deoxyadenosine, 3'-deoxycytidine, 3'-deoxyguanosine, 3'-deoxythymidine and 5'-O-methylthymidine.
[0206] Atypical bases may lack chemical groups or atoms that are not present in the related typical base.
[0207] Compared with relevant typical bases, atypical bases can have the electronegativity of change.The atypical base with the electronegativity of change can include halogen atom.The halogen atom can be connected to any position on atypical base, nucleoside or nucleotide (such as nucleobase and / or sugar).The halogen atom is preferably fluorine (F), chlorine (Cl), bromine (Br) or iodine (I).The halogen atom is most preferably F or I.
[0208] Commercially available atypical nucleosides including halogens include, but are not limited to, 8-bromo-2'-deoxyadenosine, 8-bromo-2'-deoxyguanosine, 5-bromouridine, 5-iodouridine, 5-bromouridine, 5-iodouridine, 5'-iodothymidine, and 5-bromo-2'-O-methyluridine.
[0209] Atypical bases may be naturally occurring or non-naturally occurring.
[0210] Naturally occurring atypical bases can be found in polynucleotides in vivo. Examples of naturally occurring atypical bases are naturally occurring methylated bases, such as 5-methyl-cytosine or 6-methyl-adenine.
[0211] A variety of methods for preparing polynucleotides that include atypical bases are known in the art.
[0212] For example, a polynucleotide comprising one or more atypical bases can be prepared by contacting a template polynucleotide with a polymerase under conditions in which the polymerase uses the template polynucleotide as a template to form a modified polynucleotide. Examples of suitable polymerases include Klenow or 9o North. Such conditions are known in the art. For example, polynucleotides are typically mixed with a commercially available polymerase buffer (e.g., from New England Biolabs). The primer or 3' hairpin is usually used as a nucleation point for polymerase extension. Hairpins are known from WO2013 / 014451, which is incorporated herein by reference in its entirety.
[0213] The template polynucleotide can be contacted with a free nucleotide colony. Polymerase uses free nucleotides to form modified polynucleotides based on template polynucleotides. The identity of the free nucleotides in the colony determines the composition of the modified polynucleotides. Each free nucleotide in the colony can hybridize or combine with one or more nucleotide species in the template polynucleotide. Each free nucleotide in the colony can usually hybridize or specifically bind (i.e., complement) with one or more nucleotide species in the template polynucleotide. Nucleotide and the nucleotide specific hybridization or specific binding (i.e., complement) in the template polynucleotide, if it is stronger than other nucleotides in the template nucleotide with nucleotide hybridization or binding ratio. This allows polymerase to use complementarity (i.e., base pairing) to form modified polynucleotides using template polynucleotides. Usually, each free nucleotide and one of the nucleotides in the template polynucleotide specifically hybridize or specifically bind (i.e., complement).
[0214] By way of further example, a polynucleotide comprising one or more atypical bases can be prepared by contacting the template polynucleotide with a ligase under conditions where the polymerase uses the template polynucleotide as a template to form a modified polynucleotide. Examples of suitable ligases include Taq or E. coli and T4. Such conditions are known in the art. For example, the polynucleotide is typically ligated with a commercially available polymerase buffer (e.g., from New England Biolabs). TM The temperature is preferably 12 to 37° C. for E. coli and T4, or 45 to 75° C. for Taq. A primer or 3' hairpin is usually used as a nucleation point for ligation extension.
[0215] The template polynucleotide can be contacted with a free oligonucleotide colony. Ligase uses free oligonucleotides to form modified polynucleotides based on template polynucleotides. The identity of the free oligonucleotides in the colony determines the composition of the modified polynucleotides. Each free oligonucleotide in the colony can hybridize or combine with four or more nucleotide species in the template polynucleotide. Each free nucleotide in the colony can usually hybridize or specifically bind (i.e., complement) with four or more nucleotide species in the template polynucleotide. Nucleotide and the nucleotide specific hybridization or specific binding (i.e., complement) in the template polynucleotide, if it is stronger than other nucleotides in the template nucleotide with nucleotide hybridization or binding ratio. This allows ligase to use complementarity (i.e., base pairing) to form modified polynucleotides using template polynucleotides. Typically, each free oligonucleotide and six nucleotide specific hybridization or specific binding (i.e., complement) in the template polynucleotide.
[0216] The template polynucleotide may be a target polynucleotide. The template polynucleotide may be the complement of the target polynucleotide. The template polynucleotide may correspond partially or completely to the target polynucleotide. The template polynucleotide may be a partial or complete complement of the target polynucleotide.
[0217] In some embodiments, the polynucleotides comprising one or more atypical bases can be prepared by enzymatically converting one or more typical bases into corresponding atypical bases. For example, the polynucleotides comprising typical bases can be contacted with enzymes capable of converting one or more types of typical bases into corresponding atypical base types. Examples of such enzymes include DNA- and RNA-methyltransferases. In some embodiments, the polynucleotides comprising one or more atypical bases can be prepared by chemically converting one or more typical bases into corresponding atypical bases. For example, the polynucleotides comprising typical bases can be contacted with chemicals capable of converting one or more types of typical bases into corresponding atypical base types. Examples of such chemicals include formic acid, hydrazine, dimethyl sulfate, osmium tetroxide, and some vanadate compounds.
[0218] Atypical bases can also include pyrimidine dimers, such as thymine dimers. Such dimers can be introduced into polynucleotides by the effect of ultraviolet light. The product of template-dependent synthesis can also be modified. Typical base populations can be used to form products, and then the products are modified to contain atypical bases. Typical bases and atypical base populations can be used to form products, and then the products are further modified to contain more identical or different atypical bases.
[0219] The accuracy of nanopore sequencing can be improved by analyzing polymers or chains that include typical polymer units and atypical polymer units. The polymers used for analysis are called target polymers or target chains. These target polymers are derived from original polymers or chains with a common typical sequence, whether by origin or design. Such original polymers can be called homologous chains. For clarity, the original polymers are derived from the sample to be analyzed, such as a swab from the inside of a person's cheek.
[0220] The original polymer is copied multiple times and atypical polymer units are added to the copies to produce a target polymer. A measurement signal is obtainable by passing the target polymer through a sequencing device, such as those produced by Oxford Nanopore Technologies, and the signal read or processed from the device can be processed to provide a sequence. An estimate of the sequence can provide a base call.
[0221] Analysis of the measurements to determine the sequence may use machine learning as described below.
[0222] Generating a target polymer from an original polymer or chain having a common canonical sequence can be accomplished by replacing one or more of the canonical bases, i.e., A, C, G, and T, with alternative bases that may be atypical. These alternative bases will generate a different signal when passing through the nanopore than the corresponding canonical bases. Alternative bases of the target polymer are provided and subsequently located in a non-determinative manner.
[0223] Alternative bases with non-specific binding can be used. Alternative bases can contain modifications, fluorophore groups or atoms with, for example, different nuclear magnetic resonances, which allow their presence and position to be measured, for example, orthogonal measurements. Additionally or alternatively, other changes can be made to the polymer to produce effects similar to those described, rather than replacing typical bases with alternative bases. For example, the formation of pyrimidine dimers is deliberately induced by exposure to UV light, or as another example, the core base is excised to leave a unique main chain.
[0224] The ratio of the substitution level of the bases can be between about 1% and about 99%, but preferably between about 30% and about 70%, but still preferably about 50%. For each substituted base and / or substituted type, the ratio of substitution can be about the same. For each substituted base and / or substituted type, the ratio of substitution can be different.
[0225] Due to the non-deterministic nature of substitution, different target polymers or target strands have alternative bases, such as atypical bases, located at different positions relative to the original bases in the original polymer that is copied for analysis.
[0226] By providing multiple alternative bases for a given canonical base, different target polymers can then have different substitutions at a given position. Given the non-deterministic nature of substitution, some target polymers will have the same position substituted with the same alternative, i.e., the set of positions for different chains are not mutually exclusive.
[0227] Determining the sequence of a target polymer comprising polymer units by acquiring a series of measurements of signals associated with the target polymer involves measurements of signals dependent on a plurality of polymer units that may be derived from passing an alternative polymer chain through a nanopore.
[0228] The target polymer modulates the signal, and because the atypical polymer unit in the target polymer modulates the signal differently from the corresponding typical polymer unit, accuracy is improved. To illustrate this difference, the signal of the target polymer derived from the base CcAGT is different from the otherwise identical base in the original polymer with the base CCAGT. In the case where an alternative base replaces a typical base, the measured signal picks up or identifies alternative or atypical units. For example, alternative base "c" replaces typical base "C". By way of another example, typical bases can be replaced with inosine, which does not correspond to any one of bases C, A, G or T, but is so identified, and subsequent analysis can attribute atypical bases to "atypical" or any one of A, C, G or T.
[0229] The signals are processed using an analysis method that is aware of the alternative bases. The analysis method includes the base calling method, the consensus method, and any auxiliary processing required to derive the results.
[0230] A preferred example of a base calling method is one in which the base calling method has been trained to attribute the effect of alternative bases on the signal to a canonical base.
[0231] When sequencing multiple target polymers or chains, it will be appreciated that by having the set of substitutions be different in different chains, the signal is modulated in different ways for different chains. While the presence of many alternative bases may make individual base calls less accurate, it will also be appreciated that any base miscall errors will be less systematic and therefore the consensus sequence will be more accurate.
[0232] The method can also be applied when the alternative bases used have non-specific binding. Non-specific means that information about the typical sequence is lost in each chain, but because the incorporation of alternative bases is non-deterministic, some proportion of homologous chains retain the typical bases and therefore their identity can be established through the consensus region.
[0233] Although alternative bases in a target polymer can produce a series of measurements that can be analyzed to identify these alternative bases, it is preferred that machine learning techniques be used to analyze the alternative bases to attribute the measurements of the alternative bases (such as atypical polymer units) to the measurements of the corresponding corresponding typical polymer units.
[0234] Because typical bases and alternative bases are non-determinatively incorporated into the target polymer, the basic sequence of bases is unknown and will change on a chain-to-chain basis, even if the chain is a copy of the same original polymer or template or a biological repeat of the same region of the genome. Even if each chain contains alternative bases, there is still a relevant typical sequence--if there is no alternative base in the sample preparation, what will it be--and what is of interest is to directly call this rather than attempt to infer the type and position of any alternative. In other words, although there are 5 or more bases in the target polymer, the analysis only attributes typical values to the signal so that the sequence measured is composed of bases from the group of A, C, G and T.
[0235] The machine learning technique is preferably trained and uses a model. A trained machine learning technique can be used to estimate a typical sequence from one or more reads. Before applying this technique, a set of representative reads with relevant typical sequences must be trained. The following describes how to obtain such a set, and now describes how to perform training given the unique characteristics of this problem.
[0236] The method can use machine learning methods involving neural networks, recursive neural networks, random forests or support vector machines, etc., which are usually trained in a supervised manner, wherein the training set consists of an explicit relationship or alignment between an input signal and an output label. The input signal is derived from a target polymer, which contains a mixture of typical bases and alternative bases. The identity of the output label or base attributed to the sequence by the machine learning method can be a mixture of typical bases and alternative bases or only typical bases.
[0237] The output with the base mixture can provide a detailed set of data for the purpose of subsequent alignment and consensus generation of sequencing target polymers.
[0238] The common method is well known in the art and can be easily applied. In the case where the base caller attributes the impact of atypical bases to typical bases, the resulting base calls include typical sequences, and the method can be applied without almost any modification. In the case where there are atypical bases in base calls, the common method can be modified so that the atypical bases are compared with their typical partners. In the case of using non-specific atypical bases, the common method can be modified so that non-specific atypical bases are compared non-specifically. This comparison can be achieved, for example, by using a customized substitution matrix or scoring system.
[0239] However, such a detailed set of data can increase the computational resources or costs required to align the sequence of the target polymer and form the consensus region. Therefore, analyzing the measurement results to output only the typical bases has the following effects: (i) using machine learning techniques to merge the detailed measurement results, which improves accuracy and / or (ii) simplifying the alignment and formation of the consensus region because the method is based on only four typical bases, although the four bases have been accurately determined because the target polymer includes a mixture of typical polymer units and alternative polymer units.
[0240] For example, Figures 18a to 18k support the interpretation of the incorporation of atypical bases in the target polymer to be read.
[0241] FIG. 18 a represents what is known for reference. Double-stranded DNA molecules comprising only typical polymer units are separated so that one of the template or complement of the original polymer is passed through a nanopore to identify individual polymer units of the original polymer. In FIG. 18 a , the template is passed through the hole. Base calls can be made to the template. Base calls can be made to additional templates, and the base calls can be compared and used to determine the consensus region.
[0242] Fig.18b is an example of the present invention, in which a double-stranded DNA molecule as a raw polymer is denatured and amplified so that a substitution is made and a typical base is substituted with an atypical base from an atypical base supply to produce a target polymer. This substitution is non-determinative. Fig.18b In the example of, the template of the original polymer is substituted so that the target polymer has four typical bases A, C, G and T and four corresponding atypical bases a, c, g and t, i.e. a mixture of typical bases and atypical bases. After passing through the hole, the base caller can only call typical bases, i.e. four (4) bases or their variants from eight (8). The way of processing the original signal from the hole can be varied. The template with a mixture of typical bases and atypical bases becomes the target polymer, and base calls can be performed on the target polymer. Other templates can become other target polymers, and base calls can also be performed on those target polymers. Base calls can be compared and used to determine the common area.
[0243] The method can be varied by utilizing the presence of randomly distributed atypical bases. In the example provided herein, the target polymer is called by base. Additionally or alternatively, the original signal received from the hole after the template polymer is passed therethrough can be used to measure the sequence of the target polymer, and this original signal analysis uses the technology disclosed in WO13 / 041878, and the document is incorporated herein by reference as a whole. However, in general, it is possible to improve computational efficiency by final base calling or determining the consensus region with only typical bases, and / or it is possible to reduce systematic errors by the random distribution of atypical bases.
[0244] Fig.18c Is a table showing the "input" identified by the base caller, which contains typical bases and atypical bases that can be identified from the target polymer. The corresponding "output" is merged into the typical base. The merging of the input into only the typical output can be performed at the level of a single base call. The merging of the input into only the typical output can also be performed in the consensus region of multiple base calls from a mixture containing typical units and atypical units. When the consensus region is formed, the atypical base can be compared with its typical partner. By the non-determinative position of the atypical base and the subsequent merging, systematic errors can be reduced.
[0245] exist Fig.18d In, for example, two alternative input-output tables are shown. It shows that the base caller can attribute the impact of atypical bases to one or more typical bases. Examples include: non-specific atypical base "X" is identified as any typical base; methylated "C" is identified as a typical "C"; and "TT dimer" is identified as a typical "T". The tables in this article are for illustrative purposes only, and the merging can be implemented using a custom substitution matrix or scoring system.
[0246] Although the final output from base calling or consensus determination is the identification of typical bases, intermediate processing can use the raw signal read from the sensor analyzing the target polymer. Each of the typical input and the atypical input will affect the raw signal generation in its own way. For machine learning techniques, it may be beneficial to analyze the raw signal in order to determine the output of base calling and / or consensus level.
[0247] The present invention can be applied synergistically to improve known techniques for base calling and determining consensus regions. For example, a target polymer can have a first region and a second region that are reverse complements of each other - this template and complement can be linked to a hairpin. The target polymer can be derived from a template or complement of an original polymer, wherein the template or complement of the target polymer has a 3' or 5' connection (adapter) to the corresponding reverse complement formed using polymerase fill-in.
[0248] As about Fig.18bAs described, substitutions made to generate a target polymer can be applied in a variety of ways to the template, complement, and / or reverse complement linked by hairpin ligation.
[0249] exist Fig.18e and 18f In FIG. 1 , the solid line represents the original part of the double-stranded DNA molecule, ie, the template or the complement derived therefrom, which is part of the original polymer. Fig.18e and 18f The stages in are carried out using a polymerase and nucleotides. The short dashed line represents the primer, while the longer dashed line represents the primer combined with the extension product from the polymerase.
[0250] Fig.18e Five stages are shown, wherein there are four transitions (indicated by the lower arrows), which demonstrate how the modified polynucleotides can be prepared by amplification, such as polymerase chain reaction (PCR). The method comprises a polymerase, a template nucleic acid, and a library of typical and atypical nucleotides. These are circulated according to standard PCR techniques.
[0251] Fig.18e The first stage begins with a double-stranded DNA molecule that is denatured and primers are added to produce separate templates and complements in the second stage, each template and complement having a corresponding primer attached at one end, and each template and complement including only typical bases. The products of the second stage are then subjected to polymerase filling using a library containing typical nucleotides or bases and atypical nucleotides or bases. The second stage is transformed to produce in the third stage (i) templates having only typical bases attached to complements having a mixture of typical bases and atypical bases by primers, and (ii) complements having only typical bases attached to templates having a mixture of typical bases and atypical bases by primers.
[0252] The product of the third stage is denatured and primers are added to produce four units in the fourth stage, each of which has a primer connected. These four units are (i) a template with a mixture of nucleotides or bases; (ii) a template with only typical bases; (iii) a complement with a mixture of bases; and (iv) a complement template with only typical bases. The product of the fourth stage, i.e., each unit of the fourth stage, is subjected to polymerase filling, which uses a library of typical nucleotides and atypical nucleotides. This produces (i) a template with a mixture of bases connected to a complement of a mixture of bases by primers in the fifth stage; (ii) a template with only typical bases connected to a complement of a mixture of bases by primers; (iii) a complement with a mixture of bases connected to a template with a mixture of bases by primers; and (iv) a complement template with only typical bases connected to a template with a mixture of bases by primers. The cycle of denaturation, primer addition and filling can be repeated.
[0253] Fig.18f have Fig.18e The first three stages of the modification. A modified polynucleotide as a target polymer, wherein one chain is an original chain consisting of typical nucleotides and the other chain is a synthetic product consisting of a mixture of typical nucleotides and atypical nucleotides. Making one chain have only typical units and making the other chain derived from typical units (i.e., complement or reverse complement) allows the determination of bases to include a comparison between the original typical bases and the randomly positioned atypical bases.
[0254] Alternatively, the synthesis can be performed using a ligase and random oligonucleotides hybridized to the target nucleic acid template. This alternative scheme with 4 stages is shown in Figure 18g , which has 3 transitions, demonstrates how modified ligations and oligonucleotides can be used to generate target polymers for analysis. Figure 18g The first stage begins with the double-stranded DNA molecules, which are denatured, and the oligonucleotides are added. Figure 18g In the figure, the solid lines represent the original part of the double-stranded DNA molecule, which is the original polymer - only one is shown as "acgt" in the second stage. The short dashed lines represent oligonucleotides. Additional oligonucleotides are added between the second and third stages. In the fourth stage, the oligonucleotides are covalently bonded by a ligase. Oligonucleotides can be composed of atypical bases or a mixture of typical bases and atypical bases.
[0255] Further alternatively, the synthesis can be performed by a variety of techniques such as adaptor ligation or incorporation into the 5' primer, using a hairpin-3' hairpin added to the 3' end of the template nucleic acid. Figure 18hIn FIG. 4 , 4 stages are shown with 3 transitions, which demonstrate how a hairpin can be used to initiate synthesis. The hairpin is indicated by a hook line, which in the second stage is a short dashed line because it includes a mixture of typical and atypical bases - it acts as a primer. Figure 18h The first stage of the process begins with a double-stranded DNA molecule and adds hairpins to the ends of the template and complement. Figure 18h In the figure, the solid line represents the original part of the double-stranded DNA molecule, which is the original polymer. Between the second and third stages, the DNA molecules are denatured to produce separate original templates and original complements each with a hairpin. The product of the third stage, i.e., each unit of the third stage, is subjected to polymerase filling using a library comprising a mixture of typical nucleotides and atypical nucleotides.
[0256] Extension of the hairpin or addition of the hairpin to the product of a synthesis reaction initiated by the primer allows the information from the original template nucleic acid to be compared or combined with the synthetic product strand.
[0257] It is also possible to prepare concatemers of synthetic products containing both typical and atypical nucleotides. This can be done using single-stranded or double-stranded DNA as the starting template nucleic acid. For example, in Fig.18i , 18j The three most common techniques for concatemer formation are shown in and 18k.
[0258] exist Fig.18i In the first stage, a template with only typical polymer units is started. Its ends are then joined by a ligase. A splint is added that acts as a primer. A reverse complement is repeatedly generated using strand displacement synthesis and polymerase filling using a library of typical and atypical nucleotides. This reverse complement has a mixture of nucleotides. This reverse complement can be analyzed directly during its generation. Alternatively, this reverse complement can be analyzed after its generation. For example, the reverse complement can be analyzed by passing it through a nanopore.
[0259] exist Fig.18j In the first of the four stages, a double-stranded DNA molecule is started. A hairpin is added to connect the ends of the template and complement. In the second stage, an annealing primer is added, and thereafter a strand displacement polymerase generates a strand of the repeating sequence of the template and complement, which is filled with a library of typical and atypical nucleotides. This strand can be analyzed directly during its generation. Alternatively, this strand can be analyzed after its generation. For example, the strand can be analyzed by passing it through a nanopore.
[0260] exist Figure 18kIn the first stage of 6 stages, the double-stranded DNA molecule is started. A hairpin is added to the template and a hairpin is added to the complement, but the ends of the molecule are not connected. Between the second and third stages, the hairpin is copied, and the copy includes a mixture of typical nucleotides and atypical nucleotides. Then, the double-stranded DNA molecule is denatured, and the library of typical nucleotides and atypical nucleotides is used to fill the original template and complement with only typical bases. Additional nucleation sites and hairpins are added between the fourth and fifth stages, where PCT filling occurs. The product at the fifth stage is subjected to subsequent filling to produce a target polymer with a chain having a first portion (template) having only typical units and then having a sequence of alternating complements and templates, and the repetitive sequence has a mixture of typical nucleotides and atypical nucleotides as shown.
[0261] In each of the examples 18b to 18k, the presence of atypical units in the target polymer increases the complexity or level of variation of the signals derived therefrom. This may increase the level of complexity of variation in all regions of the target polymer. Specifically, the range of signals originating from repeating regions (such as homopolymer regions) of the original polymer increases in the corresponding regions of the target polymer.
[0262] For rolling linear amplification, the original template nucleic acid is incorporated into the sequencing products. This provides the ability to compare a strand containing only canonical bases to a series of products containing a mixture of canonical and atypical bases.
[0263] The output of all of the above methods can be analyzed using techniques including: de novo sequencing, sequencing using a reference genome, 1-dimensional sequencing (where the complement follows the template through the pore), or 2-dimensional sequencing.
[0264] For example, the preparation of the target polymer can use various methods, such as those disclosed in the following documents: US6087099; WO2015 / 124935; or PCT / GB2019 / 051314, all of which are incorporated herein by reference in their entirety.
[0265] Additionally or alternatively, all methods herein can be used to produce nucleotide chains having only typical bases, which can then be modified enzymatically or chemically after the synthesis reaction to provide a mixture of typical and atypical bases in the target polymer.
[0266] Due to the non-deterministic nature of PCR stuffing or oligonucleotide matching, the signal associated with each of the plurality of polynucleotides may be different. One result is that any errors present in the signal analysis will be non-systematic, thereby resulting in an improvement in determining the consensus sequence.
[0267] Because typical bases and alternative bases are non-determinatively incorporated into the target polymer, the basic sequence of bases is unknown and will change on a chain-to-chain basis, even if the chain is a copy of the same original polymer or template or a biological repeat of the same region of the genome. Even if each chain contains alternative bases, there is still a relevant typical sequence--if there is no alternative base in the sample preparation, what will it be--and what is of interest is to directly call this rather than attempt to infer the type and position of any alternative. In other words, although there are 5 or more bases in the target polymer, the analysis only attributes typical values to the signal so that the sequence measured is composed of bases from the group of A, C, G and T.
[0268] For example, the above method is provided to demonstrate the preparation of a target polymer to be sequenced - the target polymer has a typical polymer unit and an atypical polymer unit. During the analysis of the measurement results of the target polymer - usually using machine learning techniques - the method attributes the measurement results of the atypical polymer unit to the measurement results of the corresponding corresponding typical polymer unit. This attribution can be applied at the base calling level and / or during the formation of a consensus region. The sequence of the target polymer can then be determined based on a series of analyzed measurement results.
[0269] In the preparation of a target polymer derived from a template or complement of an original polymer, a connection with an oligonucleotide such as a PCR fill-in or a connection is performed. In the target polymer, at least one of the template, complement or fill-in includes a typical polymer unit and an atypical polymer unit. Atypical bases are non-deterministically incorporated into the target polymer.
[0270] Although the examples herein can be applied to the analysis of all target polymers, the analysis can be additionally or alternatively selectively applied to specific regions of target polymers. For example, the determination of the target polymer sequence can be focused on a specific region having at least one of the following: (i) a specific interval determined as a signal of interest; (ii) a specific interval corresponding to a region of a polymer (e.g., a homopolymer) identified as being of interest; (iii) a simple repeating pattern of polymer units; and (iv) a region having a particularly biased composition of polymer units.
[0271] The determination of the sequence may be performed in more than one stage. By way of non-limiting example, the determination may focus on the identification of one repeating unit and then the identification of multiple repeating sequences.
[0272] The determination of the sequence of the complete target polymer or part thereof can be performed by considering a plurality of series of measurements, each of which is identified as being from a target polymer having the same typical sequence in the region of interest. The identification can be performed using techniques such as those described in WO13 / 121224, which is incorporated herein by reference in its entirety. The identification can be performed by performing an initial determination of the sequence of polymer units for each series of measurements.
[0273] Analyzing the series of measurements of a target polymer using machine learning techniques may require training, which requires considering training base callers in the field of machine learning that adapt to (i) incomplete knowledge of the ground truth sequence of each strand, and (ii) unknown alignments between input signals and output labels.
[0274] The incomplete knowledge of the ground truth sequence of each chain is the result of the non-deterministic presence and position of the alternative bases formed in the target polymer when the target polymer is synthesized by the original polymer. Even in the case where the two chains are complements synthesized by the same original molecule, the two chains are still different in the pattern of their typical bases and alternative bases, and when training, there is no "ground truth" sequence to use. In order to solve the difference between the target polymer in training, machine learning techniques are trained for typical sequences, i.e., the original polymer of the target polymer synthesized by it. The sequence of the typical bases in the common template chain (i.e., the original polymer) allows training base calling methods and still produces useful outputs that can be used in the application identical with traditional DNA sequencing technology.
[0275] Problems associated with unknown registration between input signal and output label can be referred to as "registration-free", and such registration-free training methods can provide benefits over conventional labeling strategies because an exact mapping of signal to sequence does not need to be specified. Without training using a registration-free method, an estimate of the registration between signal and label must be obtained, and then it is assumed that this registration is correct despite errors; such errors will then be trained into the machine learning method and result in a loss of base calling accuracy.
[0276] Obtaining an estimate of the registration may involve assuming that the registration proceeds in a regular manner, or by agreeing with the labels produced by a previously obtained model that has been constrained to invoke the correct sequence of labels. Further, such estimates may be further constrained using additional knowledge about the system, such as unique patterns of the signal or other markers.
[0277] The method may use a registration-free training approach, rather than training the model from an estimate of the registration, taking advantage of the described errors and problems associated therewith. The training may be performed by minimizing or approximately minimizing an objective function.
[0278] Given a score of how well a machine learning method predicts the sequence of each read of a target polymer (preferably a typical sequence of the target polymer), an appropriate objective function can be created by combining the scores, and this combination can be influenced by applying some functions. Functions that measure central tendency are preferred. Examples of such functions include: average score, sum of all scores, median score, adjusted mean score, weighted average score, weighted sum of score quantiles (L-estimator), M-estimator of position.
[0279] In the case where the alignment between the read and the typical sequence is known, an enhanced sequence of tags of the same length as the read can be created, consisting of tags when a new tag is to be emitted, or otherwise consisting of a "blank" state. This enhanced tag sequence is referred to as the "tag" of the read. The score of this tag can be calculated using one of many standard techniques in the art.
[0280] For example, a "read" can be scored by combining the scores of all possible tags that agree with a canonical sequence into a single score. Training with known or assumed known alignments is equivalent to an objective function that is a separate score for a specific tag.
[0281] The contribution of each individual score to the combined score can be weighted, and in the case where the weight is zero, calculation of the individual scores need not be performed, and thus the overall calculation requires fewer computational resources than if it were fully calculated. An example of how the weights can be efficiently assigned is to use non-zero weights only for those label assignments where the registration between the signal and the representative sequence remains completely within the defined region.
[0282] Alternatively, weights can be used to favor the assignment of labels whose measure is consistent with expectations of how the system should behave, such as the overall translocation rate of the chain through the pore or the local properties of the motor mechanics.
[0283] For several methods combined, dynamic programming techniques can be used to calculate the scores of reads in an efficient way without explicitly calculating a separate score for each possible label. An example of such an application of this dynamic programming is in the training of neural networks in the connectionist temporal classification (CTC) method for unsegmented sequence labeling [https: / / www.cs.toronto.edu / ~graves / icml_2006.pdf], and this method has been directly applied to nanopore sequencing through the Chiron base calling software [https: / / academic.oup.com / gigascience / article / 7 / 5 / giy037 / 4966989].
[0284] An example of an efficient way to sum over all markers may include a machine learning technique that predicts the weight W at each position of a read r r (s,t) or W for emitting a blank when in state s r (s, -), the weight exists between the position and the next position from state s to state t. The weights are normalized so that they are constant values over all possible combinations of labels (regardless of the typical sequence).
[0285] To combine the scores of all markers that are consistent with the typical sequence, the method can perform dynamic programming through a grid with reads on one axis and the typical sequence on the other axis. Each possible marker is equivalent to a monotonic path through this grid (strictly monotonic through the read axis, non-decreasing along the sequence axis).
[0286] Fig.19 How three such paths arise in a simple case is shown. The scores of all labels are accumulated using a strictly sequential advance through the frontier of read positions. Accumulation from one position in the read has two components: moving to the next position in the canonical sequence, with an associated weight, or staying at the same position, with a weight associated with a "gap". Assume c s is a label associated with the position s of the typical sequence, the combination score can be recursively calculated using two operators (oplus) and (otimes) as follows:
[0287]
[0288] Fig. 20 The progress of the calculation is shown diagrammatically.
[0289] In this framework, the score S(l) for a particular token l1,…,ln can be calculated by combining appropriate weights as:
[0290]
[0291] The operators oplus and otimes are logsumexp and ordinary sum respectively, where logsumexp is defined as:
[0292]
[0293] Alternatively, the operations used for combining can be maximum and summation; alternatively, the operators can be summation and multiplication; alternatively, the logsumexp operation can incorporate a sharpening factor:
[0294]
[0295] It is preferable to perform the numerically more stable but otherwise equivalent computation:
[0296]
[0297] When efficient computational methods are not available, the objective function can be approximated by numerical techniques or by simulation using Monte Carlo techniques or low-deviation series.
[0298] In order to train machine learning techniques, a typical sequence needs to be associated with each read from a representative set. Several methods can be used to identify the basic typical sequence of bases during the training process. In most cases, the identification of typical sequences can be strengthened by using additional information (such as comparison with a reference genome).
[0299] For example, the network can be initially trained using reads of chains prepared from a small number of unique DNA fragments for which canonical sequences are known and the origin of each read can be inferred from basic metrics such as total read length.
[0300] Alternatively, one can use 1D 2 Sequencing methods relate a strand to a canonical sequence, where the complementary strand contains only canonical bases, which are base called by established methods and then used to infer the canonical sequence of the strand containing the alternative bases.
[0301] Alternatively, given a basic base caller that functions well enough that the sequence of a strand can be identified, for example by alignment to a reference genome, these methods can be "boot strapped" to train more accurate base callers on a more diverse training set.
[0302] Alternatively, a strand comprising a lower proportion of alternative bases (e.g., a lower percentage of each base, and / or fewer substituted bases) can be used so that it can be identified with a base caller that is unaware of the modification. The resulting trained base caller can then be used to identify typical sequences of reads from strands containing a higher proportion of alternative bases, thereby training additional base callers. This process can be repeated with increasing proportions of alternative bases until the desired composition is reached.
[0303] In the case where the position of the alternative base is known to have good ground truth, the alternative base can be considered a typical base for the purposes of the disclosed method. In the case where the substitution of the alternative base varies on a strand-to-strand basis, a customized typical sequence can be used for each read in the training set.
[0304] As an alternative to training a machine learning method to estimate a typical sequence, a machine learning method can be trained to estimate the encoding of a typical sequence. Alternatively, a base calling method can be trained to estimate a related sequence, such as the amino acid sequence of a protein product that will be obtained from an mRNA strand.
[0305] The method may comprise determining the sequence of an original or natural polymer and wherein natural modifications are not invoked. This aspect of the method may be useful in situations where base modifications are present in the strand to be sequenced but the desired result is a typical base sequence.
[0306] Wherein said method is that advantageous example is for assembling the long chain sequencing of large genome and the parsing on complex repeating region.Natural DNA contains base modifications that are not typical bases, such as 5-methyl-cytosine or 6-methyl-adenine, and the existence and position of these modifications can vary from individual to individual, and in fact vary from cell to cell in the same individual.At present, it is impossible to use the long fragments of DNA replication technology such as PCR, which synthesizes the complementary chain containing only typical bases, so the sequencing of long fragments needs natural DNA as input.Natural DNA contains many alternative bases, including the possibility of bases that science does not know its existence, so the proposed technology is desirable for improving the estimated value of the typical sequence produced.
[0307] Another example would be RNA sequencing for the purpose of expression studies. Although it is possible to generate repeat chains containing only typical bases, the methods used to achieve this have biases that change the sample composition and therefore affect the quality of the study. Directly calling the bases of the native chain is desirable to avoid bias.
[0308] Depending on the composition of the training set used, the trained base calling method implicitly incorporates knowledge about the types of alternative bases that may be present in natural samples and the contexts in which they may occur, and this implicit knowledge is used to improve the estimates made for typical sequences. The effect of implicit knowledge can be enhanced by the nature of the training set: for example, a specific base caller can be trained on a set of organisms for which modification patterns are known to be predictable (e.g., methylation of CpGs in vertebrates).
[0309] Inspection of intermediate computations with a trained base caller (e.g., activation patterns in a neural network) can reveal where the network is using its implicit knowledge about alternative bases and therefore inferring their existence and location.
[0310] As described above, the accuracy of nanopore sequencing can be improved by analyzing polymers or chains including typical polymer units and atypical polymer units. As described below, the use of machine learning to improve base calling can be further improved by analyzing polymers having typical polymer units and atypical polymer units as described and claimed.
[0311] In the case of polypeptides, the polymer units may be naturally occurring or synthetic amino acids.
[0312] In the case of polysaccharides, the polymer units may be monosaccharides.
[0313] In particular, where the measuring system 2 comprises a nanopore and the polymer comprises a polynucleotide, the polynucleotide may be long, for example at least 5 kB (kilobases), i.e. at least 5,000 nucleotides; or at least 30 kB (kilobases), i.e. at least 30,000 nucleotides; or at least 100 kB (kilobases), i.e. at least 100,000 nucleotides.
[0314] The properties of the measurement system 2 and the obtained measurement results are as follows.
[0315] The measurement system 2 is a nanopore system comprising one or more nanopores. In a simplified version, the measurement system 2 has only a single nanopore, but more practical measurement systems 2 typically employ many nanopores in an array to provide parallel information collection.
[0316] Typically, measurements are taken during the translocation of the polymer relative to the nanopore through the nanopore. Thus, continuous measurements are derived from continuous portions of the polymer.
[0317] Nanopores are pores, typically of nanometer size, that can allow polymers to pass therethrough.
[0318] Properties that depend on the translocation of polymer units relative to the pore can be measured. The properties may be related to the interaction between the polymer and the pore. This interaction may occur in the constriction region of the pore.
[0319] The nanopore can be a biological pore or a solid-state pore. The size of the pore can be such that only one polymer can translocate the pore at a time.
[0320] The pore may be a DNA origami pore as described in WO2013 / 083983.
[0321] Where the nanopore is a biological pore, it may have the following properties.
[0322] The biological pore can be a transmembrane protein pore. The transmembrane protein pore used according to the present invention can be derived from a β-barrel pore or an α-helical bundle pore. The β-barrel pore includes a barrel or channel formed by a β-strand. Suitable β-barrel pores include, but are not limited to, β-toxins, such as α-hemolysin, anthrax toxin, and leukocidin; and bacterial outer membrane proteins / porins, such as Mycobacterium smegmatis porins (Msp), such as MspA, MspB, MspC, or MspD, lysin, outer membrane porin F (OmpF), outer membrane porin G (OmpG), outer membrane phospholipase A, and Neisseria autotransporter (NalP). α-helical bundle pores include barrels or channels formed by α-helices. Suitable α-helical bundle pores include, but are not limited to, inner membrane proteins and α outer membrane proteins, such as WZA and ClyA toxins. The transmembrane pore can be derived from Msp or from α-hemolysin (α-HL). The transmembrane pore can be derived from lysin. Suitable pores derived from lysenin are disclosed in WO2013 / 153359. Suitable pores derived from MspA are disclosed in WO-2012 / 107778. The pore may be derived from CsgG as disclosed in WO-2016 / 034591.
[0323] Biological pores may be naturally occurring pores or may be mutant pores. Typical pores are described in WO-2010 / 109197; Stoddart D et al., Proc Natl Acad Sci, 12; 106(19):7702-7; Stoddart D et al., Angew Chem Int Ed Engl. 2010; 49(3):556-9; Stoddart D et al., Nano Lett. 2010 Sep 8; 10(9):3633-7; Butler TZ et al., Proc Natl Acad Sci 2008; 105(52):20647-52; and WO-2012 / 107778.
[0324] The biological pore may be a biological pore of the type described in WO-2015 / 140535 and may have a sequence disclosed therein.
[0325] The biopore may be inserted into an amphiphilic layer such as a biomembrane, for example a lipid bilayer. An amphiphilic layer is a layer formed by amphiphilic molecules such as phospholipids, which have both hydrophilicity and lipophilicity. The amphiphilic layer may be a monolayer or a bilayer. The amphiphilic layer may be a coblock polymer as disclosed in Gonzalez-Perez et al., Langmuir, 2009, 25, 10447-10450 or WO2014 / 064444. Alternatively, the biopore may be inserted into a solid layer such as disclosed in WO2012 / 005857.
[0326] Suitable apparatus for providing a nanopore array is disclosed in WO-2014 / 064443. The nanopores may be provided across respective pores, wherein electrodes are provided in each respective pore, electrically connected to the ASIC, so as to measure the current flowing through each nanopore. Suitable current measuring apparatus may include a current sensing circuit as disclosed in PCT patent application No. PCT / GB2016 / 051319.
[0327] Nanopores may include holes formed in a solid layer, which may be referred to as solid-state holes. The holes may be wells, gaps, channels, grooves or slits provided in the solid layer, through which analytes may pass or enter the solid layer. Such solid layers are not of biological origin. In other words, the solid layer is not produced from a biological environment (such as an organism or cell) or a biologically usable structure in a synthetically manufactured form, nor is it isolated therefrom. The solid layer may be formed of organic and inorganic materials, including but not limited to microelectronic materials, insulating materials such as Si3N4, Al2O3 and SiO, organic polymers such as polyamide and inorganic polymers, such as Tefl The solid layer may be formed of graphene. Suitable graphene layers are disclosed in WO-2009 / 035647, WO-2011 / 046706 or WO-2012 / 138357. Suitable methods for preparing a row of solid pores are disclosed in WO-2016 / 187519.
[0328] Such solid-state pores are typically pores in a solid-state layer. The pores may be modified chemically or otherwise to enhance their properties as nanopores. Solid-state pores may be used in conjunction with additional components that provide alternatives to polymers or additional measurements, such as channel electrodes (Ivanov AP et al., Nano Express 2011 Jan 12; 11(1):279-85), or field effect transistor (FET) devices (such as disclosed in WO-2005 / 124888). Solid-state pores may be formed by known methods, including, for example, methods described in WO-00 / 79257.
[0329] In one type of measurement system 2, measurements of the ionic current flowing through the nanopore can be used. These or other electrical measurements can be performed using standard single-channel recording equipment, as described in: Stoddart D et al., Proc. Natl. Acad. Sci. USA, 12; 106(19):7702-7; Lieberman KR et al., J Am Chem Soc. 2010; 132(50):17961-72, and WO-2000 / 28312. Alternatively, electrical measurements can be performed using a multichannel system, such as described in WO-2009 / 077734, WO-2011 / 067559 or WO-2014 / 064443.
[0330] An ionic solution may be provided on either side of the membrane or solid state layer, which may be present in the corresponding compartment. A sample containing a polymer analyte of interest may be added to one side of the membrane and allowed to move relative to the nanopore, such as under a potential difference or chemical gradient. The measurements may be taken during the movement of the polymer relative to the hole, such as during the translocation of the polymer through the nanopore. The polymer may partially translocate the nanopore.
[0331] In order to measure when the polymer translocation passes through the nanopore, the translocation rate can be controlled by the polymer binding part. Generally, the part can make the polymer move through the nanopore together with the applied field or relative to the applied field. The part can be a molecular motor. In the case where the part is an enzyme, the molecular motor uses, for example, enzymatic activity or as a molecular brake. In the case where the polymer is a polynucleotide, many methods for controlling the translocation rate are proposed, including the use of polynucleotide binding enzymes. Suitable enzymes for controlling the polynucleotide translocation rate include but are not limited to polymerases, helicases, exonucleases, single-stranded and double-stranded binding proteins and topoisomerases (such as gyrase). For other polymer types, parts that interact with the polymer type can be used. The polymer interaction moiety may be any of those disclosed in WO-2010 / 086603, WO-2012 / 107778 and Lieberman KR et al., J. Am. Chem. Soc. 2010; 132(50): 17961-72, and for voltage gating schemes (Luan B et al., Phys. Rev. Lett. 2010; 104(23): 238103).
[0332] The polymer binding part can be used in a variety of ways to control polymer motion. The part can move the polymer through the nanopore together with the applied field or relative to the applied field. The part can be used as a molecular motor, and in the case where the part is an enzyme, the molecular motor uses, for example, enzymatic activity or as a molecular brake. The translocation of the polymer can be controlled by a molecular brake that controls the movement of the polymer through the hole. The molecular brake can be a polymer-bound protein. For polynucleotides, the polynucleotide binding protein is preferably a polynucleotide processing enzyme. The polynucleotide processing enzyme is a polypeptide that can interact with a polynucleotide and modify at least one of its properties. The enzyme can modify the polynucleotide by cutting the polynucleotide to form a single nucleotide or a shorter nucleotide chain (such as a dinucleotide or a trinucleotide). The enzyme can modify the polynucleotide by moving the polynucleotide toward or to a specific position. The polynucleotide handling enzyme does not need to show enzymatic activity, as long as it can bind to the target polynucleotide and control its movement through the hole. For example, the enzyme can be modified to remove its enzymatic activity or can be used under conditions that prevent it from acting as an enzyme. This condition is discussed in more detail below.
[0333] Preferred polynucleotide handling enzymes are polymerases, exonucleases, helicases and topoisomerases (such as gyrase). The nucleotide handling enzyme may be, for example, a polynucleotide handling enzyme of the type described in WO-2015 / 140535 or WO-2010 / 086603.
[0334] Translocation of the polymer through the nanopore can occur as cis to trans or trans to cis, with or relative to an applied potential. Translocation can occur under an applied potential, which can control the translocation.
[0335] The exonuclease that gradually or stepwise works on double-stranded DNA can be used on the cis side of the hole to supply the remaining single strand under the applied potential or to supply the trans side under the reverse potential. Similarly, the helicase that unwinds the double-stranded DNA can also be used in a similar manner. There is also the possibility of sequencing applications that need to resist the chain translocation of the applied potential, but DNA must first be "captured" by the enzyme under the opposite or no potential. As the potential is subsequently turned back after binding, the chain will pass through the hole in a cis-to-trans manner and be kept in an extended configuration by electric current. Single-stranded DNA exonucleases or single-stranded DNA-dependent polymerases can serve as molecular motors, and the molecular motors pull the recently translocated single strands back into the hole in a stepwise controlled manner (trans-to-cis, relative to the applied potential). Alternatively, single-stranded DNA-dependent polymerases can serve as molecular brakes that slow down the movement of polynucleotides through holes. Any of the moieties, techniques or enzymes described in WO-2012 / 107778 or WO-2012 / 033524 may be used to control polymer motion.
[0336] However, the measurement system 2 may be of an alternative type comprising one or more nanopores.
[0337] Similarly, the measurement may be of a type other than ion current measurement. Some examples of alternative types of measurements include, but are not limited to, electrical measurements and optical measurements. Suitable optical methods involving fluorescence measurements are disclosed in the Journal of the American Chemical Society 2009, 1311652-1653. Possible electrical measurements include: current measurements, impedance measurements, tunneling measurements (e.g., as disclosed in Ivanov AP et al., Nano Letters 2011 Jan 12; 11(1): 279-85) and FET measurements (as disclosed in WO2005 / 124888). Optical measurements may be combined with electrical measurements (Soni GV et al., Rev Sci Instrum. 2010 Jan; 81(1): 014301). The measurement may be a transmembrane current measurement, such as a measurement of the ion current flowing through a nanopore. The ion current may typically be a DC ion current, but in principle an alternative uses an AC current (i.e., the magnitude of the AC current flowing under an applied AC voltage).
[0338] In this article, the term "k-polymer" refers to a group of k polymer units, where k is a positive complex integer. In many measurement systems, the measurement result can depend on a portion of the polymer that is longer than a single polymer unit, such as a k-polymer, but the length of the k-polymer on which the measurement depends may be unknown. In many cases, the measurement results generated by k-polymers or polymer portions with different identities are indistinguishable.
[0339] In many types of measurement systems 2, the series of measurements can be characterized as comprising measurements from a series of events, where each event provides a set of measurements. The set of measurements from each event has similar levels, but there are some differences. This can be thought of as a noise step wave, where each step corresponds to an event.
[0340] Events may be of biochemical significance, e.g. caused by a given state or interaction of the measurement system 2. For example, in some cases, an event may correspond to the interaction of a specific portion of a polymer or k-mer with the nanopore, in which case the set of measurements depends on the same portion of the polymer or k-mer. In some cases, this may be caused by the translocation of a polymer through the nanopore occurring in a braked manner.
[0341] Within the limits of the measurement sampling rate and the noise on the signal, the transitions between states can be considered instantaneous, and the signal can therefore be approximated by an idealized step trajectory. However, when the translocation rate is close to the measurement sampling rate (e.g., measurements are acquired at 1, 2, 5, or 10 times the translocation rate of the polymer units), this approximation may not hold as well as it does for slower sequencing speeds or faster sampling rates.
[0342] Furthermore, there is usually no a priori knowledge of the number of measurements in a group, which varies unpredictably.
[0343] These two variance factors and the lack of knowledge of the number of measurements may make it difficult to distinguish some groups, for example if the groups are short and / or the levels of measurements of two consecutive groups are close to each other.
[0344] The set of measurements corresponding to each event will typically have a level that is consistent over the time scale of the event, but will vary over short time scales for most types of measurement systems2.
[0345] Such variations may be caused by measurement noise, for example generated by circuits and signal processing, especially from amplifiers in the specific case of electrophysiology. Due to the nature of measuring small amplitudes, such measurement noise is unavoidable.
[0346] Such changes may also be caused by intrinsic changes or diffusion in the underlying physical or biological system of the measurement system 2, such as changes in interactions that may be caused by changes in the conformation of the polymer.
[0347] Most types of measurement systems 2 will experience this inherent variation to a greater or lesser extent. For any given type of measurement system 2, both sources of variation may contribute, or one of these noise sources may dominate.
[0348] As the sequencing rate (i.e. the rate at which polymer units translocate relative to the nanopore) increases, then events may become less distinct and therefore more difficult to identify or may disappear. Thus, analytical methods that rely on event detection may become less efficient as sequencing rates increase.
[0349] Increasing the measurement sampling rate can compensate for the difficulty of measuring the transition, but this faster sampling usually comes with a loss of signal-to-noise-ratio.
[0350] The method described below is effective even at relatively high sequencing rates, wherein the series of measurements are obtained at a rate of at least 10 polymer units per second (preferably 100 polymer units per second, more preferably 500 polymer units per second or more preferably 1000 polymer units per second).
[0351] Analysis system 3 will now be considered.
[0352] In this article, reference is made to the posterior probability vector and matrix of the "posterior probability" representing different polymer unit sequences or different variations of polymer unit sequences. The value of the posterior probability vector and matrix can be an actual probability (that is, a value that sums to one) or can be a weight or weighting factor, which is not an actual probability but still represents a posterior probability. Typically, in the case where the value of the posterior probability vector and matrix is expressed as a weight or weighting factor, considering the normalization of the weight or weighting factor, in principle, probability can be measured from the two. This determination can take into account multiple time steps. By way of non-limiting example, two methods referred to as local normalization and global normalization are described below.
[0353] Similarly, the reference represents a score of the probability of the series of polymer units being measured as the reference series of polymer units. In the same way, the value of the score can be an actual probability or can be a weight that is not an actual probability but still represents the probability of the series of polymer units being measured as the reference series of polymer units.
[0354] The analysis system 3 may be physically associated with the measurement system 2 and may also provide control signals to the measurement system 2. In such a case, the nanopore measurement and analysis system 1 comprising the measurement system 2 and the analysis system 3 may be arranged as disclosed in any one of WO-2008 / 102210, WO-2009 / 07734, WO-2010 / 122293, WO-2011 / 067559 or WO2014 / 04443.
[0355] Alternatively, the analysis system 3 may be implemented in a separate device, in which case the series of measurements are transmitted from the measurement system 2 to the analysis system 3 by any suitable means, typically a data network. For example, a convenient cloud-based embodiment is for the analysis system 3 to be a server to which the input signal 11 is provided via the Internet.
[0356] The analysis system 3 may be implemented by a computer device executing a computer program, or may be implemented by a dedicated hardware device or any combination thereof. In either case, the data used by the method is stored in a memory of the analysis system 3.
[0357] In the case of a computer device executing a computer program, the computer device may be any type of computer system, but is generally of conventional construction. The computer program may be written in any suitable programming language. The computer program may be stored on any type of computer-readable storage medium, such as: a recording medium that can be inserted into a drive of a computing system and that can store information magnetically, optically or magneto-optically; a fixed recording medium of a computer system, such as a hard drive; or a computer memory.
[0358] Where the computer apparatus is implemented by dedicated hardware devices, any suitable type of device may be used, such as an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit).
[0359] The method using the nanopore measurement and analysis system 1 is performed as follows.
[0360] First, the series of measurements are acquired using the measurement system 2. For example, the polymer is translocated relative to the pore (e.g., through the pore), and the series of measurements are acquired during the polymer translocation. The polymer can be translocated relative to the pore by providing conditions that allow the polymer to translocate, so the translocation can occur spontaneously.
[0361] Secondly, the analysis system 3 performs a method of analyzing the series of measurements, which will now be described. First the basic method will be described, and then some modifications to the basic method will be made.
[0362] The basic method analyzes the series of measurements using a machine learning technique, in this example a recursive neural network. The parameters of the recursive neural network are taken during training as described further below, and the recursive neural network is therefore not dependent on the measurements being in any particular form or on the measurement system 2 having any particular properties. For example, the recursive neural network is not dependent on measurements that depend on k-mers.
[0363] The basic approach uses event detection as follows.
[0364] The basic method processes the input as a series of events that have been determined from measurements (raw signals) from the measurement system 2. The method therefore comprises the initial steps of identifying groups of consecutive measurements in the series of measurements as belonging to a common event and deriving a feature vector comprising one or more feature quantities from each identified group of measurements, as follows.
[0365] The raw samples were segmented into events using the same method as described in WO 2015 / 140535, but the underlying method is not believed to be sensitive to the exact segmentation method.
[0366] However, for the sake of completeness, the following reference Figure 2 Describes an outline of the segmentation process that can be applied. Figure 2 A graph is shown of the original signal 20 comprising the series of measurements, having step-like "event" behavior, a sliding pair of windows 22, a series of paired t-statistics 23 calculated from the original signal 20 showing local peaks, and a threshold 24 (dashed line) and a set of event boundaries 25 corresponding to the peaks.
[0367] Groups of consecutive measurements are identified as belonging to a common event as follows. A pair of consecutive windows 21 are slid across the original signal 20 and at each position a paired t statistic is calculated as to whether the samples (measurements) in one window 21 have means different from each other, giving a series of statistics 23. Peaks 23 in the series of statistics 23 corresponding to significant differences in the initial original signal 20 levels are located using a thresholding technique for a threshold 24, the significant differences being considered event boundaries 25, and the locations of the peaks 23 are then determined using a standard peak finding procedure, thereby identifying events in a series of measurements of the original signal 20.
[0368] Each event is summarized by deriving from each identified set of measurements one or more sets of features describing its essential properties. Three examples of features that may be used are as follows and in Figure 3 It is schematically shown in:
[0369] Level L: A measure of the average current of the event, usually the mean, but can be the median or a related statistic.
[0370] • Variation V: How far the samples are from a central level, usually the standard deviation or variance of the events. Other alternatives include the median absolute deviation or the mean deviation from the median.
[0371] Length (or dwell) D: Duration of the event, which can be the number of samples or seconds.
[0372] Generally, any one or more feature quantities may be derived and used. The one or more feature quantities include feature vectors.
[0373] As with any analysis of a noisy process, segmentation can be erroneous. Event boundaries can be missed, resulting in events with multiple levels, or additional boundaries can be created where none exist. It has been found that over-segmentation, choosing to increase false boundaries rather than lose true boundaries, leads to better base calls.
[0374] A feature vector including one or more feature quantities is operated by the following recursive neural network.
[0375] The basic input to the basic method is a set of temporal feature vectors corresponding to events found during segmentation. It is standard practice for most machine learning programs to normalize the input features to help stabilize and speed up the training process, but the basic method has two significant differences: first, due to the presence of significant outliers, Student normalization (centered around the mean and scaled by the standard deviation) is used instead of the more common linear function normalization (min-max scaling); the second and more important change is that the scaling is done on a per-read basis, rather than calculating the scaling parameters on all training data and then fixing them.
[0376] Other alternatives to linear function normalization designed for emphasizing extreme values may also be applied. Examples of such approaches are linear function normalization whose parameters are determined after clipping the lowest and highest x% of values, or after scaling based on the median and the absolute deviation from the median.
[0377] The reason for deviating from the standard training protocol is to help generalize the network to the variation between devices that will be encountered in the field. Although the number of reads that can be trained is very large, time and cost considerations mean that they are from a small number of devices, and therefore the training run conditions represent a small fraction of what may be encountered in the field. Per-read normalization helps the network generalize, but may reduce accuracy.
[0378] A fourth "delta" feature derived from the other features is also used as an input to the basic method, which is intended to represent the difference between adjacent events and thus indicate whether there is a true level change or whether the segmentation is incorrect. The exact description of the delta feature varies between different implementations of the basic method and some implementations are listed below, but the intent of the feature remains the same.
[0379] Absolute difference of levels, followed by normalization.
[0380] Squared differences of levels followed by normalization.
[0381] Horizontal differences, followed by partial normalization (scaling but not centering).
[0382] The basic approach uses a deep neural network consisting of multiple bidirectional recurrent layers with subsampling. An overview of the architecture of a recurrent neural network 30 that can be implemented in the analysis system 3 is given in Figure 4 , which highlights a number of features that differ from the analysis performed using an HMM.
[0383] In general, the recurrent neural network 30 includes: a window layer 32, which performs windowing on input events; a bidirectional recurrent layer 34, which iteratively processes its input in both forward and backward directions; a feedforward layer 35, which can be configured as a subsampling layer to reduce the dimensionality of the recurrent neural network 30; and a softmax layer 36, which performs normalization using a softmax process to produce an output that can be interpreted as a probability distribution over symbols. The analysis system 3 further includes a decoder 37, to which the output of the recurrent neural network 30 is fed and which performs the subsequent decoding steps.
[0384] Specifically, the recurrent neural network 30 receives an input feature vector 31 and passes it through a window layer 32, which windows the input feature vector 31 to derive a windowed feature vector 33. The windowed feature vector 33 is provided to a stack of multiple bidirectional recurrent layers 34. Therefore, the impact of each input event is propagated at least twice through all steps of the model represented in the recurrent neural network 30, with the second pass being informed by the first. This dual bidirectional architecture allows the recurrent neural network 30 to accumulate and propagate information in a way that is not available to the HMM. One result of this is that the recurrent neural network 30 does not require an iterative process to scale the model to the read segments.
[0385] In this example, two bidirectional recurrent layers 34 (distinctly designated 34 - 1 and 34 - 2 ) are shown, each followed by a feed-forward layer 35 (distinctly designated 35 - 1 and 35 - 2 ), but in general there may be any number of bidirectional recurrent layers 34 and subsequent feed-forward layers 35 .
[0386] The output of the final feed-forward layer 35-2 is provided to a softmax layer 36 which produces an output representing the posterior probabilities, which are provided to a decoder 37. The nature of these posterior probabilities and the processing of the decoder 37 are described in more detail below.
[0387] By comparison, the HMM 50 can be described in a form similar to a neural network, such as Figure 5 As shown. The HMM 50 contains an input single event, no window and incremental features, and includes: a forward-backward layer 54, into which the feature vector 51 is fed and which performs forward and backward passes of the network with tightly coupled parameters; an add-combination layer 55, into which the output of the forward-backward layer 54 is fed and which performs subsampling by adding the output of the forward and backward passes element by element; a normalization layer 56, which performs normalization to produce an output that can be interpreted as a probability distribution over symbols; and a decoder 57 that performs a subsequent decoding step.
[0388] Since they assume that the emissions of the HMM 50 are completely described by the hidden states, the HMM 50 cannot accept windowed inputs, nor can it accept features like deltas, since the inputs to any one event are assumed to be statistically independent of the knowledge of the other given hidden states (although this assumption can optionally be relaxed by using extensions such as autoregressive HMMs). The HMM for the nanopore sequence estimation problem does not directly apply the Viterbi algorithm to decode the most likely sequence of states, but rather proceeds through a classical forward / backward algorithm in a forward-backward layer 52 to compute the posterior probability of each hidden label for each event, followed by an additive Viterbi-like decoding step in the decoder 57 to determine the hidden state. This approach is referred to in the literature as post-Viterbi and tends to produce estimated sequences that correctly assign a greater proportion of states than Viterbi, but still form consistent paths.
[0389] Table 1 summarizes the key differences between how comparable layers are used in this approach and the base approach to provide a comparison of similar layer types in the HMM 50 architecture with the base approach, thereby highlighting the increased flexibility given by the neural network layers used in the base approach.
[0390] Table 1:
[0391]
[0392] While there are the same number of column outputs as events, it is incorrect to assume that each column is identified by a single event in the network input, since the contents of each column may be informed by the entire set of input events due to the presence of the bidirectional layer. Any correspondence between input events and output columns is achieved by labeling them with symbols from the training set.
[0393] The bidirectional recurrent layer 34 of the recurrent neural network 30 can use several types of neural network units, as described below. The unit types fall into two major categories, depending on whether they are "recursive". While non-recursive units process each step in a sequence independently, recursive units are designed to be used in a sequence and pass the state vector from one step to the next. To schematically illustrate the difference between non-recursive units and recursive units, Figure 6 A non-recursive layer 60 of non-recursive units 61 is shown and Figures 7 to 9 Three different layers 62 to 64 of corresponding non-recursive units 64 to 66 are shown. Figures 6 to 9 In each figure of , the arrows show the connection of vectors, the split arrows are duplicated vectors and the combined arrows are concatenated vectors.
[0394] exist Figure 6 In the non-recursive layer 60, the non-recursive units 61 have separate inputs and outputs that are not split or concatenated.
[0395] Figure 7 The recursive layer 62 is a unidirectional recursive layer in which the output vector of the recursive unit 65 is split and passed unidirectionally to the next recursive unit 65 in the recursive layer.
[0396] Although Figure 8 and Fig. 9 The bidirectional recursive layers 63 and 64 are not discrete units themselves, but each has a repeating unit-like structure made of simpler recursive units 66 and 67, respectively.
[0397] exist Figure 8 In the bidirectional recursive layer of the embodiment, the bidirectional recursive layer 63 is composed of two sublayers 68 and 69 of the recursive unit 66, which are Figure 7 The forward sublayer 68 has the same structure as the unidirectional recursive layer 62 and has the same Figure 7 The backward sublayer 69 has the opposite structure of the unidirectional recurrent layer 62, as if time is reversed, thereby passing the state vector from one unit 66 to the previous unit 66. Both the forward sublayer 68 and the backward sublayer 69 receive the same input, and their outputs from the corresponding units 66 are concatenated together to form the output of the bidirectional recurrent layer 63. Note that there is no concatenation between any unit 66 in the forward sublayer 68 and any unit in the backward sublayer 69.
[0398] Similarly, Fig. 9 The alternative bidirectional recursive layer 64 consists of two sub-layers 70 and 71 of recursive units 67, which are Figure 7 The forward sublayer 68 has the same structure as the unidirectional recursive layer 62 and has the same Figure 7The backward sublayer 69 has the opposite structure of the unidirectional recurrent layer 62, as if time is reversed. Again, the forward sublayer 68 and the backward sublayer 69 receive the same input. However, unlike Figure 8 In contrast to the bidirectional recurrent layer of , the output of the forward sublayer 68 is the input of the backward sublayer 69 and the output of the backward sublayer 69 forms the output of the bidirectional recurrent layer 64 (the forward sublayer 68 and the backward sublayer 69 may be reversed).
[0399] Fig. 9 A generalization of the bidirectional recurrent layer shown in would be a stack of recurrent layers consisting of multiple “forward” and “backward” recurrent sub-layers, where the output of each layer is the input to the next layer.
[0400] Figure 3 The bidirectional recursive layer 34 can be used Figure 8 and 9 The form of any one of the bidirectional recursive layers 63 and 64. Typically, Figure 3 The bidirectional recursive layer 34 can be composed of non-recursive layers (such as Figure 6 A non-recursive layer 60) or a unidirectional recursive layer (e.g. Figure 7 ’s recursive layer 62), but improved performance is achieved by using a bidirectional recursive layer 34.
[0401] The feed-forward layer 35 will now be described.
[0402] The feed-forward layer 35 includes a feed-forward unit 38 that processes the corresponding vector. The feed-forward unit 38 is a standard unit in a classical neural network that applies an affine transformation to the input vector and then applies a nonlinear function element by element. The feed-forward layers 35 all use the hyperbolic tangent of the nonlinear function, but many others can be used with little change in the overall accuracy of the network.
[0403] If the input vector at step t is I t , and the weight matrix and bias of the affine transformation are A and b respectively, then the output vector O t for:
[0404] y t =AI t +b affine transformation
[0405] O t =tanh(y t ) Nonlinear
[0406] The output of the final feed-forward layer 35 is fed to a softmax layer 36 comprising a softmax unit 39 which processes the corresponding vector.
[0407] The purpose of the softmax unit 39 is to transform the input vector into something that can be interpreted as a probability distribution over the output symbols, with a 1:1 association between the elements of the output vector and the symbols. An affine transformation is applied to the input vector, which is then exponentiated element-wise and normalized so that the sum of all its elements is one. Exponentiation guarantees that all entries are positive, and thus normalization produces a valid probability distribution.
[0408] If the input vector at step t is I t , and the weight matrix and bias of the affine transformation are A and b respectively, then the output vector O t for:
[0409] y t =AI t +b affine transformation
[0410] Exponentiation
[0411] O t =z t / 1′z t Normalization
[0412] where 1′ is the transpose of a vector whose elements are all equal to unit value, so 1′x is just the (scalar) sum of all elements x.
[0413] The output of the network is normalized locally at each time step using a softmax layer 36. Alternatively, the recurrent neural network 30 can be globally normalized across all time steps so that the sum of all possible output sequences is unity. Global normalization is strictly more expressive than local normalization and avoids a problem known in the art as the "labeling bias problem."
[0414] The advantage of using global normalization over local normalization is similar to the advantage that conditional random fields (Lafferty et al., Conditional Random Fields: Probabilistic Models for Segmenting and Labeling Sequence Data, Proceedings of the International Conference on Machine Learning, June 2001) have over maximum entropy Markov models (McCallum et al., Maximum Entropy Markov Models for Information Extraction and Segmentation, Proceedings of ICML, 2000, 591–598. Stanford, CA, 2000). The labeling bias problem affects models that allow sparse transition matrices between states, such as the extension of polymer sequences.
[0415] With local normalization, the transition probabilities of each source state will be normalized to one, which causes states with the fewest feasible transitions to get high scores, even if they do not match the data. This creates a bias towards selecting states with a small number of feasible transitions.
[0416] Global normalization alleviates this problem by normalizing over the entire sequence, allowing transitions at different times to be interchanged. Global normalization is particularly beneficial for avoiding biased estimates for homopolymers and other low-complexity sequences, since these sequences may have a different number of allowed transitions (which may be more or less, depending on the model) than other sequences.
[0417] The non-recursive unit 62 and the recursive units 65 to 67 process each event independently, but may be replaced by long short-term memory units of a form which will now be described.
[0418] The long short-term memory (LSTM) cell was introduced in Hochreiter and Schmidhuber, "Long short-term memory", Neural Computation, 9(8):1735–1780, 1997. The LSTM cell is a recursive cell and therefore passes a state vector from one step in the sequence to the next. The LSTM is based on the notation that the cell is a memory cell: a hidden state containing the contents of the memory is passed from one step to the next and the hidden state is operated on through a series of gates that control memory updates. One gate controls whether each element of the memory is erased (forgotten), another gate controls whether it is replaced by a new value, and a final gate determines whether to read from the memory and output. The binary on / off logic gates of the conceptual computer memory cell are replaced by conceptual probabilities generated by a sigmoid function and the contents of the memory cell represent expected values, which makes the memory cell differentiable.
[0419] A standard implementation of an LSTM is described first, and then a "peephole" modification actually used in the basic approach is described.
[0420] The standard LSTM is as follows.
[0421] The probabilities associated with different operations on the LSTM unit are defined by the following system of equations. t Set as the input vector of step t, O t is the output vector, and sets the affine transformation indexed by x to have bias b x and the bias matrices W for the input and previous output respectively xI and W xO ;_ is a nonlinear S-shaped transformation.
[0422] f t =_(W fI I t +W fO O t-1 +b f ) Forgetting probability
[0423] u t =_(W uI I t +W uO O t-1 +b u ) Update probability
[0424] o t =_(W oI I t +W oO O t-1 +b o) Output probability
[0425] Given the update vector defined above and setting the operator _ to represent element-wise (Hadamard) multiplication, the equation for updating the internal state St and determining the new output is:
[0426] v t =tanh(W vI I t +W vO O t-1 +b v ) with the following updated values
[0427] S t =S t-1 _f t +v t _u t Update memory cell
[0428] Ot=tanh(s t )_o t Reading from a memory cell
[0429] The peephole is modified as follows.
[0430] The "peephole" modification (Gers and Schmidhuber, 2000) adds some additional connections to the LSTM architecture that allow the forgetting probability, update probability, and output probability to "peek" into (or be informed by) the hidden state of the memory cell. The update equation for the network is as above, but with P x Set to a “peek” vector of length equal to the hidden state, the three equations for the probability vector become:
[0431] f t =_(W fI I t +W fO O t-1 +b f +P f_ S t-1 ) Forgetting probability
[0432] u t =_(W uI I t +W uO O t-1 +b u +P u_ S t-1 ) Update probability
[0433] o t =_(W oI I t +W oO O t-1 +bo +P o_ S t ) Output probability
[0434] The non-recursive unit 62 and the recursive units 65 to 67 may alternatively be replaced by a gated recursive unit having the following form.
[0435] Gated recurrent units (GRUs) have been found to run faster, but were initially found to produce poorer accuracy. The architecture of a GRU is not as intuitive as an LSTM which eliminates the separation between hidden states and outputs and also incorporates "forget" and "input gates".
[0436] o t =_(W oI I t +W oS S t-1 +b o ) Output probability
[0437] u t =S t-1 _(W uI I t +W uS S t-1 +b u ) Update according to the status
[0438] v t =tanh(W vI I t +W vR u t +b v ) with the following updated values
[0439] St=(1-o t )_S t-1 +o t_ v t Update Status
[0440] The HMM can be described as a neural unit as follows.
[0441] Although not used in the basic method, for completeness, this article describes how to describe the forward (backward) HMM algorithm using the recurrent neural network framework. The form in which the output is in logarithmic space is shown. The HMM is described by its transition matrix T and the log density function parameterized by _. The log density function takes the input features and returns a vector of log probabilities of those features conditioned on the hidden state, with the exact form of the function specified by the parameter _.
[0442] o t =_(I t ;_) Long density function
[0443] et =exp_(S t-1 ) Indexation
[0444] f t =T′e t Conversion
[0445] S t =o t +log f t Update Status
[0446] As described above, the recurrent neural network 30 generates outputs representing a posteriori probabilities which are provided to the decoder 37. In the basic approach, the output is a plurality of a posteriori probability vectors, each representing a posteriori probabilities for a plurality of different polymer unit sequences. Each complex a posteriori probability vector corresponds to a respective identified set of measurement results (events).
[0447] Decoder 37 derives estimates of a sequence of polymer units from the posterior probability vector, as described below.
[0448] The complex posterior probability vector can be viewed as a matrix with a column for each step, each column being a probability distribution over a set of symbols representing k-mers of a predetermined length and optionally being an additional symbol representing bad data (see "Handling bad events as described below" below). Since the k-mers of adjacent steps will overlap, a simple decoding process (such as "argmax") that selects the k-mer with the maximum probability at each step and concatenates the results will result in a poor estimate of the underlying template DNA sequence. There are good methods (such as the Viterbi algorithm) for finding a sequence of states that maximizes the total score, which is limited by the types of transitions between states that may occur.
[0449] If the multiple posterior probability vectors are matrices, where the probability assigned to state j at step t is p tj And there is a set of transition weights for moving from state i to state j_ i_j , then the Viterbi algorithm finds the sequence of states that maximizes the score.
[0450]
[0451] The Viterbi algorithm first iterates from the beginning to the end of the network output. Depending on whether step i ends in state j, the element f of the forward matrix ij represents the score of the best sequence of states; if step i is in state j, then element b of the backward matrix ij Save the previous state.
[0452] f 0s =0
[0453]
[0454] b is = argmax j_j_s +f i-1,j
[0455] The best overall score can be determined by finding the largest element in the last column T of the forward matrix; iteratively searching for the sequence of states that achieves this score from the end to the beginning of the network output.
[0456] s T = argmax s f Ts
[0457]
[0458] The transition weights define the allowed transitions between states, with a weight of negative infinity disallowing the transition at all and negative values being interpreted as a penalty for inhibiting said transition. The "argmax" decoding described previously is equivalent to setting all transition weights to zero. In cases where there are many disallowed transitions, the runtime can be substantially improved by performing the computation in a sparse manner, so that only allowed transitions are considered.
[0459] After applying the Viterbi algorithm, each column output of the network is labeled with a state representing a k-mer (a posteriori probability vector), and this set of states is consistent. The maximum overlap of the sequence of k-mers represented by the symbol forms an estimate of the template DNA sequence, and the conversion weights ensure that the overlap is consistent. The maximum overlap is sufficient to determine the fragments of the estimated DNA sequence, but there are cases such as homopolymers or repeated dimers, where the overlap is ambiguous and a priori information must be used to eliminate the ambiguity of the possibility. For the present nanopore device, event detection is parameterized to over-segment the input, and therefore the most likely overlap in ambiguous cases is the most complete.
[0460] Adverse events were handled as follows.
[0461] The base method is issued on an alphabet containing additional symbols that are trained to mark bad events that are considered to have no useful information for the base call. Using a process such as determining whether a "bad" symbol is the symbol with the highest probability assigned to it, or by thresholding the assigned probabilities, the event is marked as bad and the corresponding column is removed from the output. The bad symbols are removed from the remaining columns and then individually renormalized to form a probability distribution over the remaining symbols. Decoding is then performed as described above.
[0462] The recurrent neural network is trained for a particular type of measurement system 2 using techniques conventional per se and using training data in the form of a series of measurements of known polymers.
[0463] Some modifications to the basic approach will now be described.
[0464] The first modification involves omitting event calling. Having to explicitly segment the signal into events leads to a number of problems with the underlying calling: events are missed or over-called due to incorrect segmentation, the types of event boundaries that can be detected depend on the filters that have been specified, the form of the summary statistic used to represent each event is pre-specified, and information about the uncertainty of event calling is not propagated into the network. As sequencing speeds increase, the concept of an event with a single level becomes unsound, the signal becomes blurred due to the use of integrating amplifiers, and many samples span multiple levels, so different methods can be used to find alternative informative features based on the original signal.
[0465] Therefore, a first modification is to omit the event call and instead perform convolution on the successive measurements in successive windows of the series of measurements to derive a feature vector for each window, regardless of any events that may be evident in the series of measurements. A recurrent neural network then operates on the feature vector using the described machine learning techniques.
[0466] Thus, a fixed length window of measurements (possibly overlapping) is processed into a feature vector comprising a plurality of features which are then combined by a recurrent neural network and an associated decoder to produce an estimate of the polymer sequence. The output posterior probability matrix corresponding to a corresponding measurement or a corresponding group of a predetermined number of measurements thus depends on the degree of downsampling in the network.
[0467] Fig.10 An example of the first modification is shown. Specifically, Fig.10 A graph of a raw signal 20 comprising a series of measurements is shown, as well as an input stage 80 which may be arranged in front of the above-described recurrent neural network 30 .
[0468] The input stage 80 feeds the measurements in the overlapping windows 81 into a feature detector unit 82. Thus, the original signal 20 is processed in fixed length windows by the feature detector unit 82 to produce a feature vector for the features of each window, the features taking the same form as described above. The same feature detection unit is used for each window. The resulting series of feature vectors are sequentially fed into the recurrent neural network 30 arranged as described above to produce a sequence of estimates.
[0469] The feature detector unit 82 is trained together with the recurrent neural network 30.
[0470] An example of a feature detector implemented in the feature detector unit 82 is a single-layer convolutional neural network defined by an affine transformation with weights W and bias b and an activation function g.t-j:t+k represents a measurement result window including the original signal 20 containing the measurement results from tj to t+k, and O t is the output feature vector.
[0471] y t =AI t-j:t+k +b affine transformation
[0472] O t =g(y t )activation
[0473] Hyperbolic tangent is a suitable activation function, but many more alternatives are known in the art, including but not limited to: rectified linear unit (ReLU), exponential linear unit (ELU), softplus unit and sigmoid unit.Multilayer neural networks can also be used as feature detectors.
[0474] As mentioned above, a disadvantage of a direct convolutional network is that there is a dependency on the exact location of the features detected in the original signal, and this also implies a dependency on the spacing between features. This dependency can be mitigated by using the output sequence of feature vectors produced by the first convolution as input in a second "merging" network that acts on the order statistics of the input.
[0475] For example, in the case where the merge network is a single-layer neural network, the following equation describes how the output is related to the input vector. Set f to the exponential of the input features, so A f is the weight matrix for feature f, and S is set to a function that returns some or all of the order statistics of its input:
[0476]
[0477] O t =g(y t ) activation
[0478] A useful and computationally efficient example of such a layer is to return a feature vector with the same number of input features and whose elements are the maximum values obtained for each corresponding feature. M is set to return only the last order statistic as the maximum value obtained among its inputs, and to f Set to a (single-column) matrix consisting entirely of zeros rather than unit values at its (f,1) element:
[0479]
[0480] O t =y t Activation not applied
[0481] Since the matrix Uf is very sparse, and for computational efficiency reasons, the matrix multiplication can be performed implicitly: in this paper, ∑ f U f x f The function is to set the element f of the output feature vector to x f .
[0482] Convolutions and / or pooling can be performed by computing their outputs only for every nth position (a stride of n) and thus downsampling their outputs. Downsampling can be advantageous from a computational perspective because the rest of the network must process fewer blocks (faster computation) to achieve similar accuracy.
[0483] Adding a stack of convolutional layers solves many of the problems described above: feature detections learned via convolutions can be used both as nanopore-specific feature detectors and as summary statistics without making any additional assumptions about the system; feature uncertainty is passed to the rest of the network via the relative weights of different features, and further processing can therefore take this information into account, leading to more accurate predictions and quantification of uncertainty.
[0484] The second modification concerns the output of the recurrent neural network 30 and may optionally be combined with the first modification.
[0485] A potential problem with decoding the output of the basic method implemented in a recurrent neural network 30 is that once the highest scoring path through the k-mers is determined, the estimate of the polymer sequence is still determined by overlap, and this process can be ambiguous.
[0486] To highlight the problem, consider the case where the history is moving through a homopolymer region: all overlaps between two k-mers are possible, and several overlaps are feasible, e.g., corresponding to additional sequence fragments of length zero, one, or two bases. Strategies that rely on k-mers only partially solve the sequence estimation problem.
[0487] Therefore, the second modification is to modify the output of the recurrent neural network 30 representing the posterior probabilities provided to the decoder 37. Specifically, the ambiguity is resolved by abandoning the assumption that the decoding is k-mers and thus not outputting a posterior probability vector representing the posterior probabilities of multiple different polymer unit sequences. Instead, there are output posterior probability matrices, each of which represents: the posterior probabilities of multiple different changes of the corresponding historical sequence of polymer units corresponding to the measurement results before or after the corresponding measurement result, resulting in a new polymer unit sequence, as will now be described.
[0488] The historical sequence of polymer units is the possible identity of the sequence that has historical significance for the sequence currently being estimated, and the new sequence of polymer units is the possible identity of the sequence currently being estimated for different possible changes of the historical sequence. The posterior probabilities of different changes from different historical sequences are derived, and thus a matrix is formed, with one dimension in the space representing all possible identities of the historical sequence and another dimension in the space representing all possible changes.
[0489] Although the term "history" is used, the historical sequence of polymer units corresponds to measurements before or after the corresponding measurement, since the processing is effectively reversible and can be performed in either direction along the polymer.
[0490] Possible changes that might be considered are:
[0491] • Removing a single polymer unit from the beginning or end of a historical sequence of polymer units, and adding a single polymer unit to the end or beginning of a historical sequence of polymer units.
[0492] • Removing two or more polymer units from the beginning of the historical sequence of polymer units, and adding two or more polymer units to the end of the historical sequence of polymer units.
[0493] Empty changes.
[0494] This will now be considered in more detail.
[0495] The second modification will be referred to herein as implementing a "transducer" at the output stage of the recurrent neural network 30. In general, the input to the transducer at each step is a posterior probability matrix containing values representing posterior probabilities, where the bit positions may be weights, each weight associated with moving from a particular history state using a particular move state. A second predetermined matrix specifies the destination history state given a source history state and a move state. Thus, the decoding of the transducer implemented in the decoder 37 can find the assignment for each step (history state, move state) that maximizes the weight, which depends on the path for which the history state is consistent, with consistency being defined by the matrix of allowed moves.
[0496] By way of explanation, Fig.11 It is shown how the output of the recurrent neural network input to the decoder 36 is generated in the form of a posterior probability matrix 40 from the feature vector 31 input to the recurrent neural network 30. Fig.12 An example of the result of decoding into a tuple of history state 41 and move state 42 when the space of history state is a 3-mer and the space of move state 42 is a sequence fragment is shown. Specifically, Fig.12Four consecutive history states 41 and movement states 42 are shown, and it can be seen how the history state 41 changes according to the changes represented by the movement state 42.
[0497] The second modification provides benefits over the basic approach because in some cases the historical state 41 (which is considered singular in the basic approach) is ambiguous for a series of polymer units, whereas the mobile state 42 is not ambiguous. By way of illustration, Fig.13 Some sample cases are shown where considering only the overlap between states on the highest scoring path (similar to the basic approach) leads to ambiguous estimates for a sequence of polymer units, whereas the sequence segment of mobile states 42 used in the second modification is unambiguous.
[0498] Modifications to the Viterbi algorithm that may be used for decoding are described below, but for clarity we first consider some specific examples of how the transducers are used at the output of the softmax layer 56 and what their history state sets 41 and move states 42 might look like.
[0499] In one use of the transducer, the history state set 41 is a short sequence segment of a fixed length, and the moving state is all sequence segments up to possible different fixed lengths, for example, a segment of length three and a segment of at most two respectively represent that the decoding input of each step is of size 4 3 v(1+4+4 2 ). The history state 41 is {AAA, AAC, ... TTT} and the mobility state 42 is {-, A, C, G, T, AA, ... TT}, where "-" represents an empty sequence segment. The matrix defining the destination history state for a given history state and mobility state pair may be as follows:
[0500]
[0501] Note that from a particular history state 41 there may be several movement states 42 that give the same destination history state. This is an expression of the ambiguity that the knowledge of the movement state 42 resolves the transducer and distinguishes the transducer from something defined only on a set of history states 41 or on a tuple of (source-history-state, destination-history-state), which are respectively a Moore machine and a Powder machine in finite state machine parlance. There is no requirement that the length of the longest possible sequence fragment that can be emitted is shorter than the length of the history state 41.
[0502] The posterior probability matrix input to decoder 37 can be determined with a smaller set of parameters, allowing the size of history state 41 to be relatively large for the same number of parameters, while still allowing for flexible emission of sequence fragments that assemble the final call.
[0503] One example that has proven useful is to represent all transitions that use moves corresponding to empty sequence segments with a single weight, and all other transitions have weights that depend only on the destination history state. For a history state space of length k that allows segments of at most two bases to be output, this requires 4 k +1 parameter instead of 4 for the full explicit sensor defined above K v21. Note that this form of the transducer only partially resolves the ambiguity that transducers are designed to remove, and in some cases the assumption of maximum but not complete overlap still needs to be made because the scores are the same; this restriction is often sufficient in practice when move states corresponding to sequence fragments longer than one are rarely used.
[0504] The history states of the transducer need not exceed k-mers, and may exceed other symbol sets. An example may be that the information to distinguish a particular base, a purine (A or G) or a pyrimidine (C or T) is very local, and it may be advantageous to consider a longer history that cannot distinguish certain bases. For the same number of history states, a transducer using an alphabet containing only purines and pyrimidines can have strings that are twice as long, because 4^k=2^2k. If P represents purine Y pyrimidine, then the matrix defining the destination history state for a given history state and move state pair may be as follows:
[0505]
[0506] The historical state 41 of the transducer need not be identified using one or more segments of the historical sequence, and it is advantageous to let the recurrent neural network 30 learn its own representation during training. 1 ,S 2 ,…,S H} and the set of sequence segments, the move states are all possible pairs of history states and sequence segments. For example, the set of sequence segments can be {-, A, C, G, T, AA, … TT}, and thus the set of move states is {S 1 -,S 1 A,…,S 1 TT,S 2 -,S 2 A,…,S H As described above, the recurrent neural network 30 emits a posterior probability matrix over these history states and move states, each entry representing the posterior probability of moving from one history state to another history state by emitting a specific sequence segment.
[0507] The decoding performed by the decoder 37 in the second modification can be performed as follows. In the first application, the decoder can derive an estimate of a series of polymer units from the posterior probability matrix, for example by estimating the most likely path through the posterior probability matrix. The estimate can be an estimate of the series of polymer units as a whole. The details of the decoding are as follows.
[0508] Any method known in the art may generally be used, but it is advantageous to use a modification of the Viterbi algorithm to decode the sequence of transducer weights into the final sequence. As with the standard Viterbi decoding method, a lookback matrix is built during the forward pass, and this is used to calculate the path taken to obtain the highest possible score (assigning a history state to each step), but the sensor modification also requires an additional matrix to record the movement states actually used to transition from one history state to another along the highest scoring path.
[0509] If the weight output by the recurrent neural network 30 at step i for the movement from the history state g via the movement state s is the tensor _ ihs And the matrix T gs Storing the destination history state, the forward iteration of the Viterbi algorithm becomes
[0510] f 0h =0 Initialization
[0511]
[0512]
[0513]
[0514] The backward "decoding" iteration of the modified Viterbi is performed step by step starting from the end. First, the last history state of the highest scoring path is determined based on the final score vector, and then all the history states on the path are determined using the backtracking information. Once the history state H at step t is determined t , we can determine the moving state M t .
[0515] H T = argmax h f Th
[0516]
[0517] M t =e t ,H t
[0518] Since each mobile state has an interpretation as a sequence fragment, an estimate of the polymer sequence can be determined by concatenating these fragments. Since only the mobile states are necessary for decoding, there is no need to explicitly determine the sequence of the history states.
[0519] In this method, the estimation of the most likely path is to utilize a posteriori probability matrix, effectively estimate the highest score series from all possible series, which represents the probability of the polymer unit series of a polymer as a reference series of a polymer unit. This can be considered as scoring all possible series as reference in concept, although in practice the Viterbi algorithm avoids actually scoring each one. More generally, decoder 37 is arranged to perform other types of analysis, and the analysis is similarly related to utilizing a posteriori probability matrix to generate scores about one or more reference series of polymer units, wherein the score represents the probability of the series of the polymer unit of a polymer as a reference series of a polymer unit. This scoring can realize several other applications, such as as follows. In the following applications, the reference series of a polymer unit can be stored in a memory. It can be a series of polymer units of a known polymer and / or be derived from a library or obtained by experiment.
[0520] In a first alternative, decoder 36 may derive an estimate of the series of polymer units as a whole by selecting one of a set of multiple reference series of polymer units that most likely corresponds to the series of posterior probability matrices, for example based on a score for the reference series of posterior probability matrices.
[0521] In a second alternative, decoder 36 can derive an estimate of the difference between a series of polymer units of a polymer and a reference series of polymer units. This can be done by scoring the variation of the reference series. This effectively estimates the series of polymers for which the measurement result was obtained by estimating the position and identity of the difference with the reference. This type of application can be used, for example, to identify mutations in polymers of known types.
[0522] In a third alternative, the estimated value can be an estimated value of a portion of the series of polymer units. For example, it can be estimated whether the portion of the series of polymer units is a reference series polymer unit. This can be done by scoring the reference series for portions of the series of posterior probability matrices, such as using a suitable search algorithm. This type of application can be used, for example, to detect markers in polymers.
[0523] The third modification also concerns the output of the recurrent neural network 30 and may optionally be combined with the first modification.
[0524] One limitation of the basic approach implemented in the analysis system 3 described above is the reliance on a decoder 36 external to the recurrent neural network 30 to assign symbols to each column of the output of the recurrent neural network 30 and then estimate the series of polymer units from the sequence of symbols. Since the decoder 36 itself is not part of the recurrent neural network 30, the decoder must be specified in advance and any parameters cannot be trained together with the rest of the network without adopting complex strategies. In addition, the structure of the Viterbi-style decoder used in the basic approach dictates how the history of the current call is represented and constrains the output of the recurrent neural network 30 itself.
[0525] A third modification addresses these limitations and involves changing the output of the recurrent neural network 30 to itself output a decision about the identity of consecutive polymer units in a series of polymer units. In this case, the decision is fed back into the recurrent neural network 30 unidirectionally, preferably unidirectionally. As the decision is fed back into the recurrent neural network, it informs subsequent output decisions.
[0526] This modification allows the decoding to be moved from the decoder 36 into the recurrent neural network 30, thereby enabling the decoding process to be trained together with all other parameters of the recurrent neural network 30 and thus optimized to be called from measurements using nanopore sensing. An additional advantage of the third modification described is that the representation of the history used by the recurrent neural network 30 is learned during training and is therefore adapted to the problem of estimating a series of measurements. By feeding back decisions to the recurrent neural network 30, the recurrent neural network 30 can use past decisions to improve predictions for future polymer units.
[0527] Several known search methods can be used in conjunction with the method to correct past decisions that are later revealed to be bad. One example of such a method is backtracking, where in response to a low scoring decision made by the recurrent neural network 30, the process goes back a few steps and tries alternative choices. Another such method is beam search, where a list of high scoring historical states is maintained and at each step the recurrent neural network 30 is used to predict the next polymer unit to the best polymer unit.
[0528] To illustrate how decoding is performed, Fig.14 The implementation of the third modification in the final layer of the recurrent neural network 30 is shown and can be used with Fig.15 For comparison, the figure shows that in the implementation Figure 4 The basic method shown is the final layer of a recurrent neural network 30. Fig.14 and 15 Each of the diagrams shows a final bidirectional recursive layer 34, which has, by way of non-limiting example, Figure 8 The structure of the recursive unit 66 is shown in FIG. Fig.14 and 15 Not shown in FIG. 5 is the line that combines the output of a recurrent unit 66 with its hidden state before passing it to the next recurrent unit 66 .
[0529] However, Figure 4 The final feed-forward layer 35 and the softmax layer 36 of the recurrent neural network 30 shown in are replaced by a decision layer 45, which outputs a decision on the identity of consecutive polymer units of a series of polymer units. The decision layer 45 can be implemented by an argmax unit 46, which each outputs a corresponding decision.
[0530] The output of the decisions (ie, by the argmax unit 46) is processed sequentially, and the final output estimate for the series of polymer units is constructed by appending new fragments at each step.
[0531] Unlike the basic approach where each decision is fed back into the recurrent neural network 30, in this example it is fed back into the final bidirectional recurrent layer 34, specifically, into the forward sublayer 68 (although it could alternatively be the backward sublayer 69). This allows the internal representation of the forward sublayer 68 to be informed by the actual decision that has been made. The motivation for the feedback is that there may be several sequences that are compatible with the input features and direct a posteriori decoding of the output of the recurrent neural network 30 produces an average of these sequences, which may not be consistent and is therefore generally worse than any of the individuals that contributed to it. The feedback mechanism allows the recurrent neural network 30 to adjust its internal state at the time of the actual call being made and thus pick out a consistent individual series in a manner more like Viterbi decoding.
[0532] The processing is effectively reversible and can be performed in either direction along the polymer, and therefore along either direction along the recurrent neural network 30.
[0533] Feedback may be performed by passing each decision (referred to as a symbol) to an embedding unit 47 which transmits a vector specific to each symbol.
[0534] At each step, the output of the lowest bidirectional recurrent layer 34 is projected into an output space where each dimension is associated with a segment of a series of measurements, and then an output decision (regarding the identity of the segment) is selected using argmax decoding in the corresponding argmax unit 46. The decisions are then fed back bidirectionally to the next recurrent unit 66 via the embedding unit 47. Each possible decision is associated with a vector in the embedding space, and the vector corresponding to the decision just made is combined with the hidden state produced by the current recurrent unit 66 before being input to the next recurrent unit 66.
[0535] By feeding the decisions back into the recurrent neural network 30, the internal representation of the recurrent neural network 30 is informed by both the history of the estimated sequence segments and the measurements. A different formulation of the feedback would be the case where a separate unidirectional recurrent neural network is used to represent the history of the estimated sequence segments, the input to which is the embedding of the decisions and the output is the weight of each decision. These weights are then combined with the weights from the measurements in the processing recurrent neural network before making the argmax decision about the next sequence segment. Using a separate recurrent neural network in this way has similarities to the "sequence transduction" approach disclosed in Graves, "Sequence Transduction with Recurrent Neural Networks", In International Conference on Machine Learning: Representation Learning Workshop, 2012, and is a special case of the third modification.
[0536] The parameters of the recurrent unit 66 in which the feedback decision is embedded are constrained so that its state is decomposed into two parts, the updates of which depend only on the output or embedded decisions of the upper layer of the recurrent neural network 30 before the final bidirectional recurrent layer 34.
[0537] The third modified training may be performed as follows.
[0538] In order to make the output of the recurrent neural network 30 compatible with training using perplexity (or other probability-based or entropy-based objective functions), Fig.14 The recurrent neural network 30 shown in FIG. 4 can be adapted by adding a softmax unit 48 Fig.16 or 17 as shown in any of the training purposes. The softmax unit 48 applies the softmax functor to the output of the final bidirectional recurrent layer 34 (the softmax unit is as described above, but no affine transformation is applied). The output of the softmax unit 48 is then trained by the perplexity shown in element 49. Fig.16 In the example of , the softmax unit 48 replaces the argmax unit 46 and the training label output by the softmax unit 48 is fed back, while Fig.17 In the example of , the softmax unit 48 is arranged in parallel with the argmax unit 46 and the decision output by the argmax unit 46 is fed back.
[0539] Rather than producing hard decisions about the segments of the polymer family produced by the argmax unit 46, the softmax unit 48 produces an output that can be interpreted as a probability distribution over the segments of the polymer family and can therefore be trained by perplexity. Since the softmax functor implemented in the softmax unit 48 maintains its input level, the argmax of the unit is the same as the argmax obtained if it were not added to the recurrent neural network 30. Leaving the softmax unit in the recurrent neural network 30 is advantageous even if the recurrent neural network 30 is trained because it provides confidence in the decision.
[0540] The dependence of the recurrent neural network 30 on its output up to a given step causes training problems because a parameter change that causes the output decision at any step to change requires crossing a non-differentiable boundary and optimization can be difficult. One way to avoid the non-differentiability problem is to train the recurrent neural network 30 using a perplexity objective but assuming that the recall was perfect up to this point, thereby feeding training tokens to the embedding unit 47 instead of the decisions that would have been made. Training in this way produces a well-behaved network if the sequence fragment recall is correct, but because it has not been trained to recover from bad recall, it can be very sensitive to errors.
[0541] A two-stage approach can be used for training. First, the training labels are fed back to Fig.16 Second, the actual calls made are fed back but the perplexity is still calculated through the softmax unit 48, as Fig.17 The motivation for this two-stage process is that the first stage finds good starting parameters for the second stage, thereby reducing the possibility of training falling into the bad parameter region due to the above-mentioned non-differentiability.
[0542] The invention will now be further described by way of the following non-limiting examples.
[0543] Examples
[0544] PCA connection scheme:
[0545] 1000 ng of target DNA was end-repaired and dA-tailed before ligation to PCA from the PCR sequencing kit (SQK-PSK004).
[0546] All reactions and purifications were performed according to the manufacturer's instructions; NEB was used for end repair and dA tailing and ONT was used for ligation.
[0547] 1x cycle amplification protocol:
[0548] A 50ul reaction consisted of: 250ng PCA-ligated target DNA, 1x ThermoPol buffer (NEB), 200nM primers, 400uM dNTPs, 0.1 unit ul-1 9oNm polymerase.
[0549] The primer used was WGP of Oxford Nanopore's PCR sequencing kit (SQK-PSK004).
[0550] Cycle accordingly; 95°C for 45 sec, 56°C for 45 sec, 68°C for 35 min.
[0551] After amplification, 10 units of Exonuclease I (NEB) were added, and the samples were then incubated at 37°C for an additional 15 minutes.
[0552] Samples were purified using Beckman Coulters AgencourtAMPure XP beads (0.4x) and eluted into 30 ul of TE.
[0553] Protocol for sequencing adapter ligation:
[0554] The recovered amplified target DNA was mixed with RAP, LLB and SQB before loading onto the R9.4.1 flow cell (FLO-MIN106).
[0555] All steps were performed using Oxford Nanopore's PCR sequencing kit (SQK-PSK004) according to the manufacturer's instructions.
[0556] Example 1:
[0557] A polynucleotide chain having a length of approximately 3.6 kb and including only canonical bases or a mixture of canonical bases and atypical bases was generated and amplified using the above protocol.
[0558] A control strand consisting only of the canonical bases G, T, A, and C was generated; see Fig.21 Additional test strands with different ratios of atypical bases were generated; see Figure 22-27 and the accompanying legend.
[0559] The control strand and the test strand are subjected to nanopore sequencing. Based on the current traces obtained, the modified strand can be distinguished from the control strand; see Fig.31 and 32 And the attached legend.
[0560] Example 2:
[0561] The E. coli library was subjected to two separate amplifications: one using the canonical bases G, T, A, and C; and one using atypical bases. Figure 29-30 Amplification was successful in both cases, demonstrating the ability to amplify libraries using atypical bases.
Claims
1. A method for determining the sequence of a target polymer or a portion thereof, wherein the target polymer or the portion thereof comprises polymer units, wherein the polymer units comprise typical polymer units and atypical polymer units, the method comprising: acquiring a series of measurements of a signal associated with the target polymer, wherein the measurements of the signal depend on a plurality of polymer units, and wherein the polymer units of the target polymer modulate the signal, and wherein atypical polymer units modulate the signal differently than corresponding typical polymer units; analyzing the series of measurements using a machine learning technique that attributes measurements of atypical polymer units to corresponding measurements of corresponding typical polymer units; as well as determining the sequence of the target polymer or a portion thereof based on the analyzed series of measurements, Wherein the series of measurements are acquired during movement of the target polymer relative to the nanopore.
2. The method of claim 1, wherein atypical polymer units identified from said analysis are determined. 3 . The method according to claim 1 , wherein the target polymer comprises two or more types of atypical polymer units corresponding to two or more types of typical polymer units.
4. The method of claim 1 or 2, wherein the identity and sequence position of the atypical polymer unit are determined. 5 . The method according to claim 1 , wherein the target polymer includes atypical polymer units corresponding to each type of typical polymer units.
6. The method of claim 1 or 2, wherein the machine learning technique does not determine whether a polymer unit is an atypical polymer unit or a corresponding typical polymer unit.
7. The method of claim 1, wherein the target polymer comprises a plurality of atypical polymer units for each type of atypical polymer unit among one or more types of atypical polymer units present.
8. The method of claim 1, wherein the atypical polymer unit corresponds to more than one typical polymer unit.
9. The method of claim 1 or 2, wherein the target polymer comprises about 50% atypical polymer units.
10. The method of claim 1, wherein the atypical polymer unit is a modified typical polymer unit.
11. The method of claim 1, wherein the atypical polymer unit is naturally modified.
12. The method of claim 1 or 2, wherein the measurement is a measurement indicative of an ionic current flowing through the nanopore or a measurement of a voltage across the nanopore during translocation of the target polymer.
13. The method of claim 1 or 2, wherein the machine learning technique is trainable by a method comprising the steps of: providing a plurality of target polymers comprising atypical polymer units that have been substituted for equivalent typical polymer units at different sequence positions in the target polymers; acquiring a series of measurements of a signal associated with the target polymer; analyzing the series of measurements using the machine learning technique; as well as Estimate the corresponding typical polymer units of the polymer training chains.
14. The method of claim 1 or 2, wherein the machine learning technique is a recurrent neural network.
15. The method of claim 1 or 2, wherein the target polymer is a polynucleotide and the polymer units are nucleotide bases.
16. The method of claim 1, further comprising the step of modifying a typical polymer to provide the target polymer comprising one or more different types of one or more atypical bases.
17. The method of claim 16, wherein the one or more atypical bases have been modified enzymatically.
18. The method of claim 15, wherein the polynucleotide comprising one or more different types of one or more atypical bases is generated from the complement of the polynucleotide using a polymerase and a certain ratio of atypical bases.
19. The method of claim 15, wherein the polynucleotide is DNA.
20. The method of claim 15, wherein the movement of the polynucleotide relative to the nanopore is controlled by an enzyme.
21. The method of claim 20, wherein the enzyme is a helicase.
22. The method of claim 13, wherein the polymer training chain comprises more than one type of atypical polymer units.
