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 |
|---|---|
|
|
|
|
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 |
|---|---|
|
Broad hg38 bundle, |
|
Derived. GENCODE release 37 ( |
|
GENCODE release 37, GFF3 form of the same annotation. |
|
GENCODE release 37 protein-coding translations. |
|
Derived. Generated from the GTF by |
STAR index |
Broad’s prebuilt |
Variant calling resources
All from the GATK Best Practices hg38 bundles.
Reference |
Source |
|---|---|
|
Broad hg38 bundle ( |
|
|
|
|
|
|
|
Somalier sites file, from the somalier GitHub release assets. |
snpEff |
snpEff database, with a |
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 |
|---|---|
|
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. |
|
Curated ERV confidence scores, hosted on the LENS project wiki. |
|
ERV peptide-level normal-tissue and mTEC expression, from the RAFT
|
|
Hand-curated cancer-testis antigen gene list, based loosely on
CTDatabase with additional genes appended.
From the RAFT |
|
Per-transcript mTEC expression, normal-tissue detection, and subcellular
location. From the RAFT |
|
95th-percentile pan-normal and mTEC expression, in Salmon |
|
VirDetect viral references from the RAFT |
|
VirusBreakend database, dated 1 April 2021. Only used when viral
integration detection is enabled (the |
|
Trinity CTAT library for STAR-Fusion, matched to GENCODE v37. |
|
NeoSplice reference peptidome, used to filter candidate peptides against self. |
|
HLA reference used by LOHHLA, from the RAFT |
Tool models and caches
Reference |
Source |
|---|---|
|
MHCflurry class I presentation models, from the openvax/mhcflurry GitHub release assets. |
|
Human Protein Atlas download, mirrored in the RAFT
|
pyensembl cache |
Ensembl release 103, matching GENCODE v37. Used by VaxRank. |
|
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.