HPRC release 2 graph, indexed for JBrowse 2 =========================================== These files are a redistribution, not original data. They are tabix-indexed BED projections of a graph published by the Human Pangenome Reference Consortium, and walk files of its haplotypes' paths, built so that JBrowse can query a locus without downloading the graph. The hprc-v2.*-mc-grch38.* files below are that set, with hprc-v2.1-mc-chm13.CHM13.walks.gz from the release's CHM13-referenced graph. This prefix also serves two other demos' files, which have their own provenance: hprc_cfhr_*.genes.gff3.gz is eight haplotypes' CAT annotation from HPRC, which the walk lanes draw as each haplotype's gene row; hprc_abca7_trgt.vcf.gz is PacBio's TRGT genotypes at the ABCA7 VNTR (Zenodo 8329210) that build_hprc_abca7_trgt.sh writes, hprc_curated_vntrs.bed is a hand-written repeat track, hprc_kiv2_copies.vcf and hprc_kiv2_copies_all.vcf.gz its KIV-2 array's copies (all below), and hprc2_pclai_chr1.bed.gz is a chr1 slice nothing in the repo reads any more. Source ------ https://s3-us-west-2.amazonaws.com/human-pangenomics/pangenomes/freeze/ release2/minigraph-cactus/v2.1/hprc-v2.1-mc-grch38/hprc-v2.1-mc-grch38.sv.gfa.gz 841,185,082 bytes. The SV-resolution projection of the release 2.1 Minigraph-Cactus graph, 464 haplotypes on a GRCh38 backbone. It comes from the graph's minigraph stage, so every segment carries rGFA tags (SN/SO/SR), which is what makes these coordinate projections possible. Release 2.1 is the build whose gbz-base database HPRC also publishes, so the two describe the same assemblies at the same locus — but not with the same ids. The segment ids here are the minigraph stage's (sNNNNNN, 1..759,223); a cut from the gbz-base database carries the base-level graph's own integer node ids, which run to nine figures. Neither converts to the other. Everything JBrowse serves reads 2.1 as of 2026-09-16, the multiple alignment included. The release 2.0 projections were removed on 2026-10-04. HPRC data is released under CC0. See https://github.com/human-pangenomics/hpp_pangenome_resources for the release itself and its terms. Files ----- hprc-v2.1-mc-grch38.anchored.graph.bed.gz{,.tbi} what the graph track reads, in gfa-to-tabix's format 2: nodes and links in one file, each filed under the reference interval its bubble hangs from, so one query cuts a region whole. gfa-to-tabix files the 22,501-node bubble at chr1:2.65 Mb on its own coordinates (--max-component, default 10,000). hprc-v2.1-mc-grch38.graph.bed.gz{,.tbi} the contig layout of the same graph, which gfa-to-tabix alleles reads: 759,223 segments hprc-v2.1-mc-grch38.fold10000.graph.bed.gz{,.tbi} the graph with variants under 10 kb folded into the reference, anchored like the fine file: 24,928 segments, 35,074 links The three .graph.bed.gz files replaced format 1 segs/links pairs on 2026-10-28, built with gfa-to-tabix 2.0.0 by the commands below. hprc-v2.1-mc-grch38.bubbles.bed.gz{,.tbi} gfatools bubble output, 129,611 bubbles hprc-v2.1-mc-grch38.tier10000.{segs,links}.bed.gz{,.tbi} the earlier tier, one node per bubble whose content (reference span or longest allele) is 10 kb or more, backbone between: 3,442 bubbles, 6,858 links, the whole-chromosome level of detail. Still format 1: the hprc_whole_chromosome figure draws it. hprc-v2.1-mc-grch38.alleles.bed.gz{,.tbi} one row per allele the graph holds, derived from segs+links: 221,981 alleles (124,466 insertions, 92,845 deletions, 4,670 same-length substitutions) hprc-v2.1-mc-grch38.haplotype-index.f3.db the companion gbz-base index (5.09 GB, format 3) that names the walks read from HPRC's published hprc-v2.1-mc-grch38.gbz.db, which stores no map from a GBWT position back to a sample; built with gbz-haplotype-index 0.3.0, whose docs give the command. Its anchors sit every 131 kb along GRCh38 and CHM13, so a window for a chosen set of lanes walks those haplotypes from the anchor before it. Its 0.47 GB overview, which summarizes every haplotype per 4 kb bin, is no longer drawn: the graph plugin retired it in 6.0. It replaces the format 2 hprc-v2.1-mc-grch38.haplotype-index.anchored.db (7.87 GB), which @gmod/gbz-base 7 no longer reads. hprc-v2.1-mc-grch38.kiv2.eight-haplotypes.gfa the KIV-2 bubble (chr6:160,616,002-160,646,753) cut from the gbz.db and the companion by gbz-base-query --keep for the tutorial's eight haplotypes: 15,808 nodes, the GRCh38 walk and eight named W lines; the command is in the pangenome_hprc part 3 tutorial, under "The graph view from the GBZ, for a chosen set" hprc-v2.1-mc-grch38.summary.bed.gz{,.csi} the MAF summary, by scripts/build_hprc_maf_summary.sh over the v2.1 MAF, in one streaming pass. 396,363 rows, 464 haplotypes, all 195 contigs. This is the one the tutorial's track reads Stable names are PanSN (GRCh38#0#chr1), so a JBrowse track on an ordinary hg38 assembly needs assemblyNameToPanSN: { "hg38": "GRCh38" }, and one on T2T-CHM13 needs { "hs1": "CHM13" } beside it. That covers the graph files, the tier and bubbles. The alleles file is the exception: its rows carry the reference's own refNames (chr1), since gfa-to-tabix alleles drops the prefix, so its track takes a plain BedTabixAdapter with no mapping. How they were built ------------------- wget # the anchored and contig layouts, via gfa-to-tabix # (https://github.com/GMOD/gfa-to-tabix) gfa-to-tabix hprc-v2.1-mc-grch38.sv.gfa.gz -o hprc-v2.1-mc-grch38.anchored gfa-to-tabix hprc-v2.1-mc-grch38.sv.gfa.gz --layout contig \ -o hprc-v2.1-mc-grch38 # bubbles gzip -dc hprc-v2.1-mc-grch38.sv.gfa.gz | gfatools bubble - \ | sort -k1,1 -k2,2n | bgzip > hprc-v2.1-mc-grch38.bubbles.bed.gz tabix -p bed hprc-v2.1-mc-grch38.bubbles.bed.gz # the coarse tier gfa-to-tabix fold hprc-v2.1-mc-grch38.sv.gfa.gz --below 10000 \ -o hprc-v2.1-mc-grch38.fold10000 # alleles gfa-to-tabix alleles hprc-v2.1-mc-grch38 gfatools: https://github.com/lh3/gfatools Built 2026-09-06 with gfatools 0.5-r296 from git HEAD. The allele file is derived from the two above and needs no graph: plain awk, 20 seconds. Each row carries a CIGAR against the reference span it replaces, so an AlignmentsTrack reading the BED draws each insertion at its real size rather than as a 1 bp box. Read `firstSeenIn`/`discoveryRank` as the first haplotype to contribute an allele - minigraph collapses, so it is discovery order, never carriage. Walks that reach no link back to the backbone are dropped rather than guessed at. Using them ---------- https://jbrowse.org/jb2/docs/tutorials/pangenome_hprc/ RgfaTabixAdapter takes the shared prefix (no suffix), with "format": 2 for the .graph.bed.gz file: https://jbrowse.org/demos/hprc/hprc-v2.1-mc-grch38 MinigraphBubbleAdapter takes the bubbles file directly: https://jbrowse.org/demos/hprc/hprc-v2.1-mc-grch38.bubbles.bed.gz The alleles file is a plain BedTabixAdapter uri, on an AlignmentsTrack: https://jbrowse.org/demos/hprc/hprc-v2.1-mc-grch38.alleles.bed.gz One gotcha worth recording: gfatools counts paths through a bubble combinatorially and clamps the count at 2147483647 rather than overflowing. 414 of the 129,611 bubbles sit at that value, where it means "more than I can count", not a measurement. Haplotype walks --------------- hprc-v2.1-mc-grch38.GRCh38.walks.gz 1,562,313,167 bytes hprc-v2.1-mc-grch38.GRCh38.walks.gz.idx 8,109 hprc-v2.1-mc-chm13.CHM13.walks.gz 1,760,248,336 hprc-v2.1-mc-chm13.CHM13.walks.gz.idx 886 What the configs read. Every haplotype's path through a base-level v2.1 graph in walk format 7 (gfa-to-tabix 4.0.0, docs/walks-format.md there), one file per reference with its directory in the .idx beside it, built on 2026-11-07 and hosted on 2026-11-08 after graph-walks 6.0.0's release check passed 28 of 28 windows on each hosted file. The GRCh38 file comes from the GRCh38-referenced graph and the CHM13 file from HPRC's CHM13-referenced one (hprc-v2.1-mc-chm13, in the directory beside the release directory above), so each reference passes none of its graph's nodes twice and the header's revisited:i:0 holds: every position and departure in the file is the graph's own, not a placement choice. A file is a series of gzip units: a header, then per reference sequence a unit per 64 kb tile, its departure records in blocks of 64 kb to 32 Mb, each record in every block its stretch covers, and a table of the units' byte ranges; the .idx gives the byte range of the header and of each table. A tile holds the reference's path through it once, each distinct route a haplotype takes off that path once, and each haplotype's piece as the list of routes it takes. A departure record gives each place a path leaves the reference and rejoins it in another piece, with the bp of its own sequence between and the part of it the graph lacks. A graph track reads the directory, then the tiles and departure blocks over a window by range request, and decodes only the haplotypes it is asked for. Tiles too costly to read whole, mostly repeat arrays, keep a summary row per costliest haplotype and its steps in a detail unit, which the graph track loads on request. The hprc_v2_1_walk_lanes track draws haplotype lanes from the GRCh38 file: it aligns each haplotype's walk to the reference's, and each lane to the next, on the nodes both visit, with no base compared. It reads no gbz.db and no haplotype index. Its walksUri names the file by its prefix, hprc-v2.1-mc-grch38.GRCh38, and the plugin resolves .walks.gz and its .idx; defaultHaplotypes names the lanes it draws unless the haplotype menu says otherwise. test_data/graphgenomeview/hprc.json's hs1 track reads hprc-v2.1-mc-chm13.CHM13. GRCh38: 19,933,602 pieces, 1,797,769 departure records in 3,813,809 rows, 97,164,719 lines in 159,038 units; 1,698 paths visit no GRCh38 node and have no row. CHM13: 20,237,742 pieces, 1,750,312 departure records in 3,743,089 rows, 111,337,174 lines in 154,936 units; 3,312 paths have no row. Built on ada with gfa-to-tabix 4.0.0 (commit 1e698f4), from the GFAs vg convert -f wrote from HPRC's hprc-v2.1-mc-grch38.gbz and hprc-v2.1-mc-chm13.gbz, so node ids match each GBZ, and the GRCh38 file's match the gbz.db: gfa-to-tabix grch38.gfa --walks --refs GRCh38 -o hprc-v2.1-mc-grch38 # 1:30:04, 7.3 GiB peak gfa-to-tabix chm13.gfa --walks --refs CHM13 -o hprc-v2.1-mc-chm13 # 50:10, 8.6 GiB peak The defaults --tile 65536 and --stay 311 apply. hprc-v2.1-mc-grch38-chr6-sequences.GRCh38.walks.gz 143,825,614 bytes hprc-v2.1-mc-grch38-chr6-sequences.GRCh38.walks.gz.idx 161 The GRCh38 file's chr6 alone, with --sequences, so each node carries its bases: ggtubemap's README figures read it to print them. Hosted on 2026-11-08. Its cuts at chr6:160,653,940-160,654,130, chr6:29,942,850-29,943,250 and chr6:160,616,004-160,646,753, with CHM13 and 16 haplotypes, give the same tracks and nodes as the genome-wide file's, with bases on every node. 1,207 paths, 1,196,638 pieces, 105,024 departure records; verify7 passed. Built on ada with the same gfa-to-tabix 4.0.0 (commit 1e698f4), from the chr6 component of HPRC's hprc-v2.1-mc-grch38.gbz, so node ids match the GBZ and the genome-wide file: vg chunk -x hprc-v2.1-mc-grch38.gbz --gbz --contig chr6 -b chunk # vg 1.76.1 vg convert -f chunk_0_chr6.gbz > chr6.gfa gfa-to-tabix chr6.gfa --walks --sequences --refs GRCh38 \ -o hprc-v2.1-mc-grch38-chr6-sequences # 2:32, 1.7 GiB peak hprc-v2.1-mc-grch38-f5s.GRCh38.walks.bed.gz 1,550,816,162 bytes hprc-v2.1-mc-grch38-f5s.GRCh38.walks.bed.gz.tbi 1,332,701 hprc-v2.1-mc-grch38-f5s.CHM13.walks.bed.gz 1,463,176,959 hprc-v2.1-mc-grch38-f5s.CHM13.walks.bed.gz.tbi 1,010,636 Still hosted, read by no config since 2026-11-08, and slated for deletion: the walk format 5 set the configs read before the format 7 files, kept for sessions saved before the swap. The plugin from 9.0.0 reads format 7 only, so these open only in a plugin before 9.0.0. Both files come from the GRCh38-referenced graph, bgzip + Tabix BED filed under 64 kb chunks, with skip rows, one per haplotype and chunk that its deletion jumps over (ADR 0006 in gfa-to-tabix): 24,795 on GRCh38 and 86,958 on CHM13. Built 2026-10-28 with gfa-to-tabix 2.0.0 from hprc-v2.1-mc-grch38.gbz (2:25:03, 13.1 GB RSS): vg convert -f hprc-v2.1-mc-grch38.gbz | pigz > hprc-v2.1-mc-grch38.W.gfa.gz # vg 1.76.1, 17 min, 90 GB gfa-to-tabix hprc-v2.1-mc-grch38.W.gfa.gz --walks --refs GRCh38,CHM13 \ -o hprc-v2.1-mc-grch38-f5s The -f5 set was retired on 2026-10-30 (see Retired files below), and the -f3 set (gfa-to-tabix 1.1.0) is gone too. The format 1 and format 2 sets (gfa-to-tabix 0.4.0 to 1.0.0) were removed on 2026-10-16. The jb2bench traces that measured them keep their numbers. Retired files ------------- Nothing live read these, so on 2026-10-30 they moved to s3://jbrowse.org/archive/demos/hprc/ in the S3 Deep Archive storage class, where a restore takes hours. hprc-v2.1-mc-grch38{,.anchored,.fold10000}.{segs,links}.bed.gz{,.tbi} the format 1 pairs the .graph.bed.gz files replaced hprc-v2.1-mc-grch38.ref.{segs,links}.bed.gz{,.tbi} the contig pair's rows under GRCh38's sequences only, which no config read hprc-v2.1-mc-grch38-f5.{GRCh38,CHM13}.walks.bed.gz{,.tbi} the walk set -f5s replaced repeat_density/ - per-class RepeatMasker density ------------------------------------------------ repeat_density/{hg38,hs1}_repeat_density_{LINE,SINE,LTR,DNA,Satellite,Simple_repeat}.bw Twelve bigWigs: fraction of each 5 kb bin covered by one RepeatMasker class, genome-wide (chr1-22,X,Y), for GRCh38 and T2T-CHM13v2.0. Values are 0-1, so a MultiQuantitativeTrack over them should pin scales.y to a 0-1 domain - the point of the track is comparing rows and assemblies, which autoscale destroys. Sources, both UCSC: hg38 goldenPath/hg38/database/rmsk.txt.gz (class in column 12) hs1 gbdb/hs1/t2tRepeatMasker/chm13v2.0_rmsk.bb (repName#Class/Family) Built by scripts/build_repeat_density.sh in GMOD/jbrowse-components, which also prints the summary table below. Annotations of one class overlap (a fragmented L1 is several records), so each class is merged before coverage - unmerged would double-count shared bp and report over 100%. What it is for: over the last 650 kb of chr17 in each assembly - the subtelomere GRCh38 ends short of - the total holds still while the classes underneath it move in opposite directions, which a single density track cannot show. class GRCh38 CHM13 LINE 13.71% 16.51% goes up SINE 13.58% 9.00% goes down LTR 6.10% 5.83% DNA 2.29% 3.01% all (merged) 37.22% 36.48% flat An earlier version of this table read LINE 70.05% and all 76.37%, and those numbers were an artifact: hs1's rmsk bigBed is a bigRmskBed, whose outer span is a whole fragmented element joined back together, so taking it counts bases belonging to whichever younger element interrupted the older one. The script expands the aligned blocks instead. Anything quoting the old table is quoting the bug. Each assembly is measured over its OWN last 650 kb, not a lifted-over interval: there is no lift-over for sequence one of them does not have. Curated VNTRs ------------- hprc_curated_vntrs.bed (the copy in demos/hprc is the source) names tandem repeat arrays too long for TRF catalogues, which stop near a 2 kb period: chrom, start, end, name, unit. The graph plugin calls a bubble a repeat array only where the session's repeat track has one, and walk rows tile by the unit. One row so far: the LPA KIV-2 array, chr6:160,616,003-160,646,753 with a 5,548 bp kringle unit, bounded by the flanks copycount.mjs maps. hprc_kiv2_copies.vcf states every copy of that array in GRCh38 and the eight haplotypes of hprc-v2.1-mc-grch38.kiv2.eight-haplotypes.gfa, as one VCF 4.5 record: each allele's runs of one unit in RN/RUS/RUC/RB, each copy's length in RUB, and a phased GT per sample, GRCh38 a sample of its own. jbrowse-components' scripts/tandem-repeat-vcf.mjs wrote it from that GFA and the KIV-2 row above: node scripts/tandem-repeat-vcf.mjs \ hprc-v2.1-mc-grch38.kiv2.eight-haplotypes.gfa \ --bed hprc_curated_vntrs.bed --name KIV-2 --unit-names KIV-2A,KIV-2B \ > hprc_kiv2_copies.vcf At its 1% divergence the 138 copies form two units about 2.3% apart. They are KIV-2A and KIV-2B: given one copy's exons, --sites finds them differing only at exon 1's positions 14, 41 and 86, the sites that define KIV-2B, and --unit-names writes those names into RUNAME, a non-spec field beside RUS. Clicking the record opens its Tandem repeat card in the feature details, which draws each copy in its unit's color. hprc_samples.tsv is the samplesTsvLocation of both KIV-2 tracks and of the walk-lane graph track, whose walk rows Group by… splits: one row per sample of the records (name, population, superpopulation, sex), from HPRC's release 2 sample table and the 1000 Genomes superpopulation codes, written by scripts/build_hprc_samples.sh, which also prints the KIV-2B counts by superpopulation that the tutorial's faceted figure shows. hprc_kiv2_copies_all.vcf.gz{,.tbi} is the same record over every haplotype, from a cut of all 465 walks through the array (21,721 nodes): node node_modules/@gmod/gbz-base/bin/query.js \ https://s3-us-west-2.amazonaws.com/human-pangenomics/pangenomes/freeze/release2/minigraph-cactus/v2.1/hprc-v2.1-mc-grch38/hprc-v2.1-mc-grch38.gbz.db \ --haplotype-index https://jbrowse.org/demos/hprc/hprc-v2.1-mc-grch38.haplotype-index.anchored.db \ --sample GRCh38 --contig chr6 --interval 160616002..160646753 \ --context 1000 --snarls --haplotypes all --limit 100000 --resolve \ --format gfa > kiv2_all.gfa node scripts/tandem-repeat-vcf.mjs kiv2_all.gfa \ --bed hprc_curated_vntrs.bed --name KIV-2 --unit-names KIV-2A,KIV-2B \ > hprc_kiv2_copies_all.vcf bgzip hprc_kiv2_copies_all.vcf && tabix -p vcf hprc_kiv2_copies_all.vcf.gz The script leaves out NA18983#1, whose walk reaches one flank, so 464 arrays remain, holding 8,951 copies in two units. In seven, the array start had mutated at a copy boundary, and the script split those 11-17 kb stretches into 5.5 kb copies by probes from further into the unit.