# Reads needed for a target mean sequencing depth, version 1.1.1

ngs-reads-required\@1.1.1: this version's equations with their symbols, each constant's value, their sources and whether each was read, a worked example where the record holds one, its level and what it was checked against, the number of cases, and what was not checked. This version's record is not rewritten; a correction is added under Changes.

## What this page can and cannot show

**Level: Checked against a reference; exact rationals on the stated decimals; the source's printed example run in reverse; haploid length. Reference kind: our own exact-arithmetic script and a hand-worked case.**

Checked by this project, not independently reviewed. Every method on this page has its equations, constants, sources and cases on record, and its cases agree with the stated reference within the stated tolerance. A reader can follow each method's worked example by hand; that shows the stated method gives the stated answer for one set of inputs, and does not test the code. The other cases and their values are not printed, so a reader cannot re-run these checks. No independent scientist has yet reviewed them.

[Every version of this method](https://www.drybench.com/methods/m/ngs-reads-required) · [Every method](https://www.drybench.com/methods/m) · [What the levels mean](https://www.drybench.com/methods/levels)

## Version 1.1.1

**Level: Checked against a reference; exact rationals on the stated decimals; the source's printed example run in reverse; haploid length. Reference kind: our own exact-arithmetic script and a hand-worked case.** `ngs-reads-required@1.1.1`

Built, not hosted. Generated from a snapshot of the library's records taken on 2026-11-25, as committed on 2026-11-25. A later snapshot replaces this one, so these records and this page can change.

**Verification statement:** N = C·G/(L·f) from Illumina 770-2011-022 (re-read at source 14 November 2026), in exact rationals on the stated decimals, rounded once; the whole count is the ceiling of the exact value. Compared with a second implementation in Python by a separate agent of the same model family (75 cases, 21 of its own at the edges), and with one printed example: 6.3x on 3 Gb with 100 bp reads is 189,000,000 reads. Counts above 2^53 − 1 refused.

N = C G / (L f) in reads or read pairs, exact and as a whole number per sample, and in total for a number of samples.

- **How results are reported:** readsNeeded is the nearest double to C·G/(L·f) computed exactly on the stated decimals; readsNeededWhole is the ceiling of that exact value, not of the double; total.readsNeeded is samples × the exact N, rounded once to the nearest double, and total.readsNeededWhole is samples × the per-sample ceiling; for read pairs the exact pairs are N/2 rounded once and the whole pairs ceil(N/2) on the exact N, not ceil(N)/2
- **Uncertainty:** Exact rational arithmetic on the stated decimals, rounded once, for a mean depth; coverage is uneven and no model of it is applied here.
- **Reference, as its record states it:** Illumina 770-2011-022's printed example (6.3x from 189 million 100 bp reads on 3 Gb), run in reverse
- **Level confirmed by this project's ruling of** 14 November 2026

[What this page can and cannot show](#what-this-page-can-and-cannot-show)

### What was checked

117 cases in 2 files, linked by this exact version.

Run through the tool at build against our own exact-arithmetic script and a hand-worked case: 80 agree within the tolerance the file states, 37 refuse as the case expects, 0 differ, 0 were not run.

- **File 1, 42 cases**
  - **Where the expected values came from:** our own exact-arithmetic script and a hand-worked case
  - **Recorded on:** 2026-11-14
  - **Reference:** second implementation (Python 3.13), 2026-11-14; licence BSD-3-Clause
  - **Tolerance as the file states it:** relative 1e-15 on reads (near zero: absolute 1e-15 below 1); whole counts, statuses, codes and strings exact

- **File 2, 75 cases**
  - **Where the expected values came from:** our own exact-arithmetic script and a hand-worked case
  - **Recorded on:** 2026-11-14
  - **Reference:** second implementation (Python 3.13), 2026-11-14; licence BSD-3-Clause
  - **Tolerance as the file states it:** relative 1e-15 on reads (near zero: absolute 1e-15 below 1); whole counts, statuses, codes and strings exact

Apart from the worked example, the cases and their values are not printed here. This shows agreement with this project's recorded cases. It does not show that a method suits your work, and it is not a qualification.

### What was not checked

How many more reads give every base the target depth (not estimated); per-sample yield in a multiplexed run.

### Definition or model

A closed form: the result follows from the inputs by the equations alone.

### Equations

```equation
N = C × G / (L × f) (C = LN/G, Illumina 770-2011-022 p. 1, solved for N)
f = (1 − d) × u, read pairs = N / 2 and total whole = samples × ceil(N per sample) are the record's own construction
kb, Mb and Gb are 10^3, 10^6 and 10^9 bp (decimal)
every input is read as the exact value of its shortest decimal, and N, its ceiling and READS_ABOVE_RANGE are decided on that exact value
order of checks: the kit's checks of each argument (missing, number, unit, range), then READ_LONGER_THAN_GENOME, then READS_ABOVE_RANGE
```

| Symbol | Meaning and unit |
| --- | --- |
| N | reads needed |
| C | target mean depth, x |
| G | the haploid genome length, or the length of a defined target (Illumina 770-2011-022 p. 1), bp |
| L | length of one read, bp |
| d | duplicate fraction, 0 when not stated |
| u | usable fraction, 1 when not stated |
| samples | number of samples, 1 when not stated |

Source: Illumina Technical Note: Sequencing, "Estimating Sequencing Coverage", Pub. No. 770-2011-022, equation Coverage Equation C = LN/G and the Poisson P(Y = y) = C^y e^-C / y!, p. 1 to 2, current as of 12/01/14, as printed on the PDF; read in full on 2026-11-11 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning 90c533ee5a19. Free to read (© Illumina, Inc.; terms not stated on the page (held for the General Counsel)), checked 2026-11-11. No erratum found (searched the PDF's own date line (current as of 12/01/14)), 2026-11-11.

### Constants

Constants: none used.

### Worked example

Worked example: one case of ngs-reads-required\@1.1.1, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.

**Inputs**

- genomeSize = 3 Gb
- readLength = 100 bp
- targetDepth = 6.3 x
- readCountBasis = reads

**Steps**

1. N = 1.89e8, from targetDepth, genomeSize, readLength; by the equation above; gives result.perSample.readsNeeded.

The working, as the case writes it:

```equation
the source's printed example run in reverse (Illumina 770-2011-022 p. 1): N = C G / L = 6.3 x 3e9 bp / 100 bp = 189,000,000 reads, exactly, since 189e6 x 100 / 3e9 = 6.3 (worked by hand by the raising builder, 14 November 2026)
```

**Answer**

- `result.perSample.readsNeeded` = **1.89e8**

Where these values came from: our own exact-arithmetic script and a hand-worked case; the second implementation's run(arguments).

At build the tool returned this answer within the tolerance the file states: relative 1e-15 on reads (near zero: absolute 1e-15 below 1); whole counts, statuses, codes and strings exact.

Who worked this case: not recorded.

### What it refuses, and its input ranges

- `READ_LONGER_THAN_GENOME`: the read length exceeds the genome or target size Next: Check that the genome size and the read length are in the units you meant.
- `READS_ABOVE_RANGE`: a reported whole count (reads, or read pairs when pairs are asked for), per sample or in total (samples × the per-sample ceiling), is above 2^53 − 1 = 9007199254740991, the largest n for which n and n + 1 are both exact Next: Check that the genome size and read length are in the units you meant; a lower depth or fewer samples brings the count within range.

### Changes

No correction is logged for ngs-reads-required\@1.1.1.

## Tools that use it

- [`ngs_reads_required`](https://www.drybench.com/methods/tools/ngs-reads-required)

## Cite this version

Reads needed for a target mean sequencing depth. Drybench; ngs-reads-required\@1.1.1; [https://www.drybench.com/methods/m/ngs-reads-required/1.1.1](https://www.drybench.com/methods/m/ngs-reads-required/1.1.1) (accessed \[date\]).
