Search
0
4 weeks ago by
lalchungnungabt170 wrote:
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?

modified 4 weeks ago by James W. MacDonald47k • written 4 weeks ago by lalchungnungabt170
1
4 weeks ago by
United States
James W. MacDonald47k wrote:

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.