Bioconductor / AnnotationHub

Client for the Bioconductor AnnotationHub web resource
16 stars 13 forks source link

Require explict consent when accessing data with restrictive licenses #45

Open mtmorgan opened 11 months ago

mtmorgan commented 11 months ago

For instance, AlphaMissense data is licensed with CC BY-NC-SA 4.0, so users should be made aware of this when using the data (or derived from it).

One solution would be to add a table to the schema, with fields 'hub id' and 'license`, and introduce code into AnnotationHub (and ExperimentHub?) that prompted the user to accept the license before downloading to the local cache. This would be backward compatible. Only licensed data would require an entry. It would not be too invasive for users, with the prompt only on initial access.

It might be useful to provide some way to accept the license in a non-interactive way, e.g., an environment variable ANNOTATION_HUB_ACCEPT_<license> where <license> might be CC_BY_NC_SA_4.0 and / or as an argument to [[.