-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
REST API and back-end implementation for auto pick #45
Comments
These routes are now available on the test node:
The return format is different from the route
|
8ddece4 for API |
Wonderful. Sent from my iPhone
|
Is auto pick N50-based? |
No, there is no backend implementation yet. Just an api to work against
|
Ok, this doesn't affect the one-assembler case. Reopening the ticket just to keep track of it. Maybe we should separate this into two.. |
I think we can close them if they are sufficient for the demo milestone, and open new ones that target a future milestone. |
Ok, I'll close it. We do want at least N50-based auto pick for the real demo. That will be a separate ticket. For now, is there a hackish way to look at the N50? Or even a mechanism based on a fixed preferences of assemblers (e.g., spades > idba > velvet)... On May 23, 2014, at 11:47 AM, Christopher Bun notifications@github.com wrote:
|
The truly hackish way would be to serve the quast report and print it and parse it: #46 (comment) Until the compute nodes have stats-generating capability, it will all be a hack. So it is a question of how much energy do we want to spend on a hack for a demo. I think if the REST API is in place, we can develop against it and have the REST server wave hands until the true implementations are created. This way we are putting energy towards code that will persist rather than be scrapped. So developing the client against |
Yes sounds good. |
I've decided that the API shouldn't be overly specific and that the clients should do the sorting work rather than the router... So this is how it works now:
Where Let me know what you think and close this ticket if you agree |
Sounds good. |
I still believe that /job/xyz should have its own top-level rest endpoint (/job/xyz instead of /user/111/job/xyz). I guess we can agree to disagree on that ! |
Can you discuss what benefit this has? I have no problem with global job ids if they are more beneficial. Just grabbing the nearest example... this is issue |
In addition to this, I named one benefit for user-level job IDs which is being able to support some range operator: ar-compare -j 99..105 On May 30, 2014, at 3:03 PM, Christopher Bun notifications@github.com wrote:
|
If I compare things: a github issue: an KBase assembly job (I made up the URL): So on second thought, your design is better. But I think it would be cool to share data and jobs Also, is there a reference REST API for the assembly service (or a working copy / draft) ? |
Jobs could be tagged with "super-cool-set-of-jobs" and then the jobs could be compared with: curl -X POST -H "Authorization: John Smith" -H "Content-Type: application/json" -d '{"pipeline":"MegaComparator", "tag": "super-cool-set-of-jobs", "message":"xyz", "queue":"xyz", "version":"xyz"}' https://assembly.kbase.us/job/new One possible problem with ranges is that if one job failed, then the range is a failure, right ? |
To be used to implement
The text was updated successfully, but these errors were encountered: