Closed nsheff closed 1 year ago
I guess this is already possible:
yes, the current bedhost
can get the url of the file for both http and s3:
for bed files: https://github.com/databio/bedhost/blob/master/bedhost/routers/api.py#L213-L238 for bed sets: https://github.com/databio/bedhost/blob/master/bedhost/routers/api.py#L581-L605
How flexible is BEDbase with respect to URLs for the bed files themselves?
We should follow the example in refgenie, where you can give different "remotes", and then specify these when you request data, so the API can broker links to different back-end data sources, for the file data (this is probably not necessary for the database, just for the actual files).