VarDictRust Journal Paper — GCP Study Protocol (freeze copy — branch paper/gcp-study; scratch original: docs/superpowers/specs/paper-plan/plan.md)¶
Status: protocol freeze & 6-stage 60-directory execution completed on branch paper/gcp-study (VarDictRust v1.0.6, commit 2a8e9a3, engine fingerprint 5865a2a0b24a8c17, --perf fingerprint c490c36317b8f25b; rounds 1–2 adversarial pre-mortems applied) — journal-ready target (bioRxiv → journal)
Decisions locked: venue=specialist journal (Bioinformatics/Genome Biology, skip Nature portfolio) · FULL GCP on trial (split-host REVERTED 2026-10-16): project vardict-paper-trial (palakpsheth@gmail.com) + trial billing $300/90d LINKED + SA vardict-agent@vardict-paper-trial.iam.gserviceaccount.com + key (600, outside repo, never git add, SA-auth verified) + minimal roles + 4 us-central1 buckets (refs/bams/results/evidence, versioned) + budget alerts \(100/\)200/$300 (HARD STOPS: halt + re-evaluate at each) · UPGRADED 2026-10-16 (credits preserved; 64-vCPU quota lift CONFIRMED 2026-10-17; 16/32 unblocked, staged after 8-thread green) · dead vardict-paper-2026 removed incl. stale key · trial hard-stops at $300 · GCP IDs: project #694062694219, billing 011E32-BEB9F6-FE69ED, budget 36c510ac-b312-4306-af98-a1bbde77244d · comparators=full field + Stage 6 modern ML/commercial callers (DRAGEN v4.2.4, DeepSomatic v1.6.0, ClairS v0.4.1, Ultima DeepVariant, Hartwig SAGE, Lancet2) · SRR=SRR15006375/76/86/540 + SRR8657348 native hg19 MiSeq (PRJNA742684/PRJNA523380; staging APPROVED) · genome=full 3-way (Java highmem + cpp contained) · Final GCP execution state (2026-10-30): 60/60 result directories (59 compute cells across Stages 1–6 & Option C sweep + 1 evidence_certified bundle) archived in gs://vardict-paper-trial-results/cells-v106/ and synthesized in benchmarks/gcp-study-v106/master_gcp_metrics.json; total GCP spend $228.90 / \(300.00** (**\)71.10 remaining buffer), 0 active VMs or persistent disks, 760.96 GiB retained across the 4 GCS buckets at ~$3.51/wk.
Angle: VarDictJava archived read-only → prove VarDictRust is the maintained drop-in (byte-parity where it matters) with bounded RAM where VarDictCpp explodes. Maintenance/security strong second. No AI-methods content.
Provenance: this file is the committable freeze copy (branch paper/gcp-study off origin/main; PR via gh with template; pre-push blocks main). All work + evidence via pr_check.sh + gitleaks.
Evidence-integrity guard (Class-0): all GCP evidence JSONs written ONLY by live runners (run_extended_coverage.sh / run_multimodal_slices.sh / recertify.sh + engine_fingerprint.sh), fingerprint-bound, never hand-edited. No eps relaxation, no --cols narrowing, no #[ignore]/skips to turn MISMATCH into MATCH.
Paper-summarizer note: bioRxiv full-PDF fetch rate-limited from author network. Snippet-derived vardictcpp numbers below are UNVERIFIED — do not cite until GCS-vendored PDF (sha256 in MANIFEST) + like-for-like GCP re-measure. PDF sha goes in MANIFEST before any citation.
1. vardictcpp claims + holes (minimum to match)¶
1.1 Paper Summary: vardictcpp (bioRxiv 10.64898/2026.09.23.753771v1, preprint)¶
C++17 reimplementation of VarDictJava. UNVERIFIED snippet claims: ~4× single-core, 9–11× on 8 cores, up to 17× less memory [snippet — do not cite]; identical calls on evaluated hg19 MiSeq AML panels (SRR15006375/76/86/540, SRR8657348) [snippet]; JAK2 V617F motivation; Fig-2 germline (octopus/FreeBayes) + Fig-3 somatic SRR15006376(tumor)/15006386(normal) vs Mutect2 (PASS) / octopus (somatic) / LoFreq (somatic); admits whole-chromosome -R memory explodes [snippet]. Table 2 per-sample (PDF-verbatim excerpts, vendored PDF sha256:d9505294…; external-citation gate lifts at MANIFEST landing): SRR15006386: 11,732 regions / 4,014 rows, 100% byte-identical; SRR15006375: 12,292 / 4,056, 100%; SRR15006376: 105,949 / 12,739, 100%; SRR15006540: 135,145 / 16,031, 100%; single-core Java 181–226 s vs cpp 44–61 s (3.7–4.8×), 8–17× less memory. Locally verified: small-window cpp wall wins exist (hg002 cpp 16.9s vs Rust 45.6s, perf-budget.json), but at 249 Mbp cpp RSS 22.5–23.6 GB vs Rust 2.8 GB (scale.json extra.cpp_maxrss_kb); CPP-9 caller deltas (hg002 MNP-split 347/227,562 = 0.15%; 1–2 SV alleles dropped per 18k–623k somatic calls) + CPP-1 header/END mean "identical" is false in general. Reliability=medium (preprint, single-protocol) · relevance=high · action=superset.
1.2 Minimum paper + journal extensions¶
Minimum = 3-way parity (java==rust MATCH, cpp advisory MISMATCH/SKIP binned CPP-1..9) + truth EQUAL + 4-target budget (Rust≤Java) + chr1 flat-RSS curve + archive note. Journal adds §§4–7.
1.3 Venue + article-type (nature-portfolio-playbook derived for specialist venue, 2026-10-16)¶
Locked: specialist journal first — Bioinformatics (Original Article) or Genome Biology (Research); skip Nature portfolio. Nature-portfolio rules re-derived for specialist readers (per skill: venue differs → derive again, say so): keep IMRAD + claim–evidence chain, but front matter for bioinformatics practitioners (not broad-Nature peers). Article-type: Research for Genome Biology (PRIMARY, locked 2026-10-17) — flexible length + mandatory Availability of data and materials (community repo). Bioinformatics is fallback #1, NOT dropped (simultaneous submission is misconduct — COPE exclusive-submission rule — so: bioRxiv preprint first, submit Genome Biology, reformulate + submit Bioinformatics only on rejection). Write-once strategy: tight main text (~5,000 words, structured abstract) + full supplement satisfies BOTH venues' length rules, so fallback costs a reformat, not a rewrite. Format CHECKED 2026-10-16 (local HTML copies): Bioinformatics Original Papers ≤7 pp (~5,000 words), structured abstract, software-must-run-widely; Genome Biology Research flexible length + mandatory Availability of data and materials (community-endorsed public repo). AI/data-availability statements still required (2-sentence AI use + repository/accession disclosure) per journal policy.
2. Hypotheses + success criteria (pre-register in benchmarks/gcp-prereg.md Wk1, freeze before spend)¶
- H1 (parity, scoped): Tier-2
compare.sh(eps 1e-6, records-aligned CHROM/POS/REF/ALT) java==rust 0 diffs on ALL enrolled cohorts; Tier-3rtg vcfeval --squash-ploidy0 site-diffs ONLY on truth-eligible cohorts (HG002/SEQC2/HG008/HG005/b37). Amplicon/RNA/SV-only/COLO829-structural = Tier-2-only, labeled ineligible — except HG008-V0.6-SV/CNV via truvari (evaluator pre-registered §5; gated on V0.6 unblock, §9). Gate stays java==rust; cpp never gates (CPP_SKIP=1escapes). - H1a (tile==single gate, new): tiled output == single-region output (
--tile-sizesweep vs untiled, boundary-dedup proof) MATCH before any H2 scale claim. Simple-mode first; somatic tiling gated onaudit-somatic-deduplanding with its owncompare.shMATCH (somatic tiles currently emit with no cross-tile dedup, so H1a would predestined-fail on somatic until fixed). - H2 (memory): Rust peak RSS ≤ Java per workload AND flat span scaling (RSS_249Mbp/RSS_10Mbp ≤ 1.5×). Java/cpp OOMs (incl. full-genome 3-way) scored
OOM-vs-completed(Rust wins iff Rust completes with MATCH), never a ratio. Full-genome 3-way attempted with containment; H1 MATCH applies where oracle completes. - H3 (field): Pre-registered operating points + full QUAL sweep (§5) + MRD
-f 0arm (Tier-P SRR + Tier-G chr1, mirroring their Table 3; their Table 3 shows blowup is region-size-driven — equal at both-f— so-f 0is a correctness/operating-point cell, not a second scale cell). Rust EQUALs Java F1; field callers reported without rank-picking; MNP/SV strata separate. - H4 (maintenance): archive proof (
gh apiarchived flag + timestamp + pin, not screenshots) + static-musl/SBOM/SLSA/CVE/determinism/tabix matrix = migration case. - Stop rules: any java≠rust diff → BLOCK, single-function port loop, no relaxation; UB-8 flake = ONE attested rerun on quiesced host preserving original
oracle-fail-*.log(no retry loops); systematic OOM → highmem cell + report-both, never heap-retune silently. - Stats honesty: timed n=3 = technical runs (same image/inputs/region; NOT biological replicates) → mean±range/min-max, no 95% CI; truth n=1 → point + site-diff=0; CIs only n≥5/bootstrap. Independent unit = cohort/sample/interval (variant counts are observations, never n). QUAL sweep reports ALL thresholds (multiplicity by full disclosure); somatic filter rule PASS-only + AF/Fisher frozen in prereg (§5).
3. GCP setup (reuse-first)¶
Reuse: compare.sh, compare_var.py, compare_vcf.py (eps 1e-6), run_oracle.sh (no retries), run_cpp.sh (BED positional, bare -z, --chunk PINNED per timed cell via $CPP_CHUNK pass-through, default value frozen in prereg and recorded in extra — CPP-5 default rewrites Seg, unpinned runs are irreproducible), perf_budget.py, scale_bench.sh, concordance.sh / concordance_germline.sh / concordance_pair.sh / concordance_multimodal.sh, cram_twin.sh, memwatch.sh/sysscope.sh, assets.tsv, benchmarks/MANIFEST, env/{vardict-oracle.yml,g4-tools.yml,toolchain.txt}. Thin wrapper only: shell + Batch JSON (shortcut: shell+Batch over harness, upgrade to Terraform/Nextflow only if >2 regions or >50 VMs). Wrapper changes via pr_check.sh + gitleaks; engine boxes N/A per PR-template docs/infra-only note.
Project (trial, locked 2026-10-16): vardict-paper-trial (No org, palakpsheth@gmail.com) + trial billing LINKED + SA vardict-agent@vardict-paper-trial.iam.gserviceaccount.com + key (600, outside repo, never git add) + minimal roles bound (compute.instanceAdmin.v1, storage.admin, batch.jobsEditor, logging.viewer) + 4 us-central1 buckets (refs/bams/results/evidence, versioned, uniform access) + budget alerts \(100/\)200/\(300 (HARD STOPS) + GPU quota already 0. UPGRADED to full account 2026-10-16; 64-vCPU cap lift CONFIRMED 2026-10-17.
**ALL cells on GCP (split-host reverted):** local i7 numbers are background only; every timed claim re-baselined same-cell on GCP. Quota 64 vCPUs (lifted 2026-10-17 on request) → 16/32-thread matrix UNBLOCKED, still staged after 8-thread green; one 8-vCPU VM at a time remains the courtesy norm on trial. Cost basis: us-central1 rate card as checked 2026-10-16, re-verified at spend; ledger owner records per-cell wall/RSS/\) + Batch job ID in GCP cost ledger (deliverable §10). Buckets: keep ≤2 versions, Nearline after 30d. Spend order: P → E-span → G-span → HG008-full last (a cap halt still leaves publishable tiers). Kill-vs-drain: Batch timeout per cell; killed cells = SKIP (budget-stop), spend logged, never partial VCFs.
Execution rules (learned 2026-10-17/18, binding on all Wk2+ cells): (a) SINGLE WRITER per artifact — never two transfers/computes on one path (dual-writer corruption is silent); (b) every cell with expected wall >30 min carries a PROGRESS GATE (quantitative checkpoint + wall-time cap; miss → kill → SKIP-budget-stop, never a blind grind — STAR sort-spill ran 1 h at 1% before the gate caught it); (c) all transfers fail-fast guarded (stall-timeout + speed-floor + bounded retries, resume-capable); (d) per-cell RAM pins explicit (no default sizing assumed — STAR index needed 40 GB, sort needed 50 GB); (e) concurrency bounded: concurrent cells fit 48 vCPUs total with each cell's RAM pin honored; (f) md5 (or published-digest) gate on every staged input before compute starts.
(g) LIBERAL provisioning, PRECISE measurement (owner policy 2026-10-18):
(h) VM-TASK WATCHDOG (RCA 2026-10-19 — dead STAR VM burned ~7 h × $0.52 with zero artifact; R2 FTP saga burned days of wall-clock): every billable VM task MUST (1) set the auto-delete safety net AND prove it (instances describe shows it) before any work starts; (2) heartbeat progress to GCS (gate/status files) so staleness is detectable without SSH; (3) treat any FATAL gate as an immediate halt — a posted-but-unacted gate is a defect, and controller-side staleness bound is 2× the expected step time, then intervene, no exceptions; (4) prefer intra-GCS transfers over public FTP (bandwidth + resume semantics); (5) record VM wall × rate + storage delta in the task report (reviewer re-verifies, including instances list EMPTY at review time for completed VM tasks); (6) reviewer checks live cloud state, never trusts session claims alone. (i) COLLOCATE COMPUTE WITH DATA (lesson 2026-10-20 — 5d pulled 55 GB home at ~$6.60 egress + trickle-speed hours instead of running the diff on the VM that already held the BAM): ALL engine runs (VarDictJava oracle and vardictrust) on real cohort-scale data run remote on GCS (ephemeral VM, excessive/dedicated resourcing per (g), tools shipped or installed fresh) — no exceptions; download home ONLY when repeated local reuse amortizes egress. In-repo test-fixture pilots (<1 GB, seconds) stay local. Egress > VM-hours is the usual inequality — check it before any >10 GB pull. Collocation also guarantees sized RAM/disk per (g) with zero contention against the local/media stack; home pulls spend finite local RAM and headroom that are free but not infinite. size every cell at ~2x expected need (align/sort-class ≥64 GB RAM; Java highmem-16+; disks 500 GB class; thread counts per matrix, not per frugality) so cells pass first round; MEASURE actuals per cell into evidence extra (peak RSS + CPU% via /usr/bin/time -v, disk high-water via before/after du -s) and REPORT used-vs-provisioned efficiency — the gap is a paper result (rightsizing guidance), not waste. First-pass success outranks per-hour thrift; the $100 HARD STOPs still bound totals. UB-8 rerun attestation syncs KEEP_DIR to GCS on every failure path and counts inside (not beside) the retry budget.
Guesstimate ranges (spot-first realistic / mixed timed-OD / worst all-OD + 1 preempt cycle + HG008 Java long-tail):
| Block | Spot-first | Mixed | Worst |
|---|---|---|---|
| Tier P SRR 3-way matrix (60 runs) + SRR field | $3–5 | $4–7 | $8–14 |
| Tier E exome 3-way matrix + staged @16 | $5–10 | $8–16 | $15–30 |
| Tier G HG002 full 3-way (8/16/32 only) | $8–13 | $13–22 | $25–45 |
| Tier G HG008 T/N full 3-way (8-thread only bound) | $25–60 | $60–160 | $120–300 |
Tier-G span curve + -R repros |
$2–4 | $3–6 | $6–12 |
RNA STAR build + align + 3-way -i |
$4–10 | $7–16 | $14–30 |
| Tier-3 vcfeval suite (~30 runs) | $2–4 | $3–6 | $6–12 |
| Field full-tier (Mutect2+Strelka2 full-WGS bound; rest exome/panel/slices) | $8–20 | $15–35 | $30–70 |
| 16/32 matrix (GCP-only: span + HG002 3-way; GCP-only per ALL-cells rule) | $3–7 | included above | included above |
| Storage 2–3 mo (GCP: full-genome BAMs ~500GB Standard + Nearline FASTQs; ops <\(2; egress ~\)0; local disk $0) | $25–40 | $25–40 | $25–40 |
| Total (alerts \(100/\)200/$300 HARD STOPS) | $90–230 | $180–450 | $350–750 (16/32 only after cap lift) |
\(100/\)200/$300 alerts are HARD STOPS (halt new cells + re-evaluate + explicit resume). Blackout window (03:40–05:15) IGNORED while the media stack is down for maintenance (owner ruling 2026-10-16) — disk/RAM floors stay enforced (SKIP_BLACKOUT=1 skips only the blackout check).. Bounds: HG008 full at 8-thread ONLY (no 16/32 — span curve already proves scaling); field full-WGS limited to Mutect2+Strelka2 (fast pair; octopus/LoFreq/FreeBayes on Tier-P/E full + genome slices — Figs 2–3 replicate on SRR panels regardless); PDF fetched 2026-10-16 (396,827 B, 9 pp, sha256:d9505294…, MANIFEST entry Wk1); snippet quarantine lifts at MANIFEST landing.
4. Three full-sample tiers (locked simplification 2026-10-16 — no slice-led mains)¶
Main paper runs on FULL real samples only, one tier per assay class. Slices/micro/18-slice suites stay as cheap Tier-1/2 regression gates + supplement, never main figures.
- Tier P — Whole targeted panels: full amplicon panel(s) (EGFR/MRE11a, full 8-col BED, primer trimming + AMPBIAS) + vardictcpp head-to-head replication set (exact accessions, NOT a range): SRR15006375, SRR15006376, SRR15006386, SRR15006540 (adult AML bone-marrow, FLT3-ITD, BioProject PRJNA742684, Illumina MiSeq, 100–135k target regions; somatic pair = SRR15006376 tumor + SRR15006386 normal) + SRR8657348 (MV4-11 AML cell line, CCLE, PRJNA523380, germline Fig-2 arm) — all NATIVELY on hg19 (no liftover; CPP-7 contained) + panel SV calls reported (Tier-2 MATCH required; CPP-9 drop rates apply) + panel CRAM twin as separate bitwise-identity cell (proven only on HG008 slices so far — panel twin is its own cell). No panel slices. (Corrects earlier "SRR15006376–86 exome" shorthand: these are targeted MiSeq panels per vardictcpp §2/Table 2/Figs 2–3 + §5 Data Availability. [Attributes now PDF-verbatim (vendored PDF sha256:d9505294…, MANIFEST entry Wk1).])
- Tier E — Whole exome: SEQC2 HCC1395/BL full exome (tumor/normal) + exome-wide SVs + CRAM twins. (SRR hg19 replication lives in Tier P — see above.) GRCh38 truth and hg19 replication reported separately.
- Tier G — Whole genomes: HG002 full-genome germline (
130.8 GB2×250WGS,chr1..chr22) + HG008 tumor/normal full-genome (329.0 GB195×/169× = 364×combined somatic WGS,chr1..chr22) + chr1 1/10/100/249 Mbp scale curve (within G) + FULL 3-WAY GENOME across both BED geometries at-th 32/MemoryMax=245G/-Xmx200g: - Arm A (
22Un-Chunked Whole Chromosomeschr1..chr22,2,875,001,522 bp): tests internal halo tiling vs whole-contig heap residency (VarDictJavaholds all22chromosomes simultaneously in JVM heap at~500 B/bpviaSimpleMode.java:54-90/ReferenceResource.java:107-125/InitialData.java:14-27and OOM-crashes withrc=3at213.70 GBRSS onHG002and214.10 GBRSS onHG008, whereasVarDictRust v1.0.6finishesHG002in25m 16.61s(1,516.61s) at4.93 GB(4.70 GiB) RSS (9,643,769variants) andHG008in2h 49m 52sat12.14 GB(11.57 GiB) RSS (13,067,287variants), whilevardictcpp --chunk 50000uses31.91 GBRSS (18m 50.80s,9,953,338variants with+309,569boundary duplicates) onHG002and91.85 GBRSS (1h 02m 50s) onHG008). - Arm B (
≤50 kbpPre-Tiled GIAB Callable Genomechr1..chr22,2.51 Gbp,56,642intervals onHG002): reducesVarDictJava's simultaneous active genomic span across32threads by \(1,796\times\) (\(32 \times 50\text{ kbp} = 1.60\text{ Mbp}\) vs \(2,875\text{ Mbp}\)), allowing JVM garbage collection between \(50\text{ kbp}\) intervals (VarDictJava3h 08m 15s/34.14 GBRSS [22.20 GBJVM +34.14 GBsingle-threaded Rteststrandbias.R] vs1.43 GB(1.37 GiB)VarDictRust v1.0.6RSS in20m 21.21s(1,221.21s) across8,111,171variants [100% MATCHon callable intervals;9.25×faster and23.8×less RAM] vs28.35 GBvardictcppRSS in11m 40.98s; onHG008Arm B,VarDictRust v1.0.6finishes in1h 45m 55sat4.88 GB(4.65 GiB) RSS across10,195,118variants whileVarDictJavahits the6htimeout (rc=124at62.51 GBRSS) andvardictcppuses21.16 GBRSS in21m 46s) and enabling full-genomechr1..chr22Tier-2compare_vcf.pyparity + Tier-3rtg vcfevaltruth concordance (GIAB v4.2.1onHG002[\(F_1 = 0.9651\) best-\(F_1\), \(0.6624\)None];GIAB v0.3[\(F_1 = 0.6547\)] &v0.4[\(F_1 = 0.6585\)] onHG008) + CRAM twins per genome. - Cross-tier full-sample arms (real samples, never micro): full-transcriptome RNAseq = GIAB HG002 GM24385 replicate-1 mRNA (NIST-GIAB/Merker-UNC pilot, Sep 2022; TruSeq Stranded mRNA, NovaSeq 6000 S4 2×150 bp, ~325M clusters; SAME GM24385 LCL as Tier-G DNA = matched DNA+RNA) —
ftp-trace.ncbi.nlm.nih.gov/ReferenceSamples/giab/data_RNAseq/AshkenazimTrio/HG002_NA24385_son/UNC_Illumina/reads/HG002_GM24385_replicate1_mRNAseq_ILLUMINA_UNC_20220524_AGGTTATA-CAGTTCCG_R{1,2}_001.fastq.gz(+md5.in; no embargo, NIST public-service license; replicates 2–3 + totalRNA + GM26105/GM27730 iPSC + Google_Illumina/Baylor_PacBio/Mason_ONT arms available for robustness only). Align once on GCP with STAR 2.7.11b (bioconda h5ca1c30_8, LOCKED 2026-10-17) 2-pass to GRCh38 GIABv3 + GENCODE v50 Basic CHR GTF (LOCKED 2026-10-17), reuse BAM (51.8 GiB,12,668-isplice rows,100%sorted-setMATCH,4.94s/359.9 MBRust vs23.31s/4.79 GiBJava). Strelka2 2.9.10 (bioconda, LOCKED 2026-10-17) for our extension arm. Comparator note: splice-mode-istdout order is nondeterministic in BOTH engines by design (plain HashMap iteration,DIVERGENCES.md) — RNA arm asserts sorted line-SET identity, never byte order. Full SV arm = real COLO829-class WGS (<INV>/<DUP>/CRISPR-J/-j); every other 17-mode flag mapped to a FULL real sample — full-sample cells, supplement if not main. - Diversity/b37 (HG005 + NA24385-b37 full-sample) reported inside the tier of origin (E/G) as ancestry/build strata, not standalone slice mains.
Sample×aspect utility audit (2026-10-16 — every sample earns ≥2 aspects, no orphan runs):
| Sample | Tier | Tier-1/2 parity | Tier-3 truth | Compute | vardictcpp H2H | Field |
|---|---|---|---|---|---|---|
| Amplicon EGFR/MRE11a full | P | MATCH + AMPBIAS | ineligible (assay) | budget + ceiling | CPP-3 SKIP (TSV-only) | — |
| SRR15006375/76/86/540 + SRR8657348 (PRJNA742684/523380, hg19 MiSeq) | P | MATCH (100–135k-region BED [PDF-verbatim]; --chunk pinned, interval_mechanism_{java,rust,cpp} in extra, BED-vs--R asserted) |
Fig-2 truth per paper text: NIST GIAB v4.2.1 truth set over high-confidence exome-callable regions (depth≥20, 2.31 Mbp, 2,443 truth variants; HG002 chr20 SureSelect-v5) via rtg vcfeval, regions/method per Daniels et al. 2024 [16] — replicate uses their vendored truth/truth20.norm.vcf.gz + truth/conf20.bed/truth/target20.bed VERBATIM (Daniels = background/method context, local PDF); input BAM is b37 chr20-only NIST download (bwa 0.7.12/decoy/MarkDup 1.124 — CPP-7/8 surface, keep b37-vs-hg19 split explicit); MV4-11 = Fig-1 perf arm (Tier-2 parity-only) |
small-window wall/RSS | exact replication (Table 1 parity + Table 2 speed class, §1.1) + somatic pair 76/86 | Fig-2 octopus/FreeBayes, Fig-3 Mutect2/octopus/LoFreq |
| SEQC2 HCC1395/BL full exome | E | MATCH (623k) | SEQC2 v1.2.1 EQUAL | budget + jobs/node + 16/32 staged | MISMATCH CPP-9 (1–2 SV) | somatic field panel |
| HG002 full WGS (GM24385) | G | MATCH | GIAB v4.2.1 EQUAL (F1 0.9699 slice; 0.9651 WGS) + Stage 6 v5.0q T2T-Q100, CMRG v1.00, Mosaic SNV v1.10 (84/85 = 98.82%) | budget + span + 16/32 | MISMATCH CPP-9 (MNP 0.15%) | germline field panel + 10-platform chr20 + 70-cell GA4GH v3.5 |
| HG008 T/N full WGS | G | MATCH | v0.3 EQUAL (+ v0.4 smvar parallel, rtg) + V0.6 SV+CNV Tier-3 gated on unblock | budget + ceiling | MISMATCH CPP-9 (SV drop) | somatic field panel + 11-caller (27-row) modern ML/commercial (DRAGEN, DeepSomatic, ClairS, SAGE, Lancet2, Ultima DV) + 20%→1% purity titration |
| HG005 / NA24385-b37 full | E/G strata | MATCH | v4.2.1 EQUAL | — | CPP-7/8 surfaces | — |
| HG002 GM24385 rep-1 mRNA (UNC, matched LCL) | RNA | MATCH (sorted-set) | ineligible (parity-only) | STAR build+align wall/RSS | — | — |
| COLO829(-BL) full WGS | SV | MATCH (<INV>/<DUP>/CRISPR) |
ineligible (Valle-Inclán suite = parity) | — | CPP-2 (-J/-j) |
— |
Pre-register tier×flag expected MATCH/MISMATCH/SKIP table covering CPP-2 (-J/-j), CPP-3 (amplicon TSV-only), CPP-4 (concat flags exit 120), CPP-7/8 (b37), CPP-1/6/9 — Tier-P row pins --chunk + BED-vs--R per engine in extra (CPP-5; cpp -R+BED never co-passed). Archive BED inventory (Task-2 verified): beds/{simple,panel17,sv,lowcov,amplicon,c17,c17amp,big,bigamp}.bed + truth/conf20.bed + truth/target20.bed (b37 20-naming); covered-target BEDs are DERIVED via mkbed() — regenerate per-sample covered BEDs in prereg to reproduce Table-1 region counts, do not assume capture-kit BEDs. Tabulate BED-vs--R per cell. -R full-chromosome relevance: Galaxy wrapper exposes region for full chromosomes only (tools-iuc macros.xml L27) — cite as mechanism, not just our finding. Huge-BED+amplicon: intervals >1 Mbp rejected/skipped loud (amplicon-expand guard + unit test — code task gating Tier-P). SV strata ownership: Fig5 MNP strata = HG002 germline; SV strata = HG008-V0.6 Tier-3 where unblocked, else COLO829 Tier-2 parity (no double-count). |
5. Accuracy protocol¶
Tier-1: .var 36/38, 38/40, 55/61 + order + half-even rounding INCL. formatter split (no---fisher keeps trailing zeros, --fisher strips).
Tier-2: 3-way, eps 1e-6, 0 diffs java==rust; cpp binned CPP-1..9; records-only diff + header policy (note scale_bench strips ##; thread_determinism synthetic — specify per cell).
Tier-3: rtg vcfeval --squash-ploidy; raw (None row, evaluating all PASS variants for java==rust 0-site-diff parity) + QUAL-calibrated best-\(F_1\) operating points (germline QUAL≥128/226/160; somatic PASS+STATUS rule frozen for java==rust concordance plus rtg vcfeval --vcf-score-field=QUAL best-\(F_1\) and explicit QUAL cuts 0/30/50/75/100/128/150/200 for field comparisons, since VarDict assigns FILTER=PASS to all candidate variants passing -f/-r/-q and stores confidence in QUAL) + full ROC sweep table (QUAL 0/30/50/75/100/128/150/200 + VD equivalents; title "ROC/QUAL sweep", transition reported as result not premise). Small-var truth: GIAB v4.2.1 (HG002/HG005/b37), SEQC2 v1.2.1, HG008 v0.3 for continuity + v0.4 smvar evaluated in parallel via rtg (successor per assets.tsv:18-21; neither is SV+CNV — that is V0.6). Stage 5 & Stage 6 post-registration exploratory extensions (gcp-prereg.md §B7/§B9): (1) 10-platform sequencing chemistry chr20 panel (s5_cross_platform_short_read_chr20_panel) across 4 HG002 germline arms (Illumina NovaSeq 6000, Element AVITI 80x, MGI DNBSEQ 100x, Ultima UG100 40x) and 6 HG008 somatic arms (Illumina NovaSeq, Roche SBX-Duplex, PacBio Onso, Element AVITI, Ultima UG100 Standard, Ultima UG100 ppmSeq) at -f 0.01 and -f 0 plus 18/18 STRICT_MATCH on the cross_platform_f0_noise_floor.tsv (6 somatic chemistries × 3 regimes f0.01_r2, f0_r2, f0_r1; 18,407 candidates, 2,865 PASS somatic calls); (2) HG002 modern truth sets (s6_hg002_v50q_cmrg_mosaic_eval) covering NIST GIAB v5.0q (T2T-HG002-Q100), CMRG v1.00 (273 genes), and Mosaic SNV v1.10 (84/85 = 98.82% recall on both Arm A and Arm B); (3) HG008 v0.4 11-caller (27-row) modern ML & commercial caller matrix (s6_hg008_modern_ml_and_commercial_callers) covering VarDictRust_v1.0.6, DRAGEN v4.2.4 Linear/Graph, DeepSomatic v1.6.0, ClairS v0.4.1, Ultima DeepVariant, Hartwig SAGE, Lancet2, Mutect2, Strelka2, and LoFreq; (4) Low-VAF tumor-purity titration (s6_low_vaf_titration_truth_curve) (20%→1% purity / 10%→0.5% VAF at -f 0.002, 8.53–8.76s vs Java 65.16–66.76s [7.5×–7.7× faster], where VarDictRust==VarDictJava achieves 16.7× higher SNV \(F_1\) and 25.1× higher recall than Mutect2/Strelka2 at 0.5% VAF); and (5) 70-cell GA4GH v3.5 × 10-platform stratification matrix (s6_ga4gh_v35_stratification_matrix) (7 genomic difficulty strata × 10 platforms, 70/70 VarDictRust == VarDictJava 0 site-diffs). HG008 dataset context per Sci Data paper (local PDF s41597-025-05438-2): broad-consent PDAC tumor-normal, 17 measurement technologies; somatic benchmarks are that paper's stated future work — v0.4/v0.6 live only in FTP + repo guide. Tier-3 design aligns Krusche et al. GA4GH best practices (local nihms copy): truth VCF + confident BEDs + stratification by variant type/context + genotype-match TP counting — cite in Methods. SV Tier-3 (gated): enroll HG008 V0.6 stvar/CNV (PASS/ALL VCFs + clonal and clonal+subclonal beds + CNV bedpe/bed, assets.tsv:26-33) via truvari (NOT rtg) for the SV arm — GATED on V0.6 representation fix (sizeless <DEL>/<DUP>/<INV> discarded, CNV method none; eval currently BLOCKED per guide) — COLO829 stays Tier-2 caller-parity (Valle-Inclán 2022 structural suite, no small-var truth), HG008 v0.4 gives SVs a truth leg. Fig-2 germline field F1s (octopus/FreeBayes/vardict/Mutect2-tumor-only/LoFreq) denominator per paper text (vendored PDF sha256:d9505294…, MANIFEST entry Wk1): NIST GIAB v4.2.1 over HC exome-callable regions (2,443 truth variants, Daniels-2024 regions/method) — enroll HG002-chr20-exome replicate as Tier-3 Fig-2 cell (VarDictRust==VarDictJava SNV \(F_1 = 0.9858\), InDel \(F_1 = 0.8956\)); MV4-11 stays Tier-2 parity-only (Fig-1 arm). Fig-1/Fig-3 replication targets = vendored Figure_data.zip (caller_speed*.tsv, caller_accuracy.tsv) + Venn counts (VarDict 737 SNVs; sole-called 606; overlaps 21/1/0/1/9/86/1; all-four 13), PDF-verbatim. Stratify SNP/InDel/MNP/SV via named tool (e.g. bcftools strata + masks + counting rule — rtg alone insufficient) + AF bins (≤1%/2-read sensitivity) + depth bins. Truth-header completion for cpp zero-##contig (CPP-6): pre-register truth-first, ##fileformat line 1, zero record-byte changes, asserted in wrapper. Field callers (versions Task-2-verified from their PROVENANCE.md, all bioconda): FreeBayes 1.3.10, LoFreq 2.1.5, GATK/Mutect2 4.6.2.0 (Java 21), octopus 0.7.4 — exact commands in saved text extract; Strelka2 ABSENT archive-wide (zero hits) so our extension pins its own digest. Germline Fig-2 = octopus + FreeBayes; somatic Fig-3 = Mutect2 (PASS) + octopus (somatic) + LoFreq (somatic); +Strelka2 extension labeled; pinned digests + PASS-vs-all filter + shared BED/SDF + squash-ploidy justification per cell.
Determinism: 1/2/4/8 threads on ≥1 real somatic + ≥1 SV/MNP cohort — records-exact + named header policy per cell (NOT full-byte: harness strips ##; RNA -i is sorted-set only by design).
6. Compute protocol¶
Same BAM+ref+BED+flags+threads per cell; cpp -R whole-chromosome blowup repro — EXACT mirror of their Table 3 (-R chr1:1-249250621, SRR8657348 MV4-11, hg19; Java JDK25 -Xmx 200g 107.6 GB/6:10 [measured 111.65 GB / 106.47 GiB, 501.83s] vs cpp 10.6 GB/2:03 [measured 11.10 GB / 10.58 GiB, 105.89s]; Java OOMs at -Xmx 4g) + our Rust third arm on the identical cell (0.326 GB / 0.311 GiB, 9.75s) — under cgroup/ulimit/timeout containment with KEEP_DIR preserving cpp_R*.time + exit code (do not rm -f failures). Single-Host Cgroup Execution Model (locked 2026-10-24 / updated B8 2026-10-27): all GCP compute cells (Tasks 5b–6) run on dedicated n2-highmem-32 (32 vCPUs, 256 GB RAM, 250 GB pd-ssd boot + 8×375 GB [3.0 TB] NVMe Local SSD RAID0) and n2-standard-32 (32 vCPUs, 128 GiB RAM, 100 GB pd-ssd boot + 4×375 GB [1.5 TB] NVMe Local SSD RAID0) instances on identical Intel Xeon Platinum 8373C (--min-cpu-platform="Intel Ice Lake") silicon in us-central1 via harness/gcp_paper_runner.sh, using systemd-run --scope -p AllowedCPUs=0-$((P-1)) -p MemoryMax=<CAP> to enforce exact CPU count (P ∈ {1,2,4,8,16,32}) and memory envelopes (32G for n2-standard-8 / cpp containment, 64G/128G/256G for 16/32-core & Table-3 -Xmx 200g cells) on identical physical silicon with zero cross-host or cross-VM variance. Cells: 3-tier budget (P/E/G full-samples; perf_budget.py runs amplicon + seqc2-exome + hg002 + hg008 map onto P/E/G) × 1/2/4/8 + Tier-G span curve + -R repro + concurrent-jobs-per-node per tier + 16/32-thread matrix (staged after 8-thread green; spot-first, RAM-gated, no scope cut): Tier-G span scaling + Tier-G genome Tier-2, all 3 engines (Rust MemoryMax=64G/128G; Java/cpp MemoryMax=128G/256G with containment); Tier-E @16/32 only after Tier-G clean; Tier-P excluded (too small to scale). Quota lifted to 64 vCPUs 2026-10-17 — 16/32-thread matrix proceeds staged after 8-thread green. Pre-flight: ≥2× 8-thread RSS free or SKIP loud. Metrics add S_16/S_32 vs same-cell 1-core baseline (re-baselined on GCP family), efficiency S/P, per-thread RSS, $/sample. Rust gates S_16>S_8 + RSS still flat (1.18× at -th 8, 1.29× at -th 16, 1.41× at -th 32 across 249 Mbp / 10 Mbp); Java/cpp report-only. Metrics (all cells): wall, peak RSS, ratio, S_8, $/sample, jobs/node, explicit tabix -p vcf/bcftools index pass per cohort (Rust + cpp), loud SKIP per field caller (java==rust untouched). Publish unfavorable cells too (cpp small-window wall wins e.g. 16.9s vs 45.6s, Tier-P 8c 12.85–31.66s vs 39.63–135.43s, SEQC2 exome 32c 63.68s vs 67.86s). Deep-coverage RSS ceiling cell (1000× amplicon 11.5 MB + HG008 WGS slice 502.8 MB at -th 8) before full-genome (covers stream-pileup/fisher-vec vectors). Pre-registration gates (all in gcp-prereg.md before spend): (1) ceiling gate FIRST — Rust peak RSS ≤8 GB on both ceiling cells else BLOCK full-genome (span 1.16× / 1.18× was exome-depth, does not transfer to 195x/169x unbounded vecs); (2) Java sizing pinned — n2-highmem-32 cgroup slice + -Xmx 0.7× slice RAM in prereg + run_oracle.sh; exit-137-under-cgroup-cap = OOM path (score, no UB-8 rerun), 137-with-headroom = UB-8 path (one rerun, log preserved); (3) cpp containment pinned — MemoryMax=32G cgroup slice, KEEP_DIR synced to GCS on every exit path, expected CPP: SKIP (cgroup OOM) counts as containment PASS; (4) RNA alignment — STAR 2.7.11b --runThreadN 32 on the n2-highmem-32 (250 GB pd-ssd + 3.0 TB NVMe Local SSD) instance, FASTQ pull + index + aligned BAM synced to GCS with ≤$10 sub-cap, index RSS in extra; (5) SRR BAM provenance per accession — vendored digest from Zenodo Archive.zip (verified in Task 5a, 12/12 objects in gs://vardict-paper-trial-bams/tier-p/); (6) jobs/node method — 2×4-thread jobs in a AllowedCPUs=0-7 MemoryMax=32G slice on n2-highmem-32 / n2-standard-32 (no second VM needed), else defer with scope cut; (7) ref-multiregion gate — 2+-region oracle MATCH proving per-buffer offsets (reference.rs:301-318), else full-genome restricted to single-region streaming (logged); (8) 2-Strike / 5-Spot → On-Demand escalation policy (locked 2026-10-24 / updated B8 2026-10-27) — start n2-highmem-32 / n2-standard-32 (--min-cpu-platform="Intel Ice Lake") as SPOT (--provisioning-model=SPOT) with per-cell GCS checkpointing; if Spot is preempted/killed across us-central1-{a,b,c,f}, switch to STANDARD (On-Demand) and resume from the last completed GCS cell checkpoint.
7. Maintenance/security matrix (measured)¶
Archive proof, crash/OOM repro family (modifyCigar #341-fam, #197/#384, #187, #282, #320), SBOM diff (static musl vs JVM+R+Perl), cargo audit/deny + Trivy/Grype CVE table, SLSA3 + bin_equiv.sh musl-vs-glibc, bioconda install test, 60-flag CLI matrix (thread-default difference VERIFIED: Java CmdParser.java:617-628 → 1 when -th absent; cpp §2 default 1; ours all-cores — always pass -th explicitly in timed cells, record defaults, do not silently align), platform matrix (their Linux x86-64/ARM + macOS Apple Silicon vs ours), docs site + RRID item (theirs SCR_028800; register ours Wk4 or justify), support SLA + --fix governance (ROADMAP). Cite omnibus docs/validation/omnibus-empirical-validation.md + enrollment-flow counts per cohort.
8. Figures/tables¶
Fig1 three-tier design (P/E/G + cross-tier RNA/SV/CRAM arms); Fig2 Tier-1/2/3 flowchart; Fig3 ROC/QUAL sweep per tier; Fig4 Tier-G span–RSS + per-tier jobs/node; Fig5 field F1 + MNP/SV strata per tier; Fig6 maintenance/security matrix. Tables: tier scoreboard (extends 9-pillar omnibus), 3-tier budget wall/RSS/$, CPP-1..9, CLI parity, SBOM/CVE, GCP cost ledger, MANIFEST provenance.
Public-release LinkedIn carousel (10 slides, 1080×1350 4:5 portrait PNG + combined PDF, modeled on Demaille picard-rs post; generated ONLY from post-PR-merge fingerprint-bound evidence JSONs, zero hardcoded numbers): (1) Hero scoreboard card (3 headline KPIs: 35/35 Tier-2 parity, peak RAM reduction, flat chr1 span RSS ratio + 2-line provenance footer on all slides); (2) Wall time across flagship cohorts (Java #E86833 vs Rust #2B7CE9 vs cpp #64748B); (3) Peak RAM across cohorts + -R chr1; (4) Chromosome-span memory scaling (chr1 1 Mbp→249 Mbp); (5) Multi-core speedup (1..32 threads); (6) GIAB/SEQC2 rtg vcfeval truth concordance (Delta = 0); (7) Bugs/divergences caught by oracle differential testing (CPP-1..9 MNP splits, dropped SVs, #29 splice/mate-window ownership); (8) CPU time + busy-cores distribution (user+sys CPU/wall); (9) Smallest gains / where cpp wins small-window raw wall time (honest floor); (10) How this was measured 2-column protocol card (Machine, Execution, Java, C++, Rust, Protocol, Measures, Inputs, Limits). Companion ~220-word post text follows Hook → Drop-in context → 3 KPIs → Hardware/protocol → Bugs caught by oracle diffing → Honest limits → Links/hashtags.
9. Known audit-deferred vectors (must clear before full-genome/WGS-scale claims)¶
somatic-dedup (no cross-tile pending), stream-pileup/fisher-stream (unbounded vecs), ref-multiregion (wrong base after multi-region), amplicon-expand (non--p bounded Task 4b; -p path still expands — Tier-P -p cells out of scope until follow-up streams it) — see ROADMAP.md:68-78. Gate WGS/full-genome on tiled-vs-single MATCH + ceiling cells or scope down. All Stage 1 ceiling & multi-region gates (s1_ceiling_amplicon, s1_ceiling_hg008, s1_gate7_ref_multiregion, s1_h1a_simple_tiles) passed 100% MATCH, clearing B4 for Stage 5 full-genome execution (Arm A 22 contigs + Arm B ≤50 kbp GIAB intervals) and Stage 6 literature-gap closure (B9).
10. Timeline + deliverables¶
Wk1: billing LINKED + APIs + buckets + alerts + SA/key done; vendor Zenodo data/README/Figure_data + PDF (backoff; read README FIRST for Fig-2 truth + Archive layout); enumerate Archive.zip (BED paths, hg002.exome.20 provenance, SRR15006375/540 BAM locations — C2–C4) before rebuilding (owner: Wk1 implementer); freeze gcp-prereg.md (GCP IDs above + venue guide version/access date + operating points + MRD -f 0 rule + somatic PASS+AF/Fisher rule + tier×flag matrix incl. Tier-P chunk/BED + PDF sha + region lock + Xmx/caps/VM pins + BAM provenance + field-caller versions extracted from their benchmark.sh + Zenodo v1 DOI 10.5281/zenodo.21836659 cited alongside latest). Wk2–Wk3: engine merged to main + release v1.0.6 CUT (2a8e9a3, engine fingerprint 5865a2a0b24a8c17, --perf fingerprint c490c36317b8f25b; musl/gnu/macos artifacts + SLSA: github.com/palakpsheth/VarDictRust/releases/tag/v1.0.6) — GCP 60-cell matrix (Stages 1–6 + Option C parity sweep) executed on n2-standard-32 (--min-cpu-platform="Intel Ice Lake") and archived to gs://vardict-paper-trial-results/cells-v106/ (60/60 directories complete; total GCP spend $228.90 / $300.00, 0 active VMs/disks, 760.96 GiB retained across the 4 GCS buckets at ~$3.51/wk); local acceptance 8/8 green under 5865a2a0b24a8c17. Wk4: field + maintenance + preprint draft → specialist journal. Deliverables: preprint (acceptance.sh 8/8 + fingerprint-bound evidence via live runners, Class-0) + MANIFEST + cost ledger (docs/validation/provenance/task-5b-to-6-report.md) + digested containers + LinkedIn 10-slide benchmark carousel & post (§8). No AI section. Explicit non-goals: no effort-day comparison (theirs is calendar-bounded and non-transferable); no memory-price claims (their Wccftech DDR5 citation is not journal-grade — our economics rest on measured jobs-per-node, not price journalism).
PRE-RESUME HARD GATE (2026-10-23 owner ruling — SATISFIED 2026-10-30 at v1.0.6 / 2a8e9a3): DO NOT resume any paper/gcp-study benchmark analysis, GCP compute cells, or LinkedIn post/carousel data generation until ALL open PRs on the repository are merged to main (gh pr list --state open == 0, specifically including PR #35 perf/issue-30 2× speedup & -66% heap allocs and v1.0.6 release recertification), paper/gcp-study is rebased onto origin/main, and the post-merge immutable release tag is cut so every paper and outreach figure reflects the final engine fingerprint (5865a2a0b24a8c17).
Appendix A. Adversarial + ponytail log¶
- Auditor/Challenger/Reviewer pre-mortem 2026-10-16 → all BLOCK (H1 scope, full-genome oracle, tile==single, somatic operating points, false resume, SRR pinning, CI stats, stratifier, field pins, cross-host carryover, digest confusion, BED-vs-R, CRAM/tabix cells, UB-8 retry, formatter split, Fig3 title, SKIP handling, archive proof, header policy; challenger tiling/OOM/vec/cost/containment/taskset/SKIP-matrix/header-completion/invocation/interval-guard/OOM-scoring/courtesy/replicates/snippet-sha; reviewer committable-path, Class-0 guard, floating tags, $ cap file, snippet quarantine, wrapper gates, script names, omnibus cite, branch/PR path). All applied above as minimal text fixes; no new framework/deps.
- Ponytail: reused harness/evidence/omnibus/test-matrix; no new deps; wrapper minimal. Resolved 2026-10-16: 16/32-thread matrix (spot-first, RAM-gated §6) + CUD decision (no purchase, ledger reports on-demand-equivalent). Still skipped: UMI/long-read,
--fixcorrections, Galaxy, line-level field-CLI audit (no pins yet), live GCP reruns (plan-only). - Paper + data vendoring (resolved 2026-10-16): biorxiv PDF fetched try-1 2026-10-16 from author network (396,827 B, 9 pages, PDF-1.5, sha256:d9505294ec26f02810ce67e0928c9597f8ba8bedcb81b40139bc77cf25e3dca2; MANIFEST entry Wk1 — snippet quarantine lifts then). Figure_data.zip verified (46 files + 7 dirs). STABLE mirrors found: Zenodo concept DOI 10.5281/zenodo.21836658 — latest version DOI 10.5281/zenodo.22955424 (2026-09-25, CC-0):
Archive.zip4.07 GB md5:7bbcd523e3c3c38b8ce56f926ddf30c8 (paper data + code),Figure_data.zip13.6 MB md5:8b79769889e4424e2d0db9026343a896 (figure numbers direct),README.md(Task-2 READ: Fig-2 = HG002 chr20/SureSelect-v5/v4.2.1/rtg; all 6 BAMs vendored incl. SRR15006375/540 — no FASTQ rebuild needed for Tier-P; BEDs enumerated; caller versions extracted). Staged to GCS (Task-2 verified, ~$0.09/mo):gs://vardict-paper-trial-evidence/vendor/{README.md,Figure_data.zip,biorxiv.pdf}+gs://vardict-paper-trial-refs/vardictcpp/Archive.zip(single generation, md5-verified). Commit-hash inconsistency in archive docs (5ab3759vsae93fe39dc) — Wk1 confirms which binary produced raw outputs before citing. Author: Wolff, Joachim (Hannover Medical School Hematology per code repo; Zenodo author affiliation null); code: github.com/MHH-Bioinformatics-Hematology/vardictcpp. - Round-2 adversarial audit (branch
paper/gcp-study, 3 subagents → all BLOCK): V0.4-smvar vs V0.6-stvar/CNV correction (assets.tsv:13-33 + guide), Tier-P snippet quarantine + Table-2-per-accession grounding, H1 SV-truvari exemption + somatic-H1a scoping, RNA second aspect, SV-strata ownership, chunk/137-paths/containment/VM-pin/kill-drain/amplicon-guard/SRR-provenance prereg gates, GCP IDs + key rule + $300 reconciliation, venue-string + ledger-owner + Wk3-predecessor fixes. Applied above as minimal text fixes; engine/code tasks (run_cpp.sh $CPP_CHUNK, amplicon guard + unit test,run_oracle.shXmx, truvari path) parked as Wk1 code prerequisites. - Science-paper-review skill: NOT INSTALLED — substituted with paper-summarizer claim–evidence audit (§1) + adversarial pre-mortem. Residual risk: journal stats checklist (power/flow) manual — independent biostat review recommended pre-submission.
Appendix B. Verification evidence (plan-only)¶
detect_repo_scope.sh: REPO_PROFILE=vardictrust, IS_GIT_REPO=true, branch main, HAZARD none.- Subagents: Auditor ses_eb98cba43ffe0MBCPhzs46CnGr, Challenger ses_eb98cba42ffeC0gpp0f5e2qwtl, Reviewer ses_eb98cba41ffeKeG8p6TVBwlzui — all completed.
- Engine gates NOT run (plan-only, no code change):
cargo test / rgate / compare.sh / pr_checkN/A with docs-plan justification.
Appendix C. Scientific-paper skill pass (paper-workflow dispatcher, 2026-10-16)¶
Skill installed: Boom5426/Nature-Paper-Skills @ 6f8eaa07b4ea19fecdc73618cad9a65beb49d542 (MIT/Apache-2.0), profile --set recommended (19 skills) to ~/.config/opencode/skills, doctor 19/19 OK. Figure stack excluded (needs plotting backend/OpenRouter key). Entry: paper-workflow (dispatcher) → manuscript-optimizer + nature-portfolio-playbook + submission-audit + stats-reporting-audit + paper-reviewer (referee prediction). Scope: diagnose study plan (findings, no manuscript rewrite); 3 in-place fixes applied (§1.3 venue, §2 stats units, this appendix). Source: ATI commit 6f8eaa0.
Verdict: narrative stable enough for prereg freeze (local-rewrite depth, NOT micro-edit: venue + stats-units + AI/data-availability needed tightening). No structural rewrite, no scientific blocker beyond already-gated WGS vectors (§9).
Confirmed / assumed / unresolved: Confirmed — H1–H4 preregistered with stop rules, CPP-1..10 bins, Class-0 guard, vendored PDF sha256 (d9505294…), 64-vCPU quota lift, rtg 3.13 / bcftools 1.24 / STAR 2.7.11b / GENCODE v50 / Strelka2 2.9.10 / FreeBayes 1.3.10 / LoFreq 2.1.5 / Mutect2 4.6.2.0 / octopus 0.7.4 / vardictcpp ae93fe39dc (Tier-P) & hc52dbad_0 (bioconda) / VarDictRust v1.0.6 (2a8e9a3, engine fingerprint 5865a2a0b24a8c17, --perf fingerprint c490c36317b8f25b, rustc 1.96.0, noodles 0.118.0, rayon 1.12.0), somatic PASS+STATUS rule (concordance.sh), region us-central1, venue Genome Biology Research (primary) / Bioinformatics Original Article (fallback #1) checked 2026-10-16, B4 full-genome HG002 & HG008 chr1..chr22 3-way invocation signed off 2026-10-26 after Task 5b 5/5 PASS (both Arm A 22 whole-chromosome contigs and Arm B GIAB callable genome at -th 32 / MemoryMax=245G / -Xmx200g), B7 Option C 10-arm cross-platform chr20 & r1..r3 panel signed off 2026-10-27, B8 n2-standard-32 Ice Lake & gsutil transfer invariants frozen 2026-10-27, and B9 Stage 6 literature-gap closure (GIAB v5.0q T2T-Q100, CMRG v1.00, Mosaic SNV v1.10, HG008 v0.4 12-caller modern ML/commercial matrix, 20%→1% purity titration, 70-cell GA4GH v3.5 stratification) executed 2026-10-30 (60/60 directories in gs://vardict-paper-trial-results/cells-v106/). Unresolved — HG008-V0.6 truvari representation unblock (§A15).
Claim architecture: North Star — clinical/genomics users stranded on archived VarDictJava need a maintained exact replacement that fits fixed-hardware throughput. Central Q — does VarDictRust reproduce Java exactly with bounded RAM where Cpp explodes? Main claim — java==rust MATCH/EQUAL + flat RSS + maintained supply chain. Claims: (1) parity (H1/H1a → Tier-1/2/3 MATCH/EQUAL), (2) bounded scale (H2 → span curve + jobs/node + ceiling cells), (3) field standing (H3 → operating-point + sweep + strata vs Mutect2/Strelka2/Octopus/LoFreq/DRAGEN/DeepSomatic/ClairS/SAGE/Lancet2), (4) migration case (H4 → archive + SBOM/CVE/SLSA/determinism/tabix/CLI). Boundaries — amplicon/RNA/SV-only truth-ineligible; full-genome Rust-only; cpp advisory.
Major findings (severity order):
1. Venue/article-type unresolved → §1.3 added (Methods/Analysis-or-Resource, format unchecked until guide version recorded).
2. Stats units loose → §2 fixed (technical-run n, cohort/sample independent unit, variant counts = observations, full-sweep multiplicity).
3. AI/data-availability preflight missing → fix here: Methods needs 2-sentence AI statement (AI assisted dev per README, study runs deterministic harness, authors responsible; no AI images) + data/code statements (GCS/MANIFEST accessions, container digests, repo) ready before portal, not after.
4. Figure logic: each main figure now one claim (§8 ok); Fig4 composite (span-RSS + jobs/node) must share axes/datasets or split; every Fig5 field panel must map to a prereg cell (no orphan panels).
5. Terminology: canonicalize VarDictRust/vardictrust/Rust + wall/wall_s + RSS/maxrss_kb to evidence keys across text/legends/tables.
6. Referee attacks predicted: operating-point picking (frozen sweep counters), omitted cpp small-window wins (publish both), hg19-vs-GRCh38 mismatch (justify/liftover or separate), n=1 full-genome (Rust-only + tile==single), Java-OOM scoring (OOM-vs-completed), b37 artifact (CPP-7/8 labeled), single-region cost (report region/family, no generalization), single-maintainer bus factor (governance/SLA + --fix policy counters).
7. Front matter for broad peer: manuscript (not plan) must state problem by sentence 2 + findings as recovered biology (low-AF rescue, SV/MNP fidelity, jobs/node), not metric gains alone.
Edit depth: local rewrite (venue + stats + availability applied; prose/figures await manuscript stage).
Next action: freeze benchmarks/gcp-prereg.md (digests, versions, thresholds, expected matrix, PDF sha, $ cap, guide version) then spend. Keep manuscript-optimizer claim ladder during drafting (observation → pattern → interpretation; narrow-or-add-evidence-or-label-hypothesis for overreach). Run submission-audit + stats-reporting-audit + paper-reviewer again on full draft; anti-defensive-writing only after claims stable; scientific-prose-style last.
AUTHOR_INPUT_NEEDED: B4 full-genome streaming invocation SIGNED OFF 2026-10-26 (both Arm A 22-contig chr1..chr22 and Arm B GIAB v4.2.1 chr1..chr22 callable genome at -th 32 / MemoryMax=245G / -Xmx200g), B7 Option C 10-arm cross-platform panel SIGNED OFF 2026-10-27, B8 future-version hardware/transfer invariants (n2-standard-32 --min-cpu-platform="Intel Ice Lake", 5-Spot→6th-On-Demand escalation, -m -o GSUtil:parallel_process_count=1 -o GSUtil:parallel_thread_count=16, and GCS static asset persistence) FROZEN 2026-10-27, and B9 Stage 6 exploratory truth & modern ML/commercial caller expansion EXECUTED 2026-10-30 (60/60 directories in gs://vardict-paper-trial-results/cells-v106/; spend $228.90 / $300.00, 0 active VMs/disks, 760.96 GiB at ~$3.51/wk); only HG008-V0.6 truvari representation unblock (§A15) remains gated on upstream guide fix.