Scientific development report · Version 3
LGASieve v2: internal verification of a BRCA1/2 exon deletion/duplication screen
Synthetic software study and application to a truth-unresolved 1000 Genomes-derived dataset
What was tested, and what was learned
Question. Can a BRCA1/2 exon-level deletion/duplication screen be made technically defensible by anchoring normalization to many stable assay-wide controls, preventing a candidate event from influencing its own baseline, calibrating one joint search threshold, and returning explicit no-call states?
Approach. The algorithm was corrected, tested recursively on simulated events, challenged with low-depth, mosaic, artifact, site-shift, and changed-assay scenarios, and then rerun on the supplied 1000 Genomes-derived evidence. Fitting, calibration, development, and same-generator checking used separate cohorts. Full biological truth was retained even when targets were not callable.
Primary result. No tested model met all four predeclared engineering gates. The selected model met three of four during development and two of four on the held-out same-generator check. Performance fell sharply under the more realistic stress set: intention-to-test 80%-overlap recovery was 47.50%, while 55.21% of positive events completed. A deliberately altered assay produced zero completed samples, correctly demonstrating non-transportability through complete QC refusal.
Supplied data. The corrected rerun produced five REFLEX_POSITIVE specimens containing six interval hypotheses, 21 NO_CALL_QC evidence bundles, and 124 partial-coverage/no-candidate bundles. None has orthogonal truth. Therefore, the five specimens are review candidates, not diagnoses, and the other 145 bundles are not clinical negatives.
Bottom line
Clinical BRCA LGA detection by NGS is feasible in purpose-built, assay-specific workflows. LGASieve is now a reproducible research scaffold, but the current data and validation do not support clinical reporting. The next decisive experiment is a blinded, orthogonally truthed, assay-matched validation using complete panel-wide molecular counts.
Clinical feasibility is established; transferability is not
Large genomic alterations (LGAs) in BRCA1 and BRCA2 include exon-level and whole-gene deletions and duplications. Published clinical laboratories have detected these events from targeted NGS, often with a large assay-specific normalization set and independent confirmation. Examples include DECoN, a purpose-built BRCA1/2 assay, a 34-gene inherited cancer panel with reflex aCGH, and the FDA-reviewed myChoice CDx tumor assay.
Those validations demonstrate feasibility for their own specimen types, capture designs, laboratories, reference cohorts, algorithms, and confirmation policies. They do not validate LGASieve or make performance numbers transferable to a different assay.
Research question
What measurement design, statistical safeguards, and validation evidence are required for LGASieve to become a useful screen for BRCA1/2 LGAs, and how does the corrected implementation behave when the data distribution departs from its development simulator?
Predeclared hypotheses and decisions
| Hypothesis | Test | Decision |
|---|---|---|
| H1: engineering performance. A control-anchored model can meet all four development gates. | Disjoint fit/calibration cohorts; model grid of 0, 4, 8, or 12 components and family alpha 0.01, 0.02, or 0.05. | Not supported No variant met all four gates. |
| H2: safe transport behavior. An incompatible assay should yield explicit no-calls rather than confident calls. | Changed target efficiencies, latent loadings, and target instability while keeping target identifiers aligned. | Supported in simulation All 3,600 altered-assay samples failed QC. |
| H3: candidate exclusion. A tested event must not influence its own reference matching or nuisance fit. | Paired experiment on identical real backgrounds and events with only candidate exclusion changed. | Method supported; performance mixed Structural bias was removed, but duplication recovery fell. |
| H4: supplied-export adequacy. A BRCA-only 50-target export is sufficient for autonomous screening. | Information audit, nested stochastic event injection, and corrected cross-gene fallback. | Not supported The export lacks a stable off-gene normalization domain and orthogonal truth. |
How the experiments were conducted
3.1 Analysis sequence
- Audit the recovered source and evidence. Reconstruct the pipeline, inventory available inputs, and identify absent BAM/CRAM/FASTQ, capture-design, batch, and orthogonal-truth files.
- Correct structural defects. Exclude the tested interval from its own baseline, separate model fitting from null calibration, use one joint deletion/duplication search family, prevent windows from bridging uncallable gaps, and enforce strict model identity and provenance.
- Recursively simulate events. Iterate model structure and thresholds on development streams, then freeze the selected model before same-generator, stress, and changed-assay checks.
- Reanalyze the supplied data. Apply only a constrained BRCA1-to-BRCA2 fallback because the broad-panel model correctly refuses the 50-target input.
- Verify the software. Run the full automated test suite, preserve frozen JSON artifacts, and publish hashes and reproduction commands.
3.2 Datasets and cohort separation
| Experiment | Data | Purpose | Truth status |
|---|---|---|---|
| Supplied evidence | 147 usable public 1000 Genomes libraries across 50 BRCA targets; 150 evidence bundles after including 3 additional low-depth bundles | Information-limit audit and constrained rerun | No orthogonal BRCA dosage truth |
| Paired candidate exclusion | 37 real host libraries, 259 exact windows, 19,166 paired placements | Isolate the effect of excluding a candidate from its own baseline | Deterministic in-silico events on real count backgrounds |
| Broad-panel model fitting | 1,300 synthetic normals, 550 targets (500 controls + 50 BRCA bins) | Fit target centers, latent factors, covariance, callability, and QC structure | Synthetic |
| Null calibration | 3,000 untouched synthetic normals | Set one empirical family threshold across DEL, DUP, and all reportable windows | Synthetic |
| Development selection | 1,200 normals + 2,400 events | Select components and family alpha using predeclared engineering gates | Synthetic |
| Same-generator check | 2,000 normals + 4,000 events | Frozen software check on a new random stream | Synthetic; same generator |
| Within-assay stress | 1,200 normals + 2,400 events | Challenge depth, site, mosaic fraction, artifacts, and callability | Synthetic; shifted conditions |
| Changed-assay transport | 1,200 normals + 2,400 events | Test refusal after assay efficiency and latent structure change | Synthetic; incompatible assay |
3.3 Corrected screening architecture
The broad-panel screen normalizes every sample against a large set of stable, non-reportable controls; estimates robust target centers and latent technical factors from the fit cohort only; scores contiguous callable windows with deletion and duplication alternatives; and uses an untouched calibration cohort to set one joint empirical threshold. A candidate window is excluded from reference matching and nuisance estimation before it is scored.
The output vocabulary is deliberately operational:
REFLEX_POSITIVE: an NGS screening hypothesis requiring independent dosage confirmation;NO_REFLEX_FLAG: no referral from the frozen research model, not a clinical negative;NO_CANDIDATE_PARTIAL_COVERAGE: no candidate with incomplete reportable coverage, so no negative interpretation;NO_CALL_QC: sample-level depth or noise failure.
3.4 Endpoints and engineering gates
Positive events were evaluated by any referral, at least 80% reciprocal overlap, exact endpoints, and exact target set. Full truth was never clipped to the callable target mask. Results are reported both intention-to-test (all generated events, with failures retained) and completed-case (sample QC passed and all truth targets were callable).
- Completed 80%-reciprocal-overlap recovery at least 98%;
- completed no-event referral rate no greater than 2.5%;
- at least 90% of reportable targets callable;
- positive-event completion at least 85%.
These gates were engineering selection rules, not clinical acceptance criteria.
Results
The dominant finding is the gap between favorable conditional performance and real robustness. The selected model did not meet all of its own engineering gates, and performance deteriorated under stress even though same-generator completed cases looked strong.
4.1 Primary outcome: no model passed all four gates
| Gate | Required | Development selection | Held-out same-generator |
|---|---|---|---|
| Completed 80%-overlap recovery | ≥98% | 1,999/2,021 = 98.91% Pass | 3,262/3,299 = 98.88% Pass |
| Completed no-event referral rate | ≤2.5% | 28/1,189 = 2.35% Pass | 52/1,987 = 2.62% Fail |
| Reportable targets callable | ≥90% | 46/50 = 92.00% Pass | 46/50 = 92.00% Pass |
| Positive-event completion | ≥85% | 2,021/2,400 = 84.21% Fail | 3,299/4,000 = 82.48% Fail |
| Overall | 4/4 gates | 3/4 gates | 2/4 gates |
Selected development model: 12 latent components, family alpha 0.01, joint threshold 4.3668. No candidate model in the 12-model grid met all four gates.
4.2 Scenario comparison
| Scenario | Positive completion | ITT 80%-overlap recovery | Completed no-event referral | Interpretation |
|---|---|---|---|---|
| Changed-assay transport | 0/2,400 (0%) | 0/2,400 (0%) | Not estimable; 0/1,200 completed | All samples failed QC, demonstrating non-transportability and exercising the refusal path. |
| Within-assay stress | 1,325/2,400 (55.21%) | 1,140/2,400 (47.50%) | 32/806 (3.97%); 394/1,200 no-calls | Main robustness result; mosaics, low depth, site effects, and artifacts remain difficult. |
| Same-generator check | 3,299/4,000 (82.48%) | 3,320/4,000 (83.00%) | 52/1,987 (2.62%); 13/2,000 no-calls | Favorable but conditional. Completed overlap recovery was 98.88%, which excludes incomplete events. |
Exact-endpoint ITT recovery was 45.92% in stress and 81.55% in the same-generator check. Wilson intervals in the artifacts quantify finite simulated draws only; they do not include simulator, assay, selection, or transport uncertainty.
4.3 Corrected rerun of the supplied evidence
The available export contains only BRCA targets. It has no stable off-gene normalization domain and no specimen-level orthogonal LGA truth. The broad-panel caller correctly refuses this shape, so a constrained BRCA1-to-BRCA2 fallback was used only to identify review candidates and expose information limits.
| State | Count | Meaning |
|---|---|---|
REFLEX_POSITIVE | 5 specimens, 6 interval hypotheses | Unconfirmed research flags; truth unknown |
NO_CALL_QC | 21 evidence bundles | No interpretation |
NO_CANDIDATE_PARTIAL_COVERAGE | 124 evidence bundles | Not a clinical negative |
| Orthogonally truthed specimens | 0 | No sensitivity, specificity, PPV, or NPV can be estimated |
| Specimen | Unconfirmed interval hypothesis | Relation to previous rerun |
|---|---|---|
| HG01870 | BRCA2 duplication-like, exons 23-24 | New after correction |
| HG02601 | BRCA1 deletion-like, exon 6; BRCA2 duplication-like, exons 17-18 | New after correction |
| NA18645 | BRCA2 deletion-like, exons 16-17 | Retained |
| NA19759 | BRCA2 deletion-like, exon 2 | New after correction |
| NA20530 | BRCA1 duplication-like, exons 15-22 | Retained |
Only two of the previous six flagged specimens were retained; four disappeared and three new specimens appeared. That correction-induced turnover is evidence against autonomous interpretation.
4.4 Real-background in-silico experiments
| Experiment | Result | Interpretation |
|---|---|---|
| Corrected cross-gene fallback, 2,400 spike-ins on 37 development backgrounds | 2,189 completed; completed recovery 59.66%; single-exon 35.18%; DEL 80.63%; DUP 37.70% | Duplication and single-exon performance remain inadequate. There were 211 positive no-calls. |
| Candidate-exclusion paired experiment | Exact recovery 41.84% to 44.78%; DEL 55.16% to 68.06%; DUP 28.53% to 21.51%; clean libraries 33/37 to 35/37 | Candidate exclusion removes self-contamination but is not a universal sensitivity improvement. |
| Nested stochastic narrow-export experiment | Single-exon germline DEL 49.63%; DUP 10.16%; 50%-mosaic DEL 3.18%; DUP 0.85% | The BRCA-only measurement is especially weak for duplications and mosaic events. |
4.5 Software verification
The current repository test suite completed on 1 August 2026 with 162 tests passed, 3 skipped, and 7 subtests passed in 54.28 seconds. The three skips require real sequencing libraries that were not recovered. The single warning was a non-fatal CPU-core-count fallback from joblib.
Strict model loading rejects the superseded schema, cohort overlap, duplicate calibration rows, malformed dimensions and masks, insufficient calibration size, and provenance mismatch. Model writes are atomic. These are software-safety properties, not assay validation.
Why the favorable number is not the main result
The 98.88% completed-case overlap recovery in the same-generator check is real for that fixed simulation, but it is conditional on 3,299 completed events and on a generator closely related to development. Intention-to-test recovery was 83.00%, and the selected model failed its positive-completion and no-event referral gates on that stream.
The stress result is more informative for present decision-making. With lower depth, site effects, mosaics, artifacts, and reduced callability, only 55.21% of positive events completed and 47.50% were recovered by the overlap endpoint in the full intention-to-test denominator. This gap shows that good conditional discrimination does not repair missing or unstable measurement.
The changed-assay experiment produced complete QC refusal. This is preferable to false confidence, but it also establishes that the frozen model cannot be transferred to a different target-efficiency and latent-factor structure. Each assay, chemistry, site, and materially changed process requires refitting and recalibration.
The supplied dataset is useful as an information-limit study, not as a clinical validation cohort. Its five flags require independent confirmation, and its other states cannot be interpreted as negative because targets are excluded and truth is absent.
Published context
Clinical precedent supports the direction of travel: DECoN reported 16/16 BRCA exon CNVs in its evaluation set and confirmed 23/24 later clinical flags by MLPA; a purpose-built BRCA assay reported 79 positive and 3,067 negative exon units concordant with reference testing; a 34-gene panel used a large assay-specific baseline and reflex aCGH; and FDA technical information for myChoice CDx reports 402/402 concordant valid BRCA1/2 large-rearrangement calls in an accuracy study. These are assay-specific results and are not LGASieve performance claims.
Conclusions
- BRCA1/2 LGA detection by targeted NGS is clinically feasible when the assay and pipeline are purpose-built and locally validated.
- LGASieve is a functioning research and assay-development scaffold, not a validated clinical pipeline.
- The primary engineering hypothesis was not fully met: the best development model passed three of four gates, and the held-out same-generator check passed two of four.
- Same-generator completed-case performance overstates robustness. The within-assay stress stream is the more decision-relevant software result.
- The corrected model fails safely under a deliberately changed assay, but that means it must be refit and recalibrated for transport.
- The current supplied export cannot support clinical negatives or performance estimates, and its five flagged specimens remain unconfirmed.
- Candidate exclusion is methodologically necessary, but the available BRCA-only measurement remains particularly weak for duplications, single-exon events, and mosaics.
What should happen next
- Recover the complete measurement domain. Obtain assay-wide unique-fragment or UMI counts, capture BED, genome build, transcript definitions, and run/kit/lot/instrument/operator metadata.
- Define target roles before validation. Freeze invariant-control, ignored, reportable, and sample-specific failed-target masks.
- Build an orthogonally characterized cohort. Include single-exon, multi-exon, terminal, promoter, mosaic, and whole-gene deletions and duplications, plus verified negatives.
- Freeze the protocol. Lock code, model schema, target mask, QC rules, thresholds, endpoints, and the MLPA/aCGH/ddPCR confirmation SOP before opening the test cohort.
- Use a blinded clinical lockbox. Retain every no-call in intention-to-test denominators and adjudicate every referral independently.
- Benchmark alternatives on identical folds. Compare LGASieve with DECoN/ExomeDepth, GATK-gCNV, panelcn.MOPS, and a transparent dosage baseline.
- Measure reproducibility and transport. Vary runs, sites, instruments, reagent lots, operators, DNA input, depth, and quality; predefine acceptable failure and referral rates.
- Separate detection endpoints. Report referral triggering, reciprocal overlap, exact endpoints, and exact target sets independently.
Download the software and reproduce the checks
The validation bundle contains the complete LGASieve Python package, command-line interface, tests, selected simulation and reanalysis scripts, reference files, corrected v2 model/result artifacts, reviewer tables, an environment record, a SHA-256 manifest, and a no-dependency release verifier.
LGASieve validation bundle
Research snapshot 1.1.1 · ZIP archive · source, tests, frozen results, and validation guide
SHA-256See the production download page or adjacent .sha256 file.
Minimum independent check
- Extract the ZIP archive.
- Run
python verify_release.pyto check every file hash and the frozen result invariants. - Create a clean Python environment and install
requirements-validation.txt. - Run
python -m pytest -q. The expected result is 162 passed, 3 skipped, and 7 subtests passed. - Run the documented quick simulation first; use the full frozen command only when compute time is acceptable.
Selected primary sources
- Fowler A, et al. Accurate clinical detection of exon copy number variants in a targeted NGS panel using DECoN. Wellcome Open Research. 2016.
- Lincoln SE, et al. Design and validation of a next generation sequencing assay for hereditary BRCA1 and BRCA2 mutation testing. PeerJ. 2016.
- Mauer CB, et al. Development and validation of a 34-gene inherited cancer predisposition panel using next-generation sequencing. Journal of Molecular Diagnostics. 2020.
- US Food and Drug Administration. myChoice CDx Technical Information.