# Cells and reads for a stated coverage of a pooled guide library

`screen_library_coverage` · Runs: On the server · Level: Checked against a reference: exact rational arithmetic in a script of our own and Joung et al. 2017 Step 56's printed figure

Works out the cells to transduce and keep at each passage, and the reads, for a stated coverage per guide.

Research and education software; not medical advice, and not for diagnosis or treatment decisions. It computes from the inputs it receives. It does not check the person's data, design or sample.

[Catalogue](https://www.drybench.com/mcp/catalogue) / [Assays](https://www.drybench.com/mcp/catalogue/assays)

[Ask your assistant](https://www.drybench.com/mcp/connect)

```cite
Cells and reads for a stated coverage of a pooled guide library (screen_library_coverage), Drybench MCP server 1.0.0; screen-library-coverage@1.0.1 (Checked against a reference); https://www.drybench.com/mcp/tools/screen-library-coverage
```

## What it is

Returns the cells to transduce, the cells to keep at each passage and the reads needed for a stated coverage per guide. Use when sizing a pooled CRISPR screen from library size, coverage per guide and a measured transduced fraction. Not for reads at a genome depth: use \`ngs\_reads\_required\`; for pooling indexed libraries, use \`ngs\_pooling\_plan\`. Not for converting a multiplicity of infection to a transduced fraction, which no library tool does. Not a model of transduction, selection, growth or guide dropout. All inputs required, none defaulted; counts round up; refuses a fraction above one.

Field: [Assays and screening](https://www.drybench.com/mcp/catalogue/assays).

## What it does

**You give**

- `librarySize` (required): The number of unique guides in the library. Must be at least 1 and at most 10000000.
- `coveragePerGuide` (required): The cells you want to carry each guide, as a count per guide. Must be at least 1 and at most 1000000.
- `transducedFraction` (required): The fraction of cells that carry the construct, between zero and one, from your own measurement — for example a selection-survival or marker-positive readout. Not a multiplicity of infection, and not estimated or defaulted here.
- `readsPerGuide` (required): The reads you want for each guide in the sequenced sample. Must be at least 1 and at most 1000000.

No request is recorded for this tool.

**Limits**

- Research arithmetic for planning assays and pooled screens; it does arithmetic on the inputs it receives, and does not measure cells, guides, the library or the data.
- Representation arithmetic only, from a transduced fraction you measured; it is not a model of transduction, selection, growth or guide dropout, and no multiplicity of infection is taken or converted.
- Every guide is assumed to be represented equally, with no account of skew in the plasmid pool or the integrated population.
- Cells per passage is a floor to maintain, not a predicted yield.
- Cells and reads are rounded up to whole units.
- No coverage or read depth is recommended; figures quoted from published protocols are those protocols' guidance for their own libraries.
- Every computed number a reply returns, other than an integer or an exact decimal, is rounded once to 12 significant figures: to the nearest, a change of at most 5 × 10⁻¹² of its value, except that a lower bound is rounded down and an upper bound up, a change of less than 1 × 10⁻¹¹; the method computes, and decides any pass or fail, on the unrounded value.

**It will not answer when**

- transducedFraction is the fraction of cells carrying the construct, so it cannot be above one; a multiplicity of infection can be above one, and it is a different quantity.
- transducedFraction cannot be zero or negative: with no cells carrying the construct there is no number of cells to transduce.
- the cells to transduce are above the largest whole number a double holds exactly, so the count cannot be returned exactly.

### Every input, with its units

4 inputs

- `librarySize` (required): The number of unique guides in the library. Must be at least 1 and at most 10000000.
- `coveragePerGuide` (required): The cells you want to carry each guide, as a count per guide. Must be at least 1 and at most 1000000.
- `transducedFraction` (required): The fraction of cells that carry the construct, between zero and one, from your own measurement — for example a selection-survival or marker-positive readout. Not a multiplicity of infection, and not estimated or defaulted here.
- `readsPerGuide` (required): The reads you want for each guide in the sequenced sample. Must be at least 1 and at most 1000000.

### Every refusal, with its code

3 refusals

| Code | When |
| --- | --- |
| `FRACTION_ABOVE_ONE` | transducedFraction is the fraction of cells carrying the construct, so it cannot be above one; a multiplicity of infection can be above one, and it is a different quantity. |
| `FRACTION_NOT_POSITIVE` | transducedFraction cannot be zero or negative: with no cells carrying the construct there is no number of cells to transduce. |
| `CELLS_ABOVE_RANGE` | the cells to transduce are above the largest whole number a double holds exactly, so the count cannot be returned exactly. |

## The calculation

The method's equations, constants and worked example.

### [Cells and reads for a stated coverage per guide of a pooled library](https://www.drybench.com/methods/m/screen-library-coverage/1.0.1)

`screen-library-coverage@1.0.1`

**Equation 1**

```text
P = G c, a product of whole counts, so exact and already whole
```

| Symbol | Meaning |
| --- | --- |
| `P` | cells to keep at each passage |
| `G` | unique guides in the library |
| `c` | cells wanted per guide |

Source not recorded.

**Equation 2**

```text
T = ceiling(G c / f), with f read as its shortest decimal so the ceiling is exact
```

| Symbol | Meaning |
| --- | --- |
| `T` | cells to transduce |
| `f` | measured fraction of cells carrying the construct |

Source not recorded.

**Equation 3**

```text
R = G r, a product of whole counts, so exact and already whole
```

| Symbol | Meaning |
| --- | --- |
| `R` | reads needed |
| `r` | reads wanted per guide |

Source not recorded.

**Conventions**

- ROUNDING = ceiling: Fixed by the method; not an argument. Cells and reads are rounded up to whole units.

A definition, not a model: the equation states what the quantity means. A different convention gives a different number.

**Worked example**

Worked example: one case of screen-library-coverage\@1.0.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**

- librarySize = 50000
- coveragePerGuide = 500
- transducedFraction = 0.4
- readsPerGuide = 500

**Steps**

1. P = 25000000, from librarySize, coveragePerGuide; by equation 1; gives result.cellsPerPassage.
2. T = 62500000, from P, transducedFraction; by equation 2; gives result.cellsToTransduce.
3. R = 25000000, from librarySize, readsPerGuide; by equation 3; gives result.readsRequired.

The working, as the case writes it:

```text
cells per passage = 50000 x 500 = 25000000
cells to transduce = 25000000 / 0.4 = 62500000 = 62500000.0, rounded up to 62500000
reads = 50000 x 500 = 25000000
```

**Answer**

- result.cellsPerPassage = 25000000
- result.cellsToTransduce = 62500000
- result.readsRequired = 25000000

Where these values came from: our own exact-arithmetic script and a hand-worked case; hand-worked; reads per guide 500 as Joung J et al. (2017), Nature Protocols 12:828-863, doi 10.1038/nprot.2017.016, author manuscript PMC5526071, read 11 November 2026, Step 64.

At build the tool returned this answer within the tolerance the file states: exact: cell and read counts, texts, statuses and codes.

Who worked this case: not recorded.

## Sources

No source is recorded for this tool's methods.

Read by AI-assisted sessions. No person has checked these readings.

## How it is checked

**Level:** Checked against a reference.

**Checked against:** Our own exact-arithmetic script and a hand-worked case; the source's own worked example, CPython standard library (fractions), 3.13.18.

**Cases:** No case set is linked to this version.

**Not checked:** Joung et al. 2017's version of record (read as the PMC author manuscript); any measured representation of a real screen; the relation between a stated MOI and a transduced fraction, which this method does not take.

No independent scientist has yet reviewed this.

### What this project's records still lack

1 thing

- The source's location for each equation for screen-library-coverage\@1.0.1.

### Changes to its methods

0 changes

No change is logged for these method versions.
