Skip to content
Prev 17072 / 21312 Next

[Bioc-devel] BSgenome changes

Hi Leonard,
On 8/12/20 15:22, Leonard Goldstein via Bioc-devel wrote:
Absolutely intended.

There is a long story behind the unfortunate fate of the mitochondrial 
chromosome in hg19. I'll try to keep it short.

When the UCSC folks released the hg19 browser more than 10 years ago, 
they based it on assembly GRCh37:

   https://www.ncbi.nlm.nih.gov/assembly/GCF_000001405.13

See sequence report for GRCh37:

 
https://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/000/001/405/GCF_000001405.13_GRCh37/GCF_000001405.13_GRCh37_assembly_report.txt

For some mysterious reason GRCh37 didn't include the mitochondrial 
chromosome so the UCSC folks decided to use mitochondrial sequence 
NC_001807 and called it chrM.

However, UCSC has recently decided to base hg19 on GRCh37.p13 instead of 
GRCh37. A rather surprising move after many years of hg19 being based on 
the latter.

   https://www.ncbi.nlm.nih.gov/assembly/GCF_000001405.25/

See sequence report for GRCh37.p13:

 
https://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/000/001/405/GCF_000001405.25_GRCh37.p13/GCF_000001405.25_GRCh37.p13_assembly_report.txt

Note that GRCh37.p13 does include the mitochondrial chromosome. It's 
called MT in the official sequence report above and chrMT in hg19.

At the same time the UCSC folks decided to keep chrM so now hg19 
contains 2 mitochondrial sequences: chrM and chrMT. Previously it has 
only one: chrM.

So what you see in BioC devel in BSgenome.Hsapiens.UCSC.hg19 and with
seqlevelsStyle(genome) is only reflecting this. In particular 
seqlevelsStyle(genome) <- "NCBI" now does the following:

   - Rename chrMT -> MT.

   - chrM does NOT get renamed. There is no point in renaming this 
sequence because it has no equivalent in GRCh37.p13.

Hope this helps,

H.