Virus log reduction value of clearance steps and their sum
dsp_log_reduction
Works out the virus log10 reduction factor of each clearance step, and their sum.
- Runs
- On the server
- Level
- Checked against a reference: mpmath at 50 digits on ICH Q5A(R2) Annexes 2 and 3
What it is
Returns virus log10 reduction factors of clearance steps from infectivity titres and volumes, and their sum. The sum is over the steps you mark independent with a factor greater than 1, by ICH Q5A(R2) Annexes 2 and 3. Use when tabulating a virus clearance (spiking) study: volumes and titres per step, or a not-detected output with the volume assayed. Not for impurity or host-cell protein clearance from masses: use `dsp_purification_yield`. Titres are infectivity only (TCID50, PFU or FFU, as log10 per mL); genome copies are refused; independence is yours to mark, and adequacy is never judged.
Field: Downstream processing.
What it does
You give
steps(required): The steps in process order.
No request is recorded for this tool.
Limits
- Research and education arithmetic for downstream process development on the values you supply.
- Binding capacities, fluxes, Vmax, sieving and correction factors are yours and are never looked up or defaulted.
- Each result holds only under the assumptions stated with it, and sizing or scale-up from a model is given without a prediction error, because none is available.
- Not a process design, validation, batch-release or regulatory calculation; makes no compliance claim.
- Research arithmetic on infectivity titres only, from the titres, volumes and independence marks you supplied, following ICH Q5A(R2) Annexes 2 and 3.
- It does not assess the study design, scale-down model, assay, spiking or whether steps are independent, and does not judge whether clearance is adequate or a product is safe.
- Not a regulatory submission or release calculation; makes no compliance claim.
- For a sample with nothing detected, the detection limit is the one-sided Poisson bound of Annex 2 on the undiluted volume you say was assayed, in the basis of the assay that sampled it.
- It assumes one infectious unit in that volume would have been detected.
- It is not the assay's limit of detection, and it converts to no other basis (for example, TCID50 to infectious units).
- 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
- a step's load and output are in different assay bases (TCID50, PFU, FFU): no factor converts between assays, and the method offers no bridge.
- steps[*].output.notDetected.sampledVolume outside above 0 mL.
Every input, with its units1 input
steps(required): The steps in process order.
Every refusal, with its code2 refusals
| Code | When |
|---|---|
DIMENSIONS_MIXED | a step's load and output are in different assay bases (TCID50, PFU, FFU): no factor converts between assays, and the method offers no bridge. |
OUT_OF_RANGE | steps[*].output.notDetected.sampledVolume outside above 0 mL. |
The calculation
The method's equations, constants and worked example.
Equation 1
10^R = (v' * 10^a') / (v'' * 10^a''), so R = (a' - a'') + log10(v'/v'')
with nothing detected in the output, 10^a'' is replaced by the detection limit c, and R is a lower bound. Titres are log10(TCID50/mL), log10(PFU/mL) or log10(FFU/mL), never converted: copies/mL and log10(copies/mL) are GENOME_COPIES_NOT_INFECTIVITY
a linear titre unit (TCID50/mL, PFU/mL, FFU/mL) is UNKNOWN_UNIT and LRV is UNIT_SPELLING (use log10(1)). Per step, in step order: a titre with notDetected is CONFLICTING_ARGUMENT, neither is MISSING_ARGUMENT, and an output titreHalfWidth with notDetected is CONFLICTING_ARGUMENT
DIMENSIONS_MIXED is then decided over all steps before any factor is computed. Volumes at or below 0 and half-widths below 0 are OUT_OF_RANGE
a half-width of 0 is accepted.
| Symbol | Meaning |
|---|---|
R | step reduction factor, log10(1) |
v' | load volume, mL |
a' | load titre, log10 of infectious units per mL; log10(TCID50/mL) (TCID50) or log10(PFU/mL) (PFU) or log10(FFU/mL) (FFU), by the basis of the infectivity assay that titrated the load (TCID50, PFU or FFU); never converted to another basis |
v'' | output volume, mL |
a'' | output titre, log10 of infectious units per mL; log10(TCID50/mL) (TCID50) or log10(PFU/mL) (PFU) or log10(FFU/mL) (FFU), by the load's basis: the output is titrated by an assay in the same basis as the load; never converted to another basis |
c | detection limit, infectious units per mL; TCID50/mL (TCID50) or PFU/mL (PFU) or FFU/mL (FFU), by the basis of the assay that sampled the output, which must be the load's; the detection limit is never converted to another basis |
Source 1.
Equation 2
overall R = sum of R over the steps marked independent whose R is greater than 1
every other step is listed as excluded with its reason. Reply layout (the record's rule, not from the source): noteIds lists each note once, in the order first raised: NO_OVERALL_INTERVAL first
then, walking the steps in process order, within a step NOT_DETECTED_BASIS, then HALF_WIDTH_NEEDS_BOTH, then LOWER_BOUND_NOT_SUMMED
NO_STEP_SUMMED last, when no step is summed. flags holds one LOWER_BOUND entry per not-detected step, in step order, each with the one path result.perStep[i].reductionFactor, then one LOWER_BOUND entry with the path result.overallReductionFactor when a lower bound was summed
flags is absent when no flag is raised.
| Symbol | Meaning |
|---|---|
R | step reduction factor, log10(1) |
Source 1.
Equation 3
95% half-width of R = sqrt(h_load^2 + h_out^2), given only when both titres carry a half-width
no interval is given for the overall factor, and every computed reply says so
| Symbol | Meaning |
|---|---|
h_load | half-width of the load titre (s in ICH Q5A Annex 2), log10(1) |
h_out | half-width of the output titre (a in ICH Q5A Annex 2), log10(1) |
Source 1.
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 log-reduction@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
- steps[0].name = low-pH hold
- steps[0].load.volume = 100 mL
- steps[0].load.titre = 7.2 log10(TCID50/mL)
- steps[0].output.volume = 105 mL
- steps[0].output.titre = 2.1 log10(TCID50/mL)
- steps[0].independence = independent
Steps
- titre-difference = 5.1 log10(1), from steps[0].load.titre, steps[0].output.titre; by equation 1.
- volume-term = -0.021189299 log10(1), from steps[0].load.volume, steps[0].output.volume; by equation 1.
- reduction = 5.0788107 log10(1), from titre-difference, volume-term; by equation 1; gives perStep[0].reductionFactor.
- overall = 5.0788107 log10(1), from reduction; by equation 2; gives overallReductionFactor.
The working, as the case writes it:
10^R = (100 x 10^7.2) / (105 x 10^2.1)
R = 9.2 - log10(105) - 2.1 = 9.2 - 2.02119 - 2.1 = 5.07881
marked independent and R > 1, so summed: overall 5.07881
Answer
perStep[0].reductionFactor = 5.0788107 log10(1)
overallReductionFactor = 5.0788107 log10(1)
Where these values came from: our own exact-arithmetic script and a hand-worked case; ICH Q5A(R2), Viral safety evaluation of biotechnology products derived from cell lines of human or animal origin, final version adopted 1 November 2023 (ICH copyright acknowledged; reproduced under its public licence notice): Annex 3, 10^R = (v')(10^a') / (v'')(10^a''); section 6.3 and Annex 3, the overall factor is the sum over steps with an individual factor greater than 1; Annex 2, p = e^(-cv), c = ln p / -v; 95% limits of a factor +/- sqrt(s^2 + a^2).
At build the tool returned this answer within the tolerance the file states: absolute 1e-12 on every log10 value; relative 1e-12 on the detection limit (absolute 1e-18 TCID50/mL below 1e-6 TCID50/mL); statuses, codes, flags, notes, names and excluded steps exact.
Sources
ICH Q5A(R2), Viral safety evaluation of biotechnology products derived from cell lines of human or animal origin
Used for: Virus log reduction value of each clearance step, and their sum over independent steps. At: p. 40-42, section Annex 3, Calculation of reduction factors in studies to determine viral clearance; Annex 2, final paragraph; section 6.3 and Annex 3; section Annex 2, item 4.
Read in full, 10 November 2026
How it is checked
- Level
Checked against a reference.
- Checked against
Our own exact-arithmetic script and a hand-worked case.
- Cases
No case set is linked to this version.
- Not checked
A published worked reduction factor (none in the text read); the study design, scale-down model, assay, spiking and independence of steps, which are the caller's; reduction factors from genome copies, which R2 allows if justified and this version refuses. A factor near 1 formed as a titre plus a logarithm of opposite sign carries cancellation: 7e-15 relative in lower-bound-at-most-one; the record's 'full double precision' holds to about 1e-14 there.
Changes to its methods0 changes
No change is logged for these method versions.