jorainer / ensembldb

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

Add a genomeToProtein function #59

Closed jorainer closed 6 years ago

jorainer commented 6 years ago

Map a given genomic region to the region within the protein - if the genomic region is part of the CDS of a protein coding transcript. Tricky here is: 1) genomic region is not within the coding exons: return nothing - show specific warning. 2) genomic region spans several coding exons. 3) genomic region spans coding and non coding part: return nothing - show specific warning.

Now, what has to be done is similar to proteinToGenome: