<!DOCTYPE article
PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD with MathML3 v1.4 20241031//EN" "JATS-archivearticle1-4-mathml3.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="1.4" xml:lang="en" article-type="research-article"><?properties manuscript?><processing-meta base-tagset="archiving" mathml-version="3.0" table-model="xhtml" tagset-family="jats"><restricted-by>pmc</restricted-by></processing-meta><front><journal-meta><journal-id journal-id-type="nlm-journal-id">9433358</journal-id><journal-id journal-id-type="pubmed-jr-id">8799</journal-id><journal-id journal-id-type="nlm-ta">J Comput Biol</journal-id><journal-id journal-id-type="iso-abbrev">J Comput Biol</journal-id><journal-title-group><journal-title>Journal of computational biology : a journal of computational molecular cell biology</journal-title></journal-title-group><issn pub-type="ppub">1066-5277</issn><issn pub-type="epub">1557-8666</issn></journal-meta><article-meta><article-id pub-id-type="pmid">41902738</article-id><article-id pub-id-type="pmc">13051658</article-id><article-id pub-id-type="doi">10.1177/15578666261436820</article-id><article-id pub-id-type="manuscript">HHSPA2161652</article-id><article-categories><subj-group subj-group-type="heading"><subject>Article</subject></subj-group></article-categories><title-group><article-title>Assessment of PHRED Score Characteristics in Illumina MiSeq Amplicon Sequencing</article-title></title-group><contrib-group><contrib contrib-type="author"><name><surname>SIMS</surname><given-names>SETH</given-names></name><xref rid="A1" ref-type="aff">1</xref><xref rid="A2" ref-type="aff">2</xref></contrib><contrib contrib-type="author"><name><surname>KHUDYAKOV</surname><given-names>YURY</given-names></name><xref rid="A1" ref-type="aff">1</xref></contrib><contrib contrib-type="author"><name><surname>ZELIKOVSKY</surname><given-names>ALEXANDER</given-names></name><xref rid="A2" ref-type="aff">2</xref><xref rid="A3" ref-type="aff">3</xref></contrib></contrib-group><aff id="A1"><label>1</label>Molecular Epidemiology and Bioinformatics Laboratory, Division of Viral Hepatitis, Centers for Disease Control and Prevention, Atlanta, Georgia, USA.</aff><aff id="A2"><label>2</label>Department of Computer Science, College of Arts and Sciences, Georgia State University, Atlanta, Georgia, USA.</aff><aff id="A3"><label>3</label>The Laboratory of Bioinformatics, I.M. Sechenov First Moscow State Medical University, Moscow, Russia.</aff><author-notes><fn fn-type="con" id="FN1"><p id="P1">AUTHORS&#x02019; CONTRIBUTIONS</p><p id="P2">S.S.: Conceptualization, methodology, software, formal analysis, data curation, writing&#x02014;original draft, and visualization. Y.K.: Writing&#x02014;review and editing, project administration, and supervision. A.Z.: Writing&#x02014;review and editing, project administration, and supervision.</p></fn><corresp id="CR1">Address correspondence to: Dr. Seth Sims, Molecular Epidemiology and Bioinformatics Laboratory, Division of Viral Hepatitis, Centers for Disease Control and Prevention, Clifton Road, 33 Gilmer Street SE, Atlanta, GA 30302-3965, USA, <email>xzy3@cdc.gov</email></corresp></author-notes><pub-date pub-type="nihms-submitted"><day>30</day><month>3</month><year>2026</year></pub-date><pub-date pub-type="ppub"><season>May-Jun</season><year>2026</year></pub-date><pub-date pub-type="epub"><day>28</day><month>3</month><year>2026</year></pub-date><pub-date pub-type="pmc-release"><day>07</day><month>4</month><year>2026</year></pub-date><volume>33</volume><issue>5-6</issue><fpage>705</fpage><lpage>715</lpage><abstract id="ABS1"><p id="P3">PHRED scores are confidence values associated with each basecall generated by sequencers. The score is defined as a monotonic function of the probability that the basecall is incorrect. The calibration of PHRED scores has previously been examined by evaluating errors made in reading known sequences. We investigated the calibration of the Illumina MiSeq instrument PHRED model using data from a large dataset. We also derive calibration methods for the PHRED scores in datasets similar to those produced by the Global Hepatitis Outbreak and Surveillance Technology (GHOST). The GHOST protocol uses a short amplicon, resulting in many positions having two base calls, one coming from each of the paired reads. A maximum likelihood model of redundant base calls that match each other was used to estimate corrected probabilities of the PHRED scores. The PHRED scores showed only small absolute deviations from their target values. These differences are statistically significant deviations (<inline-formula><mml:math id="M1" display="inline"><mml:mi>p</mml:mi><mml:mo>&#x0003c;</mml:mo><mml:mn>0.0001</mml:mn></mml:math></inline-formula>) from being calibrated. The accuracy of the scores varied significantly between the MiSeq instrument runs. Recalibration produced quality scores that improved Brier scores for the dataset by an average relative improvement of 2.83%. Methods developed to create calibration curves for PHRED scores will be useful in improving error-correction pipelines based on redundant deep sequencing of amplicon data. However, quality scores are relatively uninformative of substitution errors. The quality scores assigned are determined more by the global error rate of the sequencing run in the current machine cycle than by the characteristics of the specific base call.</p></abstract><kwd-group><kwd>amplicon sequencing</kwd><kwd>Illumina MiSeq</kwd><kwd>paired-end sequencing</kwd><kwd>PHRED score</kwd></kwd-group></article-meta></front><body><sec id="S1"><label>1.</label><title>INTRODUCTION</title><p id="P4">Viral hepatitis represents a significant public health challenge. In 2017, the National Academies of Science, Engineering, and Medicine released a strategy for the elimination of hepatitis B and C viruses (HBV, HCV) from the United States. Associated recommendations included working with states to improve viral hepatitis screening and information collection (<xref rid="R2" ref-type="bibr">Buckley and Strom, 2017</xref>).</p><p id="P5">The Global Hepatitis Outbreak and Surveillance Technology (GHOST) system is a program of the Centers for Disease Control and Prevention (CDC) to address the enhanced hepatitis screening recommendation. GHOST is an epidemiological decision support and molecular data collection system. The system clusters related cases, allowing the source tracing of hepatitis outbreaks. It also highlights unusual situations useful for epidemiological investigations, such as superinfections of HCV, which are transient phenomena that are only regularly observable in high-risk environments such as injection drug use. GHOST uses a deep-amplicon-based sequencing protocol that targets a region of the HCV genome called hypervariable region 1 (HVR1; <xref rid="R10" ref-type="bibr">Longmire et al., 2017</xref>). The sequencing protocol is intended to sample the structure of the intra-host HCV population found in a sample. To do so, we have developed an error-correction and filtering pipeline that uses a 2 &#x000d7; 300 bp sequencing kit on an amplicon with a design length of 264. Therefore, many bases of each molecule are sequenced twice, once in the first read and once in the second read.</p><p id="P6">As part of each cycle, the sequencing machine estimates a confidence value known as the PHRED score, which is output along with the base call. Originally developed for Sanger Sequencing, the PHRED score is defined in <xref rid="FD1" ref-type="disp-formula">equation 1</xref> where <inline-formula><mml:math id="M5" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> is the estimated probability that a base was called incorrectly (<xref rid="R6" ref-type="bibr">Ewing and Green, 1998</xref>) (<xref rid="R7" ref-type="bibr">Ewing et al., 1998</xref>).</p><disp-formula id="FD1">
<label>(1)</label>
<mml:math id="M6" display="block"><mml:mi>Q</mml:mi><mml:mo>=</mml:mo><mml:mtext>Round</mml:mtext><mml:mo>(</mml:mo><mml:mo>&#x02212;</mml:mo><mml:mn>10</mml:mn><mml:mspace width="thickmathspace"/><mml:mtext>log</mml:mtext><mml:mspace width="thickmathspace"/><mml:mi>p</mml:mi><mml:mo>)</mml:mo></mml:math>
</disp-formula><p id="P7">For such a binary confidence value to be calibrated, the events that are assigned a probability of 30% should have a long-run error frequency of 30% (<xref rid="R3" ref-type="bibr">Dawid, 1982</xref>). The most direct method of evaluating the calibration of the PHRED scores involves measuring substitution errors made in a known sequence. This has been used by <xref rid="R14" ref-type="bibr">Schirmer et al. (2015)</xref> to measure the calibration of sequencing amplicons on the MiSeq instrument. These experiments are useful in characterizing the MiSeq instrument, but they rely on a known ground truth of the sequences. Such experiments are not commonly performed because they do not produce other information. Examination of the overlap of paired end sequences has been used to evaluate the overall usefulness of quality scores by <xref rid="R5" ref-type="bibr">Eren et al. (2013)</xref>. Their article developed an error filtering method based on overlapping reads matching across the entire overlap length. However, they did not investigate the quality scores themselves, instead examining how quality score-based read filtering methods changed the fraction of reads that merged using their criteria. <xref rid="R21" ref-type="bibr">Zhang et al. (2017)</xref> developed a method for estimating the PHRED values from raw data generated during HiSeq operation. Their method used runs of phiX174 sequences as known sequences. Illumina MiSeq uses PhiX174 to increase the complexity of the sequences on the chip to improve cluster detection in the raw image data captured from the flow cell. Errors were identified using a short-read alignment to the phiX174 genome. They compared base calls with the known phiX174 sequence, detected errors, and subsequently evaluated their new scoring method with the Illumina HiSeq built-in method. The Zhang et al. method used several features from the raw data used by the on-instrument base calling process, which is not available in our datasets, as we only receive the base calling results.</p><p id="P8">As GHOST reads purposefully overlap, every sample sequenced by the GHOST protocol provides a natural indirect experiment in the calibration of the PHRED scores. Analyzing the intentional overlap of paired reads allows for the isolation of sequencing errors from errors incurred during library construction. This is a significant advantage over existing methods that conflate the two error sources. GHOST is accepting sequences from multiple MiSeq instruments and has accumulated many runs using the overlapping protocol. These datasets provide an opportunity to measure the distributions of many features of the performance of the Illumina MiSeq instrument under varying conditions.</p><p id="P9">As an automated system making important public health recommendations, GHOST must be able to determine the quality of the data that motivates these recommendations. The authors have published two articles describing the specifics of sequencing quality monitoring <xref rid="R10" ref-type="bibr">Longmire et al. (2017)</xref> and <xref rid="R16" ref-type="bibr">Sims et al. (2018)</xref>. At multiple points along the quality control pipeline, a sample can be rejected, and a suggestion is returned to the user on what likely caused the rejection and how to improve the sequencing quality. The reads are subjected to steps such as verifying sequence identifiers, verifying the expected primers, merging reads, checking for open reading frames, and a genotyping step, which rejects samples that cannot be assigned clearly to a subtype.</p><p id="P10">In this study, we intend to assess how accurate the MiSeq&#x02019;s internal error model, its calibration, and its usefulness for discrimination of sequencing errors using observations of overlapped paired-end reads. A maximum likelihood (ML) method of estimating the long-run error rate of sequencing errors indexed by machine-assigned PHRED scores is developed. We find that the PHRED scores are not calibrated, but the size of the error is small in most cases. However, the MiSeq error model does not separate sequencing errors from adjacent correct base calls, even though the assigned PHRED scores reflect the long-term error rate of the base call.</p></sec><sec id="S2"><label>2.</label><title>MATERIALS AND METHODS</title><sec id="S3"><label>2.1.</label><title>Data</title><p id="P11">Sequence data used in our analyses were deposited in the NCBI Short Read Archive (SRA) under BioProject accession PRJNA580030 during 2019&#x02013;2023 by the GHOST Team, Division of Viral Hepatitis, CDC. These data were generated using blood samples positive for HCV RNA tested by the GHOST team during 2016&#x02013;2019 while operating the GHOST system. Blood specimens submitted by various GHOST system users (e.g., state health departments) were sequenced to generate HVR1 gene sequencing data using the Illumina MiSeq sequencing platform and the standard GHOST HVR1 sequencing protocol (<xref rid="R10" ref-type="bibr">Longmire et al., 2017</xref>).</p></sec><sec id="S4"><label>2.2.</label><title>Data cleaning</title><p id="P12">The reads were filtered by discarding pairs where either read was shorter than 200 bp, contained ambiguous bases, or did not have the expected amplification primer sequences. The paired reads were then aligned to each other with a simple alignment as outlined in <xref rid="P13" ref-type="other">Algorithm 1</xref>. The minimum overlap length accepted was 10 bp to avoid misassemblies. Read pairs that did not have at least 85% matching base pairs in the overlapping region were discarded. Runs that did not have at least 10,000 reads assembled were discarded.</p><p id="P13">
<graphic xlink:href="nihms-2161652-f0001.jpg" position="float"/>
</p><p id="P14">We ignore indel errors in our alignment of the paired reads, as the MiSeq instrument&#x02019;s technology produces these only rarely. These filtering steps parallel the error correction and filtering methods used in the GHOST pipeline (<xref rid="R10" ref-type="bibr">Longmire et al., 2017</xref>).</p></sec><sec id="S5"><label>2.3.</label><title>Forecast of match from PHRED scores</title><p id="P15">A probability of base calls matching can be derived given PHRED scores of two overlapping reads, as in <xref rid="R4" ref-type="bibr">Edgar and Flyvbjerg (2015)</xref>:
<disp-formula id="FD2">
<label>(2)</label>
<mml:math id="M7" display="block"><mml:mi>P</mml:mi><mml:mfenced separators="|"><mml:mrow><mml:mtext>Match</mml:mtext><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo>=</mml:mo><mml:mfenced separators="|"><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mfenced separators="|"><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo>+</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:mfrac></mml:math>
</disp-formula>
where <inline-formula><mml:math id="M8" display="inline"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is the probability associated with the forward PHRED score and <inline-formula><mml:math id="M9" display="inline"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is the probability of the reverse score associated with the reverse PHRED score. The number of matching versus mismatching base calls can be directly observed from the data. We counted the fraction of base calls that match across all of our datasets, both globally and collated with forward and reverse PHRED scores.</p></sec><sec id="S6"><label>2.4.</label><title>Measuring the calibration of MiSeq instrument PHRED scores</title><p id="P16">PHRED scores serve as indicators of the error rates associated with base calls in DNA sequencing. These scores allow for the calculation of matching probabilities, as described in <xref rid="FD2" ref-type="disp-formula">Equation 2</xref>. Consequently, they can also be used to assess the likelihood of overlapping base calls matching. To evaluate the quality of such probabilistic binary forecasts, classification loss functions like the Brier score can be employed (<xref rid="R1" ref-type="bibr">Brier, 1950</xref>).
<disp-formula id="FD3">
<label>(3)</label>
<mml:math id="M10" display="block"><mml:mtext mathvariant="italic">BS</mml:mtext><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:mfrac><mml:mrow><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:munderover></mml:mrow><mml:msup><mml:mrow><mml:mfenced separators="|"><mml:mrow><mml:msub><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mrow><mml:mi>o</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mspace width="1em"/><mml:msub><mml:mrow><mml:mi>o</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfenced open="{" close="" separators="|"><mml:mrow><mml:mtable columnalign="left"><mml:mtr><mml:mtd><mml:mn>0</mml:mn></mml:mtd><mml:mtd><mml:mtext>basecall</mml:mtext><mml:mspace width="thickmathspace"/><mml:mtext>pair</mml:mtext><mml:mspace width="thickmathspace"/><mml:mi>i</mml:mi><mml:mspace width="thickmathspace"/><mml:mtext>mismatch</mml:mtext></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mn>1</mml:mn></mml:mtd><mml:mtd><mml:mtext>basecall</mml:mtext><mml:mspace width="thickmathspace"/><mml:mtext>pair</mml:mtext><mml:mspace width="thickmathspace"/><mml:mi>i</mml:mi><mml:mspace width="thickmathspace"/><mml:mtext>match</mml:mtext></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:mfenced></mml:math>
</disp-formula>
where <inline-formula><mml:math id="M11" display="inline"><mml:msub><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is the forecast probability of matching, <inline-formula><mml:math id="M12" display="inline"><mml:msub><mml:mrow><mml:mi>o</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is an indicator function, and <inline-formula><mml:math id="M13" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula> is the number of forecasts made. The value of a Brier score does not have a particular meaning in isolation; it is only useful in comparison of different methods to predict a particular system (<xref rid="R15" ref-type="bibr">Schmid and Griffith, 2005</xref>). Forecasting methods that produce a smaller Brier score on the same sample are more accurate for the prediction of that system. Given that PHRED scores are discrete and that matching probabilities depend solely on these two scores, our data can be neatly organized into equal bins based on paired PHRED scores. By grouping similar forecasts into mutually exclusive and exhaustive bins, the Brier score can be decomposed into three components, called reliability (REL), resolution (RES), and uncertainty (UNC).</p><p id="P17">REL is the difference between the forecast in the bin and the observed probability in that bin. It represents the error added by the miscalibration of the forecasting method itself. RES measures how well the forecast method matches events with different probabilities to bins. This is the reduction of the Brier score value by using the forecast over just using the average error of all events. UNC is related to the overall predictability of events. It is the Brier score for the baseline if the long-term frequency of the events is used rather than the forecasting method under study (<xref rid="R12" ref-type="bibr">Murphy, 1973</xref>).</p><p id="P18">Examining the magnitude of the three components can give an impression of the source of error in a forecast. In the case where RES &#x0003c; REL, nothing is gained from using the forecast method, and it would be better to simply use the long-term frequency of the events. To calculate the decomposition, events are grouped into <inline-formula><mml:math id="M14" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula> bins with similar forecast probability and sample size <inline-formula><mml:math id="M15" display="inline"><mml:mi>N</mml:mi></mml:math></inline-formula>.
<disp-formula id="FD4">
<label>(4)</label>
<mml:math id="M16" display="block"><mml:mtext>BS</mml:mtext><mml:mo>=</mml:mo><mml:mtext>REL</mml:mtext><mml:mo>&#x02212;</mml:mo><mml:mtext>RES</mml:mtext><mml:mo>+</mml:mo><mml:mtext>UNC</mml:mtext></mml:math>
</disp-formula>
<disp-formula id="FD5">
<label>(5)</label>
<mml:math id="M17" display="block"><mml:mtext>REL</mml:mtext><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:mfrac><mml:mrow><mml:munder><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:munder></mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:msup><mml:mrow><mml:mfenced separators="|"><mml:mrow><mml:msub><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>o</mml:mi></mml:mrow><mml:mi>&#x0203e;</mml:mi></mml:mover></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:math>
</disp-formula>
<disp-formula id="FD6">
<label>(6)</label>
<mml:math id="M18" display="block"><mml:mtext>RES</mml:mtext><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:mfrac><mml:mrow><mml:munder><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:munder></mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:msup><mml:mrow><mml:mfenced separators="|"><mml:mrow><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>o</mml:mi></mml:mrow><mml:mi>&#x0203e;</mml:mi></mml:mover></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02212;</mml:mo><mml:mover accent="true"><mml:mrow><mml:mi>o</mml:mi></mml:mrow><mml:mi>&#x0203e;</mml:mi></mml:mover></mml:mrow></mml:mfenced></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:math>
</disp-formula>
<disp-formula id="FD7">
<label>(7)</label>
<mml:math id="M19" display="block"><mml:mtext>UNC</mml:mtext><mml:mo>=</mml:mo><mml:mover accent="true"><mml:mrow><mml:mi>o</mml:mi></mml:mrow><mml:mi>&#x0203e;</mml:mi></mml:mover><mml:mo>(</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:mover accent="true"><mml:mrow><mml:mi>o</mml:mi></mml:mrow><mml:mi>&#x0203e;</mml:mi></mml:mover><mml:mo>)</mml:mo></mml:math>
</disp-formula>
with <inline-formula><mml:math id="M20" display="inline"><mml:mover accent="true"><mml:mrow><mml:mi>o</mml:mi></mml:mrow><mml:mi>&#x0203e;</mml:mi></mml:mover></mml:math></inline-formula> being the fraction of times the forecast event occurred for the entire sample, <inline-formula><mml:math id="M21" display="inline"><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>o</mml:mi></mml:mrow><mml:mi>&#x0203e;</mml:mi></mml:mover></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> the observed fraction of events for the bin <inline-formula><mml:math id="M22" display="inline"><mml:mi>k</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> the number of items in the bin <inline-formula><mml:math id="M23" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>, and <inline-formula><mml:math id="M24" display="inline"><mml:msub><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> as the forecast probability for the bin.</p><p id="P19"><xref rid="R17" ref-type="bibr">Spiegelhalter (1986)</xref> developed a <inline-formula><mml:math id="M25" display="inline"><mml:mi>z</mml:mi></mml:math></inline-formula>-statistic for the Brier score (<xref rid="FD8" ref-type="disp-formula">Eq. 8</xref>)). This statistic is used to detect miscalibration of a particular forecasting method.</p><disp-formula id="FD8">
<label>(8a)</label>
<mml:math id="M26" display="block"><mml:mtext>E</mml:mtext><mml:mo stretchy="false">[</mml:mo><mml:mtext mathvariant="italic">Brier</mml:mtext><mml:mo stretchy="false">]</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:mfrac><mml:mrow><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:munderover></mml:mrow><mml:msub><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mfenced separators="|"><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:math>
</disp-formula><disp-formula id="FD9">
<label>(8b)</label>
<mml:math id="M27" display="block"><mml:mtext>Var</mml:mtext><mml:mo stretchy="false">[</mml:mo><mml:mtext mathvariant="italic">Brier</mml:mtext><mml:mo stretchy="false">]</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mfrac><mml:mrow><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>N</mml:mi></mml:mrow></mml:munderover></mml:mrow><mml:msub><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mfenced separators="|"><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:msup><mml:mrow><mml:mfenced separators="|"><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:mn>2</mml:mn><mml:msub><mml:mrow><mml:mi>f</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:math>
</disp-formula><disp-formula id="FD10">
<label>(8c)</label>
<mml:math id="M28" display="block"><mml:mi>Z</mml:mi><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mi>O</mml:mi><mml:mo>(</mml:mo><mml:mtext mathvariant="italic">Brier</mml:mtext><mml:mo>)</mml:mo><mml:mo>&#x02212;</mml:mo><mml:mtext>E</mml:mtext><mml:mo>[</mml:mo><mml:mtext mathvariant="italic">Brier</mml:mtext><mml:mo>]</mml:mo></mml:mrow><mml:mrow><mml:msqrt><mml:mtext>Var</mml:mtext><mml:mo>[</mml:mo><mml:mtext mathvariant="italic">Brier</mml:mtext><mml:mo>]</mml:mo></mml:msqrt></mml:mrow></mml:mfrac></mml:math>
</disp-formula><p id="P20">The Poisson binomial distribution is a discrete probability distribution of the number of independent Bernoulli trials when the probability of success at each trial varies (<xref rid="R19" ref-type="bibr">Wang, 1993</xref>). The Poisson binomial distribution is used to estimate the expected number of matches predicted by the PHRED scores of a particular database of reads using <xref rid="FD11" ref-type="disp-formula">equation 9</xref> (<xref rid="R4" ref-type="bibr">Edgar and Flyvbjerg, 2015</xref>).</p><disp-formula id="FD11">
<label>(9)</label>
<mml:math id="M29" display="block"><mml:mtext>E</mml:mtext><mml:mo stretchy="false">[</mml:mo><mml:mtext>Match</mml:mtext><mml:mo stretchy="false">]</mml:mo><mml:mo>=</mml:mo><mml:mrow><mml:munder><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:munder></mml:mrow><mml:mi>P</mml:mi><mml:mfenced separators="|"><mml:mrow><mml:mtext>Match</mml:mtext><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:math>
</disp-formula></sec><sec id="S7"><label>2.5.</label><title>Maximum likelihood calibration of PHRED probabilities</title><p id="P21">The method of ML was used to estimate the true value of the PHRED score probabilities. Each pair of PHRED scores observed was assumed to follow an independent binomial distribution, with the probability of success being <inline-formula><mml:math id="M30" display="inline"><mml:mi>P</mml:mi><mml:mfenced separators="|"><mml:mrow><mml:mtext>Match</mml:mtext><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:math></inline-formula> (see <xref rid="FD2" ref-type="disp-formula">Eq. 2</xref>). The following likelihood was optimized for each dataset, keeping the best of 300 replicates of the SciPy optimize L-BGFS-B implementation with random starting values (<xref rid="R18" ref-type="bibr">Virtanen et al., 2020</xref>).
<disp-formula id="FD12">
<mml:math id="M31" display="block"><mml:mi>f</mml:mi><mml:mo stretchy="false">(</mml:mo><mml:mtext mathvariant="bold">K</mml:mtext><mml:mo>,</mml:mo><mml:mtext mathvariant="bold">R</mml:mtext><mml:mo>,</mml:mo><mml:mtext mathvariant="bold">P</mml:mtext><mml:mo stretchy="false">)</mml:mo><mml:mo>=</mml:mo><mml:mrow><mml:munder><mml:mo mathvariant="bold">&#x0220f;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mtext mathvariant="bold">I</mml:mtext></mml:mrow></mml:munder></mml:mrow><mml:mfenced separators="|"><mml:mrow><mml:mfrac linethickness="0pt"><mml:mrow><mml:msub><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow></mml:mfenced><mml:msup><mml:mrow><mml:mfenced separators="|"><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:mi>P</mml:mi><mml:mfenced separators="|"><mml:mrow><mml:mtext>Match</mml:mtext><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msup><mml:msup><mml:mrow><mml:mfenced separators="|"><mml:mrow><mml:mi>P</mml:mi><mml:mfenced separators="|"><mml:mrow><mml:mtext>Match</mml:mtext><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:mrow></mml:mfenced></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msup></mml:math>
</disp-formula>
where <inline-formula><mml:math id="M32" display="inline"><mml:mi mathvariant="bold">I</mml:mi></mml:math></inline-formula> is the set of observed PHRED scores, <inline-formula><mml:math id="M33" display="inline"><mml:mi mathvariant="bold">K</mml:mi><mml:mo>=</mml:mo><mml:mfenced open="{" close="}" separators="|"><mml:mrow><mml:msub><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>:</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi mathvariant="bold">I</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula> is the number of matches indexed by paired PHRED scores, and <inline-formula><mml:math id="M34" display="inline"><mml:mi mathvariant="bold">R</mml:mi><mml:mo>=</mml:mo><mml:mfenced open="{" close="}" separators="|"><mml:mrow><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>:</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi><mml:mo>&#x02208;</mml:mo><mml:mi mathvariant="bold">I</mml:mi></mml:mrow></mml:mfenced></mml:math></inline-formula> is the number of mismatches indexed by paired PHRED scores.</p><p id="P23">The behavior of this estimator was investigated by attempting to recover the known ground truth of the simulated data.</p><p id="P24">
<graphic xlink:href="nihms-2161652-f0002.jpg" position="float"/>
</p><p id="P25">The average of the estimates and their 95% confidence intervals were plotted for all datasets.</p></sec><sec id="S8"><label>2.6.</label><title>Generation of simulated data</title><p id="P26">To assess the performance of the methods developed in this article, we created a mock data tool. The tool uses real datasets as input and creates mock datasets, taking every <inline-formula><mml:math id="M35" display="inline"><mml:msub><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math id="M36" display="inline"><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and drawing from a binomial distribution <inline-formula><mml:math id="M37" display="inline"><mml:msubsup><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mo>&#x02032;</mml:mo></mml:mrow></mml:msubsup><mml:mo>~</mml:mo><mml:mtext mathvariant="italic">Bin</mml:mtext><mml:mfenced separators="|"><mml:mrow><mml:msub><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:math></inline-formula> and <inline-formula><mml:math id="M38" display="inline"><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mo>&#x02032;</mml:mo></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mfenced separators="|"><mml:mrow><mml:msub><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced><mml:mo>&#x02212;</mml:mo><mml:msubsup><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow><mml:mrow><mml:mo>&#x02032;</mml:mo></mml:mrow></mml:msubsup></mml:math></inline-formula>. Where <inline-formula><mml:math id="M39" display="inline"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is the probability of the paired base calls with PHRED scores <inline-formula><mml:math id="M40" display="inline"><mml:mi>i</mml:mi></mml:math></inline-formula> and <inline-formula><mml:math id="M41" display="inline"><mml:mi>j</mml:mi></mml:math></inline-formula> matching.</p></sec><sec id="S9"><label>2.7.</label><title>Plotting and analysis</title><p id="P27">All plots and analyses were generated using Python 2.7, Matplotlib (<xref rid="R8" ref-type="bibr">Hunter, 2007</xref>), SciPy 0.19.0, NumPy 1.13.3, Pandas 0.20.2 (McKinney et al., 2010), and Seaborn 0.7.1 (<xref rid="R20" ref-type="bibr">Waskom et al., 2017</xref>).</p></sec></sec><sec id="S10"><label>3.</label><title>RESULTS</title><sec id="S11"><label>3.1.</label><title>Statistics of MiSeq instrument sequencing</title><p id="P28">We examined 91 MiSeq instrument runs produced by 17 different MiSeq instruments that contain <inline-formula><mml:math id="M42" display="inline"><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:mn>9.79</mml:mn><mml:mo>&#x000d7;</mml:mo><mml:msup><mml:mrow><mml:mn>10</mml:mn></mml:mrow><mml:mrow><mml:mn>9</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> paired base calls. Each run consisted of between 8 and 32 multiplexed HCV samples that belonged to different genotypes of HCV. The distribution of PHRED values showed a common distribution expected from the MiSeq instrument (<xref rid="F1" ref-type="fig">Fig. 1</xref>). Base calls in the forward read received higher PHRED scores, which decreased as the length of the sequence increased. The reverse read followed a similar pattern but showed much more variability in the scores assigned. In general, 8.6 &#x000d7; 10<sup>8</sup> reads passed the filtering steps. Most of the reads discarded were rejected due to the stringent exact match requirement of the Molecule Identifier filter (<xref rid="T1" ref-type="table">Table 1</xref>).</p><p id="P29">The total proportions of matching base calls varied significantly by run, indicating different average qualities of each run. In general, <inline-formula><mml:math id="M43" display="inline"><mml:mi>&#x003bc;</mml:mi><mml:mo>=</mml:mo><mml:mn>0.970</mml:mn></mml:math></inline-formula> of events were matches. The proportions of matches correlate strongly with the forward PHRED scores. The reverse score did not show as much influence on the proportion of matches. Similar results were obtained by <xref rid="R14" ref-type="bibr">Schirmer et al. (2015)</xref>.</p></sec><sec id="S12"><label>3.2.</label><title>PHRED score calibration</title><p id="P30">PHRED scores were found not to be calibrated (<inline-formula><mml:math id="M44" display="inline"><mml:mi>p</mml:mi><mml:mo>&#x0003c;</mml:mo><mml:mn>0.0001</mml:mn></mml:math></inline-formula>), but the absolute difference between the expected proportion of matches (<inline-formula><mml:math id="M45" display="inline"><mml:mtext>E</mml:mtext><mml:mo>[</mml:mo><mml:mi>&#x003bc;</mml:mi><mml:mo>]</mml:mo><mml:mo>/</mml:mo><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:mn>0.981</mml:mn></mml:math></inline-formula>) and the observed proportion of matches (<inline-formula><mml:math id="M46" display="inline"><mml:mi>&#x003bc;</mml:mi><mml:mo>/</mml:mo><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:mn>0.970</mml:mn></mml:math></inline-formula>) was small. Given the large number of observed paired base calls (<inline-formula><mml:math id="M47" display="inline"><mml:mi>N</mml:mi><mml:mo>=</mml:mo><mml:mn>9.79</mml:mn><mml:mo>&#x000d7;</mml:mo><mml:msup><mml:mrow><mml:mn>10</mml:mn></mml:mrow><mml:mrow><mml:mn>9</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>), even very small deviations from perfect calibration could be detected. Each PHRED pair in isolation showed little absolute deviation from calibration (<xref rid="F2" ref-type="fig">Fig. 2</xref>). The largest deviations were associated with rare PHRED pairs. <xref rid="F3" ref-type="fig">Figure 3</xref> shows that each individual run had a statistically significant deviation from calibration. The smallest magnitude Z-score calculated for a run was <inline-formula><mml:math id="M48" display="inline"><mml:mi>Z</mml:mi><mml:mo>=</mml:mo><mml:mn>10.6</mml:mn></mml:math></inline-formula>.</p><p id="P31">The Brier score decomposition showed the amount of improvement in the predictive accuracy of matching by using the PHRED scores. In all but two cases examined, the uncorrected quality scores are useful with REL &#x02264; RES. We found that the datasets with the highest UNC gain the most benefit in the Brier score from using the MiSeq instrument PHRED scores. The dataset with the largest UNC had an improvement of &#x02212;9.38 &#x000d7; 10<sup>&#x02212;3</sup>) compared to &#x02212;1.64 &#x000d7; 10<sup>&#x02212;4</sup> for the dataset with the least UNC. However, the reduction in uncertainty was small in most cases, with the improvement averaging &#x02212;2.91 &#x000d7; 10<sup>&#x02212;3</sup>.</p></sec><sec id="S13"><label>3.3.</label><title>Estimation of PHRED score true values</title><p id="P32">The described ML estimator was able to recover the ground truth of the simulated data with reasonable accuracy (<xref rid="F4" ref-type="fig">Fig. 4</xref>). The 95% confidence intervals of each PHRED value were found to contain the true known value. Regression of real data showed several points of miscalibration in the MiSeq instrument&#x02019;s PHRED estimation (see <xref rid="F5" ref-type="fig">Fig. 5</xref>). Brier scores improved by an average of 2.83% when using newly calibrated values.</p></sec></sec><sec id="S14"><label>4.</label><title>DISCUSSION</title><p id="P33">We find that the PHRED scores produced are not calibrated, but the absolute size of the error is small. Our MLE calibration method successfully corrected the error as much as possible using the features examined. To improve calibration further, additional features such as per-nucleotide biases or raw intensities would need to be utilized. However, the MLE model does not always improve the calibration, but this can be detected by examining the change in the Brier score achieved.</p><p id="P34">Although quality scores are accurate to their definition, their resolution (RES) scores are small relative to the total Brier score. The quality scores assigned are relatively accurate in predicting the error rate of the base calls. The base call procedure cannot separate correct calls from substitution errors. It tends to assign substitution errors of similar quality to the surrounding correct base calls. Given the low substitution rate of the MiSeq instrument, this is a relatively calibrated methodology, but it means that the PHRED scores are uninformative of sequencing errors.</p><p id="P35">The MiSeq instruments use two different light colors with four filters to perform base calling. Base calls generated by the same laser channel are significantly more likely to be substituted for each other than base calls generated by different channels. We note that in <inline-formula><mml:math id="M49" display="inline"><mml:mn>98.90</mml:mn><mml:mo>%</mml:mo><mml:mspace width="thickmathspace"/><mml:mfenced separators="|"><mml:mrow><mml:mfrac><mml:mrow><mml:mn>90</mml:mn></mml:mrow><mml:mrow><mml:mn>91</mml:mn></mml:mrow></mml:mfrac></mml:mrow></mml:mfenced></mml:math></inline-formula> of the datasets have on-channel transitions greater than would be expected if all transitions were equally likely (see <xref rid="F6" ref-type="fig">Fig. 6</xref>). This also mirrors previous results (<xref rid="R14" ref-type="bibr">Schirmer et al., 2015</xref>).</p><p id="P36">Most of the findings reported in this article were foreshadowed by <xref rid="R14" ref-type="bibr">Schirmer et al. (2015)</xref>, <xref rid="R5" ref-type="bibr">Eren et al. (2013)</xref>, and <xref rid="R21" ref-type="bibr">Zhang et al., (2017)</xref>. <xref rid="R5" ref-type="bibr">Eren et al. (2013)</xref> addressed quality scores&#x02019; effects on downstream analysis and not the quality scores themselves. They found that even reads with consistently high-quality scores contained many mismatched base calls in their overlap. <xref rid="R14" ref-type="bibr">Schirmer et al. (2015)</xref> and <xref rid="R21" ref-type="bibr">Zhang et al. (2017)</xref> analyzed the quality scores directly. No direct comparison was made between our method and the method of Zhang et al. because it uses raw instrument intensities, which are not provided to the GHOST system. Schermer et al. use mock communities of known sequences to measure errors, as our dataset does not contain known sequences, we also did not do a direct comparison to this method. These methods could not separate errors in library preparation from sequencing errors. The greatest strength of our analysis is its ability to separate these two sources of error, leading to subtly different results. We found greater agreement between the measured PHRED scores and their true values than those found by <xref rid="R14" ref-type="bibr">Schirmer et al. (2015)</xref>. Contrary to their results, we found that the high-quality scores seemed to underestimate the true quality of the base calls. We attribute the errors they measured to library preparation. We agree with both <xref rid="R14" ref-type="bibr">Schirmer et al. (2015)</xref> and <xref rid="R5" ref-type="bibr">Eren et al. (2013)</xref> that PHRED scores are of limited value in identifying substitution errors.</p><p id="P37">The MLE model is capable of removing the majority of calibration errors from quality scores. In two runs, the prediction error was increased by the MLE estimator. We believe that this is due to the optimization function getting stuck in a local maximum of the likelihood function.</p><p id="P38">Recalculating the Brier scores with the newly calibrated values produced an average relative improvement of 2.83%. The maximum improvement that a run-specific calibration curve can achieve is to reduce the reliability measure to zero. This was achieved in most cases. However, prediction accuracy can only be improved by considering features beyond PHRED scores.</p><p id="P39">As part of the current quality control process, the CASPER method is used to merge the overlapping paired reads (<xref rid="R9" ref-type="bibr">Kwon et al., 2014</xref>). By collecting statistics during this step, the calibration of PHRED scores can be included with only minimal extra processing time of less than a second per sample. A new haplotyping method using calibrated PHRED scores is being developed to be published at a later date. The accuracy of PHRED score calibration is important to improve the calling of rare variants, to which GHOST clustering is very sensitive. Currently, GHOST employs a simple method of excluding low-reliability haplotype calls; haplotypes observed fewer than 10 times are excluded. Using the calibrated PHRED scores, we can reach more deeply into the low-frequency tail of haplotypes to include rarer haplotypes in our analysis.</p><p id="P40">We also intend to further develop the methods presented in this article to provide additional quality monitoring of the sequencing of GHOST submissions (<xref rid="R16" ref-type="bibr">Sims et al., 2018</xref>). The new quality monitoring will include new quality control thresholds and suggestions for the laboratory process. GHOST currently requires a variant to be seen 10 times or more in a dataset to be used in clustering.</p></sec><sec id="S15"><label>5.</label><title>CONCLUSION</title><p id="P41">PHRED scores are generally accurate on the basis of their ability to predict matching. Although the Spiegelhalter <inline-formula><mml:math id="M50" display="inline"><mml:mi>z</mml:mi></mml:math></inline-formula>-statistic showed that the scores were not calibrated (<inline-formula><mml:math id="M51" display="inline"><mml:mi>p</mml:mi><mml:mo>&#x0003c;</mml:mo><mml:mn>0.0001</mml:mn></mml:math></inline-formula>), the absolute deviations from the expected values were small. However, the calibration of the scores varied significantly among runs. Generally, the raw PHRED scores accurately predicted the probability of a match, and our methods improved their calibration. Even when recalibrated, the PHRED scores were not very informative of sequencing errors, as the MiSeq instrument does not separate correct base calls from substitution errors and generally assigns the background error frequency of the cycle. Given the very low error rate of the MiSeq, this tends to correctly assign high-quality scores to most calls.</p></sec></body><back><ack id="S17"><title>ACKNOWLEDGMENTS</title><p id="P43">The authors are deeply indebted to all members of the GHOST team who contributed to this project and to members of the GHOST Project laboratories for providing data. The authors thank Eldin Talundzic (Center for Global Health Office of the Director, CDC) for editing suggestions. The authors are also very grateful to the NCHHSTP Informatics Office for their constant help with the GHOST portal website. The authors are also very grateful to the CDC&#x02019;s ITSO DSO office for their indispensable help with the information technology infrastructure of the GHOST analysis platform.</p><sec id="S18"><title>FUNDING INFORMATION</title><p id="P44">The work was partially supported by the Advanced Molecular Detection program (Office of Infectious Diseases, Centers for Disease Control and Prevention). The GHOST project is also the recipient of the &#x0201c;2015 CDC Surveillance Strategy Innovation Project Award&#x0201d; from the CDC Health Information Innovation Consortium (CHIIC, Office of Public Health Scientific Services). NCHHSTP Informatics Office provided funding and technical resources in support of the GHOST Web User Interface and the middle-tier processes that interface with Amazon&#x02019;s AWS and the GHOST computational platform.</p></sec></ack><fn-group><fn id="FN2"><p id="P45">DISCLAIMER</p><p id="P46">The findings and conclusions in this article are those of the authors and do not necessarily represent the official position of the U.S. CDC.</p></fn><fn fn-type="COI-statement" id="FN3"><p id="P47">AUTHOR DISCLOSURE STATEMENT</p><p id="P48">The authors declare that they have no competing interests.</p></fn><fn id="FN4"><p id="P49">An earlier version of this article appeared on ResearchSquare (<ext-link xlink:href="https://doi.org/10.21203/rs.3.rs-6107843/v1" ext-link-type="uri">https://doi.org/10.21203/rs.3.rs-6107843/v1</ext-link>).</p></fn></fn-group><sec sec-type="data-availability" id="S16"><title>AVAILABILITY OF DATA AND MATERIALS</title><p id="P42">The data used in our analyses are deposited in and can be downloaded from the NCBI SRA under BioProject accession PRJNA580030.</p></sec><ref-list><title>REFERENCES</title><ref id="R1"><mixed-citation publication-type="journal"><name><surname>Brier</surname><given-names>GW</given-names></name>. <article-title>Verification of forecasts expressed in terms of probability</article-title>. <source>Mon Wea Rev</source>
<year>1950</year>;<volume>78</volume>(<issue>1</issue>):<fpage>1</fpage>&#x02013;<lpage>3</lpage>.</mixed-citation></ref><ref id="R2"><mixed-citation publication-type="book"><name><surname>Buckley</surname><given-names>GJ</given-names></name> and <name><surname>Strom</surname><given-names>BL</given-names></name>., editors. <source>A National Strategy for the Elimination of Hepatitis B and C: Phase Two Report</source>. <publisher-name>The National Academies Press</publisher-name>, <publisher-loc>Washington, DC</publisher-loc>, <year>2017</year>; doi: <pub-id pub-id-type="doi">10.17226/24731</pub-id></mixed-citation></ref><ref id="R3"><mixed-citation publication-type="journal"><name><surname>Dawid</surname><given-names>AP</given-names></name>. <article-title>The well-calibrated bayesian</article-title>. <source>J Am Stat Assoc</source>
<year>1982</year>;<volume>77</volume>(<issue>379</issue>):<fpage>605</fpage>&#x02013;<lpage>610</lpage>; doi: <pub-id pub-id-type="doi">10.1080/01621459.1982.10477856</pub-id></mixed-citation></ref><ref id="R4"><mixed-citation publication-type="journal"><name><surname>Edgar</surname><given-names>RC</given-names></name>, <name><surname>Flyvbjerg</surname><given-names>H</given-names></name>. <article-title>Error filtering, pair assembly and error correction for next-generation sequencing reads</article-title>. <source>Bioinformatics</source>
<year>2015</year>;<volume>31</volume>(<issue>21</issue>):<fpage>3476</fpage>&#x02013;<lpage>3482</lpage>; doi: <pub-id pub-id-type="doi">10.1093/bioinformatics/btv401</pub-id><pub-id pub-id-type="pmid">26139637</pub-id>
</mixed-citation></ref><ref id="R5"><mixed-citation publication-type="journal"><name><surname>Eren</surname><given-names>AM</given-names></name>, <name><surname>Vineis</surname><given-names>JH</given-names></name>, <name><surname>Morrison</surname><given-names>HG</given-names></name>, <etal/>
<article-title>A filtering method to generate high quality short reads using Illumina paired-end technology</article-title>. <source>PLoS One</source>
<year>2013</year>;<volume>8</volume>(<issue>6</issue>):<fpage>e66643</fpage>.<pub-id pub-id-type="pmid">23799126</pub-id>
</mixed-citation></ref><ref id="R6"><mixed-citation publication-type="journal"><name><surname>Ewing</surname><given-names>B</given-names></name>, <name><surname>Green</surname><given-names>P</given-names></name>. <article-title>Base-calling of automated sequencer traces using phred. ii. error probabilities</article-title>. <source>Genome Res</source>
<year>1998</year>;<volume>8</volume>(<issue>3</issue>):<fpage>186</fpage>&#x02013;<lpage>194</lpage>.<pub-id pub-id-type="pmid">9521922</pub-id>
</mixed-citation></ref><ref id="R7"><mixed-citation publication-type="journal"><name><surname>Ewing</surname><given-names>B</given-names></name>, <name><surname>Hillier</surname><given-names>L</given-names></name>, <name><surname>Wendl</surname><given-names>MC</given-names></name>, <etal/>
<article-title>Base-calling of automated sequencer traces using Phred. I. accuracy assessment</article-title>. <source>Genome Res</source>
<year>1998</year>;<volume>8</volume>(<issue>3</issue>):<fpage>175</fpage>&#x02013;<lpage>185</lpage>.<pub-id pub-id-type="pmid">9521921</pub-id>
</mixed-citation></ref><ref id="R8"><mixed-citation publication-type="journal"><name><surname>Hunter</surname><given-names>JD</given-names></name>. <article-title>Matplotlib: A 2d graphics environment</article-title>. <source>Comput Sci Eng</source>
<year>2007</year>;<volume>9</volume>(<issue>3</issue>):<fpage>90</fpage>&#x02013;<lpage>95</lpage>; doi: <pub-id pub-id-type="doi">10.1109/MCSE.2007.55</pub-id></mixed-citation></ref><ref id="R9"><mixed-citation publication-type="journal"><name><surname>Kwon</surname><given-names>S</given-names></name>, <name><surname>Lee</surname><given-names>B</given-names></name>, <name><surname>Yoon</surname><given-names>S</given-names></name>. <article-title>Casper: Context-aware scheme for paired-end reads from high-throughput amplicon sequencing</article-title>. <source>BMC Bioinformatics</source>
<year>2014</year>;<volume>15</volume>(<issue>Suppl 9</issue>):<fpage>S10</fpage>; doi: <pub-id pub-id-type="doi">10.1186/1471-2105-15-S9-S10</pub-id></mixed-citation></ref><ref id="R10"><mixed-citation publication-type="journal"><name><surname>Longmire</surname><given-names>AG</given-names></name>, <name><surname>Sims</surname><given-names>S</given-names></name>, <name><surname>Rytsareva</surname><given-names>I</given-names></name>, <etal/>
<article-title>Ghost: Global hepatitis outbreak and surveillance technology</article-title>. <source>BMC Genomics</source>
<year>2017</year>;<volume>18</volume>(<issue>Suppl 10</issue>):<fpage>916</fpage>; doi: <pub-id pub-id-type="doi">10.1186/s12864-017-4268-3</pub-id><pub-id pub-id-type="pmid">29244005</pub-id>
</mixed-citation></ref><ref id="R11"><mixed-citation publication-type="confproc"><name><surname>McKinney</surname><given-names>W</given-names></name>
<article-title>Data structures for statistical computing in Python</article-title>. In <name><surname>van der Walt</surname><given-names>S</given-names></name> and <name><surname>Millman</surname><given-names>J</given-names></name>., editors, <conf-name>Proceedings of the 9th Python in Science Conference</conf-name>, <fpage>51</fpage>&#x02013;<lpage>56</lpage>, <year>2010</year>.</mixed-citation></ref><ref id="R12"><mixed-citation publication-type="journal"><name><surname>Murphy</surname><given-names>AH</given-names></name>. <article-title>A new vector partition of the probability score</article-title>. <source>J Appl Meteor</source>
<year>1973</year>;<volume>12</volume>(<issue>4</issue>):<fpage>595</fpage>&#x02013;<lpage>600</lpage>.</mixed-citation></ref><ref id="R13"><mixed-citation publication-type="journal"><name><surname>Powdrill</surname><given-names>MH</given-names></name>, <name><surname>Tchesnokov</surname><given-names>EP</given-names></name>, <name><surname>Kozak</surname><given-names>RA</given-names></name>, <etal/>
<article-title>Contribution of a mutational bias in hepatitis C virus replication to the genetic barrier in the development of drug resistance</article-title>. <source>Proc Natl Acad Sci USA</source>
<year>2011</year>;<volume>108</volume>(<issue>51</issue>):<fpage>20509</fpage>&#x02013;<lpage>20513</lpage>.<pub-id pub-id-type="pmid">22135458</pub-id>
</mixed-citation></ref><ref id="R14"><mixed-citation publication-type="journal"><name><surname>Schirmer</surname><given-names>M</given-names></name>, <name><surname>Ijaz</surname><given-names>UZ</given-names></name>, <name><surname>D&#x02019;Amore</surname><given-names>R</given-names></name>, <etal/>
<article-title>Insight into biases and sequencing errors for amplicon sequencing with the Illumina MiSeq platform</article-title>. <source>Nucleic Acids Res</source>
<year>2015</year>;<volume>43</volume>(<issue>6</issue>):<fpage>e37</fpage>.<pub-id pub-id-type="pmid">25586220</pub-id>
</mixed-citation></ref><ref id="R15"><mixed-citation publication-type="book"><name><surname>Schmid</surname><given-names>CH</given-names></name>, <name><surname>Griffith</surname><given-names>JL</given-names></name>. <source>Multivariate Classification Rules: Calibration and Discrimination</source>. <publisher-name>John Wiley &#x00026; Sons, Ltd</publisher-name>, <year>2005</year>; doi: <pub-id pub-id-type="doi">10.1002/0470011815.b2a13049</pub-id></mixed-citation></ref><ref id="R16"><mixed-citation publication-type="journal"><name><surname>Sims</surname><given-names>S</given-names></name>, <name><surname>Longmire</surname><given-names>AG</given-names></name>, <name><surname>Campo</surname><given-names>DS</given-names></name>, <etal/>
<article-title>Automated quality control for a molecular surveillance system</article-title>. <source>BMC Bioinformatics</source>
<year>2018</year>;<volume>19</volume>(<issue>Suppl 11</issue>):<fpage>358</fpage>; doi: <pub-id pub-id-type="doi">10.1186/s12859-018-2329-5</pub-id><pub-id pub-id-type="pmid">30343674</pub-id>
</mixed-citation></ref><ref id="R17"><mixed-citation publication-type="journal"><name><surname>Spiegelhalter</surname><given-names>DJ</given-names></name>. <article-title>Probabilistic prediction in patient management and clinical trials</article-title>. <source>Stat Med</source>
<year>1986</year>;<volume>5</volume>(<issue>5</issue>):<fpage>421</fpage>&#x02013;<lpage>433</lpage>.<pub-id pub-id-type="pmid">3786996</pub-id>
</mixed-citation></ref><ref id="R18"><mixed-citation publication-type="journal"><name><surname>Virtanen</surname><given-names>P</given-names></name>, <name><surname>Gommers</surname><given-names>R</given-names></name>, <name><surname>Oliphant</surname><given-names>TE</given-names></name>, <etal/>; <collab>SciPy 1.0 Contributors</collab>. <article-title>SciPy 1.0: Fundamental algorithms for scientific computing in Python</article-title>. <source>Nat Methods</source>
<year>2020</year>;<volume>17</volume>(<issue>3</issue>):<fpage>261</fpage>&#x02013;<lpage>272</lpage>; doi: <pub-id pub-id-type="doi">10.1038/s41592-019-0686-2</pub-id><pub-id pub-id-type="pmid">32015543</pub-id>
</mixed-citation></ref><ref id="R19"><mixed-citation publication-type="journal"><name><surname>Wang</surname><given-names>YH</given-names></name>. <article-title>On the number of successes in independent trials</article-title>. <source>Stat Sin</source>
<year>1993</year>;<volume>3</volume>:<fpage>295</fpage>&#x02013;<lpage>312</lpage>.</mixed-citation></ref><ref id="R20"><mixed-citation publication-type="journal"><name><surname>Waskom</surname><given-names>M</given-names></name>, <name><surname>Botvinnik</surname><given-names>O</given-names></name>, <name><surname>O&#x02019;Kane</surname><given-names>D</given-names></name>, <etal/>
<source>mwaskom/seaborn: V 0.8.1</source> (<month>September</month>
<year>2017</year>); <fpage>2017</fpage>; doi: <pub-id pub-id-type="doi">10.5281/zenodo.883859</pub-id></mixed-citation></ref><ref id="R21"><mixed-citation publication-type="journal"><name><surname>Zhang</surname><given-names>S</given-names></name>, <name><surname>Wang</surname><given-names>B</given-names></name>, <name><surname>Wan</surname><given-names>L</given-names></name>, <etal/>
<article-title>Estimating Phred scores of Illumina base calls by logistic regression and sparse modeling</article-title>. <source>BMC Bioinformatics</source>
<year>2017</year>;<volume>18</volume>(<issue>1</issue>):<fpage>335</fpage>&#x02013;<lpage>314</lpage>.<pub-id pub-id-type="pmid">28697757</pub-id>
</mixed-citation></ref></ref-list></back><floats-group><fig position="float" id="F1"><label>FIG. 1.</label><caption><p id="P50">Quality score distribution by position. Orange bars are the median PHRED score, and green bars are the mean score.</p></caption><graphic xlink:href="nihms-2161652-f0003" position="float"/></fig><fig position="float" id="F2"><label>FIG. 2.</label><caption><p id="P51">Difference between measured probability of matching <inline-formula><mml:math id="M2" display="inline"><mml:mfenced separators="|"><mml:mrow><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>o</mml:mi></mml:mrow><mml:mi>&#x0203e;</mml:mi></mml:mover></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:math></inline-formula> and <inline-formula><mml:math id="M3" display="inline"><mml:mi>P</mml:mi><mml:mfenced close="" separators="|"><mml:mrow><mml:mtext mathvariant="italic">Match</mml:mtext></mml:mrow></mml:mfenced><mml:mfenced open="" separators="|"><mml:mrow><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfenced></mml:math></inline-formula> of definition of PHRED values.</p></caption><graphic xlink:href="nihms-2161652-f0004" position="float"/></fig><fig position="float" id="F3"><label>FIG. 3.</label><caption><p id="P52">Histogram of Spiegelhalter&#x02019;s <inline-formula><mml:math id="M4" display="inline"><mml:mi>z</mml:mi></mml:math></inline-formula>-score across all datasets.</p></caption><graphic xlink:href="nihms-2161652-f0005" position="float"/></fig><fig position="float" id="F4"><label>FIG. 4.</label><caption><p id="P53">Average regressed values of simulated perfectly calibrated data with 95% confidence intervals. The red circles are the correct values defined for the PHRED score.</p></caption><graphic xlink:href="nihms-2161652-f0006" position="float"/></fig><fig position="float" id="F5"><label>FIG. 5.</label><caption><p id="P54">Average regressed values of data with 95% confidence intervals. The red circles are the correct values defined for each PHRED score.</p></caption><graphic xlink:href="nihms-2161652-f0007" position="float"/></fig><fig position="float" id="F6"><label>FIG. 6.</label><caption><p id="P55">The large matrix is the proportion of each mismatched paired base calls. The smaller matrix is the nucleotide composition of each read. The high GC content of the nucleotide composition is similar to that reported by <xref rid="R13" ref-type="bibr">Powdrill et al. (2011)</xref> for hepatitis C virus.</p></caption><graphic xlink:href="nihms-2161652-f0008" position="float"/></fig><table-wrap position="float" id="T1"><label>Table 1.</label><caption><p id="P56">Filter Statistics</p></caption><table frame="hsides" rules="groups"><colgroup span="1"><col align="left" valign="middle" span="1"/><col align="left" valign="middle" span="1"/><col align="left" valign="middle" span="1"/><col align="left" valign="middle" span="1"/><col align="left" valign="middle" span="1"/><col align="left" valign="middle" span="1"/><col align="left" valign="middle" span="1"/></colgroup><thead><tr><th align="left" valign="middle" rowspan="1" colspan="1"/><th align="center" valign="middle" rowspan="1" colspan="1">Length dropped</th><th align="center" valign="middle" rowspan="1" colspan="1"><italic toggle="yes">N</italic> dropped</th><th align="center" valign="middle" rowspan="1" colspan="1">No primers</th><th align="center" valign="middle" rowspan="1" colspan="1">MID error</th><th align="center" valign="middle" rowspan="1" colspan="1">No overlap</th><th align="center" valign="middle" rowspan="1" colspan="1">Passed</th></tr></thead><tbody><tr><td align="left" valign="middle" rowspan="1" colspan="1">Mean</td><td align="center" valign="middle" rowspan="1" colspan="1">931,415.5304</td><td align="center" valign="middle" rowspan="1" colspan="1">453,827.3652</td><td align="center" valign="middle" rowspan="1" colspan="1">1,563,563.217</td><td align="center" valign="middle" rowspan="1" colspan="1">2,432,329.783</td><td align="center" valign="middle" rowspan="1" colspan="1">638,479.287</td><td align="center" valign="middle" rowspan="1" colspan="1">7,474,166.548</td></tr><tr><td align="left" valign="middle" rowspan="1" colspan="1">Standard deviation</td><td align="center" valign="middle" rowspan="1" colspan="1">1,823,711.84</td><td align="center" valign="middle" rowspan="1" colspan="1">2,102,838.347</td><td align="center" valign="middle" rowspan="1" colspan="1">3,114,852.383</td><td align="center" valign="middle" rowspan="1" colspan="1">3,154,940.167</td><td align="center" valign="middle" rowspan="1" colspan="1">804208.6185</td><td align="center" valign="middle" rowspan="1" colspan="1">6,363,754.282</td></tr><tr><td align="left" valign="middle" rowspan="1" colspan="1">Minimum</td><td align="center" valign="middle" rowspan="1" colspan="1">0</td><td align="center" valign="middle" rowspan="1" colspan="1">0</td><td align="center" valign="middle" rowspan="1" colspan="1">2879</td><td align="center" valign="middle" rowspan="1" colspan="1">9672</td><td align="center" valign="middle" rowspan="1" colspan="1">1438</td><td align="center" valign="middle" rowspan="1" colspan="1">10,904</td></tr><tr><td align="left" valign="middle" rowspan="1" colspan="1">First quartile</td><td align="center" valign="middle" rowspan="1" colspan="1">7410.5</td><td align="center" valign="middle" rowspan="1" colspan="1">1</td><td align="center" valign="middle" rowspan="1" colspan="1">67,595.5</td><td align="center" valign="middle" rowspan="1" colspan="1">187,545</td><td align="center" valign="middle" rowspan="1" colspan="1">74,285.5</td><td align="center" valign="middle" rowspan="1" colspan="1">711,593</td></tr><tr><td align="left" valign="middle" rowspan="1" colspan="1">Median</td><td align="center" valign="middle" rowspan="1" colspan="1">166,371</td><td align="center" valign="middle" rowspan="1" colspan="1">12</td><td align="center" valign="middle" rowspan="1" colspan="1">578,217</td><td align="center" valign="middle" rowspan="1" colspan="1">1,774,128</td><td align="center" valign="middle" rowspan="1" colspan="1">392,095</td><td align="center" valign="middle" rowspan="1" colspan="1">7,699,798</td></tr><tr><td align="left" valign="middle" rowspan="1" colspan="1">Third quartile</td><td align="center" valign="middle" rowspan="1" colspan="1">1,236,604.5</td><td align="center" valign="middle" rowspan="1" colspan="1">12,612</td><td align="center" valign="middle" rowspan="1" colspan="1">1,427,689.5</td><td align="center" valign="middle" rowspan="1" colspan="1">2,943,832.5</td><td align="center" valign="middle" rowspan="1" colspan="1">825,187</td><td align="center" valign="middle" rowspan="1" colspan="1">13,138,532.5</td></tr><tr><td align="left" valign="middle" rowspan="1" colspan="1">Maximum</td><td align="center" valign="middle" rowspan="1" colspan="1">10,746,614</td><td align="center" valign="middle" rowspan="1" colspan="1">15,525,011</td><td align="center" valign="middle" rowspan="1" colspan="1">17,478,841</td><td align="center" valign="middle" rowspan="1" colspan="1">17,479,145</td><td align="center" valign="middle" rowspan="1" colspan="1">5,354,004</td><td align="center" valign="middle" rowspan="1" colspan="1">21,010,761</td></tr><tr><td align="left" valign="middle" rowspan="1" colspan="1">IQR</td><td align="center" valign="middle" rowspan="1" colspan="1">1,229,194</td><td align="center" valign="middle" rowspan="1" colspan="1">12,611</td><td align="center" valign="middle" rowspan="1" colspan="1">1,360,094</td><td align="center" valign="middle" rowspan="1" colspan="1">2,756,287.5</td><td align="center" valign="middle" rowspan="1" colspan="1">75,0901.5</td><td align="center" valign="middle" rowspan="1" colspan="1">12,426,939.5</td></tr></tbody></table><table-wrap-foot><fn id="TFN1"><p id="P57">IQR, interquartile range; MID, Molecule Identifier.</p></fn></table-wrap-foot></table-wrap></floats-group></article>