Which human genome reference (indices) to use: Public Reference Marbles are live

Reference Indices

If you run computational genomics pipelines, you've likely run into reference indices (such as the .fai, .sa, .pac, .dict, etc.) for tools like BWA mem. These files are reference specific and need to be generated or downloaded any time you switch references, which can take several hours. Finding prebuilt ones has been difficult - until today!

We've put together pre-indexed, cryptographically verified reference genome marbles (.mar archives) hosted publicly at https://public.earthframe.com/references/. These can be freely downloaded and used directly by BWA / minimap2 / minibwa and in NextFlow, SnakeMake, or WDL workflows.

Note: we limit download bandwidth off this website to an aggregate 500GB a day, so please share fairly and keep a copy locally once you've downloaded it.

Which Reference Genome to Use?

If you've been in bioinformatics for any length of time, you know that "GRCh38" or "hg19" isn't a single FASTA file.

Heng Li summarized the major traps in his 2017 post Which human reference genome to use?:

  • Un-modeled ALT contigs: If you map standard short reads against an assembly containing alternate locus contigs without an ALT-aware mapper and post-processing, reads aligning to flanking homologous regions get assigned MAPQ = 0, tanking variant calling sensitivity.
  • Unmasked PARs on chrY: Pseudoautosomal regions on chrY must be hard-masked so reads from those segments map uniquely to chrX.
  • Mitochondrial mismatch: Raw GRCh37 contains a mitochondrial sequence 2 bp longer than the revised Cambridge Reference Sequence (rCRS).
  • Missing decoys and virus contigs: Omitting decoy sequences and Epstein-Barr virus (EBV) forces non-human reads or unplaced reads to misalign to homologous chromosomal regions, producing false-positive variant calls.

We packaged the reference builds recommended by Heng Li and the Genome in a Bottle (GIAB) consortium:

  • Homo_sapiens_assembly38: The Broad Institute / GATK resource bundle assembly with chr-prefix naming and decoy contigs.
  • hs37d5: The standard 1000 Genomes Phase 2 GRCh37 build with the d5 decoy contigs, masked chrY PAR, and rCRS mitochondrion.
  • GRCh38_GIABv3_no_alt_analysis_set_maskedGRC_decoys_MAP2K3_KMT2C_KCNJ18: The GIAB v3 analysis set. It includes decoys, masked PARs, and targeted masks for segmental duplications (MAP2K3, KMT2C, KCNJ18) that otherwise cause alignment artifacts.
  • GCA_000001405.15_GRCh38_no_alt_analysis_set: The standard NCBI/UCSC no-alt analysis set recommended by Heng Li for general-purpose GRCh38 mapping.

What's in the Archives

Each assembly is packaged into distinct marbles according to mapper and workflow needs:

Flavor Files Included Primary Use Archive Size
@core.mar Primary FASTA (.fa / .fasta) + .fai index SAMtools, DeepVariant, GATK ~860 – 880 MiB
@bwa.mar complete BWA index (.amb, .ann, .bwt, .pac, .sa) BWA-MEM, Parabricks, Sentieon ~3.0 – 3.1 GiB
@mmi.mar pre-built minimap2 index (.mmi) Minimap2, PacBio HiFi, ONT ~4.6 – 4.8 GiB
@minibwa.mar minibwa indices Lightweight aligners / edge nodes ~4.2 – 4.3 GiB
@twobit.mar UCSC 2-bit binary genome (.2bit) UCSC toolsuite, interval extractors ~650 – 676 MiB

Every marble is delivered uncompressed and validated with XXH3 and BLAKE3 checksums. A complete GRCh38 core reference with its .fai is ~862 MiB, and a complete BWA bundle is ~3.0 GiB.

Using the Marbles

You can grab the archives directly at https://public.earthframe.com/references/.

Inspect and Validate

Because Mar keeps its metadata index in the header, you can list contents or verify integrity without unpacking:

# Download the GIAB v3 BWA marble
wget https://public.earthframe.com/references/GRCh38_GIABv3_no_alt_analysis_set_maskedGRC_decoys_MAP2K3_KMT2C_KCNJ18@bwa.mar

# List contents instantly
mar list GRCh38_GIABv3_no_alt_analysis_set_maskedGRC_decoys_MAP2K3_KMT2C_KCNJ18@bwa.mar

# Verify hashes
mar validate GRCh38_GIABv3_no_alt_analysis_set_maskedGRC_decoys_MAP2K3_KMT2C_KCNJ18@bwa.mar

Extract Only What a Step Needs

If a pipeline stage only needs the .fai or the raw FASTA, you can extract just those files:

# Extract only the .fai
mar extract -o ./ref/ GRCh38_GIABv3_no_alt_analysis_set_maskedGRC_decoys_MAP2K3_KMT2C_KCNJ18@bwa.mar "*.fai"

# Extract only the BWA index files
mar extract -o ./ref/bwa/ GRCh38_GIABv3_no_alt_analysis_set_maskedGRC_decoys_MAP2K3_KMT2C_KCNJ18@bwa.mar "*.bwt" "*.sa" "*.ann" "*.amb" "*.pac"

Remote Slicing with pymar

If you're running in an environment where you don't want to pull down 3 GB of indices, pymar can fetch individual files over HTTP range requests using the remote header:

# Pull only the .fai over HTTP without downloading the rest of the marble
pymar extract -o ./local_ref/ \
  https://public.earthframe.com/references/GRCh38_GIABv3_no_alt_analysis_set_maskedGRC_decoys_MAP2K3_KMT2C_KCNJ18@bwa.mar \
  "*.fai"

pymar reads the remote index, downloads only the blocks holding the .fai, and exits.

How we built these

To build these reference marbles, we wrote nextflow workflows for the common indexing steps that take as input a FASTA reference and output a complete archived marble. We ran these all on Carolina Cloud, where it took only about 90 minutes per genome to do all the indexing - which is frankly pretty quick even compared to doing it locally! Carolina Cloud are good friends of ours and were gracious enough to gift us some credits to test out their Nextflow Orchestrator (which is awesome) by generating these indices, with plenty left over for more work. Thanks y'all!

We'll release these workflows in the coming weeks, and we also have big plans to make it easy to build them without even having to run the workflows yourself - stay tuned!


The files are up and free to use at public.earthframe.com/references. If there's another standard reference build or index flavor you need for your pipelines, let us know.