← All posts

Jile: A Y-Chromosome Tree Dated with Ancient DNA

I am building Jile, a Y-chromosome phylogenetic tree with its own dating. Radiocarbon-dated ancient samples set age floors and checks. It is in development and its code is closed, so this post describes the method and the measured numbers, not something you can run. The gaps come first.

Jile's count-based ages are younger than both commercial reference trees, in a systematic direction. In simulation, the nominal 95 per cent intervals on old nodes contain the true age far less often than 95 per cent of the time. And the Bayesian tier does not yet beat the simple count estimate.

In short

  • On the 0.317.0 trees, Jile places 20,248 men on a tree keyed to genome coordinates, 90.5 per cent of them on my own reads, and dates nodes with a count clock at 8.2 × 10-10 per base pair per year.
  • Count ages are younger than YFull's: 18 of 19 comparable clade roots, median -30.6 per cent. No check supports node-level accuracy, and the cause of the bias is unattributed.
  • The Bayesian tier (BEAST2) agrees with the count tier within 1 to 8 per cent on eight of 12 clades, but it is unstable with low-coverage ancient tips, so the count tier stays the published one.
  • Validation here means comparison with other published estimates and held-out radiocarbon dates, not a measured truth.

Terms

  • Y-chromosome tree. The Y chromosome passes from father to son almost unchanged, so its mutations form a tree of male lines, named under the ISOGG scheme; the 20 major clades are labelled A to T.
  • SNP, derived, ancestral, callset. A SNP is a one-base difference between men. The mutated base is derived and the original ancestral; deciding which is which is polarising. A callset is the list of alleles a man carries.
  • TMRCA. A mutation rate turns a SNP count into years. TMRCA (time to most recent common ancestor) is the age of the node where a group of men joins.
  • YFull and FTDNA. Two commercial services that publish Y trees with ages. Ancient samples are dated by radiocarbon, in BP (years before present).

What the project is

Jile is an independent Y-chromosome tree and TMRCA platform. It began with the Caucasus; the method and calibration are global.

Genotypes are called from public ancient and modern genomes. A branch is identified by a position and a mutation, so the tree is keyed to genome coordinates, with ISOGG, YFull and FTDNA names mapped on top. Each node is dated with a molecular clock I run myself. FTDNA Discover and YFull are read-only cross-checks: I never take topology or ages from them, and where my ages diverge I inspect my own data and estimator instead of adjusting my numbers.

The pipeline

Four stages run in sequence: call genotypes, place each sample, date the nodes, validate the ages. A Bayesian tier, an alternative dating method, runs per clade on demand.

Jile pipeline from public archives to cross-check against two reference trees Public archives ENA, AADR, panels Genotype calling derived positions, T2T Placement ISOGG paths, tiers Count clock published ages Bayesian tier BEAST2, on demand Cross-check FTDNA, YFull, read-only
Figure 1. The Bayesian tier is a dashed branch compared with the count clock; count ages are cross-checked read-only against the two reference trees.

Genotype calling

Calling turns public sequence data into one product per sample: a list of derived positions on the T2T-CHM13v2 coordinate frame, the complete telomere-to-telomere human reference, where chrY is 62,460,029 bp.

  • A fast lane reads chrY genotypes from the AADR (Allen Ancient DNA Resource) 1240K file, about 1.2 million chosen positions, by HTTP range request. It takes seconds per sample, about 400 times faster than alignment.
  • A read lane streams chrY from an indexed remote BAM file, about 1 minute per anchor (an ancient sample with a radiocarbon date, used as a dated reference point). For unaligned data it runs bwa aln with damage-tolerant settings, about 1 hour per anchor. Deamination, chemical damage typical of ancient DNA, creates apparent mutations that break exact seeds, so seeding is disabled and edit tolerance raised.

Alleles are then polarised with the Ensembl EPO ancestral sequence, and calls made against hg19 or hg38 are lifted over to T2T.

A coordinate-frame bug, fixed on 20 August 2026, left 56 callsets written between 31 July and 11 August reading 42.5 to 52.8 per cent derived, where a provenance control read 3.8 to 12.2 per cent. That is the signature of calls shifted to a neighbouring base. No allele pair repairs them, so the plan is to quarantine such files.

Placement

Placement assigns each sample to a branch using a catalogue of SNPs known to define named ISOGG subclades, after a polarisation blocklist removes artefact positions.

Every placement carries an evidence tier. T1 means at least two of my own derived SNPs support it, and T2 one clean defining SNP. T3 is nested by an external label, and T4 and T5 are shown where the reads reach; all three are flagged, topology only, and never dated.

On the 0.317.0 trees (Jile's tree builds) the counts were T1 17,022, T2 1,308, T3 525, T4 1,306 and T5 87: 20,248 men, of whom 90.5 per cent (T1 and T2) are placed on my own reads. At 0.300.0 the figure was 77.4 per cent on 24,349 men, so the rise is partly a smaller denominator.

A further 7,714 men are in the corpus but not placed, each with a reason; 1,535 of them have single clean markers pointing at different clades. Re-fetching and re-genotyping 752 of them gave 460 empty callsets and only 9 (1.2 per cent) that would place; an earlier 32.3 per cent was an extrapolation from the first 367 men.

The count clock

The published tier is a count estimator: SNP differences divided by the mutation rate and the callable bases, halved because differences accumulate along two branches. TMRCA = D / (2 · µ · L).

  • µ = 8.2 × 10-10 per base pair per year, the rate Adamov et al. (2015) calibrated on full Y sequences and three ancient genomes (Anzick-1, Ust'-Ishim and Kostenki 14). It is close to YFull's 144.41 years per SNP over 8.47 Mb (144.0 at this rate).
  • L = 8.47 Mb of callable Y, the part of chrY where calls are reliable.
  • 30-year generations.
  • D is the mean pairwise SNP difference among a node's modern descendants, from a modern panel of present-day genomes.

Ancient samples floor and test ages but do not set the estimate: a clade-consistent ancient forces its ancestors to be at least as old as its radiocarbon date, and ancient-only positions never move a point estimate. Intervals are an exact Poisson interval widened by a plus or minus 22 per cent rate envelope. A dating blocklist drops positions derived in half or more of the modern panel.

The rate is not fitted to my own radiocarbon-dated tips; both tiers use 8.2 × 10-10. An early version of my project notes gave a fitted 5.8 × 10-10, but no code used it.

The Bayesian tier

This tier uses BEAST2 2.7.7 on Java 17 to infer a dated tree by MCMC sampling, with a relaxed clock, radiocarbon-dated ancient tips, 95 per cent HPD intervals (highest posterior density, a Bayesian credible interval) and per-clade runs. The alignment uses a diversity-balanced subset, so a recent expansion does not drown the backbone, and keeps only sites derived in at least one modern sample. Invariant callable sites are added back through constant-site weights, so the denominator is the real 8.47 Mb.

A pilot on clade G produced that filter. The raw alignment had 33,212 variable sites and dated G near 195 thousand years; requiring a derived call in a modern sample left 1,285, so 96 per cent of variable columns were ancient-only damage or private error. Even then, low-coverage ancient tips floated freely: across seven runs, G's root ranged from 9.4 thousand to about 195 thousand years, against a count estimate near 23 thousand. The best configuration gave 32.6 thousand years (HPD 30.5 to 34.8), 30 per cent above YFull's age, so this tier overshoots where the count tier undershoots. The pilot predates a later correction, so it shows sensitivity, not the final clock.

Data and tools

Almost all inputs are public archives and provenance-tracked. The 0.318.0 trees hold 20,522 placed samples (16,940 ancient, 3,581 present-day and one contributed kit) across all 20 major clades from 343 source studies, 3,827 fewer than at 0.300.0, almost all through stricter withholding. R is the largest clade at 6,911 samples, then I at 2,930 and E at 1,629. The basal clades are thin (A 54, B 43, S 28, M 20, K 23).

SourceWhat it isRole
AADR v66 (Reich Lab)About 13.7 thousand males in the reference catalogueAncient breadth, 1240K lane
Akbari 2026, ENA PRJEB10690710,016 West-Eurasian ancients, aligned readsDeeper chrY, rolling in
1000 Genomes 30x3,202 samples, the males used for chrYModern point-estimate panel
SGDP, ENA PRJEB9586Simons Genome Diversity ProjectSecond panel
HGDP high coverageRemote CRAM decode, chrY onlyModern diversity
Wang 2019, ENA PRJEB29603Bronze Age Caucasus transect, WGSCaucasus and steppe depth
Marchi et al. 2022, ENA PRJEB50857Study "The genomic origins of the world's first farmers", 872 WGS runsAnatolia and Southwest Asia

AADR 1240K positions were chosen because they were already known to vary, so the data is ascertained and cannot date nodes; it serves placement breadth only. The calibration set is 54 whole-genome ancient anchors, the deepest a Kostenki individual at 38,052 BP.

The science core is Python 3.13 on native engines: samtools, bcftools and htslib 1.24, bwa, bedtools 2.31.1, BEAST2 2.7.7 on OpenJDK 17 (Java 26 fails here), IQ-TREE 3 and Yleaf 4.1.7, with yhaplo 2.1.19's marker table as a naming scaffold and DendroPy for tree input and output. A quadratic loop in the placer was fixed in 12 lines of Python, making the rebuild 3.3 times faster (283 s to 87 s); the one Rust kernel replaces the genotyper's pileup: 0.088 s against 0.941 s for Python with pysam, 10.7 times, on an 11 MB GRCh37 chrY slice at 20,345 panel sites.

Resources

Jile runs on one local machine, and load is the limit.

ItemFigureNote
RebuildAbout 2,950 s over roughly 24,000 placed men (since early October 2026)86 per cent is the deep-subclade stage and 1.7 to 2 per cent the placer; a clean August 2026 measurement was 19 min 17 s at 62,279 input files, so the unprofiled stage has grown
Joint chrY callingAbout 540 to 550 CPU-hours estimated for 1,927 men, scaled per panel because HGDP men cost more per man than 1000 Genomes menStopped after 327 men and 85.12 CPU-hours, at 4.8 men per hour under variable load; about 14 days of wall-clock for the 1,600 left, an estimate, not a clean-machine figure
Data volumeAbout 140 TB if whole ancient genomes (1 to 30 GB each) were storedDerived calls and chrY slices are kept and the rest re-streamed: 704 GB ancient-data directory on 2026-08-19, 147 GB project data on a 1,906 GB volume on 2026-11-11, measured under different conditions, so not a trend

Validation

Validation here means comparison with other published estimates, not with a measured truth, so agreement shows consistency, not accuracy.

CheckResultReading
Clade roots vs YFull 14.04.0 (0.303.0 trees)18 of 19 younger; median -30.6 per cent (-21.1 at 0.300.0); 2 within 15 per cent (K -2.3, R -2.7)Systematic young bias; 14 of 15 count-dated roots moved younger at that rebuild
Subclade nodes vs YFull (1,997 matched)Median absolute difference 52.9 per cent; 18 per cent within 20 per centNode-level agreement is weak
Point-estimate nodes vs YFull band of 10 or 15 per cent (0.317.0)37 of 347 inside; floor and capped nodes tested as bounds, 876 of 932 consistentAll-node score of 111 of 1,279 is barely above a within-clade shuffle (maximum 110, median 85); nearest-age neighbour scores 109
Count vs BEAST2, 12 clades (1000 Genomes panel)G, R, I, J, Q, H, O, D within 1 to 8 per cent; N, E, C, L within 14 to 19; A differs 47 per cent (70 vs 103 thousand years)Internal consistency only; A is the whole-tree root, not a cohort
Two panels (1000 Genomes vs SGDP)Confirmed for E, N, I, Q; R 24,670 vs 31,440 (count), 24,539 vs 31,519 (BEAST2)A bracket, not a disagreement: the panels reach different named nodes
Held-out radiocarbon (8,979 men, 0.308.0)562 (6.3 per cent) younger than a man who descends from the node; median gap 7,349 yearsLittle power against nodes that are too old; held-out, not validation
Topology vs published labels (0.303.0 paths)87 of 4,509 comparable men (1.9 per cent) do not nestCannot judge a rule that moves men shallower
Yleaf benchmark (42 of 45 men in my trees)Matched 10, deeper 8, shallower 20 (17 from markers missing in my 2016 catalogue), incompatible or mixed 4The four were defects in my tree or catalogue, not misplaced men
IQ-TREE maximum likelihood, 4 clades8 of 8 backbone groups non-monophyletic on my callsBackbone topology unresolved there

The radiocarbon test holds out each ancient man's date and counts nodes, re-dated from everyone else, that are younger than a man who descends from them, which is impossible.

Twenty candidate explanations for the young bias have been tested. One, over-masking by a recurrence mask, has measured support for a third to a half of the root gap. A later simulation points at mixed callset lanes in pooled pairs, whose cross-pipeline differences do not grow with age. The bias remains unattributed.

Open problems

  • The young bias against both references is real and unexplained. In simulation, the nominal 95 per cent interval contains the true age 0.35 to 0.80 of the time for nodes older than 5,000 years before present (0.98 below), so I show those intervals with a caveat, and floor and inherited ages as "at least".
  • The Bayesian tier will not replace the count tier until higher-coverage ancient tips are available. Tuning the MCMC did not help.
  • Separating the soft clades needs one joint-called cohort with a common site list, and the joint chrY run is stopped.
  • The next rebuild, 0.319.0, will change scientific output through new catalogue overrides and a stricter router. I have simulated those changes but not yet rebuilt with them.

Sources