DepthUniformityChecker

Depth Uniformity

Liquid Biopsy жидкостная биопсия cfDNA ctDNA CTC exosomes NGS qPCR
Open selection

Utility description: Depth Uniformity

Depth Uniformity Checker — NGS Coverage Uniformity Assessment

ℹ️  Utility performs comprehensive assessment of target region coverage uniformity according to CAP/CLIA and NGS platform specifications:
     • % Bases Above 0.2× Mean: Fraction of bases with depth ≥20% of mean — primary uniformity metric.
     • Fold-80 Base Penalty: Factor by which sequencing must be increased for 80% of bases to reach target depth.
     • Regions Below Min Depth: Percentage of target regions not reaching minimum clinical depth.
     • Depth CV: Coefficient of variation of depth across regions — measure of coverage spread.
     • Median/Mean Ratio: Indicator of depth distribution asymmetry (skew).

⚠️  IMPORTANT: 
     • High mean depth does NOT compensate for poor uniformity: 1000× mean at 60% uniformity means 40% of panel is insufficiently covered.
     • Fold-80 >2.0 indicates significant sequencing efficiency loss.
     • Each region below clinical depth is a potential false-negative error.

Usage:
  DepthUniformityChecker.exe                            → demo mode (console output)
  DepthUniformityChecker.exe input.csv output.json      → evaluate your data

Input format:
SampleID,PanelName,MeanTargetDepth_X,MedianTargetDepth_X,PercentBases_Above_0_2xMean,MinPercentBases_Above_0_2xMean,Fold80_BasePenalty,MaxFold80_BasePenalty,PercentTargets_Below_MinDepth,MaxPercentTargets_Below_MinDepth,MinClinicalDepth_X,DepthCV_Percent,MaxDepthCV_Percent,TotalTargetRegions,RegionsBelowMinDepth

Example:
  NGS-001,OncoPanel,850,820,94.5,80,1.3,2.0,1.2,5.0,200,28,50,500,6

📍 Scope of Application (Usage Where):
     • Clinical NGS Laboratories: Per-sample QC before variant calling.
     • Panel Development: Probe/primer design evaluation and optimization.
     • Method Validation: Confirmation of uniformity as part of analytical validation.
     • Reagent QC: Detection of enrichment kit degradation.

— WHY IS THIS NEEDED?
Target enrichment (hybridization or amplification) is never perfectly uniform.
GC-rich regions, homologous sequences, and exon edges are systematically under-covered.
Without uniformity monitoring, laboratory may issue results with unknown blind spots.
Automated verification guarantees that every claimed gene is truly covered at clinically meaningful depth.

⚠️  CRITICAL:
• Uniformity ≥80%: Baseline threshold for clinical panels.
• Fold-80 ≤2.0: Exceedance means inefficient sequencing resource utilization.
• Regions Below Min ≤5%: More than 5% uncovered regions requires design review or resequencing.
• Depth CV ≤50%: High CV indicates systematic enrichment issues.
• Median/Mean <0.7: Severe distribution skew, even if other metrics are borderline.

Key features:
• Five-parameter uniformity assessment
• Automatic blind spot detection
• Integration of absolute and relative metrics
• PASS / WARNING / FAIL classification
• Compliance with CAP Molecular Pathology Checklist

Critical parameters:
• % Bases ≥0.2× Mean: ≥ 80%
• Fold-80 Penalty: ≤ 2.0
• Regions Below Min Depth: ≤ 5%
• Depth CV: ≤ 50%
• Median/Mean Ratio: > 0.7

💡 Usage tips:
1. Panel Design: Use in silico prediction during development to minimize non-uniformity.
2. Pool Balancing: Accurate library normalization improves run-level uniformity.
3. Trend Monitoring: Uniformity drift over time indicates enrichment reagent degradation.
4. Region List: Maintain list of problematic regions per panel and check them separately.
5. Resequencing: Upon FAIL, consider increasing depth or repeating enrichment.

⚠️ Note: This utility assesses technical coverage quality. It does not replace verification of specific clinically significant variants but guarantees that the panel as a whole is suitable for reliable variant calling.

input.csv

SampleID,PanelName,MeanTargetDepth_X,MedianTargetDepth_X,PercentBases_Above_0_2xMean,MinPercentBases_Above_0_2xMean,Fold80_BasePenalty,MaxFold80_BasePenalty,PercentTargets_Below_MinDepth,MaxPercentTargets_Below_MinDepth,MinClinicalDepth_X,DepthCV_Percent,MaxDepthCV_Percent,TotalTargetRegions,RegionsBelowMinDepth
NGS-2026-UNI-001,OncoPanel_500,850,820,94.5,80.0,1.3,2.0,1.2,5.0,200,28.0,50.0,500,6
NGS-2026-UNI-002,OncoPanel_500,620,380,68.0,80.0,3.8,2.0,12.5,5.0,200,72.0,50.0,500,63
NGS-2026-UNI-003,HemePanel_300,450,410,82.0,80.0,1.9,2.0,4.8,5.0,150,45.0,50.0,300,14

URS & FS — User Requirements and Functional Specification

This document describes the controlled interface and behaviour of DepthUniformityChecker for Depth Uniformity Checker.

Domain limits and critical parameters

Key fragments from the source description are shown below. Before production use, limits must be verified against the approved specification, registration dossier and local SOPs.
  • • % Bases Above 0.2× Mean: Fraction of bases with depth ≥20% of mean — primary uniformity metric.
  • • Fold-80 Base Penalty: Factor by which sequencing must be increased for 80% of bases to reach target depth.
  • • Fold-80 >2.0 indicates significant sequencing efficiency loss.
  • • Reagent QC: Detection of enrichment kit degradation.
  • Target enrichment (hybridization or amplification) is never perfectly uniform.
  • GC-rich regions, homologous sequences, and exon edges are systematically under-covered.
  • ⚠️ CRITICAL:
  • • Uniformity ≥80%: Baseline threshold for clinical panels.
  • • Fold-80 ≤2.0: Exceedance means inefficient sequencing resource utilization.
  • • Regions Below Min ≤5%: More than 5% uncovered regions requires design review or resequencing.
  • • Depth CV ≤50%: High CV indicates systematic enrichment issues.
  • • Median/Mean <0.7: Severe distribution skew, even if other metrics are borderline.
  • Critical parameters:
  • • % Bases ≥0.2× Mean: ≥ 80%
  • • Fold-80 Penalty: ≤ 2.0
  • • Regions Below Min Depth: ≤ 5%
  • • Depth CV: ≤ 50%
  • • Median/Mean Ratio: > 0.7

URS — User Requirements Specification

IDRequirementCriticalityAcceptance criterion
URS-001The utility shall accept an input.csv file for Depth Uniformity Checker with headers defined in the data contract.HighThe file is processed without manual header editing.
URS-002The utility shall perform deterministic QC evaluation without machine learning and without probabilistic conformance decisions.HighIdentical input data, rule version and configuration produce reproducible results.
URS-003The utility shall validate mandatory fields, data types, ranges, units and domain plausibility.HighSchema, conversion and range errors are explicitly reported.
URS-004The utility shall apply domain limits and rules from the description, approved specification, registration dossier and local SOPs.HighEach check has PASS/WARNING/FAIL and a clear message.
URS-005The utility shall generate output.json with machine-readable results, source values, warnings, failures and critical findings.HighJSON is suitable for LIMS/ELN/MES integration and QA/QC review.
URS-006The utility shall preserve traceability between batch/sample, input file, applied rules and final status.HighOutput contains identifiers, checked parameters and audit metadata.
URS-007The documentation shall support IQ/OQ/PQ, CSV/CSA and review by internal QA or inspectors.MediumURS, FS, input/output contract and test scenarios are supplied with the utility.
URS-008The utility shall be used as a QC decision-support tool and not as a substitute for approved specifications and QA/QP release decision.MediumDocumentation states change control and limit-verification expectations.

input.csv contract

#FieldTypeSamplePurpose
1SampleIDstring / controlled vocabularyNGS-2026-UNI-001Sample or laboratory specimen identifier.
2PanelNamestring / controlled vocabularyOncoPanel_500Controlled input parameter for deterministic QC rules.
3MeanTargetDepth_Xstring / controlled vocabulary850Controlled input parameter for deterministic QC rules.
4MedianTargetDepth_Xstring / controlled vocabulary820Controlled input parameter for deterministic QC rules.
5PercentBases_Above_0_2xMeaninteger / decimal94.5Controlled input parameter for deterministic QC rules.
6MinPercentBases_Above_0_2xMeaninteger / decimal80.0Controlled input parameter for deterministic QC rules.
7Fold80_BasePenaltydecimal1.3Controlled input parameter for deterministic QC rules.
8MaxFold80_BasePenaltydecimal2.0Controlled input parameter for deterministic QC rules.
9PercentTargets_Below_MinDepthdecimal1.2Controlled input parameter for deterministic QC rules.
10MaxPercentTargets_Below_MinDepthdecimal5.0Controlled input parameter for deterministic QC rules.
11MinClinicalDepth_Xdecimal200Controlled input parameter for deterministic QC rules.
12DepthCV_Percentdecimal28.0Controlled input parameter for deterministic QC rules.
13MaxDepthCV_Percentdecimal50.0Controlled input parameter for deterministic QC rules.
14TotalTargetRegionsstring / controlled vocabulary500Controlled input parameter for deterministic QC rules.
15RegionsBelowMinDepthdecimal6Controlled input parameter for deterministic QC rules.
SampleID,PanelName,MeanTargetDepth_X,MedianTargetDepth_X,PercentBases_Above_0_2xMean,MinPercentBases_Above_0_2xMean,Fold80_BasePenalty,MaxFold80_BasePenalty,PercentTargets_Below_MinDepth,MaxPercentTargets_Below_MinDepth,MinClinicalDepth_X,DepthCV_Percent,MaxDepthCV_Percent,TotalTargetRegions,RegionsBelowMinDepth
NGS-2026-UNI-001,OncoPanel_500,850,820,94.5,80.0,1.3,2.0,1.2,5.0,200,28.0,50.0,500,6
NGS-2026-UNI-002,OncoPanel_500,620,380,68.0,80.0,3.8,2.0,12.5,5.0,200,72.0,50.0,500,63
NGS-2026-UNI-003,HemePanel_300,450,410,82.0,80.0,1.9,2.0,4.8,5.0,150,45.0,50.0,300,14

Input validation rules

IDFieldRuleCriticality
VR-001SampleIDThe field shall match an approved dictionary or accepted string representation.High
VR-002PanelNameThe field shall match an approved dictionary or accepted string representation.High
VR-003MeanTargetDepth_XThe field shall match an approved dictionary or accepted string representation.High
VR-004MedianTargetDepth_XThe field shall match an approved dictionary or accepted string representation.Medium
VR-005PercentBases_Above_0_2xMeanThe field shall match an approved dictionary or accepted string representation.Medium
VR-006MinPercentBases_Above_0_2xMeanThe field shall match an approved dictionary or accepted string representation.Medium
VR-007Fold80_BasePenaltyThe field shall match an approved dictionary or accepted string representation.Medium
VR-008MaxFold80_BasePenaltyThe field shall match an approved dictionary or accepted string representation.Medium
VR-009PercentTargets_Below_MinDepthThe field shall match an approved dictionary or accepted string representation.Medium
VR-010MaxPercentTargets_Below_MinDepthThe field shall match an approved dictionary or accepted string representation.Medium
VR-011MinClinicalDepth_XThe field shall match an approved dictionary or accepted string representation.Medium
VR-012DepthCV_PercentThe field shall match an approved dictionary or accepted string representation.Medium
VR-013MaxDepthCV_PercentThe field shall match an approved dictionary or accepted string representation.Medium
VR-014TotalTargetRegionsThe field shall match an approved dictionary or accepted string representation.Medium
VR-015RegionsBelowMinDepthThe field shall match an approved dictionary or accepted string representation.Medium

FS — Functional Specification

IDFunctionImplementation
FS-001CLI executionSupport execution modes: demo mode without arguments and production mode input.csv output.json.
FS-002CSV importRead input.csv in UTF-8/CSV-compatible format and validate header and expected columns.
FS-003Schema validationCheck mandatory fields, column count, unknown key fields and empty mandatory values.
FS-004Type conversionConvert numeric, flag and text values; invalid format is recorded as a row-level error.
FS-005Domain rule engineApply rules for Depth Uniformity Checker, including critical limits from the description and approved specification.
FS-006Status aggregationProduce final status: FAIL for critical failure, WARNING for non-critical deviation, PASS for conformance.
FS-007JSON exportWrite output.json with detailed checks, source values, warnings, failures and critical findings.
FS-008Audit supportKeep result structure suitable for review, deviation investigation and calculation reproduction.
FS-009Integration contractSupport the scenario LIMS/ELN/MES → input.csv → utility → output.json → portal/admin review.
FS-010Error handlingReturn explicit messages for missing file, empty CSV, invalid schema, output write failure and invalid format.

Example output.json

{
  "utilityId": "depthuniformitychecker",
  "utilityFolder": "DepthUniformityChecker",
  "package": "LiquidBiopsy",
  "overallStatus": "PASS|WARNING|FAIL",
  "sourceFile": "input.csv",
  "processedAtUtc": "2026-06-10T00:00:00Z",
  "checks": [
    {
      "parameter": "SampleID",
      "value": "NGS-2026-UNI-001",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-001"
    },
    {
      "parameter": "PanelName",
      "value": "OncoPanel_500",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-002"
    },
    {
      "parameter": "MeanTargetDepth_X",
      "value": "850",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-003"
    },
    {
      "parameter": "MedianTargetDepth_X",
      "value": "820",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-004"
    },
    {
      "parameter": "PercentBases_Above_0_2xMean",
      "value": "94.5",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-005"
    },
    {
      "parameter": "MinPercentBases_Above_0_2xMean",
      "value": "80.0",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-006"
    },
    {
      "parameter": "Fold80_BasePenalty",
      "value": "1.3",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-007"
    },
    {
      "parameter": "MaxFold80_BasePenalty",
      "value": "2.0",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-008"
    },
    {
      "parameter": "PercentTargets_Below_MinDepth",
      "value": "1.2",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-009"
    },
    {
      "parameter": "MaxPercentTargets_Below_MinDepth",
      "value": "5.0",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-010"
    },
    {
      "parameter": "MinClinicalDepth_X",
      "value": "200",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-011"
    },
    {
      "parameter": "DepthCV_Percent",
      "value": "28.0",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-012"
    }
  ],
  "criticalFindings": [],
  "warnings": [],
  "audit": {
    "inputHash": "sha256:<calculated at runtime>",
    "rulesVersion": "<utility executable version>",
    "documentation": "DepthUniformityChecker.documentation.html"
  }
}

Traceability matrix

URSFSTestEvidence
URS-001FS-001, FS-002OQ-001Verify execution and import of valid input.csv.
URS-002FS-005, FS-006OQ-004Repeat the same dataset and compare output.json.
URS-003FS-003, FS-004, FS-010OQ-002, OQ-003Verify missing columns and invalid types.
URS-004FS-005, FS-006OQ-004, PQ-001Verify critical deviations on real/boundary data.
URS-005FS-007, FS-009OQ-005Verify JSON schema and downstream-system suitability.
URS-006FS-008OQ-006Verify identifiers and audit metadata.
URS-007FS-008, FS-010IQ-001, OQ-007Verify documentation completeness and control evidence.
URS-008FS-005, FS-008PQ-002Verify review workflow and no replacement of QA decision.

IQ/OQ/PQ test scenarios

IDScenarioExpected result
IQ-001Verify executable, input.csv, documentation and checksum availability.Delivery set is complete; version is recorded.
OQ-001Valid sample row from input.csv.PASS or acceptable WARNING according to rules.
OQ-002Remove a mandatory CSV column.Schema error or FAIL with missing-column reference.
OQ-003Place a non-numeric value into a numeric field.Type-conversion error with row/field reference.
OQ-004Set a critical parameter outside the limit.FAIL and critical finding.
OQ-005Verify output.json structure.All mandatory sections are present and JSON is valid.
OQ-006Verify batch/sample traceability.Input and result identifiers match.
PQ-001Verify 3–5 real user batches/samples.Result is confirmed by QC/QA review.
PQ-002Verify deviation workflow and manual QA decision.Utility supports review but does not replace approved decision.

QA/QC and change control

  • Do not rename columns without updating validator, documentation and test set.
  • Retain input.csv, output.json, executable version and checksum.
  • Before production use, perform IQ/OQ/PQ or equivalent CSV/CSA verification.
  • Critical limits shall be verified against the approved specification, registration dossier and local SOPs.
  • The utility provides structured QC decision support; final release decision remains with QA/QP and approved procedures.

Included in packages

Liquid Biopsy QC Suite

QC and pre-analytical control package for liquid biopsy workflows: cfDNA/ctDNA, CTC, EV/exosomes, methylation, NGS/qPCR/ddPCR, sample quality, contamination, sensitivity and reporting checks.

Open