waldronlab / curatedTCGAData

Curated Data From The Cancer Genome Atlas (TCGA) as MultiAssayExperiment Objects
https://bioconductor.org/packages/curatedTCGAData
41 stars 7 forks source link

cached snapshot data is immutable? #56

Open jeffstang opened 1 year ago

jeffstang commented 1 year ago

Hello, I am trying to download a few TCGA RNASeq datasets separately but for some reason, I ended up creating a snapshot of an instance when I had downloaded BRCA data and now every time I try to save another cohort, it only runs localHub=TRUE and errors out ie:

Using 'localHub=TRUE'
  If offline, please also see BiocManager vignette section on offline use
snapshotDate(): 2023-06-01

Meanwhile, if I try BRCA, it will load it out from the cache like so:

Using 'localHub=TRUE'
  If offline, please also see BiocManager vignette section on offline use
snapshotDate(): 2023-06-01
Working on: BRCA_RNASeqGene-20160128
see ?curatedTCGAData and browseVignettes('curatedTCGAData') for documentation
loading from cache
Working on: BRCA_colData-20160128
see ?curatedTCGAData and browseVignettes('curatedTCGAData') for documentation
loading from cache
Working on: BRCA_metadata-20160128
see ?curatedTCGAData and browseVignettes('curatedTCGAData') for documentation
loading from cache
Working on: BRCA_sampleMap-20160128
see ?curatedTCGAData and browseVignettes('curatedTCGAData') for documentation
loading from cache
harmonizing input:
  removing 14707 sampleMap rows not in names(experiments)
  removing 319 colData rownames not in sampleMap 'primary'

I had it working previously but for some reason, something had changed and I'm not even quite sure how it ended up this way.. Is there a way for me to set localHub = False? If someone has a solution for this, I would greatly appreciate it!

Thanks, Jeff

LiNk-NY commented 5 months ago

Hi Jeff, @jeffstang

Sorry for the late response.

The only time curatedTCGAData uses localHub = TRUE is when there is an timeout error emitted by the calls to ExperimentHub.

Make sure that you have not set your "LOCAL" ExperimentHub::getExperimentHubOption to TRUE somehow.

Best regards, Marcel