Closed methornton closed 4 months ago
It seems like there might have been an issue with the download and only partially downloaded the database. Can you try to force re-download the resource. This should only be done once
library(AnnotationHub)
ah = AnnotationHub()
temp = ah[["AH116860", force=TRUE]]
Hello! Thank you! So that worked.
> ah = AnnotationHub()
snapshotDate(): 2024-04-30
> temp = ah[["AH116860", force=TRUE]]
downloading 1 resources
retrieving 1 resource
|======================================================================| 100%
loading from cache
require(“ensembldb”)
So when I am debugging and re-running the scripts over and over, is there a better way to access the AH that I've downloaded previously without having to redownload it evey time? Here is the code I've been using, which runs over and over.
library(AnnotationHub)
# This will get the proper version of the Ensembl for your data
hub <- AnnotationHub()
query(hub, c("ensdb","homo sapiens","112"))
ensdb <- hub[["AH116860"]]
Once its downloaded once it should not try to download again (unless you add force=TRUE). That code shown should grab the locally downloaded file and not download
Oh Cool! Thank you! I hope you have a nice day!
Hello! I am getting this error with AnnotationHub the ensembl entry for 111 works fine. Can you help me?