review_outcome: minor-revisions

# Review 3

The paper supports its main conclusion and now offers more than an attenuated MR estimate. Its useful contribution is a concrete demonstration that accurate splice-SNP reconstruction can conceal badly measured repeat-spanning length, followed by a matched comparison showing that this is not a general inability of the method to recover length. An expert considering joint SNP–repeat analyses would have a reason to change their validation procedure. I recommend one focused revision: show how the measurement errors vary across splice genotypes, using the benchmark already analysed.

I would not require identifying the molecular cause of stroke before publishing this narrower result. The paper has followed the original finding into a substantive measurement question and tested alternatives that could have undermined its interpretation. It correctly leaves repeat causality, instrument validity and the magnesium effect unresolved.

## What I checked

I ran all four documented shell entrypoints—`run_update.sh`, `run_mvp_finemap.sh`, `run_repeat_audit.sh` and `run_technology.sh`—in a temporary copy using the frozen project environment. All completed, including their R checks, and `paper_tables.py --check` passed. The resulting `results/` directory was byte-identical to the study's saved directory. This was a cached-input replay, not a cold rebuild or a new Locityper run.

Separately, without importing the study's analysis functions, I reconstructed all 248 benchmark predictions from the raw FASTA and archived genotype rows. I re-extracted both anchors and the splice allele, restored the documented sequence alias, and checked the leave-one-out exclusions and source edit-distance bounds. I independently enumerated all 88 availability-oracle rows. These agreed with the saved individual-level results. The central findings reproduce:

| Check | Independently recomputed result |
| --- | --- |
| Illumina leave-one-out splice dosage | 39/40 correct |
| Large length errors among those correct calls | 24/39 exceed 600 bp |
| Illumina leave-one-out length calibration | Median absolute error 2,001 bp; mean signed error −1,346 bp; prediction R² −0.5866; squared correlation 0.3368 |
| Full-panel Illumina | 40/40 correct splice dosages, but 23/40 length errors exceed 600 bp |
| Splice-matched oracle, 40 Illumina targets | Maximum nearest diploid-sum error 9 bp; separate maximum nearest-copy error 241 bp |
| Matched leave-one-out Illumina/HiFi/ONT, n = 17 | Median absolute errors 2,112/15/19 bp; errors above 600 bp 11/2/0 |
| Matched leave-one-out improvement | ONT improves 17/17; HiFi improves 16/17 |

I also rebuilt all 24 update and leave-one-out IVW fits from the original signed exposure alleles, the historical instrument table and raw GIGASTROKE rows. Estimates, uncertainty, p-values and heterogeneity agreed within 1e-12. The matched five-variant odds ratios are 0.6488 and 0.8648, with fixed-effect log-OR standard errors 0.1331 and 0.1125. The paper is right to describe attenuation without calling the overlapping datasets an independent replication or testing their difference as if independent.

Independent statsmodels HC3 fits to the regenerated participant inputs also reproduce the main tagging estimates: −572.20 and +569.55 amino acids in 206 people, and −1,781.52 and +2,065.10 bp in the 34-person nucleotide analysis. Their confidence intervals and partial R² values agree. The fine-mapping replay confirms the two-member European magnesium set and separate renal singleton. These checks establish arithmetic and input consistency, not independent biological truth.

## Single most important improvement

**Bring splice-genotype-specific error into the present results, rather than mentioning it only as a requirement for future validation.** The proposed causal analysis conditions repeat length on the splice SNP. Therefore, the dependence of measurement error on that SNP is especially relevant. The current aggregate summaries conceal a striking descriptive pattern:

| Reference rs4072037 T dosage | n | Correct predicted dosage | Mean signed length error, bp | Median absolute error, bp | Errors >600 bp |
| --- | --- | --- | --- | --- | --- |
| 0 | 3 | 2 | −2,443.3 | 2,270 | 3 |
| 1 | 21 | 21 | −2,107.2 | 2,164 | 20 |
| 2 | 16 | 16 | −141.1 | 107.5 | 2 |

These are the existing Illumina leave-one-out predictions, not a new subgroup selection. All 21 heterozygotes have the correct SNP dosage, yet 20 have large length errors. This makes the warning more specific than “SNP concordance is insufficient”: in this panel, the length errors are markedly nonuniform across the very genotype on which the proposed analysis would condition. A simple assumption of nondifferential measurement noise would need justification.

Add a compact stratified table or figure, and show the corresponding long-read comparison in the same paired participants. Keep the analysis descriptive: the three-person zero-T group is too small for strong inference, and genotype, actual length and ancestry covary. This pattern does **not** establish that the splice allele causes the measurement error, identify the read-level failure, or determine the direction of bias in an unobserved magnesium analysis. It does directly strengthen the paper's practical validation advice. This is a bounded addition supporting the existing conclusion, not a request for another cohort or a new genotyping pipeline.

The table above can be reproduced after the documented technology pipeline with:

```python
from pathlib import Path
import pandas as pd

s = Path('studies/mr/larsson2019-magnesium-stroke')
d = pd.read_csv(s / 'data/sequence_panel/technology_predictions.csv')
d = d[d['mode'].eq('loo_illumina')].copy()
d['absolute_error'] = d.error_bp.abs()
d['large_error'] = d.absolute_error.gt(600)
print(d.groupby('true_splice_dosage').agg(
    n=('sample', 'size'), correct_dosage=('splice_concordant', 'sum'),
    mean_signed_error=('error_bp', 'mean'),
    median_absolute_error=('absolute_error', 'median'),
    errors_gt600=('large_error', 'sum')))
```

## Contribution and limits

Position the contribution against the source literature explicitly. The [Plender preprint](https://doi.org/10.64898/2026.07.01.26356476) already reports poor MUC1 haplotype-length concordance and excludes MUC1 from its precise-length association models, while retaining a haplogroup analysis. Thus, discovering that short-read MUC1 length is difficult is not the novelty. The additions here are the splice-versus-length discrepancy, the two candidate SNPs' length tagging, and the paired endpoint-specific technology and availability analyses. The [Locityper paper](https://www.nature.com/articles/s41588-025-02362-4) likewise already compares read technologies and assembly-derived simulations; the present contribution is their interpretation for this particular length endpoint.

The manuscript generally respects those boundaries. Its oracle addresses availability of lengths, not likelihood-identifiability of whole haplotypes. The long-read comparison demonstrates substantially better agreement with the reference, not independent sequence validation. Disjoint SNP credible sets and dual length tagging do not choose between splicing, repeat composition, repeat length or another linked mechanism. Preserve these qualifications; no numerical or interpretive defect I found requires a major revision.
