← All posts

Errors That Look Like Results: Quality Control in Ancient Y-DNA

Jile places ancient and present-day men on the human Y-chromosome family tree. A female genome has no Y chromosome, yet until August 2026 the tree held 2,115 women, 1,159 of them in its strongest evidence tier. Nothing raised an error. Jile's engineering notes, quoted throughout, called the failure "silent and confident, not noisy".

This post covers the errors in ancient Y-chromosome data: how they entered the tree, how each was found, and what the site does about them now. It follows the posts on placing and dating and on the rest of the genome. Jile's code is closed, so the numbers come from release 0.318.0 (26 November 2026) and its notes, and cannot be rerun from outside. The lab at the end reproduces the mechanisms, not Jile's results.

One pattern runs through every case. The error produced output that looked like a result, and it was caught by a check that could fail, not by a closer look at the output.

In short

  • 2,115 women were placed in the Y tree, 1,159 in its strongest tier: one chance marker could count as a lineage, and 624 women's files held other people's data. A sex gate now runs before placement.
  • 32 men from Mbuti, Biaka, Ju|'hoan, Mandenka and Papuan groups sat in clade R; 28 of them rested on one position counted under three names. At 0.318.0 none is in R.
  • Damage, X-chromosome reads and contamination create false derived calls; missing data creates false ancestral ones. Jile measures most of them against a control in which the effect cannot occur.
  • 7,714 men are withheld with a stated reason. In two tested groups, placing them anyway would put 92% in the wrong clade.

Short on time? Read the scorecard, women in a Y tree and what the checks have in common.

A few terms

TermMeaning in this post
Y tree, cladeThe family tree of father-to-son lineages; a clade is one branch with all its descendants, named A to T at the top
Marker, SNPA position where a mutation defines a branch; men on that branch carry the mutated base
PlacerThe code that puts a man on the tree from the markers he carries
Derived, ancestralAt a marker, the mutated or the original base; a lineage is read from derived calls
CatalogueThe list of named Y markers with positions and branches, here ISOGG 2016; one position can carry several names
Support, conflictCatalogue markers that back a branch, and those that contradict it
TiersT1: two or more agreeing markers; T2: one marker; T3: nested by a published label; T4: basal; T5, added later: support only from markers derived across unrelated clades
XTRThe X-transposed region: part of the Y that is a recent copy of part of the X
CallablePositions where a sample was actually read; a missing call is not an ancestral one
WithheldNot placed, and listed with a stated reason
Sex gateA rule that removes women before placement, using published sex records
AADR, HGDP, 1000 GenomesPublished collections of ancient (AADR) and present-day (HGDP, 1000 Genomes) genomes with metadata, including sex

Every error and what caught it

ErrorCaught bySizeNow
Women placed in a Y treeA sex registry, while testing why samples failed to place2,115 women, 1,159 at T1Gate before placement
Women in files named by accessionRegistry against BioSample and ENA IDs61 served womenWithheld (0.306.0)
Women sexed only in a paperAkbari et al. (2026) genetic sex2,023 of 2,050 withheldWithheld (0.309.0)
Mbuti, Papuan and other men in RPopulation against clade32 menNone in R
A placer that was not deterministicThree runs, three answers610 of 28,393 "moved"Fixed, ties refused
Archaic humans inside the treeA node must predate its carriers3 genomes; Denisova25 at T1Removed
RNA files read as Y chromosomesA gate re-run with known-bad files14 men, 9 at T1Withheld by project
CRAMs decoded to nothingMen with millions of Y reads shown as emptyOne lane: 293 launches, 0 liftedFixed
A tick that agreed with itselfReading what it compared10,101 ticks, 75 falseFixed
Damage read as mutationsAncient against present-day men+12.9 to +28.0 pointsOpen
Contaminated Ranis men in clade IMen older than their clade2 menExcluded
Five stages in a row, fetch, call, catalogue, place and show, each with one error that entered there: RNA files filed as genomes, X reads from a woman, one position under three names, one marker read as a lineage, and a column compared with itself Where the errors entered: one example per stage, each found by a check Fetch RNA files filed as genomes Call X reads from a woman Catalogue one position under three names Place one marker read as a lineage Show a column compared with itself None of these raised an error. Each produced plausible output and was found by a check that could fail.
Figure 1. Where the errors entered.

Women in a Y tree

Every "derived" Y call in a woman is an artefact: a read from her X chromosomes or autosomes that maps to similar sequence on the Y. Mapping follows sequence similarity, not chance, so different women produce the same artefacts, and shared derived calls are exactly what a placer reads as shared descent.

An X chromosome bar with Xq21 highlighted and a much shorter Y chromosome bar with its X-transposed region highlighted; dashed lines join the two highlighted regions, labelled over 98% identical Why a woman's reads land on the Y: the X-transposed region X Xq21, 88.4 to 92.3 Mb Y XTR, 2.9 to 6.6 Mb over 98% identical (Webster et al. 2019) A woman has two X copies and no Y. Reads from Xq21 can map to the Y copy, at about twice the depth of a man's single-copy Y, so a confidence that rewards depth ranks the artefact higher.
Figure 2. The X-transposed region of the Y is a recent copy of part of the X (Skaletsky et al. 2003).

Before the gate, the corpus held 5,048 women with an authoritative sex call, and 2,115 of them were placed. The evidence tiers did not catch them; they ranked them highly: 1,159 in T1, 840 in T2 and 54 in T4. The notes put T3 at about zero and leave 62 unassigned.

Bars for placed women by tier: 1,159 in T1, the strongest tier, 840 in T2 and 54 in T4 Placed women by evidence tier, before the sex gate (2,115) T1, strongest (2+ agreeing markers) 1,159 T2, one marker 840 T4, basal 54 T3 about none; the notes do not break down the other 62.
Figure 3. In the notes' words: "The tier system was anti-correlated with validity." An analysis restricted to T1 "for robustness" selected towards the error.

The 62 are a gap in the notes' bookkeeping, not a hidden group. A recount for this post on the served trees of the last releases before the gate (0.160.0 to 0.163.1), matching sample IDs against the gate's registry, finds 1,794 women: 1,025 in T1, 710 in T2, 59 in T4, none in T3 and none without a tier. The total is lower because the notes counted a larger build, 26,339 placed samples against the 24,426 these releases serve, but the shape is the same: 57% in T1 against the notes' 55%.

The notes explain this, though they did not measure it separately: a woman's two X copies give double-depth reads in the shared region, while a man's real Y sites are single-copy, so a confidence score that rewards depth ranks the artefact above the real signal. The women were also unevenly spread:

Bars of placed women per clade: H 563, R 440, E 435, G 319, C 101, then J, I, Q, O, B, A, D, N, T and P from 60 down to 1 Where the 2,115 women were placed, by clade 563 H 440 R 435 E 319 G 101 C 60 J 41 I 40 Q 31 O 29 B 17 A 17 D 14 N 7 T 1 P H is a small South Asian clade and took 563. S, M, K and F held none, so their poor ages are a sampling problem.
Figure 4. Four 1000 Genomes women from four unrelated populations each sat at H1b1 on a single marker with no conflict.

The breakdown had one useful result: clades S, M, K and F held no women, so their poor age estimates reflect too few samples, not contamination.

Why some women were placed and others not

2,933 of the 5,048 women did not place. Four explanations for the split were tested first, and none held:

ExplanationTestVerdict
Coordinates shifted by one0 to 2 of about 800 positions sit one base from a catalogue site; chance alone predicts about 2.5 (800 × 2 × 0.16%)Rejected
Wrong coordinate frameHG00268's 741 positions all fall inside the catalogue's rangeRejected
Too little dataThe unplaceable have a median of 57 derived positions, but 2,322 have over 100Rejected
X-transposed reads as the markerYana1, a man who places correctly, has 25.1% of his calls in the X-transposed region, more than any womanRejected

The X-transposed region explains why women carry artefacts at all, not which of them place. What separates a woman's artefacts from a man's real calls is the hit rate r: the number of derived calls that land on a catalogue marker, h, divided by all derived calls, n:

r = h / n

Bars of catalogue hit rate for six samples with 741 to 1,088 derived calls: four women at 0 to 0.11 percent, a man Yana1 at 25.4 percent and a man zrj003 at 96.3 percent Catalogue hits as a share of derived calls: women against men HG00268, woman 0.00% of 741 HG00327, woman 0.00% of 914 NA07014, woman 0.11% of 917 HG00513, woman 0.09% of 1,088 Yana1, man 25.4% of 850 zrj003, man 96.3% of 926 Similar numbers of derived calls, a difference in kind in where they fall.
Figure 5. Four women and two men from the notes, with similar numbers of calls. A difference in kind. Yana1's 25.4% is his hit rate; the 25.1% in the table above is his share of calls in the X-transposed region.

Why one marker was enough

The catalogue had 15,569 usable positions over about 10 Mb of callable Y, a density d of about 0.16%. If a woman's n = 740 spurious calls fell at random, she would expect λ chance hits, and the count would be close to Poisson:

λ = n · d ≈ 740 × 0.0016 ≈ 1.2,    P(k hits) = e−λ λk / k!

This treats artefacts as random. They are not: they cluster, which is why the same H marker recurs. It still gets the scale right: a woman with 740 spurious calls expects about one chance hit, and the rule asked for one.

Bars of the chance of 0, 1, 2 and 3 or more hits at an expected 1.2: about 30, 36, 22 and 12 percent Chance catalogue hits for 740 random calls at 0.16% density (expected 1.2) 30% 0 hits 36% 1 hit 22% 2 hits 12% 3 or more Zero hits: 'unplaceable'. One hit, or several in one clade: placed under support ≥ 1, conflict = 0.
Figure 6. Same broken input, different luck. Three in ten get no hit and look "unplaceable"; the rest can be placed if their hits fall in one clade.

The rule was support ≥ 1 and conflict = 0: at least one marker, and none from a different branch. The lab below, which models the conflict clause, places about two in five random samples. The tree took 42% of women (2,115 of 5,048), or 30% without the 624 copied files described next: the same order. The notes' verdict: "a bare support count of 1, with no denominator, is not a criterion."

Chance does not explain every placed woman. 624 of them had 20 or more catalogue hits, up to 1,289, because their files were copies of other individuals' data, a genotyping-loop bug fixed separately. Their sex records were right; their files were not.

The gate, and the layers it needed

The hit rate exposed the problem, but it is not a safe filter: in Jile's data, 12 of 41 men whose own reads say male, from a list of men with few markers on their path, also fall below a 2% catalogue share. The fix is a sex gate that runs before placement, so the tree is rebuilt without the women rather than pruned. Pruning would leave standing any branch a woman had helped define.

The registry began with published metadata only, AADR's molecular sex for 23,089 people and the 1000 Genomes pedigree for 3,501, and never with Jile's own Y calls, which are what is in doubt. Unknown sex is not excluded, or men with real Y evidence and no sex record would be lost. That leaves a gap for women with no record, and each later layer closed part of it:

Four published sources, AADR molecular sex, the 1000 Genomes pedigree, accession-named rows and Akbari et al. 2026, feed a sex gate that removes women and keeps unknown sex; the gate feeds the placer and the served tree; a separate box of own-read checks is linked to the gate by a dashed line and flags women for review The sex gate: published records decide, own reads flag for review AADR molecular sex 23,089 people 1000 Genomes pedigree 3,501 people accession-named rows 165 women, 0.306.0 Akbari et al. 2026 genetic sex, 0.309.0 Sex gate women removed unknown sex kept Placer rebuilds the tree Served tree Own-read checks: Y/(X+Y), X density, callable breadth: flag women for review Jile's own Y calls never decide sex, because they are what is in doubt.
Figure 7. The gate as built. Published records decide; Jile's own reads flag women, who are registered only after review.
ReleaseAddedEffect
0.164.0, 7 AugSex gate before placement, from AADR and 1000 Genomes metadata2,115 women out; served count 26,339 to 24,265, net of other changes
0.306.0, 4 Nov165 female rows for files named by BioSample or ENA accession61 women withheld
0.309.0, 7 NovGenetic sex from Akbari et al. (2026); 23 women flagged by catalogue share2,050 withheld; served count 22,337 to 20,239, net of other changes
10 NovSeven HGDP samples recorded as sex unknown, checked in Sanger's HGDP metadataAll seven are women
18 Nov22 women with no published record, registered from their own X-to-autosome read ratio after reviewWithheld at the 0.318.0 rebuild
0.318.0, 26 NovA list of registered women still served, each named with the rebuild that removes them85 listed, all due out at 0.319.0
Bars of registered women removed by layer: 2,115 at 0.164.0, 61 at 0.306.0, 2,050 at 0.309.0, and 85 registered but still served at 0.318.0, listed to leave at the 0.319.0 build Registered women removed from the served tree, by layer 0.164.0, metadata gate 2,115 0.306.0, accession-named files 61 0.309.0, genetic sex in a paper 2,050 0.319.0 build, still served at 0.318.0 85
Figure 8. Two layers did most of the work. The last bar is the 0.319.0 build, not yet released when 0.318.0 was current.

Three checks on Jile's own reads act as controls. The first is the Y share of reads on the sex chromosomes, counted at mapping quality 30 or more:

Ry = nY / (nX + nY)

A sample reads male when the Wilson interval for Ry lies above 0.075, female when it lies below 0.016, and ambiguous otherwise. With N = nX + nY reads and p = Ry, the interval is

( p + z2/2N ± z √( p(1 − p)/N + z2/4N2 ) ) / ( 1 + z2/N )

Its width shrinks with N, so a thin sample is ambiguous by construction. The notes do not state Jile's confidence level; at the common z = 1.96:

Y of X + Y readsRyInterval, z = 1.96Call
0 of 2000 to 0.161Ambiguous
0 of 40000 to 0.010Female
1 of 200.050.009 to 0.236Ambiguous
50 of 1,0000.050.038 to 0.065Ambiguous: between the cuts
3 of 200.150.052 to 0.360Ambiguous
30 of 2000.150.107 to 0.206Male

The second check counts X copies. With n reads and L bases on the X and on the autosomes (A):

rX = (nX / LX) / (nA / LA)

One X copy against two of each autosome gives about 0.5; two X copies give about 1.0. Calibrated on 9 women and 9 men of known sex, Jile calls a sample male below 0.654 and female above 0.854. It needs no Y reads, so it can sex samples whose Y is too thin for Ry. Since mid-November it has also registered women with no published record, one reviewed batch at a time. The third check, callable breadth, is the number of Y bases actually read:

CheckWhat it measuresWomenMen
Read ratio RyY share of sex-chromosome reads19 of 19 readable read female20 of 22 male; 1 ambiguous, 1 registered man reads female
AADR's ratioThe same ratio, published by AADR3,358 of 3,360 served men male, 2 at the boundary, 0 female
X densityrX, X read density over autosomal densityOf 1,507 men with few markers on their path: 1,219 male, 8 female, 280 unreadable
Callable breadthY bases actually readMedian 50,517; 143 of 151 under 400 kbMedian 1,928,250; 1 of 143 under 400 kb
A log axis of callable Y bases from 10 kb to 10 Mb with a line at 400 kb: the women's median dot sits at 50,517 and the men's at 1,928,250; 143 of 151 women and 1 of 143 men fall under 400 kb Callable Y bases, 294 callsets with a registered sex 10 kb 100 kb 1 Mb 10 Mb 400 kb 151 women 151 women: median 50,517 bases; 143 of 151 under 400 kb. 143 men 143 men: median 1,928,250 bases; 1 of 143 under 400 kb.
Figure 9. Callable breadth: how much of the Y was actually read in each sample. Women and men barely overlap.

Eight registered women did carry male-scale Y calls, 730 to 9,961 derived positions each. The cause was not mislabelling: six had come through a route that aligned exome reads to a reference containing only the Y, so reads from the X and autosomes had nowhere else to map; the other two carried extra calls from a lane Jile did not record. The calls were not a lineage: only 1 to 45 of them were catalogue positions, scattered over nine clades. Nor were the files swapped: none matches any of 43,075 other callsets, and four sons of these families in 1000 Genomes share at most one call with them.

The ratio thresholds, male above 0.075 and female below 0.016, are those Buonasera et al. (2020) quote from Skoglund et al. (2013); the notes record that the original was not read and that another paper quotes 0.077. The gate reaches only as far as its registry: at 0.318.0, 1,534 served ancient men had no male or female value, 1,327 of them with no record under any name.

Mbuti and Papuan men in clade R

In August 2026, 32 men were placed in clade R although their populations make it implausible: Papuan, Ju|'hoan North, Biaka, Mbuti and Mandenka men, and two ancient men from Papua New Guinea. Clade R, mainly its West Eurasian branch R1b, is not found at frequency in Mbuti, Ju|'hoan, Biaka or Papuan populations. None of the 32 had a published Y call, so no metadata contradicted the placement: "the contradiction is the population itself". Twenty-eight of them rested on the same three marker names.

Three marker names, L773, PF6421 and YSC0000276, each with an arrow to one box for position 7,005,008 on the T2T reference; from there one arrow to support 3 when names are counted and one to support 1 when positions are counted One derived call, reported as support 3 L773 PF6421 YSC0000276 T2T 7,005,008 one position, A to G count names: support 3 count positions: support 1
Figure 10. A Papuan and an Mbuti man sat on the same three names. The notes: "Two unrelated populations placed on the identical three markers is already the tell."

The placer counted marker names, and the catalogue gives some positions several names. Of 20,411 entries, only 16,349 are distinct pairs of position and branch, leaving 4,062 spare names; the worst positions carry five. One derived call could report support 5.

Fixes that did not work

Fix triedResult
A support floor of 329 of the 32 rest on one distinct position, but so do 38 of 60 men with a confirmed R call, and 20 real R men sit at support 1 or 2. A floor deletes more true placements than false; earlier, a floor of 2 cost 1,987 men and no floor let 7,086 collapse onto clade O.
Count positions, not namesSupport fell from 3 to 2 for 31 of 32, since two real positions do sit under that branch, and all 32 stayed in R. Kept anyway: support no longer overstates evidence up to fivefold, and agreement with published Y calls moved only from 62.0% to 61.8%.
Compare the tree before and after610 of 28,393 men "changed clade". The baseline had been built by a placer that was not deterministic, so the figure measured randomness, not the change.

The third row is a trap of its own. Three runs on the same input put one man in three different subclades, because paths of equal depth were sorted in hash order. Once the order was fixed, refusing to break ties removed 897 men, none with an independent Y call, and changed the clade of no one else. The notes' rule: "No experiment on placement is meaningful until the placer is deterministic."

Left: a parent node with three subclades of equal depth, and runs 1, 2 and 3 of the placer each ending in a different subclade. Right: the same tree with a box below it marked withheld, stops at the parent One man, three equally deep paths: before and after the fix Before: ties broken in hash order Parent Subclade a Subclade b Subclade c run 1 run 2 run 3 same input, three answers After: fixed order, ties refused Parent Subclade a Subclade b Subclade c Withheld: stops at Parent 897 men withheld; no one else moved
Figure 11. With ties broken in hash order, the answer depended on the run. With the order fixed and ties refused, 897 men were withheld and no other man changed clade.

The fix that did

Position 7,005,008 (on the T2T Y reference) reads derived in men of all 20 top-level clades, 5,739 samples in all, and in none of 1,598 high-coverage 1000 Genomes men. A mutation on one branch cannot do that; a site that is miscalled in low-coverage data can.

A grid of the 20 top-level clades A to T: a marker of one branch is derived in clade R only, while position 7,005,008 is derived in all 20 A real marker against position 7,005,008, across the 20 top-level clades A B C D E F G H I J K L M N O P Q R S T a marker of one branch position 7,005,008 Filled: derived in men of that clade. Rule since v0.227.0: derived in 18 or more of 20 clades, masked. 7,005,008: derived in all 20 clades across 5,739 samples, in 0 of 1,598 high-coverage 1000 Genomes men.
Figure 12. The top row is an illustration of a normal marker; the bottom row is measured.

Since v0.227.0 (18 August 2026), positions derived in at least 18 of 20 clades are masked at placement. 34 of 35 men on the suspect list left R1b1a2, and later refusals withheld others. By 0.303.0, two Ju|'hoan North men were still in R, on markers with a ".2" suffix that marks multi-copy sequence. A check of the 0.318.0 release for this post finds none. Men in clade R, by population:

PopulationAug 20260.303.00.318.0Since
Papuan (HGDP)1300HGDP00540 withheld at 0.303.0, trunk only
Ju|'hoan North620Two held in R by ".2" markers; at 0.318.0, HGDP01036 sits in A and HGDP00987 is not served
Biaka600Moved to clade B by the mask
Mbuti400Moved to clade B by the mask; HGDP00462 at B2a at 0.303.0
Mandenka100No further detail in the notes
Papua New Guinea, ancient200Withheld at 0.318.0: ERI006 trunk only, NBR009 with markers in C and Q
Total3220

Ancient-DNA pitfalls, measured

Each of these is known from the literature. What Jile adds is a measurement on its own corpus, in most cases against a control in which the effect cannot occur:

PitfallIn the literatureIn Jile's dataResponse
Recurrent mutation94% of Y variants map to one branch (Poznik et al. 2016); 1.6% recurrent (Karmin et al. 2015); 0.92% (Hallast et al. 2015)In Poznik's files, 5.23% of variant-to-branch assignments are flagged incompatible, 3.26% at 5× or more; the notes infer that low coverage manufactures recurrenceMask positions derived across clades
X reads on the YIn an XX genome, 4,266 Y variants fall to 0 after correction; mapping quality 55 or more is needed in the XTR (Webster et al. 2019)2,115 women placedSex gate; callable breadth as a control
ContaminationSex from X and Y read counts (Skoglund et al. 2013; Mittnik et al. 2016); contamination from damage patterns with AuthentiCT (Peyrégne and Peter 2020), used for RanisRanis pair at up to 44.4% and 55.0%Excluded; mtDNA and X do not bound Y
DamageUp to about 60% of fragments carry a damaged base (Briggs et al. 2010)38.5% of panel positions damage-like; excess in ancient menRead-end trimming, open
Reference biasStricter mapping can increase it (Günther and Nettelblad 2019)Not measured on the YStated as unmeasured
Missing dataNo standard figureFour-gamete conflict falls from 34.94% to 0.79% on well-read markersNegative evidence only where callable

Damage. 38.5% of panel positions are C-to-T or G-to-A changes, which ancient DNA damage can imitate. The test asks how often derived calls at those positions fall off the man's own branch, compared with the same rate at all other positions:

Δ = P(off branch | damage-like site) − P(off branch | other site)

Present-day men have no damage and serve as the control, an imperfect one, since they also differ in assay and coverage:

Paired bars for thin, mid and dense callsets: ancient men show an off-path excess of 14.0, 28.0 and 12.9 percentage points, present-day men minus 3.5, minus 1.8 and minus 0.6 Off-path excess at damage-like sites, WGS lane (percentage points) +14.0 ancients -3.5 moderns thin callsets +28.0 ancients -1.8 moderns mid callsets +12.9 ancients -0.6 moderns dense callsets
Figure 13. Ancient men show an excess in each of the three groups by callset size; present-day men sit slightly below zero. Damage does create false derived calls in whole-genome data.

A first measurement found no excess and was corrected the same day: it had counted 1,323 positions the placer already blocks, which read about 97% off-path for everyone and swamped the signal. A blanket fix was then simulated on 400 ancient men with published labels: ignoring every damage-like site raised agreement with the labels from 81.0% to 82.2%, but agreement with shuffled labels rose more, from 15.6% to 18.4%, so the margin over chance shrank. It was rejected; trimming damaged read ends per library remains the open fix.

Contamination. Two men from Ranis, Germany, radiocarbon dated to about 45,900 years ago, sat in clade I, whose root Jile then dated to about 24,450 years: a man placed inside a clade cannot be older than its root. The publishing study, Sümer et al. (2025), excluded two specimens for more than 40% present-day contamination. Its supplement put these two at up to 44.4% and 55.0%, and neither was captured for Y. Both were removed from the tree by sample ID in September 2026. Estimates from mtDNA or the X do not measure Y contamination: cells carry many mtDNA copies in varying numbers, a female contaminant adds mtDNA but no Y reads, and X-based estimators need thousands of X sites that thin samples lack.

Contamination does not have to be high to leave a mark. When a call is made from one randomly drawn read, as in the pseudo-haploid calls common for ancient DNA, each call at a site where the man and a male contaminant differ comes from the contaminant with probability c, the contaminant's share of the man's Y reads. A female contaminant adds no Y reads, so c on the Y can be far below the genome-wide figure. Over k such sites:

P(at least one contaminant call) = 1 − (1 − c)k

Three rising curves of the chance of at least one contaminant call against the number of differing sites from 0 to 50: for 1% contamination it reaches about 40% at 50 sites, for 5% it passes 64% at 20 sites, and for 44% it is near certain within a few sites Chance of at least one contaminant call, one read drawn per site 0% 50% 100% 0 10 20 30 40 50 sites where the man and the contaminant differ, k c = 1% c = 5% c = 44% P(at least one) = 1 − (1 − c)k; at c = 5% and k = 20 it is 64%.
Figure 14. A model, not a Jile measurement. At 5% contamination a man with 20 informative sites more likely than not carries a call from someone else's lineage; if the Ranis levels held on the Y, nearly every informative site would be a coin toss.

Such a call looks the same as a recurrent mutation or a damaged base, so one off-branch call proves nothing on its own.

Missing data. On a true tree, the sets of men carrying two markers, SA and SB, either nest or do not overlap. A pair conflicts, the four-gamete test of Hudson and Kaplan (1985), when

SA ∩ SB ≠ ∅,   SA ⊄ SB,   SB ⊄ SA

Three pairs of circles for marker A and marker B: nested, allowed; disjoint, allowed; partial overlap, conflict; and a box explaining that a man carrying both markers but never read at B is counted as A only Two markers, the men who carry them, and when they conflict nested A contains B allowed disjoint no shared man allowed partial overlap some A only, some B only, some both conflict A B A B A B Missing read: man carries A and B, B was never read, counted as A only A partial overlap needs a recurrent mutation or an error. Low coverage manufactures it from missing reads.
Figure 15. Only a partial overlap is impossible on a tree, and a missing read can create one.

If a man is derived at marker A and simply not read at marker B, treating B as ancestral invents a man with A but not B. On clade G the conflict rate sat far above the roughly 1% that recurrent mutation explains:

Bars of the four-gamete conflict rate: 34.94 percent for all clade-G samples, 40.92 for 4,723 samples with 2,000 or more calls, 31.67 for samples even in derived count, 7.38 for samples even in callable breadth, 2.15 for 336 high and even callable samples, 0.79 for markers callable in 90 percent or more of 80 genomes Four-gamete conflict rate, by what was filtered all 1,920 clade-G samples 34.94% 4,723 samples with 2,000+ calls 40.92% 2,990 samples even in derived count 31.67% 1,057 samples even in breadth read 7.38% 336 samples, high and even breadth 2.15% markers read in 90%+ of 80 genomes 0.79%
Figure 16. Filtering samples by how many calls they have does not help; filtering by how much of the Y was read does.

Two capture-based ancient samples have a median of 208 callable positions in common, so most missing calls mean "not read", and treating them as ancestral manufactures conflict. The last row changes two things at once: it keeps only markers read in at least 90% of samples, and only the 80 most completely read genomes. On this corpus the two cannot be pulled apart. The 80 genomes share 2,713,544 such markers; across a broader, mixed cohort the same filter leaves only a few thousand, because samples sequenced by different methods are not read at the same places. The 0.79% therefore holds for well-read genomes at well-read markers, not for the corpus as a whole. There it is the same order as published recurrence estimates (0.92% in Hallast et al. 2015, 1.6% in Karmin et al. 2015), which is what the test is meant to detect. The notes: "Missing data in aDNA is not noise around a signal; at low coverage it is the dominant term."

Errors the pipeline made itself

Some errors came from the data and some from Jile's own code. These are five of the clearest:

ErrorWhat it looked likeHow it was caught
Archaic humans in the treeDenisova25 at T1, eleven levels deep in G2a, dated 185,000 years against its node's 21,021; two Neanderthals in A0b and F3A node must be older than every man inside it
RNA read as Y chromosomes14 served men, 9 at T1, from CD8+ T-cell RNA of melanoma patients, fetched by a lane named for modern Vietnamese genomesThe frame gate re-run with known-bad files as controls
CRAMs decoded to nothing"0 reads on chrY" for men with 5.5 million Y reads: a newer htslib no longer fetched references, so conversion failed and left a header-only BAM that passed its integrity checkOne lane launched 293 times and lifted none
A tick that agreed with itself10,101 cards said "agrees with our placement", comparing two byte-identical copies of one AADR column; 75 ticks were falseReading what the tick compared
A share shown fallingA group's R share was shown falling from 63% to 24% without its largest paper; it rose to 15 of 20, 75%. 305 of 969 rows were wrongRecomputing the number from its definition

None of them raised an error. The archaic genomes and the RNA files placed like men, the CRAM failure printed a plausible verdict, "0 reads on chrY", and the tick looked like validation. Each was found by a check that could fail: a node must be older than every man inside it, a gate must catch known-bad files, a lane that never succeeds is failing, and a comparison must be able to disagree.

The age rule caught errors of two different kinds, the archaic genomes and the contaminated Ranis men. A man sampled t years ago carries every mutation of the branch he sits on, so that branch already existed when he lived:

Tbranch ≥ tman,   within the error of both dates

A log axis of years before present from 10,000 to 300,000. Denisova25: a square at its node, 21,021 years, joined to a dot at the sample, 185,000 years. Two Ranis men: a square at clade I's root, 24,450 years, joined to a dot at 45,900 years Sample age against the age of the branch it was placed in (log scale) 10,000 30,000 100,000 300,000 years before present Denisova25, G2a node 21,021 185,000 Two Ranis men, I root 24,450 45,900 age of the branch dated sample, older than its branch
Figure 17. Neither violation was marginal: Denisova25 is about nine times older than its node, and the Ranis men nearly twice as old as the root of clade I. The rule needs only dates, so it catches errors whose cause it cannot see.

Withholding instead of guessing

A man whose data cannot place him on one lineage is withheld and listed with his reason, rather than placed on a guess. At 0.318.0 that is 7,714 men against 20,522 served:

Horizontal bars of 7,714 withheld men by reason: trunk only 2,172, single markers disagree 1,535, no catalogue markers 1,450, empty callset 1,148, then ancestral label, wrong assay project, consensus callset, clade outweighed and smaller reasons 7,714 men withheld at release 0.318.0, by reason trunk only (BT, CT, NO, IJ) 2,172 single markers disagree 1,535 no catalogue markers 1,450 empty callset 1,148 ancestral label 258 wrong assay project 245 consensus callset 229 clade outweighed 201 exome, no usable Y 86 date-named callset 80 cross-clade tie 79 not one individual 68 seven other reasons 163
Figure 18. The four largest reasons hold four in five. Trunk-only men have real evidence that stops above the split between clades, at a node such as CT or NO.

Grouped by what failed, a quarter of withheld men are inputs that are not one man's Y genome. Most of the rest have evidence too thin to reach a clade, or pointing to two:

What failedReasons (men)MenShare
Not one man's Y genomeempty callset 1,148; wrong assay project 245; consensus callset 229; exome with no usable Y 86; callset named by date 80; not one individual 68; excluded by list 44; calls outside own mask 291,92925%
Too thin to reach a cladetrunk only 2,172; no catalogue markers 1,450; too few markers 13,62347%
Points to two cladessingle markers disagree 1,535; another clade carries twice the markers 201; tie across clades 791,81524%
Refused by a specific checkpublished label names no single clade 258; markers derived in ten or more clades 47; own reads ancestral at the clade root 40; calls not supported by reads 1; conflict with a relative 13474%

Could they be placed anyway, at a low tier? Two withheld groups with published labels, 299 and 460 men, were tested at a September rebuild: placing them would put 92% in the wrong clade (18.7% and 0.4% right). Withholding is correct for them, but it is not neutral:

Bars of the share of each clade no longer served after the 0.303.0 rules: D 40.6 percent, H 37.5, G 25.2, I 2.9, J 1.1, L 0.6 Share of each clade no longer served after the 0.303.0 rules clade D 40.6% clade H 37.5% clade G 25.2% clade I 2.9% clade J 1.1% clade L 0.6%
Figure 19. Withholding falls hardest on some clades, so the served tree's composition moved under every view built on it.

The site's composition views now say so, and the list of withheld men gives each reason in plain words.

What the checks have in common

A check is worth something only if it can fail. One that never fires gives the same output whether the data are right or wrong, so its pass carries no information:

A two by two grid. Columns: real error, no error. Rows: check fires, check stays silent. Fires on a real error: caught, as the sex registry caught 2,115 women. Silent on a real error: missed, as the self-comparing tick passed 75 false agreements. Fires on no error: a cost, as a 2% hit-rate floor would drop 12 of 41 thinly read men. Silent on no error: a pass. A bracket marks the bottom row as all that a check that cannot fail can produce What a check can report, and what one that cannot fire reports Real error No error Check fires Check silent Caught the sex registry: 2,115 women Cost: a false alarm a 2% floor would drop 12 of 41 men Missed, reads as a pass the tick: 75 false agreements Pass all a check that cannot fire can report
Figure 20. A check that cannot fire lives in the bottom row, where a missed error and a true pass look the same.

Jile's working rules came from errors like these. Each is listed with the error behind it and the control that shows the check can fail:

RuleError behind itControl that can fail
Every metric ships with a negative controlA tick compared an AADR column with a byte-identical copy: 10,101 agreements, 75 falseGive the check a case it must reject
A count needs a denominator2,115 women placed on one chance markerHit rate r = h / n: women 0 to 0.11%, men 25.4% and 96.3%
Validate a rule on the men it will reachA rule measured at 1.70% on men with a published label withheld about 2,600 in production, 15 times more: labelled men never reach itAsk which men the rule can reach before trusting its rate
Make the placer deterministic first610 of 28,393 men "moved" against a random baselineThree runs on the same input must agree
A silent zero is a failure"0 reads on chrY" for men with 5.5 million Y readsMen known to carry Y reads must show them
Read the bytes before trusting the labelRNA from T cells in a lane named for Vietnamese genomesRe-run the gate with known-bad files

A small lab you can run

The lab is synthetic: no genomes, no Jile code, every number simulated. Download the lab (zip), then run python run_all.py and python -m pytest -q. Each test checks a claim against the alternative it rejects.

1. Same broken input, different luck. A catalogue of 15,569 positions over 10 Mb, split among 20 clades. Broken samples get 740 calls at random positions; simulated men get between 0.5% and 60% of their calls on their own clade's markers.

Bars of simulated chance hits for 2,000 broken samples with rings for the Poisson prediction, close at every count from 0 to 5 or more Lab 1: chance hits for 2,000 random-call samples, against Poisson 32% 0 36% 1 21% 2 8% 3 3% 4 1% 5+ Bars: simulated; rings: Poisson, expected 1.15 hits. Placed by a bare count: 39%; with a 2% hit-rate floor: 0%. Simulated men kept: 100% by count, 72% by the floor.
Figure 21. Lab 1. The bare count places about two in five broken samples and every man; a 2% hit-rate floor places no broken sample but also loses the thinly read men.

2. One position, several names. 3,418 positions carry extra names, 4,174 in all, close to the real catalogue's 4,062:

Bars of reported support for broken samples with one catalogue position: most report 1, and the rest report 2 to 5 when names are counted Lab 2: 1,851 broken samples with one catalogue position, support counted by names reported support 1 1,419 reported support 2 364 reported support 3 54 reported support 4 11 reported support 5 3 A floor of 3 admits 2.7% of broken samples counting names, 0.2% counting positions.
Figure 22. Lab 2. A support floor of 3 lets through 2.7% of broken samples when names are counted and 0.2% when positions are.

What would change the picture

  • The next release, 0.319.0. Its notes say none of the registered women waiting for it is served, including the 85 listed as still served when 0.318.0 was built.
  • Registry coverage for the 1,534 served ancient men with no sex value.
  • A measurement of reference bias on the Y. Take high-coverage men at sites where they are known to be derived, cut their reads to ancient fragment lengths with simulated damage, remap, and count the share of reads that now carry the reference base, b = nref / (nref + nalt). On a haploid chromosome the expectation is near zero, so any excess is bias. Günther and Nettelblad (2019) simulated ancient reads from present-day genomes in the same way.
  • Per-library read-end trimming at genotyping, the open fix for damage, and a mask for the multi-copy ".2" markers.

Limits of this post

  • Numbers come from Jile's notes and the 0.318.0 release files. Dated findings stand as measured on their date; where a status changed later, the post says so.
  • The tier mechanism for women is the notes' explanation, not a separate measurement. The read-ratio thresholds are quoted second-hand.
  • The damage excess is measured on real data; the rejected damage fix was a simulation. The lab is synthetic.
  • The Ranis exclusion rests on three converging signals, not on the paper naming the two specimens.

Sources