{"action":"created","issue":{"url":"https://api.github.com/repos/wtsi-npg/npg_ranger/issues/107","repository_url":"https://api.github.com/repos/wtsi-npg/npg_ranger","labels_url":"https://api.github.com/repos/wtsi-npg/npg_ranger/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/wtsi-npg/npg_ranger/issues/107/comments","events_url":"https://api.github.com/repos/wtsi-npg/npg_ranger/issues/107/events","html_url":"https://github.com/wtsi-npg/npg_ranger/issues/107","id":185143059,"number":107,"title":"straight file serving with byte-range","user":{"login":"dkj","id":1033592,"avatar_url":"https://avatars.githubusercontent.com/u/1033592?v=3","gravatar_id":"","url":"https://api.github.com/users/dkj","html_url":"https://github.com/dkj","followers_url":"https://api.github.com/users/dkj/followers","following_url":"https://api.github.com/users/dkj/following{/other_user}","gists_url":"https://api.github.com/users/dkj/gists{/gist_id}","starred_url":"https://api.github.com/users/dkj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkj/subscriptions","organizations_url":"https://api.github.com/users/dkj/orgs","repos_url":"https://api.github.com/users/dkj/repos","events_url":"https://api.github.com/users/dkj/events{/privacy}","received_events_url":"https://api.github.com/users/dkj/received_events","type":"User","site_admin":false},"labels":[{"id":317361535,"url":"https://api.github.com/repos/wtsi-npg/npg_ranger/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-25T14:58:43Z","updated_at":"2016-11-03T17:06:18Z","closed_at":null,"body":"There's value in using the authorisation layer.\n\nHow about [send](/pillarjs/send) ?\n\nWould be useful for clients which are happy with the cram file.\n\nAlso allows us to expose lots of other data easily.\n"},"comment":{"url":"https://api.github.com/repos/wtsi-npg/npg_ranger/issues/comments/258207603","html_url":"https://github.com/wtsi-npg/npg_ranger/issues/107#issuecomment-258207603","issue_url":"https://api.github.com/repos/wtsi-npg/npg_ranger/issues/107","id":258207603,"user":{"login":"aacn500","id":10963046,"avatar_url":"https://avatars.githubusercontent.com/u/10963046?v=3","gravatar_id":"","url":"https://api.github.com/users/aacn500","html_url":"https://github.com/aacn500","followers_url":"https://api.github.com/users/aacn500/followers","following_url":"https://api.github.com/users/aacn500/following{/other_user}","gists_url":"https://api.github.com/users/aacn500/gists{/gist_id}","starred_url":"https://api.github.com/users/aacn500/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aacn500/subscriptions","organizations_url":"https://api.github.com/users/aacn500/orgs","repos_url":"https://api.github.com/users/aacn500/repos","events_url":"https://api.github.com/users/aacn500/events{/privacy}","received_events_url":"https://api.github.com/users/aacn500/received_events","type":"User","site_admin":false},"created_at":"2016-11-03T17:06:18Z","updated_at":"2016-11-03T17:06:18Z","body":"Do we want to stream files off irods with this? We currently rely on samtools to get files from irods. We could get around this by using iget, but that doesn't support byte ranges afaik, or by creating a C/C++ addon for node that uses the irods development headers that samtools uses (I couldn't find any existing node modules that do this), but that looks like a large investment of time.\r\n\r\nShould this replace the existing '/file' url? Is the ability to ask for a file with a certain name in a different format still required, or can '/file' just serve the file straight without passing through the samtools pipeline?\r\n\r\nWe probably wouldn't need to use send, we can just pipe into the response using [fs](https://nodejs.org/dist/latest-v4.x/docs/api/fs.html#fs_fs_createreadstream_path_options), unless I'm missing something about how this should work?"}}
{"actor":{"display_login":"aacn500"}}