Massively Parallel Sequencing (MPS) approaches such as those now in wide commercial use (Illumina/Solexa, Roche/454 Pyrosequencing, and ABI SOLiD) are attractive tools for sequencing. Typically, MPS methods can only obtain short read lengths (hundreds of base pairs, bp, also called nucleotides, nt, with Illumina platforms, to a maximum of 200-300 nt by 454 Pyrosequencing) but perform many thousands to millions of such short reads on the order of hours. Sanger methods, on the other hand, achieve longer read lengths of approximately 800 nt (typically 500-600 nt with non-enriched DNA) but take several times longer to do so.
While sequencing machines were originally created for the purposes of sequencing unknown or incomplete genomic DNA, they have since been put to a myriad of other uses. Considering a sequencer simply as a device for recording the count of specific DNA sequences, sequence census experiments utilize high-throughput sequencing to estimate abundances of “target sequences” (also called “reference sequences”) for molecular biology and biomedical applications. Unusual populations of certain reference sequences can be diagnostic of disease.
To compare the DNA of the sequenced sample to its reference sequence, current methods are designed to find the corresponding part of that sequence for each read in the output sequencing data. This step is called aligning or mapping the reads against reference sequence. Once this is done, one can look for one or more variations (e.g., a single nucleotide polymorphism, SNP, or a copy number variation, CNV, or a structural variation like presence/absence variation, PAV, inversions, methylation or multiples or combinations thereof) within the sample. Aligning the read to the reference consumes a considerable amount of computing power.
For example, Sehnert et al 2011 and Biananchi et al 2014 describe methods to identify aneuploidy in a fetus from maternal blood samples, thus avoiding expensive and dangerous invasive procedures. Aneuploidy is a condition in which the number of chromosomes in the nucleus of a cell is abnormal for a particular species. In humans, the normal cell has two copies of each chromosome, called diploid, while an aberrant cell might have fewer copies (0 called a deletion, 1 called monosomy) or more copies (3 called trisomy, etc.). An extra or missing chromosome, or a significant portion thereof, is called a copy number variation (CNV), and is a common cause of genetic disorders including human birth defects. Blood contains DNA fragments not enclosed in a cell (cell free or cfDNA) that have been shed by healthy organs and shed by tumors (circulating tumor—ctDNA), shed by the fetus in a pregnant woman, or shed by a transplanted organ. Thus a blood sample can have multiple fractional components. Identification of anomalies in the fractional component in a blood sample when the fractional component is confounded when the fractional component is a very small fraction of the total cfDNA in the sample (e.g., often between about 0.5% and about 20%). Furthermore samples are subject to systematic and random errors in the sample preparation, sequencing and alignment processes. Another confounding factor is the fact that different regions of DNA are biased, due to GC bias, entropy, melting temperature, and other factors, and may be sequenced at different depths even if they are diploid or otherwise normal. Liquid biopsies use cfDNA to test for anomalies from blood, urine, or some other easily obtainable liquid from the patent, including detecting fetal anomalies in the mother's blood; and, is a form of non-invasive pre-natal diagnostics (NIPD).
Similarly, cancerous tumors may have copy number variations (CNVs), presence absence variations (PAVs), other structural mutations, or express different genes than the populations of normal cells in an individual. The tumor DNA in a patient tissue sample is likewise a relatively small fraction of the sample (e.g., less than 15% and sometimes as little as 0.5%) and the identification of its sequences is likewise subject to systematic bias and random errors in the sample preparation, sequencing and alignment processes.
Similarly, transplanted organs may have copy number variations (CNVs), presence absence variations (PAVs), other structural mutations, or express different genes than the populations of normal cells in an individual. The tumor DNA in a patient tissue sample is likewise a relatively small fraction of the sample (e.g., less than 15% and sometimes as little as 0.5%) and the identification of its sequences is likewise subject to systematic bias and random errors in the sample preparation, sequencing and alignment processes.
Thus, errors and bias in read number and alignment from modern sequencing technology and data processing can obfuscate the underlying biological relationships desired to be discovered to diagnose or track various medical conditions. A bias in the count of reads associated with a particular stretch of a target sequence is called a count bias.
Techniques are provided for automated determination of, or correction for, count or bias, or both, based on nucleic acid base content in a bin of thousands of base pairs of interest, or on a finer grained scale than a bin, in a target sequence and accommodation of fragment size information to allow discovery of counts associated with a particular fractional component, especially for a minority fractional component, of the sample. In various embodiments, the correction gives greater weigh to fragments of sizes more probably associated with the particular fractional component. The techniques correct for bias at the bin or region of interest level by applying bias correction for each base in the bin or region of interest.
In a first set of embodiments, a method includes obtaining first data that indicates a target sequence of nucleic acid bases at a plurality of loci, wherein the target sequence comprises a plurality of bins of loci for which a relative abundance is indicative of a condition of interest. The method further includes obtaining second data that indicates alignment with the target sequence of reads of DNA fragments in a sample comprising multiple fractional components. The method still further includes determining a probability density function of fragment sizes for a particular fractional component of the sample. Even further, the method includes determining a fraction f of the sample associated with the particular fractional component. Yet further the method includes determining a raw count of reads that start at each locus in the target sequence for each fragment i of size si. In addition, the method further includes determining a corrected count by multiplying the raw count for each fragment i with a weighting factor ci that depends on the fraction f and the probability density function value for the fragment size si. In further addition, the method also includes using the corrected count for determining the condition of interest in the particular fractional component.
In other sets of embodiments, a computer-readable medium or a system is configured to cause an apparatus to perform one or more steps of one or more of the above methods.
Still other aspects, features, and advantages are readily apparent from the following detailed description, simply by illustrating a number of particular embodiments and implementations, including the best mode contemplated for carrying out the invention. Other embodiments are also capable of other and different features and advantages, and its several details can be modified in various obvious respects, all without departing from the spirit and scope of the invention. Accordingly, the drawings and description are to be regarded as illustrative in nature, and not as restrictive.
Embodiments are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings in which like reference numerals refer to similar elements and in which:
A method and apparatus are described for fine grained detection or correction of count bias. In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced without these specific details. In other instances, well-known structures and devices are shown in block diagram form in order to avoid unnecessarily obscuring the present invention.
Notwithstanding that the numerical ranges and parameters setting forth the broad scope are approximations, the numerical values set forth in specific non-limiting examples are reported as precisely as possible. Any numerical value, however, inherently contains certain errors necessarily resulting from the standard deviation found in their respective testing measurements at the time of this writing. Furthermore, unless otherwise clear from the context, a numerical value presented herein has an implied precision given by the least significant digit. Thus a value 1.1 implies a value from 1.05 to 1.15. The term “about” is used to indicate a broader range centered on the given value, and unless otherwise clear from the context implies a broader rang around the least significant digit, such as “about 1.1” implies a range from 1.0 to 1.2. If the least significant digit is unclear, then the term “about” implies a factor of two, e.g., “about X” implies a value in the range from 0.5X to 2X, for example, about 100 implies a value in a range from 50 to 200. Moreover, all ranges disclosed herein are to be understood to encompass any and all sub-ranges subsumed therein. For example, a range of “less than 10” can include any and all sub-ranges between (and including) the minimum value of zero and the maximum value of 10, that is, any and all sub-ranges having a minimum value of equal to or greater than zero and a maximum value of equal to or less than 10, e.g., 1 to 4.
Some embodiments of the invention are described below in the context of count bias based on GC percent in overlapping windows of size from about 100 bases to about 160 bases at a resolution of a single base. However, the invention is not limited to this context. In other embodiments other sizes of other overlapping or non-overlapping windows placed relative to an individual locus are determined based on other properties of the base content in the window, such as AT repeats in the window, or other factors, such as melting temperature and entropy of the DNA strands, or some combination. In various embodiments count data is used to identify regions of copy number variation where a signal of interest is present at low abundance (called a minority fraction). In other embodiments, the methods apply with minor changes or relabeling to other mixture situations like liquid biopsies for oncology, organ implantation rejection profiling, infectious disease. The methods also apply to agriculture; for example, assessing plant diversity and IP infringement using environmental sequencing of pollen (male genetic material) or pooling seed from bags for corn where a low percentage of the kernels are female and include pericarp (female genetic material), among others. Another use in agriculture is for mass germplasm diversity assessment. In many circumstances, there are too many plants to sequence each one; however mass environmental sequencing is used and data analyzed to identify small or large regions of divergence from known genomes, which may occur at very low abundance.
Deoxyribonucleic acid (DNA) is a, usually double-stranded, long molecule that is used by biological cells to encode other shorter molecules, such as proteins, used to build and control all living organisms. DNA is composed of repeating chemical units known as “nucleotides” or “bases.” There are four bases: adenine, thymine, cytosine, and guanine, represented by the letters A, T, C and G, respectively. Adenine on one strand of DNA always binds to thymine on the other strand of DNA; and guanine on one strand always binds to cytosine on the other strand and such bonds are called base pairs. Any order of A, T, C and G is allowed on one strand, and that order determines the reverse complementary order on the other strand. The actual order determines the function of that portion of the DNA molecule. Information on a portion of one strand of DNA can be captured by ribonucleic acid (RNA) that also is composed of a chain of nucleotides in which uracil (U) replaces thymine (T). Determining the order, or sequence, of bases on one strand of DNA or RNA is called sequencing. A portion of length k bases of a strand is called a k-mer; and specific short k-mers are called oligonucleotides or oligomers or “oligos” for short.
A problem is that ρ is not measured directly during sequencing experiments, but must be inferred by a large number S of sequencing reads (simply called reads, herein), represented by the symbol qs {s=1, S}, where each sequence of each read is short compared to a reference sequence Qt.
If each read were uniquely found in one and only one reference sequence, then one of the T reference sequences Qt can be associated with each read, as indicated by the data structure 180 which associates with each read qs {i∈1, S} an associated reference sequence Ds, with s∈{1, . . . , S} and where Ds=t with t∈{1, . . . , T}. In some embodiments, the data structure 180 also indicates the positions within the reference sequence t that are covered by the read, such as base positions x to y within the reference sequence t. If a read could be associated with two or more difference reference sequences, then the read is attributed to one of them, or a fraction of the read is attributed to each of two or more of them, or the read is discarded. Then a histogram of the distribution of the Ds among the T references sequences could be used as an approximation of the abundance distribution ρ, or corrected for the known or inferred non-random sampling introduced by processes 140 and machine 160—corrections represented by particular values for a parameters set designated θ. The adjusted abundances are designated At and are based on the histogram counts for the associated reference sequences Ds and the corrections represented by values for θ.
In
Thus the clinical data comprises the adjusted counts At {t=1, T) of the T reference sequences Q after correction for known systematic errors introduced by the processes 140 and machine 160. Based on the analysis of historical data or other training data, with either baseline (disease free) or known diseased conditions or known other conditions of interest, or some combination, the presence of a disease or other population differences is known to affect the count of at least one of the reference sequences, t=i but not, or much less, the counts of the other reference sequences t=k≠i. However, variation between runs or processing batches, which has nothing to do with disease state, can confound identification of disease by affecting the count Ai.
Because the fetal or tumor fraction is so small, other confounding factors that affect the measured counts of the target are advantageously removed to form adjusted counts Ai or Aj. Several such adjustments are known in the art. Analysis is further complicated that, in order to be economically viable, samples are run in multiplex which reduces the read coverage of each sample. In the multiplexed sequencing method, DNA libraries are “tagged” with a unique identifier, or index, during sample preparation. Multiple samples are then pooled into a single lane on a flow cell and sequenced together in one Genome Analyzer run. An automated three-read sequencing strategy identifies each uniquely tagged sample for individual downstream analysis. Using this approach, sample identification is highly accurate. However, reducing read coverage results in less accurate identification of CNVs (Zhou et al 2015), which is of importance in several embodiments describe herein.
Known systems (such as those described by Lo et al 2016; Yuy et al 2013; Chen et al 2013; Zhou et al 2015; Sehnert et al 2011; Fan and Quake 2010; and inventor's own work published as patent publications based on patent application Ser. No. 14/709,417 and 62/250,108) divide the chromosome into bins of 20-100 kilobases. Use of bins accomplishes two things: first, division into bins allows nuisance loci (such as copy number variations in the mother, and centromeres) to be easily dropped from the estimated chromosome or region of interest (ROI) scores; second, making bins of sufficient size allows a bin center (such as mean normalized coverage) called the “bin effect,” to be accurately estimated under normal conditions (null hypothesis), and corrected for. The known systems are then corrected for known effects (such as the proportion of “G” or “C” bases in the bin, called GC effect, and other locus effects) to form adjusted counts At called “bin scores” before combining bin scores to form chromosome or ROI level scores which are transformed into a Z-score or otherwise evaluated for significant deviation from null (normal) behavior. Some of the known methods also model noise in normal cases via principal components or singular value decomposition of bin covariance or correlation and removing a “noise effect”. One limitation of the above methods is that estimation of effects for GC and other factors require large sets of normal samples. This can be expensive and presents a “cold start” barrier condition for smaller laboratories hoping to start NIPD programs. A second limitation of the above methods is that correction of confounding effects at the bin level still leaves enough bin-to-bin variability to decreases accuracy of multiplex samples at smaller fetal fractions.
As described here, additional adjustments are made to reduce the effects of count bias, which is often about an order of magnitude larger than the condition of interest, especially for fetal or tumor or other small fraction signals. The approach presented here provides a fine grained correction (small numbers of bases compared to bin size) for count bias based on the locus associated with each fragment or read, rather than on the position and bases of the entire bin. In embodiments using extra-cellular (cell free) DNA fragments (cfDNA), the system also corrects for the bias in the natural formation of such fragments, e.g. from the tumor or fetal DNA, before or after introduction into the bloodstream of the subject. In the system of
As an example of count bias, consider the data presented in Ross, 2012.
However, the kind of variability depicted in
In this description, the following terms and definitions are employed. |X| is the cardinality of a set X. |X| is equal to the number of elements in the set X. The cardinality of a set is also called the size of the set. When F is a function and X is a set, |F(X)| is the number of unique values that F can attain when applied to members of the set X. X\Y is the set of elements that remain when members of set X that are also members of set Y are removed and the operation is referred to as set subtraction. The expression pr(a|b) indicates the probability of condition a, given condition b. The expression E(a|b) indicates the expected value of variable a, given condition b. A partition P of a set X is a grouping into subsets so that each element of X is in one and only one subset. The partition P is essentially a function of X, and has cardinality |P|. The subsets used to define a partition P are called partition subsets; and, each partition subset of P is designated by the index k, k∈{1, . . . , |P|}. Stratification of a set X means defining a partition and assigning each element of set X into a partition subset. The stratum of an element of the set X is the partition subset to which the element belongs.
The method 400 partitions the genome of a species into non-contiguous subsets based on factors that are expected to affect the count bias, such as melting temperature, entropy, or nucleotide (base) content in small windows relative to each position in the genome, or some combination. For simplicity, only base content in small windows are described in detail the following, because count bias at each position is expected to be related to base content in the vicinity of that position in many applications. The method allows the base content and the vicinity (or other factor) to be varied to discover or correct for, or both, one or more count biases affected by base content (or other factor). For base content, the window size is small compared to the bin sizes and the resolution of the method can be finer than even the window size, as fine as each locus, by using overlapping windows.
With respect to partitioning the genome of a species, the following terms and definitions are employed. Base positions in the genome are called “positions” or “loci” and are indexed by the variable j where j∈{1, . . . , N}, where N is the number of loci in the genome of the species. In humans N is about three billion. To simplify the computations it is often advantageous to exclude loci of no interest or confounding effect. This is done with a mask M. M is a mask of genomic positions that are excluded from all analysis and may be considered to be applied at the level of defining the target sequence. M may be considered an array or a set depending on context. Masks are often designed to cover features, such as centromeres, that confound analysis because their composition diverges greatly from the rest of the genome. M is indexed by locus position j; when M(j)=0 the position j is removed or excluded from analysis; otherwise M(j)=1.
The Partition P is based on the nucleotide content in a window R of a given size (or other factor); and, if several partitioning schemes are under consideration, the different partitions are designated by different values of the index i, i∈{1, . . . , I}, where I indicates the number of partitioning schemes. Given a genomic locus, j, par_i(j) is the index of the strata (partition element, k) of a single partition Pi to which position j belongs, par_i(j)∈{1, . . . , |Pi|}. When a single partitioning scheme is considered, the symbols are simplified to partition P and stratum par(j).
In step 401, a target sequence (target) is determined. The target includes one or more reference sequences, t, called bins, each bin covering a range of loci but, in some embodiments, excluding loci in a mask M. The number of bins is indicated by T, e.g., in data structure 110. The bins are selected because relative abundance of bins is indicative of a condition of interest (e.g., disease, a tumor, or a special class of cells). Each bin may encompass one or more chromosomes of a species, or portions thereof. Bin sizes are large, on the order of thousands of loci. Any method may be used to determine the target, including obtaining the target from known sources, or receiving manual input of bin loci ranges or masks or both, or automatically retrieving such sequences, ranges or masks or all from storage, or receiving such sequences or ranges or masks or all from a remote computer across a network, either unsolicited or in response to a query.
For utilizing minority fraction fragment size differences from the total or other components of the sample, the probability density function (pdf) of the minority fraction is also determined. In some embodiments, this determination is made in step 401, e.g., when based on prior knowledge of fetal or maternal pdfs. In other embodiments, this determination is made in step 403, when based on fitting properties of the sample collected. Various methods for determining minority fraction pdf are described in example embodiments in section 2.4 below.
Returning to
In some embodiments, given a large number of samples, an automated process iterates through the alignments and catalogs which positions are never covered. The positions never covered are added to the mask, M.
If there are S total reads, then there are S loci associated with the start of each aligned read; and, if the reads average L bases in length, then there are L*S bases covered (noting that many alignments overlap). The number of reads that start at each locus j, or at some fixed offset from each locus j, is designated H(j). Note that there are forward and reverse start locations, corresponding to a forward strand and a reverse (complementary) strand. Hforward, Hf, is an array of numbers, one per locus of the forward strand. Hf(j) is the number of alignments from the sample which start at base j (or start as some fixed offset from j) on the forward strand. If strand specific partition levels are defined then Hreverse, Hr, is defined as the number of alignments from the sample which start at base j on the reverse (complementary) strand. When only one strand is read, the symbols are simplified to H(j).
In some embodiments, the reads from certain fragments more likely associated with the minority fraction are given more weight. Various methods for determining the weights ci for each fragment i are described in example embodiments in section 2.4 below.
In
Returning to
In
Returning to
Returning to
Allowing for separate counts for forward and reverse reads, and defining K′ as the set of reverse positions where par(j)=k, and M′ as the mask in the reverse direction, then the expected count E(count) for one stratum k, E(count|k), is a function F1 of Hf(j), Hr(j), |K\M| and |K′\M′| for all j in the stratum, as given by Equation 1.
E(count|k)=F1[|K\M|,|K′\M′|,Σpar(j)=kHf(j)+Hr(j)] (1)
Any function that measures the deviation of the sum from the size of the two sets based on the target sequence can be used to express the expected count and show the variation of that deviation among different strata k. For example, in an illustrated embodiment, the observed counts are normalized by the counts in the target, and Equation 2 is used.
In some embodiments, the deviation is expressed as a difference, and Equation 3 is used.
E(count|k)=Σpar(j)=k[Hf(j)+Hr(j)]−|K\M|−|K′\M′| (3)
In some embodiments, M′ is identical to M. When strand specific partitions are not used, Hr and |K′\M′| terms are omitted in both equations 1 and 2.
Thus, step 415 determines the expected count due to bias based on: the raw counts H(j) of each locus j belonging to that stratum, k, in sample; and, the total number, k, of loci belonging to that stratum, k, in the target for each strand. The result of step 415 is an estimate of the variation of count with partition due to natural/measurement/processing system count bias.
In
Returning to
EstCN(t)=F2[Σall j in tH(j),Σall j in tE(count|par(j))] (4)
In some embodiments, the differences due to biases are used by subtracting those differences from the term Σall j in tH(j). In some embodiments, EstCN can be scaled to have nominal (normal) copy number equal to 2, corresponding to the actual number of copies in diploid organisms, or 1 or some other value for purely relative abundances. For example, in an illustrated embodiment defining expected count using Equation 2, the expected count is divided into the actual count as given in equation 5.
In some embodiments, EstCN is formulated with pseudo counts to control variance at small values by adding a constant, e.g., 1, to both numerator and denominator, as in Equation 6.
In
In some embodiments, a single partitioning scheme P is not used. Instead multiple partitioning schemes, called partitions, are used. In some embodiments, multiple partitions are used because there are several biases operating simultaneously, e.g., the % GC bias accounts for much of the count biases but count bias is also introduced by other lesser effects, such as number of repeats of AT sequences, contiguous or otherwise, in a window. In some embodiments, one or more desirable partitions are not known, and various trial partitions are employed. In some of these embodiments using multiple partitions, the estimated copy number from several different partitions are combined, with the contribution from each partition weighted such that the sum of the weights is a known constant, such as 1. In some of these embodiments, the weight applied to each estimated copy number is the probability of that partition or the percent of the total bias explained by that partition.
Returning to
For example, in some embodiments, the determination of expected counts due to bias can be used to discover meaningful partitions. In these embodiments, the weight or probability for the partition is based on the behavior of the expected counts with changes in strata. If the partition meaningfully reflects measurement bias, then the expected counts should vary smoothly between adjacent strata, as depicted in
In step 421, it is determined whether there is another partitioning scheme to use. If so, control passes back to step 411 and following steps to determine the next partitioning scheme and use it. If not, control passes to step 423.
In step 423, it is determined whether the estimated copy number indicates the presence of a non-normal state. In some embodiments, this determination is based on further processing of the estimated copy numbers, e.g., in a statistical model of the conditions being searched for.
If it is determined in step 423 that the presence of a non-normal state is not indicated, then in step 431 it is determined that the conditions of interest likely has not occurred in the subject. In step 433 the subject is treated as if the condition has not occurred. For example, the information is presented on a display and conveyed to the subject.
If, however, it is determined in step 423 that the presence of a non-normal state is indicated, then in step 441 it is determined that the conditions of interest likely has indeed occurred in the subject. In step 443, the condition of interest is treated by any method known for the condition of interest. For example, the information is presented on a display and conveyed to the subject, and a treatment plan is presented, or the treatment is begun, or some combination.
Using the method 400, a small amount of extracellular DNA indicative of the condition of interest can be detected in a sample with much DNA not indicative of such a condition. Both the sensitivity and accuracy are improved, as will be demonstrated in the following particular embodiments.
Four example embodiments using some or all of the method 400 of
2.1 GC Correction at the Base Level with Single-End Sequencing
Many non-invasive pre-natal diagnosis (NIPD) applications directly sequence the shed fragments floating in the blood of a pregnant woman. The statistical distribution of the size of these fragments has been measured, e.g., by Yu et al 2014, and are plotted in
Combining information about fragment size from
The probability pr(Pi) of the partition is set, for example in step 419, to approximate the shape of the best known fragment length distribution. For example, in an illustrated embodiment, pr(Pi) is determined based on a beta distribution with the two shape parameters set to closely match the distribution in
2.2 GC Correction at the Base Level with Paired-End Sequencing
Another embodiment has pr(Pi) being estimated from information in a paired-end sequencing run. In this embodiment, instead of relying on the probability of fragment size distributions from an independent source, the fragment sizes are deduced from the distance between the paired end reads.
As in section 2.1, the partition Pi is defined in step 411 based on a window Ri of size Li, where Li indicates a number of bases and is different for each partitioning scheme. The window for locus j, Rij, starts at locus j, rather than being centered on the locus or having any other relative position. The stratum of the window is given by floor (% GC of Rij) for both forward and reverse strands.
Unlike section 2.1, pr(Pi) is set by using a distribution estimated from the fragment sizes inferred from the distance between mapped 5′ and 3′ read. For example, the Li is set to the fragment size in the middle or lower end of every 5 percentile values in the observed fragment size distribution and given a probability of 5%.
In another embodiment, it is anticipated that the distribution of reads is influenced by the base content to the left of the locus j as well as the fragment size. Thus in this embodiment, the partitioning is done by GC of the anticipated fragment size and also by the base content in a more immediate vicinity on either side of the locus j.
In this embodiment, for each of the forward strand and the reverse strand, with anticipated read length r, two windows R1i and R2 are defined for each Partition, Pi. Window R1i has size Li+r, where Li is defined as above, and starts at locus j. Window R2 has size equal to 2r+1 centered on locus j. Note that R2 is independent of partition index i. The stratum of the window is two dimensional with one dimension given by f1(j)=floor(% GC of R1ij) and the other given by the f2(j)=floor (% GC of R2j), for both forward and reverse strands. Then, the stratum par(j) is given by the two dimensional vector (f1(j), f2(j)).
These embodiments demonstrate a system and method for non-invasive diagnosis of DNA signals in a sample which corrects for GC and other factors at the individual base level. This method can be run at the individual sample level so that large numbers of samples are not needed to apply the method. In addition, this method corrects for biases invisible at the bin level. The method can be used by itself to detect low fetal fraction CNVs or as a pre-processing variance reduction step for existing bin level CNV NIPD systems, among others.
Given a fraction, f of the sample associated with a particular fractional component of a sample comprising multiple fractional components, which fractional component may be a minority fraction, the pdftotal, is a mixture where each fragment observed is belongs to one of the fractional components. For simplicity it is assumed that the particular fractional component is a minority component mixed with one other majority fractional component, called a dominant fractional component. An individual fragment is dominant (e.g., maternal) in origin with probability (1-f) with size distribution pdfdominant (e.g., pdfmaternal) and minority (e.g., fetal) in origin with probability f, with size distribution pdfminority (e.g., pdffetal). For simplicity, dominant and minority populations will be called maternal and fetal hereinafter. In a bin of, say, 50 kb or 100 kb, or a window of much smaller size, the total count of fragments is given by Equation 7.
C=CF+CM (7)
where CF is the number of fragments shed from the fetus (minority population) and CM is the number of fragments from the mother (dominant population).
In one approach, fragments from the minority population (e.g., fetus) are regarded as signal while fragments from the dominant population (e.g., mother) are regarded as noise. The minority signal is maximized by minimization of an objective function D that is lower in value when the final bin signal is closer to CF. To do this weights, ci for each fragment i, are selected to minimize the expected squared error from CF, according to Equation 8a.
D
2=(Σi fragments ci−CF)2 (8a)
Multiplying out the right had side of Equation 7a and taking the expected value of each term gives Equation 8b.
E(D2)=(Σici)2−2E(CF)Σici+E(CF2) (8b)
Equation 7b can be minimized by inspection or by taking partial least squares and solving for the zero solution to find extrema, as given by Equation 8c.
This gives Equation 8d
Σi all fragmentsci=E(CF) (8d)
which is satisfied by Equation 9.
where f is fetal fraction (which can be estimated from sample data) and si is the size of fragment i. With the exception of pdffetal, all values needed to apply Equation 9 are observable or estimable directly from sample data.
In various embodiments, the weighting factor ci is used to correct the total counts and the expected counts in determining an abundance and correcting for abundance bias. In general, a method, computer program or system: determines a probability density function of fragment sizes for a particular fractional component of the sample; determines a fraction f of the sample associated with the particular fractional component; determines a raw count of reads that start at each locus in the target sequence for each fragment i of size si; determines a corrected count by multiplying the raw count for each fragment i with a weighting factor ci that depends on the fraction f and the probability density function value for the fragment size si; and use the corrected count for determining the condition of interest in the particular fractional component.
Any approach to estimating pdffetal may be used; and, three methods are described here. In pdffetal method 1, a common maternal fragment size and condition is assumed and non-pregnant controls are used. A common size distribution is assumed for all fragments of maternal origin that are sequenced under consistent laboratory conditions (e.g., same reagents, lab, machine, batch, flow-cell, lane, among others, alone or in some combination) Non-pregnant controls are used to estimate the distribution of fragment sizes which can be done for an individual sample with estimates such as given by Equation 10 using one or more non-pregnant controls.
Pdfmaternal(fragment size x)≈(# fragments of size x)/(total # fragments in sample) (10)
Given pdftotal and pdfmaternal, pdffetal is identifiable using Equation 11, for f>0.
As long as assumptions are met, the strength of this method is that it requires no mixture modeling, nor spectral or other modeling of the complex and periodic fragment size distribution.
In pdffetal method 2, parameterized curves (such as the beta distribution) for pdfmaternal and pdffetal are fit to data of known fetal fractions. The Beta distribution is a continuous probability distribution, and has been applied to model the behavior of random variables limited to intervals of finite length in a wide variety of disciplines. For example, it has been used as a statistical description of allele frequencies in population genetics. Thus, it is assumed that alternate allele frequencies f for all SNPs observed in the population are distributed as f˜Beta(a′, b′). This is justified, for example, by Sankararaman 2009 or Clayton 2010. The Beta distribution for a probability density function (PDF) for a random variable r on the interval 0 to 1 is given by Equation 12.
Beta(r,a′,b′)=ra′-1(1−r)b′1/B(a′,b′) (12)
where B(a′, b′) is a function of a′ and b′ selected to ensure the probability integrates to 1 on the interval 0 to 1 and so is constant as r varies over the interval 0 to 1. This method does not rely on non-pregnant controls. The function pdffetal(x) is modeled as a function of fragment size x by mixture modeling with a couple of free parameters (which determine distribution shape) and look for convergence of the free parameters as f is lowered. This would use large quantities of data currently available for known fetal fractions.
In pdffetal method 3, the non-periodic component of the total is assumed to be maternal. The key insight here is that, at any given fragment size, the periodic (e.g., 10 base pair period) proportion of both pdffetal and pdftotal are close to each other. Thus the maternal pdf is derived form the total with the periodic component removed, e.g., using a Fourier series decomposition and a forward an inverse fast Fourier transform (FFT), readable available in many commercial software packages. For this reason approximating the non-periodic component (via a malleable distribution like the beta distribution) and using ratio of pdffetal and pdftotal as in Equation 9 will give similar results as if the periodic component were used. This method can be combined with method 2 above to determine the parameters of the beta distribution.
Expected count at the base level, described above with respect to
In this approach, position bias is assigned by setting window-size to expected minority fragment length and maximize minority population signal. First, to populate the denominator of Equation 2, for each base position, parj=k=(the proportion of bases that are “c” or “g” in the window of size L starting at base (j+o)) with L=(expected fetal fragment size) and o a fixed offset from position j. Second, to populate the numerator of Equation 2, the weighting of Equation 9 is used. Then the estimate of the copy number of the minority population is given by Equation 13a and Equation 13b.
Where Sj is the number of alignments assigned to position j and parj is the strata of position j (example: based upon proportion GC, melting temperature, entropy, etc. . . . ), and K is the set of genomic positions assigned to strata k (parj=k), as described above.
Equation 14 is an update to the weighting of Equation 9, above.
here si is the size of fragment i and k, u are constants determined from maternal and fetal fragment distributions. Many values can be used such as k=0.5 and u=160. Alternative sigmoid shaped functions can be used. Additionally, in some embodiments, weighting functions that increase more for smaller fragments were used, as given by Equation 15.
Also the expected count for a particular strata level is updated as given by Equation 16.
Where the weights ci above or alternative weights can be used. Note that this is equivalent to the original weighting above when all ci are set to 1.
Above, a function was developed for the strata defined on each genomic position, Ek, which give the expected coverage of a position. The method is improved by specifying that the genome may not be homogenous; and, is better modeled by allowing a family of functions Egk where k, as before, is the strata level and g is a group index. In these embodiments, the genome is partitioned into non-overlapping segments; and, for each segment, Equation 17 is derived.
here |K/M| was the number of non excluded positions in the segment assigned to GC level k, K is the set of genomic positions in the segment where strata is equal to k, and M is the set of positions excluded from analysis.
Equation 17 leaves an Ek for each segment. Machine learning is performed, for example n-means clustering or other unsupervised learning, to group the Ek into clusters with similar shape.
Then an expected count function is derived for each group, g, as above but only using positions that have been assigned to the group, as given by Equation 18.
for each g in G, where G is the set of all clusters or groups. Use of heterogeneous expected count function significantly reduces nuisance variability in locus scores.
Various embodiments include: clustering based upon fragment length; other weight functions that optimize the minority (fetal, tumor, transplant) signal; grammatical methods such as Hidden Markov Methods to determine the cluster membership of a genomic position; and, other clustering or machine learning methods that produce similar results, such as: cluster analysis, CART, self organizing maps, neural networks, among others.
Given a sufficiently large set of samples the following process is used to generate weights, w, for each genomic base position, j. The samples are aligned to the genome and wj is estimated based upon coverage of fragments stratified by size. A simple example weighting function is given by Equation 19.
In the above methods, an expected count function was defined which uses genomic loci in the set K\M where K is a set of genomic loci (chromosome, genome, region of interest) and M is a mask set that is excluded from analysis. Above, M is intended to include positions that will rarely be sequenced due to nucleosome packaging, repetitive genome elements, or other reasons. When M more accurately excludes positions that will rarely be sequenced, the more accurate the single base normalization will be.
Given weights as above, one can define automated methods to construct M and establish ways to generalize M to be floating point weights instead of binary (1/0) numbers—for example by setting M(j)=0 for positions where w is below a threshold value.
The nucleosome profiling of Strayer et al 2016 uses the fact that when there is little or no minority fraction, sequencing coverage will be biased to occur less in DNA wound in nucleosomes.
For example the original nucleosome score for a genomic position from Strayer et al is given by Equation 20a.
where x is a genomic position and RP(j) is the number of reads starting at j. The expected count (Ek) above can be used to exclude positions that, for reasons having nothing to do with nucleosomes, are not covered by sampling sequence. For example, Equation 20b can be used.
np(j)=s(j)nw(j) (20b)
where nw is a function assigning less importance to positions with smaller Egi. Thus, an improved nucleosome profile could be used to improve estimates of minority fraction (fetal fraction, tumor load etc.).
Given an individual with a minority entity present (fetus, tumor, transplanted organ, etc. . . . ), in some embodiments, a sequence or assay is performed for the entity before and after removal (birth, exit, removal, or treatment) of the entity and at time intervals before and after removal to assess the effectiveness of treatment or the completeness of removal. Additionally the individual can be assayed at time of screening or diagnoses of a condition such as a tumor to track progression of disease by quantifying the fraction or load of the minority entities.
As above, an expected count function is established; but, instead of doing so on a per sample basis, it is done for the individual and the same (rescaled) function is used for the same individual pre-treatment and posttreatment. The difference in signal detected should be centered at a value corresponding to the minority fraction (fetal fraction, tumor load, etc. . . . ). For a homozygous difference, the difference will correspond to (1−minority_fraction)/2. Load and differing loci are stored in a data base for later association studies, risk stratification, and outcome modeling.
The analyses above relied upon subtle differences in coverage to detect copy number variations (CNVs) as well as quantify minority fraction (fetal fraction, tumor load, etc. . . . ). Not all structural variations associated with disease are CNVs. For example, in cancer, gene fusions are often seen (example: Philadelphia chromosome).
Minority entities such as tumors, parasites, infectious organisms, and other conditions often introduce or shed DNA into the majority (host) bloodstream. Such DNA is often aberrant sequence that is not (or is less) alignable to the reference genome. Using this less or un-alignable sequence to directly determine disease or minority fraction is compounded by the fact that, even in the sequencing of normal samples, there are always a certain number of sequences that do not align well to a single location of the reference genome for the full length of the generated sequence (or when the sequenced ends of a fragment of DNA in paired end sequencing do not align to the same genomic location).
By categorizing and storing in a data base non (or less) alignable generated sequences from large numbers of normal samples, the occurrence of previously unseen or uncommon non alignable variants that arise from cancer or other conditions can be flagged and used to assess minority fraction or for diagnostic or prognostic purposes, or for assessing treatment effectiveness.
In addition to using large number of normal samples to establish a Null or Nominal set of un-alignable features, a single sample pre or post operation or treatment can be used to establish a Null set; and, and minority fraction and/or outcome can be predicted from the type and frequency of un-aligned features compared to the Null condition.
Thus, in some embodiments, the minority fraction estimate can be improved by using the number of un-alignable features, as given in Equation 21.
where T is a transfer function that is data source and data type specific.
As the method is used in a clinical setting, the types and amount of un-alignable features observed and stored in a data base with sample metadata and outcome and response to treatment data. The database that is accumulated in this manner can be used to train deep learning and statistical methods to predict disease presence, prognostic outcome, and expected response to treatment. Furthermore, the un-alignable signals can be used to train machine learning methods to identify patients most likely to reject organ transplants.
Various other embodiments include: the un-alignable generated sequences that arise from contamination can be filtered by searching generated read matches with the genomes or sequence generated from other organisms; and, the sum in the Equation 21 can be any other equation contrasting observed fragments with fragments expected from the Null or Nominal model.
In some embodiments, neural network auto-encoding is used in addition to or instead of the correction methods described above.
A sequence of binary digits constitutes digital data that is used to represent a number or code for a character. A bus 1010 includes many parallel conductors of information so that information is transferred quickly among devices coupled to the bus 1010. One or more processors 1002 for processing information are coupled with the bus 1010. A processor 1002 performs a set of operations on information. The set of operations include bringing information in from the bus 1010 and placing information on the bus 1010. The set of operations also typically include comparing two or more units of information, shifting positions of units of information, and combining two or more units of information, such as by addition or multiplication. A sequence of operations to be executed by the processor 1002 constitutes computer instructions.
Computer system 1000 also includes a memory 1004 coupled to bus 1010. The memory 1004, such as a random access memory (RAM) or other dynamic storage device, stores information including computer instructions. Dynamic memory allows information stored therein to be changed by the computer system 1000. RAM allows a unit of information stored at a location called a memory address to be stored and retrieved independently of information at neighboring addresses. The memory 1004 is also used by the processor 1002 to store temporary values during execution of computer instructions. The computer system 1000 also includes a read only memory (ROM) 1006 or other static storage device coupled to the bus 1010 for storing static information, including instructions, that is not changed by the computer system 1000. Also coupled to bus 1010 is a non-volatile (persistent) storage device 1008, such as a magnetic disk or optical disk, for storing information, including instructions, that persists even when the computer system 1000 is turned off or otherwise loses power.
Information, including instructions, is provided to the bus 1010 for use by the processor from an external input device 1012, such as a keyboard containing alphanumeric keys operated by a human user, or a sensor. A sensor detects conditions in its vicinity and transforms those detections into signals compatible with the signals used to represent information in computer system 1000. Other external devices coupled to bus 1010, used primarily for interacting with humans, include a display device 1014, such as a cathode ray tube (CRT) or a liquid crystal display (LCD), for presenting images, and a pointing device 1016, such as a mouse or a trackball or cursor direction keys, for controlling a position of a small cursor image presented on the display 1014 and issuing commands associated with graphical elements presented on the display 1014.
In the illustrated embodiment, special purpose hardware, such as an application specific integrated circuit (IC) 1020, is coupled to bus 1010. The special purpose hardware is configured to perform operations not performed by processor 1002 quickly enough for special purposes. Examples of application specific ICs include graphics accelerator cards for generating images for display 1014, cryptographic boards for encrypting and decrypting messages sent over a network, speech recognition, and interfaces to special external devices, such as robotic arms and medical scanning equipment that repeatedly perform some complex sequence of operations that are more efficiently implemented in hardware.
Computer system 1000 also includes one or more instances of a communications interface 1070 coupled to bus 1010. Communication interface 1070 provides a two-way communication coupling to a variety of external devices that operate with their own processors, such as printers, scanners and external disks. In general the coupling is with a network link 1078 that is connected to a local network 1080 to which a variety of external devices with their own processors are connected. For example, communication interface 1070 may be a parallel port or a serial port or a universal serial bus (USB) port on a personal computer. In some embodiments, communications interface 1070 is an integrated services digital network (ISDN) card or a digital subscriber line (DSL) card or a telephone modem that provides an information communication connection to a corresponding type of telephone line. In some embodiments, a communication interface 1070 is a cable modem that converts signals on bus 1010 into signals for a communication connection over a coaxial cable or into optical signals for a communication connection over a fiber optic cable. As another example, communications interface 1070 may be a local area network (LAN) card to provide a data communication connection to a compatible LAN, such as Ethernet. Wireless links may also be implemented. Carrier waves, such as acoustic waves and electromagnetic waves, including radio, optical and infrared waves travel through space without wires or cables. Signals include man-made variations in amplitude, frequency, phase, polarization or other physical properties of carrier waves. For wireless links, the communications interface 1070 sends and receives electrical, acoustic or electromagnetic signals, including infrared and optical signals that carry information streams, such as digital data.
The term computer-readable medium is used herein to refer to any medium that participates in providing information to processor 1002, including instructions for execution. Such a medium may take many forms, including, but not limited to, non-volatile media, volatile media and transmission media. Non-volatile media include, for example, optical or magnetic disks, such as storage device 1008. Volatile media include, for example, dynamic memory 1004. Transmission media include, for example, coaxial cables, copper wire, fiber optic cables, and waves that travel through space without wires or cables, such as acoustic waves and electromagnetic waves, including radio, optical and infrared waves. The term computer-readable storage medium is used herein to refer to any medium that participates in providing information to processor 1002, except for transmission media.
Common forms of computer-readable media include, for example, a floppy disk, a flexible disk, a hard disk, a magnetic tape, or any other magnetic medium, a compact disk ROM (CD-ROM), a digital video disk (DVD) or any other optical medium, punch cards, paper tape, or any other physical medium with patterns of holes, a RAM, a programmable ROM (PROM), an erasable PROM (EPROM), a FLASH-EPROM, or any other memory chip or cartridge, a carrier wave, or any other medium from which a computer can read. The term non-transitory computer-readable storage medium is used herein to refer to any medium that participates in providing information to processor 1002, except for carrier waves and other signals.
Logic encoded in one or more tangible media includes one or both of processor instructions on a computer-readable storage media and special purpose hardware, such as ASIC 1020.
Network link 1078 typically provides information communication through one or more networks to other devices that use or process the information. For example, network link 1078 may provide a connection through local network 1080 to a host computer 1082 or to equipment 1084 operated by an Internet Service Provider (ISP). ISP equipment 1084 in turn provides data communication services through the public, world-wide packet-switching communication network of networks now commonly referred to as the Internet 1090. A computer called a server 1092 connected to the Internet provides a service in response to information received over the Internet. For example, server 1092 provides information representing video data for presentation at display 1014.
The invention is related to the use of computer system 1000 for implementing the techniques described herein. According to one embodiment of the invention, those techniques are performed by computer system 1000 in response to processor 1002 executing one or more sequences of one or more instructions contained in memory 1004. Such instructions, also called software and program code, may be read into memory 1004 from another computer-readable medium such as storage device 1008. Execution of the sequences of instructions contained in memory 1004 causes processor 1002 to perform the method steps described herein. In alternative embodiments, hardware, such as application specific integrated circuit 1020, may be used in place of or in combination with software to implement the invention. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
The signals transmitted over network link 1078 and other networks through communications interface 1070, carry information to and from computer system 1000. Computer system 1000 can send and receive information, including program code, through the networks 1080, 1090 among others, through network link 1078 and communications interface 1070. In an example using the Internet 1090, a server 1092 transmits program code for a particular application, requested by a message sent from computer 1000, through Internet 1090, ISP equipment 1084, local network 1080 and communications interface 1070. The received code may be executed by processor 1002 as it is received, or may be stored in storage device 1008 or other non-volatile storage for later execution, or both. In this manner, computer system 1000 may obtain application program code in the form of a signal on a carrier wave.
Various forms of computer readable media may be involved in carrying one or more sequence of instructions or data or both to processor 1002 for execution. For example, instructions and data may initially be carried on a magnetic disk of a remote computer such as host 1082. The remote computer loads the instructions and data into its dynamic memory and sends the instructions and data over a telephone line using a modem. A modem local to the computer system 1000 receives the instructions and data on a telephone line and uses an infra-red transmitter to convert the instructions and data to a signal on an infra-red a carrier wave serving as the network link 1078. An infrared detector serving as communications interface 1070 receives the instructions and data carried in the infrared signal and places information representing the instructions and data onto bus 1010. Bus 1010 carries the information to memory 1004 from which processor 1002 retrieves and executes the instructions using some of the data sent with the instructions. The instructions and data received in memory 1004 may optionally be stored on storage device 1008, either before or after execution by the processor 1002.
In one embodiment, the chip set 1100 includes a communication mechanism such as a bus 1101 for passing information among the components of the chip set 1100. A processor 1103 has connectivity to the bus 1101 to execute instructions and process information stored in, for example, a memory 1105. The processor 1103 may include one or more processing cores with each core configured to perform independently. A multi-core processor enables multiprocessing within a single physical package. Examples of a multi-core processor include two, four, eight, or greater numbers of processing cores. Alternatively or in addition, the processor 1103 may include one or more microprocessors configured in tandem via the bus 1101 to enable independent execution of instructions, pipelining, and multithreading. The processor 1103 may also be accompanied with one or more specialized components to perform certain processing functions and tasks such as one or more digital signal processors (DSP) 1107, or one or more application-specific integrated circuits (ASIC) 1109. A DSP 1107 typically is configured to process real-world signals (e.g., sound) in real time independently of the processor 1103. Similarly, an ASIC 1109 can be configured to performed specialized functions not easily performed by a general purposed processor. Other specialized components to aid in performing the inventive functions described herein include one or more field programmable gate arrays (FPGA) (not shown), one or more controllers (not shown), or one or more other special-purpose computer chips.
The processor 1103 and accompanying components have connectivity to the memory 1105 via the bus 1101. The memory 1105 includes both dynamic memory (e.g., RAM, magnetic disk, writable optical disk, etc.) and static memory (e.g., ROM, CD-ROM, etc.) for storing executable instructions that when executed perform one or more steps of a method described herein. The memory 1105 also stores the data associated with or generated by the execution of one or more steps of the methods described herein.
In the foregoing specification, the invention has been described with reference to specific embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the invention. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense. Throughout this specification and the claims, unless the context requires otherwise, the word “comprise” and its variations, such as “comprises” and “comprising,” will be understood to imply the inclusion of a stated item, element or step or group of items, elements or steps but not the exclusion of any other item, element or step or group of items, elements or steps. Furthermore, the indefinite article “a” or “an” is meant to indicate one or more of the item, element or step modified by the article. As used herein, unless otherwise clear from the context, a value is “about” another value if it is within a factor of two (twice or half) of the other value. While example ranges are given, unless otherwise clear from the context, any contained ranges are also intended in various embodiments. Thus, a range from 0 to 10 includes the range 1 to 4 in some embodiments.
This application claims benefit of Provisional Appln. 62/531,382, filed Jul. 12, 2017, and Provisional Appln. 62/484,520, filed Apr. 12, 2017, the entire contents of which are hereby incorporated by reference as if fully set forth herein, under 35 U.S.C. § 119.
Number | Date | Country | |
---|---|---|---|
62484520 | Apr 2017 | US | |
62531382 | Jul 2017 | US |