File size: 3,218 Bytes
caa58d8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
---
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.