msparsa's picture
provenance + validation
caa58d8 verified
|
Raw History Blame Contribute Delete
3.22 kB
---
license: other
tags: [genomics, splicing, transcript-annotation, nmd]
---
# Transcript chains + NMD labels for five assemblies
Splice-junction chains per transcript, in one schema across five assemblies, for training
transcript-structure and NMD models. Each row is one transcript: ordered `donors` /
`acceptors` (exon-boundary convention, 1-based inclusive), biotype, and an `is_nmd` flag.
Derived entirely from public reference annotation and public genome FASTAs.
## Provenance -- pinned to the assembly, not the newest release
Current releases have superseded all four non-human assemblies, so each annotation is the LAST
release carrying the assembly in use. A current release would give GRCm39 / mRatBN7.2
coordinates -- misaligned, but silently loadable.
| assembly | annotation | verified header stamp |
|---|---|---|
| hg38 | GENCODE v46 | - |
| mm10 | GENCODE M25 | `mouse genome (GRCm38), version M25` |
| rn6 | Ensembl 104 | `genome-build Rnor_6.0` |
| bosTau6 | Ensembl 94 | `genome-build UMD3.1` |
| galGal4 | Ensembl 85 | `genome-build Galgal4` |
## Coordinate convention, and how it was verified
`donors` is the LAST base of each exon and `acceptors` the FIRST base of the next, 1-based
inclusive, in transcription order (so on the minus strand `donors` descend genomically).
Alignment was checked by an offset scan: a donor is followed by GT/GC and an acceptor preceded
by AG on the transcribed strand, so the dinucleotide rate must PEAK AT OFFSET 0. It does, for
every assembly and both strands:
| assembly | offset peak | rate at 0 |
|---|---|---|
| hg38 | 0 | 99.6% |
| mm10 | 0 | 99.7% |
| galGal4 | 0 | 97.2% |
| rn6 | 0 | 96.3% |
| bosTau6 | 0 | 93.7% |
Rates at offsets +/-1 are ~0%, so the convention is unambiguous.
## all_canonical -- read this before training on it
`all_canonical` is True when EVERY junction in the transcript is GT/GC...AG. Per transcript:
| hg38 | mm10 | rn6 | galGal4 | bosTau6 |
|---|---|---|---|---|
| 98.1% | 97.2% | 87.3% | 82.1% | 76.5% |
Human's 98.1% is the floor (genuine U12-type AT-AC introns plus annotation noise), so mouse is
human-grade while roughly a quarter of cow transcripts carry a junction that is probably not
real -- these older builds for non-model organisms contain predicted gene models with imprecise
exon boundaries. Filtering on this column is recommended; training a model on a junction that
does not exist is worse than dropping the transcript.
## is_nmd -- only two assemblies are usable
| assembly | NMD transcripts |
|---|---|
| hg38 | 21,774 |
| mm10 | 7,204 |
| rn6 | 165 |
| bosTau6 | 0 |
| galGal4 | 0 |
Ensembl carries no `nonsense_mediated_decay` biotype for cow or chicken at all -- the flag needs
well-curated CDS annotation. Use `is_nmd` for hg38 and mm10 only.
## Reproducing
Builder and validator: https://github.com/msparsa/splicing (`psi/species_chains.py`).
```
python psi/species_chains.py build --asm mm10 --gtf gencode.vM25.annotation.gtf.gz --chrom-map none
python psi/species_chains.py validate --asm mm10
```
Ensembl GTFs name chromosomes `1`, `2`, `X`; GENCODE uses `chr1`. `--chrom-map ucsc` prefixes
the bare names. Underlying annotation is subject to the GENCODE and Ensembl licences.