|
Anyone can use the Tranche download proxy to perform downloads. This process can be done by an individual, though it is intended to be used by an application.
Before introducing the complete process, note the process may involve two or three steps. If the resource is cached and immediately available, you (or your application) will skip step two below. (Our proxy server will cache commonly requested projects.) The entire process is just a simple communication between you (or your application) and the server.
Note that some_long represents a signed 8 byte (64-bit) value. Note, only positive values are used. (0 through 2^63-1)
Here's the exact process for using the download proxy:
http://www.proteomecommons.org/data/download/?hash=[HASH]http://www.proteomecommons.org/data/download/?hash=M8IIphZ10aSKil1kd9CRZLHcCzPpsCXKd2npxGboyibBfCZFhnr617CpFSSXMjSVmUkxQUEC8A9PVDiDlT+vuHGOZnAAAAAAAAAFrw==.REQUEST = some_longSTATUS = COMPLETEURL = http://path/to/resourcehttp://www.proteomecommons.org/data/download/update.jsp?request=some_longSTATUS = COMPLETEURL = http://path/to/resourceSTATUS = INCOMPLETEDATA TO DOWNLOAD = some_longDATA DOWNLOADED = some_longSTATUS = FAILEDEXCEPTION: some_exception messageHASH: the_hash_for_the_requestAny interested developer (the service is open to the public, so anyone can write code to use this!) would find it useful to try this activity a few times in a browser. The code required to use this service should be fairly simple.
Say you offer visualization software written in a language of your choice, such as C++, Java, Python, Ruby, etc. You want to offer users the opportunity to share their data seemlessly, as well as offer visualizations from submitted data.
You could use our proxy upload service to upload projects to the Tranche network, and your system could record appropriate projects. The system could then use recorded modules to construct URLs to download the data, and create a fairly simple pipeline without bothering with obtaining storage space or dealing with complex protocols!
Note that if you with to collaborate with us, please contact us at proteomecommons-tranche-users@googlegroups.com. We will do our best to help you, as we are always interested in collaborations.