Closed ibwoo closed 6 years ago
Thanks for the code examples. I will look at it.
Should be fixed now. I'll wait to push this to the Bioconductor git repository until the problems with Rsamtools
(missing export of the path
method) are fixed and I can run a full check.
You can install the fix using devtools::install_github("jotsetung/ensembldb")
Btw, I assume you are setting seqlevelsStyle(edb) <- "UCSC"
in your code examples above.
That did the trick, it works well thank you
Strange error here, I can't get to the bottom of this one either. The genomeToProtein function handles unmapped ranges by returning -1, and this works for me in most cases. I have a fair number of ranges, however, that work on their own and map to actual proteins, but when paired with certain other mapping ranges, will throw the error "subscript contains NAs".
I've tried to recreate this below. It's a messy recreation, but I'm pretty dumbfounded by the error and wanted to demonstrate all scenarios.
I appreciate your support with this package, which has been very useful. Thanks