jorainer / ensembldb

This is the ensembldb development repository.
https://jorainer.github.io/ensembldb
33 stars 10 forks source link

Add/fix the proteinToGenome function #65

Closed jorainer closed 6 years ago

jorainer commented 6 years ago

Fix the proteinToGenome function such that input/output is in line with the other methods: input is supposed to be a IRanges, output a GRangesList - if the mapping is performed for Ensembl protein IDs. If Uniprot IDs are used we might have to use a list of GRangesList... Just ensure that the length of the input is equal to the length of the output.