CtcEnumerationQcChecker

Ctc Enumeration QC

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

Utility description: Ctc Enumeration QC

Ctc Enumeration QC Checker — Circulating Tumor Cell Enumeration Quality Control

ℹ️  Utility performs comprehensive QC verification of CTC analysis according to ISHDE standards and FDA guidance:
     • Spike-In Recovery: Capture efficiency control using labeled cell lines.
     • WBC Contamination: Assessment of leukocyte impurity creating false-positive signals.
     • Blood Volume Sufficiency: Verification of adequate blood volume for required sensitivity.
     • Phenotype Validation: Verification of classic CTC phenotype (DAPI+/CK+/CD45-/morphology).
     • Background Noise: Assessment of non-specific signal complicating identification.

⚠️  IMPORTANT: 
     • CTC exist at 1–10 cells per 7.5 mL blood — loss of even one cell is significant.
     • CD45+ cells are NOT CTC and must be excluded from count.
     • Low recovery rate makes negative result unreliable (possible false-negative).

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

Input format:
SampleID,Platform,BloodVolumeProcessed_mL,MinBloodVolume_mL,SpikeInCells_Added,SpikeInCells_Recovered,MinRecoveryRate_Percent,WBC_Contamination_Count,MaxWBC_Contamination,CTC_Count_Raw,ClinicalThreshold,MorphologyIntact,DAPI_Positive,EpCAM_CK_Positive,CD45_Negative,BackgroundNoise_Score,MaxBackgroundNoise

Example:
  CTC-001,CellSearch,7.5,7.0,100,82,70,15,100,7,5,true,true,true,true,1.5,3.0

📍 Scope of Application (Usage Where):
     • Clinical Laboratories: QC before CTC count result release.
     • Oncology Research: Therapy response monitoring via CTC dynamics.
     • CTC Platform Development: Validation of new enrichment and detection methods.
     • Regulatory Submissions: Documentation of CTC test analytical validity.

— WHY IS THIS NEEDED?
CTC enumeration is used for therapy change decisions in metastatic cancer.
Technical artifacts (cell loss, WBC contamination, poor morphology) directly impact clinical decisions.
Automated QC eliminates subjectivity of manual assessment and guarantees every counted CTC is a true tumor cell.

⚠️  CRITICAL:
• Spike-In Recovery: <70% = unacceptable for quantitative analysis.
• CD45 Negativity: CD45+ = leukocyte, NOT CTC. Exclude from count.
• Blood Volume: <7.0 mL reduces analytical sensitivity below clinical threshold.
• Morphology: Damaged cells cannot be reliably identified as CTC.
• Background: High noise makes counting subjective and irreproducible.

Key features:
• Five-parameter CTC analysis quality assessment
• Automatic CTC phenotype verification
• Integration of spike-in recovery and WBC contamination
• Status classification (Pass/Review/Fail)
• Compliance with ISHDE consensus guidelines

Critical parameters:
• Spike-In Recovery: ≥ 70%
• WBC Contamination: ≤ Max Limit
• Blood Volume: ≥ 7.0 mL
• Phenotype: DAPI+/CK+/CD45-/Intact
• Background Noise: ≤ Max Score

💡 Usage tips:
1. Spike-In Control: Add labeled cells BEFORE enrichment step to monitor entire process.
2. Dual Staining: Always use CD45 to exclude leukocytes.
3. Morphology: Train operators on intact cellular morphology recognition.
4. Blood Volume: Strictly maintain minimum 7.5 mL for standardized thresholds.
5. Trends: Monitor recovery rate over time to detect reagent/cartridge degradation.

⚠️ Note: This utility is an analytical QC tool. It does not replace clinical interpretation by oncologist but guarantees that CTC count in report is technically reliable.

input.csv

SampleID,Platform,BloodVolumeProcessed_mL,MinBloodVolume_mL,SpikeInCells_Added,SpikeInCells_Recovered,MinRecoveryRate_Percent,WBC_Contamination_Count,MaxWBC_Contamination,CTC_Count_Raw,ClinicalThreshold,MorphologyIntact,DAPI_Positive,EpCAM_CK_Positive,CD45_Negative,BackgroundNoise_Score,MaxBackgroundNoise
CTC-2026-001,CellSearch,7.5,7.0,100,82,70.0,15,100,7,5.0,true,true,true,true,1.5,3.0
CTC-2026-002,Parsortix,5.0,7.0,100,45,70.0,350,100,3,5.0,false,true,true,false,6.5,3.0
CTC-2026-003,CTC-iChip,7.5,7.0,50,42,70.0,8,50,0,3.0,true,true,true,true,0.8,3.0

URS & FS — User Requirements and Functional Specification

This document describes the controlled interface and behaviour of CtcEnumerationQcChecker for Ctc Enumeration QC 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.
  • • WBC Contamination: Assessment of leukocyte impurity creating false-positive signals.
  • • CD45+ cells are NOT CTC and must be excluded from count.
  • • CTC Platform Development: Validation of new enrichment and detection methods.
  • ⚠️ CRITICAL:
  • • Spike-In Recovery: <70% = unacceptable for quantitative analysis.
  • • Blood Volume: <7.0 mL reduces analytical sensitivity below clinical threshold.
  • Critical parameters:
  • • Spike-In Recovery: ≥ 70%
  • • WBC Contamination: ≤ Max Limit
  • • Blood Volume: ≥ 7.0 mL
  • • Background Noise: ≤ Max Score
  • 1. Spike-In Control: Add labeled cells BEFORE enrichment step to monitor entire process.

URS — User Requirements Specification

IDRequirementCriticalityAcceptance criterion
URS-001The utility shall accept an input.csv file for Ctc Enumeration QC 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 vocabularyCTC-2026-001Sample or laboratory specimen identifier.
2Platformstring / controlled vocabularyCellSearchControlled input parameter for deterministic QC rules.
3BloodVolumeProcessed_mLdecimal7.5Volume/dose used for load, limit or release calculation.
4MinBloodVolume_mLdecimal7.0Volume/dose used for load, limit or release calculation.
5SpikeInCells_Addeddecimal100Controlled input parameter for deterministic QC rules.
6SpikeInCells_Recovereddecimal82Controlled input parameter for deterministic QC rules.
7MinRecoveryRate_Percentdecimal70.0Recovery; indicator of analytical validity.
8WBC_Contamination_Countinteger / decimal15Count parameter used for microbiological, particulate or cellular control.
9MaxWBC_Contaminationinteger / decimal100Controlled input parameter for deterministic QC rules.
10CTC_Count_Rawinteger / decimal7Count parameter used for microbiological, particulate or cellular control.
11ClinicalThresholddecimal5.0Controlled input parameter for deterministic QC rules.
12MorphologyIntactstring / controlled vocabularytruepH; parameter relevant to stability, compatibility and batch suitability.
13DAPI_Positivestring / controlled vocabularytrueControlled input parameter for deterministic QC rules.
14EpCAM_CK_Positivestring / controlled vocabularytrueControlled input parameter for deterministic QC rules.
15CD45_Negativestring / controlled vocabularytrueControlled input parameter for deterministic QC rules.
16BackgroundNoise_Scoredecimal1.5Controlled input parameter for deterministic QC rules.
17MaxBackgroundNoisedecimal3.0Controlled input parameter for deterministic QC rules.
SampleID,Platform,BloodVolumeProcessed_mL,MinBloodVolume_mL,SpikeInCells_Added,SpikeInCells_Recovered,MinRecoveryRate_Percent,WBC_Contamination_Count,MaxWBC_Contamination,CTC_Count_Raw,ClinicalThreshold,MorphologyIntact,DAPI_Positive,EpCAM_CK_Positive,CD45_Negative,BackgroundNoise_Score,MaxBackgroundNoise
CTC-2026-001,CellSearch,7.5,7.0,100,82,70.0,15,100,7,5.0,true,true,true,true,1.5,3.0
CTC-2026-002,Parsortix,5.0,7.0,100,45,70.0,350,100,3,5.0,false,true,true,false,6.5,3.0
CTC-2026-003,CTC-iChip,7.5,7.0,50,42,70.0,8,50,0,3.0,true,true,true,true,0.8,3.0

Input validation rules

IDFieldRuleCriticality
VR-001SampleIDThe field shall match an approved dictionary or accepted string representation.High
VR-002PlatformThe field shall match an approved dictionary or accepted string representation.High
VR-003BloodVolumeProcessed_mLThe field shall match an approved dictionary or accepted string representation.High
VR-004MinBloodVolume_mLThe field shall match an approved dictionary or accepted string representation.Medium
VR-005SpikeInCells_AddedThe field shall match an approved dictionary or accepted string representation.Medium
VR-006SpikeInCells_RecoveredThe field shall match an approved dictionary or accepted string representation.Medium
VR-007MinRecoveryRate_PercentThe field shall match an approved dictionary or accepted string representation.Medium
VR-008WBC_Contamination_CountThe field shall match an approved dictionary or accepted string representation.Medium
VR-009MaxWBC_ContaminationThe field shall match an approved dictionary or accepted string representation.Medium
VR-010CTC_Count_RawThe field shall match an approved dictionary or accepted string representation.Medium
VR-011ClinicalThresholdThe field shall match an approved dictionary or accepted string representation.Medium
VR-012MorphologyIntactThe field shall match an approved dictionary or accepted string representation.Medium
VR-013DAPI_PositiveThe field shall match an approved dictionary or accepted string representation.Medium
VR-014EpCAM_CK_PositiveThe field shall match an approved dictionary or accepted string representation.Medium
VR-015CD45_NegativeThe field shall match an approved dictionary or accepted string representation.Medium
VR-016BackgroundNoise_ScoreThe field shall match an approved dictionary or accepted string representation.Medium
VR-017MaxBackgroundNoiseThe 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 Ctc Enumeration QC 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": "ctcenumerationqcchecker",
  "utilityFolder": "CtcEnumerationQcChecker",
  "package": "LiquidBiopsy",
  "overallStatus": "PASS|WARNING|FAIL",
  "sourceFile": "input.csv",
  "processedAtUtc": "2026-06-10T00:00:00Z",
  "checks": [
    {
      "parameter": "SampleID",
      "value": "CTC-2026-001",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-001"
    },
    {
      "parameter": "Platform",
      "value": "CellSearch",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-002"
    },
    {
      "parameter": "BloodVolumeProcessed_mL",
      "value": "7.5",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-003"
    },
    {
      "parameter": "MinBloodVolume_mL",
      "value": "7.0",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-004"
    },
    {
      "parameter": "SpikeInCells_Added",
      "value": "100",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-005"
    },
    {
      "parameter": "SpikeInCells_Recovered",
      "value": "82",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-006"
    },
    {
      "parameter": "MinRecoveryRate_Percent",
      "value": "70.0",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-007"
    },
    {
      "parameter": "WBC_Contamination_Count",
      "value": "15",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-008"
    },
    {
      "parameter": "MaxWBC_Contamination",
      "value": "100",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-009"
    },
    {
      "parameter": "CTC_Count_Raw",
      "value": "7",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-010"
    },
    {
      "parameter": "ClinicalThreshold",
      "value": "5.0",
      "status": "PASS|WARNING|FAIL",
      "message": "Deterministic rule-based check result",
      "ruleReference": "FS-RULE-011"
    },
    {
      "parameter": "MorphologyIntact",
      "value": "true",
      "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": "CtcEnumerationQcChecker.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