This is a test version of Biostars. For the public version, visit https://www.biostars.org.
gene coordinates from TxDb.Hsapiens.UCSC.hg19.knownGene do not match NCBI gene bank

I retrieved gene cordinates from TxDb.Hsapiens.UCSC.hg19.knownGene using:

gene_info = genes(TxDb.Hsapiens.UCSC.hg19.knownGene)

But I found some of the genes, for example, PTPN20 (id: 26095) is hugely different from NCBI gene bank. It is error information or I am doing something wrong?

subset(gene_info, gene_id=='26095')

GRanges object with 1 range and 1 metadata column:
        seqnames            ranges strand |     gene_id
           <Rle>         <IRanges>  <Rle> | <character>
  26095    chr10 46550123-48827924      - |       26095

The gene coordinates I got from gene bank: https://www.ncbi.nlm.nih.gov/gene/?term=26095

gene

Adding on this, see hg19:

enter image description here

0 answers

No answers yet.

Log in to answer this question.