Skip to content

Genome to protein does not work #164

Description

@tprodanov

I have R 4.5.1, emsembldb v2.32.0 and EnsDb.Hsapiens.v86 v2.99.0.
Currently, the code from this tutorial does not work for me:

library(ensembldb)
library(EnsDb.Hsapiens.v86)
edbx <- filter(EnsDb.Hsapiens.v86, filter = ~ seq_name == "X")
gnm <- GRanges("X:107716399-107716401")
genomeToProtein(gnm, edbx)

produces

IRanges object with 2 ranges and 8 metadata columns:
          start       end     width |           tx_id    cds_ok         exon_id exon_rank
      <integer> <integer> <integer> |     <character> <logical>     <character> <integer>
  [1]        -1        -1         1 | ENST00000372390      <NA> ENSE00001457675         1
  [2]        -1        -1         1 | ENST00000486554      <NA> ENSE00001927337         1
      seq_start   seq_end    seq_name  seq_strand
      <integer> <integer> <character> <character>
  [1] 107716399 107716401           X           *
  [2] 107716399 107716401           X           *
Warning message:
Provided coordinates for 'ENST00000372390', 'ENST00000486554' are not within the coding region

It also does not work for genes I am interested in, so I guess the problem is in general for all genes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions