Hi,
we are currently trying to embed BaseSpace into our own Amazon-based cloud-framework.
In order to use the full bandwidth of the used instances we need to increase the transfer speed by downloading all files in multiple parts in a heavily parallelized fashion.
For this reason we have created a tool doing just this for files on S3 using the JAVA SDK. [1, 2]
Since BaseSpace files are also S3 files we would like to access them in the same fashion.
However the BaseSpace REST API only specifies a method to retrieve a pre-signed download URL. [3]
While it is basically possible to specify the range attribute in the header of the GET and therefore also possible to build a program to execute parallel downloads, we would like to handle BaseSpace files the same way as we do normal S3 files.
Thus we would like know if it possible to get the bucket and object of BaseSpace files in order to to download them using the S3 API and possibly session credentials.
If not I would like to know if there as a better way to implement multi-part downloads than using the range attribute in the header and the pre-signed URL.
Thank you very much for you help!
---------------------------
[1]
http://aws.amazon.com/sdkforjava/[2]
http://wiki.techfak.uni-bielefeld.de/bibiserv/BiBiS3[3]
https://developer.basespace.illumina.com/docs/content/documentation/rest-api/api-reference#GET%3a_files%2f{Id}%2fcontent