Question: ".1" being appended to Ensembl Gene IDs from UCSC txdb (dm6)
gravatar for benformatics
3.4 years ago by
ETH Zurich
benformatics1.1k wrote:

When I get the genes (GenomicFeatures function) from a TxDb generated from UCSC using the following command:

txdb.ucsc <- makeTxDbFromUCSC("**dm3**","ensGene")

All the names look like normal ensembl IDs.

FBgn0000003, FBgn0000008, FBgn0000014, etc..

When I switch to the newer Drosophila genome:

txdb.ucsc <- makeTxDbFromUCSC("**dm6**","ensGene")

All the ensembl.ids have a ".1" appended to the end

All the names don't look like normal ensembl IDs.

FBgn0000003.1, FBgn0000008.1, FBgn0000014.1, etc..

Is there something I am missing here to avoid this? Other than this simple fix --> gsub("[.]1$","",names(x))

Even when I fix it, the names are still unique so its not a matter of duplicate names. My question then is really why is it even there...

R org.db ucsc biomart ensembl • 1.0k views
ADD COMMENTlink modified 3.4 years ago by geek_y9.8k • written 3.4 years ago by benformatics1.1k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1044 users visited in the last hour