This looks fantastic Brad and we should be able to integrate it soon. I have a couple questions, though, and I've noted them in the request's comments section. Best, J. On Oct 4, 2012, at 3:44 PM, Brad Chapman wrote:
Hi all; I've been thinking about ways to upload into user histories via the API. My goal is to be able to have an analysis platform that works alongside Galaxy and can easily pass files back and forth through the history.
The tools API turned out to be a great fit for this, since you can remotely call the upload tool with a URL and stream the file in. I was able to get it working with a couple of small tweaks to the existing code. The pull request to galaxy-central is here:
https://bitbucket.org/galaxy/galaxy-central/pull-request/74/tools-api-fixes-...
Using a Clojure wrapper on top of John's blend4j library, I have a small proof of concept with upload/download from Galaxy histories:
https://github.com/chapmanb/clj-blend#usage
Dannon, or anyone else who likes to hack on the API, let me know if there is anything I can do to help get these small fixes merged in for the next release. I'd love to be able to demo this with Galaxy main.
The API rocks, Brad ___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: