Bioconductor / GenomicDataCommons

Provide R access to the NCI Genomic Data Commons portal.
http://bioconductor.github.io/GenomicDataCommons/
83 stars 23 forks source link

Proposal for caching behavior--comments. #48

Closed seandavi closed 6 years ago

seandavi commented 6 years ago

We desire a caching behavior for data coming from the NCI GDC. Features might include:

API suggestions:

Considerations:

seandavi commented 6 years ago

Related to #40.

seandavi commented 6 years ago

For the time being, I have:

At this time, I have not used BiocFileCache, but that is because 1) some of the caching using files was already done using files and 2) because I would like to take advantage of the more interesting features of BiocFileCache (metadata, etc.) in the future, but wanted caching behavior first and 3) because I wanted to treat the uuids as the primary key in the "database", enforcing uniqueness and such. As things stand, I leave the BiocFileCache layer to the user. I think doing so represents a nice balance for the time being.

seandavi commented 6 years ago

Related to #45

mtmorgan commented 6 years ago

can this be closed or are you still tracking this?

seandavi commented 6 years ago

We can close for now. I do want to revisit the BiocFileCache approach, but that is going to require a bit of retooling and can wait for another day.