Reference provenance

Off-the-shelf defaults lists which reference each workflow step uses. This page records where each one comes from and how it was built, so a run can be traced back to its inputs.

The references are assembled by two build scripts, which are the authoritative record:

Repository

Contents

lens-human-refs

lens-v1.9.3-human_refs.py (human) and lens-v1.9.3-general_refs.py (species-independent)

lens-mouse-refs

lens-v1.9.3-mouse_refs.py and its own copy of the general script

Fetch them for a workflow without creating a project using:

raft download-refs --workflow lens --version 1.9.3 --species human

Note

The annotation stack is pinned to GENCODE v37 / Ensembl 103 (February 2021). The STAR index, the CTAT fusion library, the snpEff database, and the VaxRank pyensembl cache are all built against that release, so changing the GTF alone would leave them inconsistent.

Genome and annotation

Reference

Source

Homo_sapiens.assembly38.fa

Broad hg38 bundle, Homo_sapiens_assembly38.fasta from storage.googleapis.com/genomics-public-data/resources/broad/hg38/v0/. Renamed on download; the content is unmodified.

gencode.v37.annotation.with.hervs.gtf

Derived. GENCODE release 37 (ftp.ebi.ac.uk/pub/databases/gencode/ Gencode_human/release_37/gencode.v37.annotation.gtf.gz) merged with the gEVE HERV annotation Hsap38.geve.m_v1.gtf. This is the reason ERV loci appear in quantification alongside GENCODE genes.

gencode.v37.annotation.gff3

GENCODE release 37, GFF3 form of the same annotation.

gencode.v37.pc_translations.fa

GENCODE release 37 protein-coding translations.

hg38_exome.50bpflank.bed

Derived. Generated from the GTF by hg38_bed_generator.sh, then padded by 50 bp and merged with bedtools merge. It is annotation-derived rather than a vendor capture kit, so it does not correspond to any particular exome product.

STAR index

Broad’s prebuilt modified_star2.7.10a-Human-GENCODE-build-GRCh38-43.

Variant calling resources

All from the GATK Best Practices hg38 bundles.

Reference

Source

Homo_sapiens_assembly38.dbsnp138.vcf.gz

Broad hg38 bundle (genomics-public-data/resources/broad/hg38/v0/).

1000g_pon.hg38.vcf.gz

gatk-best-practices/somatic-hg38/ — Mutect2 panel of normals.

af-only-gnomad.hg38.vcf.gz

gatk-best-practices/somatic-hg38/ — gnomAD allele frequencies.

small_exac_common_3.hg38.vcf.gz

gatk-best-practices/somatic-hg38/ — common ExAC sites, used for contamination estimation.

sites.hg38.vcf.gz

Somalier sites file, from the somalier GitHub release assets.

snpEff GRCh38.GENCODEv37

snpEff database, with a snpEff.config from the LENS project wiki.

Antigen-source references

These are the references specific to LENS’s non-variant antigen sources, and the ones whose provenance is least obvious from the filename.

Reference

Source

Hsap38.geve.m_v1.gtf, Hsap38.txt

gEVE database v1.1 (Nakagawa and Takahashi, Database, 2016). The gEVE project site no longer resolves; the build script falls back to a mirror under the RAFT references group.

erv_scores.25SEP2023.tsv

Curated ERV confidence scores, hosted on the LENS project wiki.

erv_pep_exp_norm_and_mtec.homo_sapiens.tsv

ERV peptide-level normal-tissue and mTEC expression, from the RAFT references/erv repository.

cta.pirlygenes.06APR2026.gene_list

Hand-curated cancer-testis antigen gene list, based loosely on CTDatabase with additional genes appended. From the RAFT references/cta repository. The date in the filename is the revision.

canonical.annotated.mtec.norm_tiss.subcell.21APR2026.tsv

Per-transcript mTEC expression, normal-tissue detection, and subcellular location. From the RAFT references/expression repository; subcellular and normal-tissue fields derive from the Human Protein Atlas.

pan_normal_and_mtec_exp.95th_perc.homo_sapiens.quant.sf

95th-percentile pan-normal and mTEC expression, in Salmon quant.sf form. This is the expression baseline that replaced the per-patient normal RNA sample — see Introduction.

virus_masked_hg38.74e19.fa, virus.cds.53c08.fa, virus.pep.f2fe2.fa, virus_unmasked.02ec8.fa, virdetect.cds.2ae1d.gff

VirDetect viral references from the RAFT references/viral repository. The hex fragment in each name is the first five characters of the file’s MD5 checksum rather than a version, so each name is self-verifying: md5sum virus_masked_hg38.74e19.fa should begin 74e19. A mismatch means the local copy is truncated or corrupt.

virusbreakenddb_20210401.tar.gz

VirusBreakend database, dated 1 April 2021. Only used when viral integration detection is enabled (the stringent profile).

GRCh38_gencode_v37_CTAT_lib_Mar012021

Trinity CTAT library for STAR-Fusion, matched to GENCODE v37.

Reference_peptidome

NeoSplice reference peptidome, used to filter candidate peptides against self.

hla_fix.fasta

HLA reference used by LOHHLA, from the RAFT references/hla repository.

Tool models and caches

Reference

Source

models_class1_presentation.20200611

MHCflurry class I presentation models, from the openvax/mhcflurry GitHub release assets.

proteinatlas.tsv

Human Protein Atlas download, mirrored in the RAFT references/expression repository.

pyensembl cache

Ensembl release 103, matching GENCODE v37. Used by VaxRank.

binfotron, antigen.garnish

R package reference bundles for the optional gene-signature and antigen.garnish steps.

Verifying a reference set

checksums.json maps filenames to MD5 checksums, one in lens-human-refs and one in lens-mouse-refs. The build scripts verify a file when its entry is non-empty and skip verification when the entry is blank, so partial coverage is safe: populated entries are enforced, blank ones simply are not checked.

Most entries are populated, covering the bulk of the download: the genome FASTA, the GENCODE and Ensembl annotations, the GATK resource VCFs, the viral references, the NeoSplice peptidomes, the AltAnalyze splice database, and the CTA and expression tables.

A checksum is keyed by the name the file has when it lands on disk, because verification looks the entry up by that basename. A name that only ever appears in a source URL is therefore never consulted: the human genome, for example, is downloaded straight to Homo_sapiens.assembly38.fa, so an entry under the upstream name Homo_sapiens_assembly38.fasta would do nothing.

Note

The entries that remain blank are blank for one of three reasons.

Some are archives deleted after extraction, so the original download no longer exists locally to be hashed. These cannot be filled in by re-compressing an extracted copy: gzip and tar embed timestamps, so re-compression produces a different digest than the original, and pinning that digest would make verification fail on every legitimate download. The fix is to hash a genuinely fresh download.

Some have no reachable upstream left. gEVE (geve.med.u-tokai.ac.jp) no longer resolves, so Hsap38.txt.bz2 and Hsap38.geve.m_v1.gtf.bz2 can never be hashed again. The RAFT mirror serves the uncompressed Hsap38.txt instead, and that is the name now carrying a checksum.

Some are built locally rather than downloaded, so they have no digest that is stable across machines: Homo_sapiens.GRCh38.103.gtf.db is the pyensembl SQLite cache emitted by genome.index(), and on the mouse side mm39_exome.bed comes from bedtools, snpEffectPredictor.bin from snpEff, and virus_masked_mm39.fa from a liftOver. Pinning any of these would fail verification for everyone. Only add a checksum for a file that is either downloaded as-is or derived from a pinned input by a deterministic transform.

For a file with a blank entry, a truncated or partially-downloaded copy is not detected automatically. If a run fails in a way that suggests a corrupt reference, re-download that file rather than assuming it is intact. The viral references are an exception even when unlisted, since each one carries the leading characters of its own MD5 in its filename.

Several references are fetched from mirrors in the RAFT references group rather than from their original hosts. That keeps the download working when an upstream source disappears, as has already happened with gEVE, but it also means the mirror, not the original, is what a run actually consumed.