1000 Genomes --assume-trans check¶
NYGC 30× GRCh38 panels provide the reference phase for the unphased double-heterozygote rule.
Research use only
Phased 1000 Genomes genotypes are not salivary secretor phenotypes. This check asks whether
unphased --assume-trans matches phase at rs601338 × rs1047781. It is not a clinical
validation.
Panels: ~/.gwaslab/{ANC}.ALL.split_norm_af.1kg_30x.hg38.vcf.gz (override with GENOSECRETOR_1KG_<ANC>_VCF). AFR/EAS/EUR fall back to the bundled extracts if the full panel is absent.
#!/usr/bin/env bash
# Compare unphased --assume-trans to phased 1KG AFR/AMR/EAS/EUR diplotypes.
# Panels: GENOSECRETOR_1KG_<ANC>_VCF, else ~/.gwaslab/<ANC>.ALL.split_norm_af.1kg_30x.hg38.vcf.gz
# AFR/EAS/EUR fall back to the bundled three-SNP extracts.
set -euo pipefail
ROOT="$(cd "$(dirname "$0")" && pwd)"
mkdir -p "$ROOT/out"
python "$ROOT/verify_assume_trans_1kg.py" --out-dir "$ROOT/out"
echo "Summary: $ROOT/out/assume_trans_1kg.summary.txt"
Writes examples/out/assume_trans_1kg.summary.tsv, .discordant.tsv, and .summary.txt.
Operational metric (the flag)¶
Unphased heterozygotes at both functional SNPs are compatible with trans Se^w/se or cis Se/se. The default --assume-trans assigns trans with low confidence and reports both candidates. --no-assume-trans leaves the call ambiguous. This check compares against reference-panel GT with shared phase and counts only phase-resolved double heterozygotes in the concordance denominator.
| Panel | n | Double-het | Phase-resolved | Trans | Cis | Phase unresolved | Concordance |
|---|---|---|---|---|---|---|---|
| AFR | 661 | 0 | 0 | 0 | 0 | 0 | NA |
| AMR (archived) | 347 | 0 | 0 | 0 | 0 | 0 | NA |
| EAS | 504 | 1 | 1 | 1 | 0 | 0 | 1/1 |
| EUR | 503 | 0 | 0 | 0 | 0 | 0 | NA |
The AFR, EAS, and EUR rows were reproduced from the bundled GRCh38 slices. The AMR row comes from the project’s archived NYGC 30× analysis and requires the separate AMR VCF to reproduce. The EAS result is one observed example and gives limited evidence for the trans frequency in other samples. The comparison concerns reference-panel diplotypes; the panels in this example do not supply measured salivary ABH. NYGC 30× panel
Haplotype metric¶
Phased haplotype counts (se = se428 LoF, Se^w = se385 weak, Se = functional):
| Super-population | se | Se^w | Se |
|---|---|---|---|
| AFR | 649 | 0 | 673 |
| AMR | 237 | 1 | 456 |
| EAS | 4 | 443 | 561 |
| EUR | 444 | 0 | 562 |
In these four panels, rs1047781-T is common in EAS and present on one AMR chromosome copy. AFR and EUR are monomorphic at rs1047781 in the bundled slices.
See Assumptions and Inference methods (double-heterozygote resolution).