scverse / genomic-features

Genomic Features in Python from BioConductor's AnnotationHub
https://genomic-features.readthedocs.io
BSD 3-Clause "New" or "Revised" License
19 stars 5 forks source link

Lift-over between genome versions #8

Closed emdann closed 1 year ago

emdann commented 1 year ago

Description of feature

Feature description: easily converting genomic coordinates of annotations between genome assemblies (or easy access to download gene model for different assembly)

In Bioconductor this is implemented in the liftOver function in rtracklayer, which works with GRanges objects and chain files from UCSC

library(rtracklayer)
path = system.file(package="liftOver", "extdata", "hg38ToHg19.over.chain")
ch = import.chain(path)
seqlevelsStyle(gr_obj) = "UCSC"  # necessary
cur19 = liftOver(gr_obj, ch)

Possible solutions

ivirshup commented 1 year ago

We'll consider this out of scope for now