makeTxdbFromUCSC fails to download
1
0
Entering edit mode
@lalchungnungabt17-16075
Last seen 22 months ago
Hi, 
The following error occur when trying to download hg19 known gene. I am using rtracklayer 1.38.3

>hg19db <- makeTxDbFromUCSC(genome = "hg19",tablename ="knownGene")
Error in names(trackIds) <- sub("^ ", "", nms[nms != "new"]) : 
  'names' attribute [212] must be the same length as the vector [211]

 

Does anybody have the same problems or knows how to solve this?

Thanks in advance!

maketxdbpackagefromucsc rtracklayer genomicfeatures • 566 views
ADD COMMENT
1
Entering edit mode
@james-w-macdonald-5106
Last seen 11 hours ago
United States

That's an old bug that has been fixed. You seem to be using an old version of R/Bioconductor, and should update.

That said, you don't need to build that TxDb package, as one already exists:

library(BiocInstaller)

biocLite("TxDb.Hsapiens.UCSC.hg19.knownGene")

To get the already-built version of the TxDb that you are trying to build.

ADD COMMENT

Login before adding your answer.

Traffic: 495 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6