{"action":"closed","number":403,"pull_request":{"url":"https://api.github.com/repos/hammerlab/pileup.js/pulls/403","id":59255307,"html_url":"https://github.com/hammerlab/pileup.js/pull/403","diff_url":"https://github.com/hammerlab/pileup.js/pull/403.diff","patch_url":"https://github.com/hammerlab/pileup.js/pull/403.patch","issue_url":"https://api.github.com/repos/hammerlab/pileup.js/issues/403","number":403,"state":"closed","locked":false,"title":"Adding the ability to access BAM files via CGI / samtools","user":{"login":"selkovjr","id":465640,"avatar_url":"https://avatars.githubusercontent.com/u/465640?v=3","gravatar_id":"","url":"https://api.github.com/users/selkovjr","html_url":"https://github.com/selkovjr","followers_url":"https://api.github.com/users/selkovjr/followers","following_url":"https://api.github.com/users/selkovjr/following{/other_user}","gists_url":"https://api.github.com/users/selkovjr/gists{/gist_id}","starred_url":"https://api.github.com/users/selkovjr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selkovjr/subscriptions","organizations_url":"https://api.github.com/users/selkovjr/orgs","repos_url":"https://api.github.com/users/selkovjr/repos","events_url":"https://api.github.com/users/selkovjr/events{/privacy}","received_events_url":"https://api.github.com/users/selkovjr/received_events","type":"User","site_admin":false},"body":"Sorry for jumping in with a possibly dumb idea. I run a massive study of variants where I need to document  small pileup regions (usually no larger than a dozen bases on either side). So far, nobody I know has figured a better way of capturing small pileups than by taking screenshots from Tablet or IGV. That gets tiresome really fast and updating the views with changes in the data is next to impossible.\r\n\r\nThis branch is my first experiment with pileup.js. I have basically achieved what I wanted, and it works great, as long as navigation is disabled. I think I misunderstood the read cache and it overflows while zooming or panning more than a couple steps from the initial view. When that happens, the pileup canvas fails to render (but it is mapped correctly, as I can tell by clicking on invisible reads).\r\n\r\nMaybe I got the whole thing wrong, and I would love to hear from an expert about the proper way of doing it. But even the way it is, it solves the core problem -- I have pileups in web pages linked to data.\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.svg\" height=\"40\" alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/hammerlab/pileup.js/403)\n<!-- Reviewable:end -->\n","created_at":"2016-02-13T02:12:35Z","updated_at":"2016-06-13T16:59:37Z","closed_at":"2016-06-13T16:59:37Z","merged_at":null,"merge_commit_sha":"905bfc72144ebb44cf0ef39999d43a998acac95d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hammerlab/pileup.js/pulls/403/commits","review_comments_url":"https://api.github.com/repos/hammerlab/pileup.js/pulls/403/comments","review_comment_url":"https://api.github.com/repos/hammerlab/pileup.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hammerlab/pileup.js/issues/403/comments","statuses_url":"https://api.github.com/repos/hammerlab/pileup.js/statuses/0da41d761250bc2f36a0909f0be4ff98243d6f18","head":{"label":"selkovjr:master","ref":"master","sha":"0da41d761250bc2f36a0909f0be4ff98243d6f18","user":{"login":"selkovjr","id":465640,"avatar_url":"https://avatars.githubusercontent.com/u/465640?v=3","gravatar_id":"","url":"https://api.github.com/users/selkovjr","html_url":"https://github.com/selkovjr","followers_url":"https://api.github.com/users/selkovjr/followers","following_url":"https://api.github.com/users/selkovjr/following{/other_user}","gists_url":"https://api.github.com/users/selkovjr/gists{/gist_id}","starred_url":"https://api.github.com/users/selkovjr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selkovjr/subscriptions","organizations_url":"https://api.github.com/users/selkovjr/orgs","repos_url":"https://api.github.com/users/selkovjr/repos","events_url":"https://api.github.com/users/selkovjr/events{/privacy}","received_events_url":"https://api.github.com/users/selkovjr/received_events","type":"User","site_admin":false},"repo":{"id":51556668,"name":"pileup.js","full_name":"selkovjr/pileup.js","owner":{"login":"selkovjr","id":465640,"avatar_url":"https://avatars.githubusercontent.com/u/465640?v=3","gravatar_id":"","url":"https://api.github.com/users/selkovjr","html_url":"https://github.com/selkovjr","followers_url":"https://api.github.com/users/selkovjr/followers","following_url":"https://api.github.com/users/selkovjr/following{/other_user}","gists_url":"https://api.github.com/users/selkovjr/gists{/gist_id}","starred_url":"https://api.github.com/users/selkovjr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selkovjr/subscriptions","organizations_url":"https://api.github.com/users/selkovjr/orgs","repos_url":"https://api.github.com/users/selkovjr/repos","events_url":"https://api.github.com/users/selkovjr/events{/privacy}","received_events_url":"https://api.github.com/users/selkovjr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/selkovjr/pileup.js","description":"Interactive in-browser track viewer","fork":true,"url":"https://api.github.com/repos/selkovjr/pileup.js","forks_url":"https://api.github.com/repos/selkovjr/pileup.js/forks","keys_url":"https://api.github.com/repos/selkovjr/pileup.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/selkovjr/pileup.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/selkovjr/pileup.js/teams","hooks_url":"https://api.github.com/repos/selkovjr/pileup.js/hooks","issue_events_url":"https://api.github.com/repos/selkovjr/pileup.js/issues/events{/number}","events_url":"https://api.github.com/repos/selkovjr/pileup.js/events","assignees_url":"https://api.github.com/repos/selkovjr/pileup.js/assignees{/user}","branches_url":"https://api.github.com/repos/selkovjr/pileup.js/branches{/branch}","tags_url":"https://api.github.com/repos/selkovjr/pileup.js/tags","blobs_url":"https://api.github.com/repos/selkovjr/pileup.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/selkovjr/pileup.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/selkovjr/pileup.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/selkovjr/pileup.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/selkovjr/pileup.js/statuses/{sha}","languages_url":"https://api.github.com/repos/selkovjr/pileup.js/languages","stargazers_url":"https://api.github.com/repos/selkovjr/pileup.js/stargazers","contributors_url":"https://api.github.com/repos/selkovjr/pileup.js/contributors","subscribers_url":"https://api.github.com/repos/selkovjr/pileup.js/subscribers","subscription_url":"https://api.github.com/repos/selkovjr/pileup.js/subscription","commits_url":"https://api.github.com/repos/selkovjr/pileup.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/selkovjr/pileup.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/selkovjr/pileup.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/selkovjr/pileup.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/selkovjr/pileup.js/contents/{+path}","compare_url":"https://api.github.com/repos/selkovjr/pileup.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/selkovjr/pileup.js/merges","archive_url":"https://api.github.com/repos/selkovjr/pileup.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/selkovjr/pileup.js/downloads","issues_url":"https://api.github.com/repos/selkovjr/pileup.js/issues{/number}","pulls_url":"https://api.github.com/repos/selkovjr/pileup.js/pulls{/number}","milestones_url":"https://api.github.com/repos/selkovjr/pileup.js/milestones{/number}","notifications_url":"https://api.github.com/repos/selkovjr/pileup.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/selkovjr/pileup.js/labels{/name}","releases_url":"https://api.github.com/repos/selkovjr/pileup.js/releases{/id}","deployments_url":"https://api.github.com/repos/selkovjr/pileup.js/deployments","created_at":"2016-02-11T23:59:04Z","updated_at":"2016-02-11T23:59:05Z","pushed_at":"2016-05-27T02:05:10Z","git_url":"git://github.com/selkovjr/pileup.js.git","ssh_url":"git@github.com:selkovjr/pileup.js.git","clone_url":"https://github.com/selkovjr/pileup.js.git","svn_url":"https://github.com/selkovjr/pileup.js","homepage":null,"size":9038,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hammerlab:master","ref":"master","sha":"e768565103de0d4316a2684b701857dd8fa61346","user":{"login":"hammerlab","id":6563873,"avatar_url":"https://avatars.githubusercontent.com/u/6563873?v=3","gravatar_id":"","url":"https://api.github.com/users/hammerlab","html_url":"https://github.com/hammerlab","followers_url":"https://api.github.com/users/hammerlab/followers","following_url":"https://api.github.com/users/hammerlab/following{/other_user}","gists_url":"https://api.github.com/users/hammerlab/gists{/gist_id}","starred_url":"https://api.github.com/users/hammerlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hammerlab/subscriptions","organizations_url":"https://api.github.com/users/hammerlab/orgs","repos_url":"https://api.github.com/users/hammerlab/repos","events_url":"https://api.github.com/users/hammerlab/events{/privacy}","received_events_url":"https://api.github.com/users/hammerlab/received_events","type":"Organization","site_admin":false},"repo":{"id":29933736,"name":"pileup.js","full_name":"hammerlab/pileup.js","owner":{"login":"hammerlab","id":6563873,"avatar_url":"https://avatars.githubusercontent.com/u/6563873?v=3","gravatar_id":"","url":"https://api.github.com/users/hammerlab","html_url":"https://github.com/hammerlab","followers_url":"https://api.github.com/users/hammerlab/followers","following_url":"https://api.github.com/users/hammerlab/following{/other_user}","gists_url":"https://api.github.com/users/hammerlab/gists{/gist_id}","starred_url":"https://api.github.com/users/hammerlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hammerlab/subscriptions","organizations_url":"https://api.github.com/users/hammerlab/orgs","repos_url":"https://api.github.com/users/hammerlab/repos","events_url":"https://api.github.com/users/hammerlab/events{/privacy}","received_events_url":"https://api.github.com/users/hammerlab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hammerlab/pileup.js","description":"Interactive in-browser track viewer","fork":false,"url":"https://api.github.com/repos/hammerlab/pileup.js","forks_url":"https://api.github.com/repos/hammerlab/pileup.js/forks","keys_url":"https://api.github.com/repos/hammerlab/pileup.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hammerlab/pileup.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hammerlab/pileup.js/teams","hooks_url":"https://api.github.com/repos/hammerlab/pileup.js/hooks","issue_events_url":"https://api.github.com/repos/hammerlab/pileup.js/issues/events{/number}","events_url":"https://api.github.com/repos/hammerlab/pileup.js/events","assignees_url":"https://api.github.com/repos/hammerlab/pileup.js/assignees{/user}","branches_url":"https://api.github.com/repos/hammerlab/pileup.js/branches{/branch}","tags_url":"https://api.github.com/repos/hammerlab/pileup.js/tags","blobs_url":"https://api.github.com/repos/hammerlab/pileup.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hammerlab/pileup.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hammerlab/pileup.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/hammerlab/pileup.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hammerlab/pileup.js/statuses/{sha}","languages_url":"https://api.github.com/repos/hammerlab/pileup.js/languages","stargazers_url":"https://api.github.com/repos/hammerlab/pileup.js/stargazers","contributors_url":"https://api.github.com/repos/hammerlab/pileup.js/contributors","subscribers_url":"https://api.github.com/repos/hammerlab/pileup.js/subscribers","subscription_url":"https://api.github.com/repos/hammerlab/pileup.js/subscription","commits_url":"https://api.github.com/repos/hammerlab/pileup.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/hammerlab/pileup.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/hammerlab/pileup.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/hammerlab/pileup.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/hammerlab/pileup.js/contents/{+path}","compare_url":"https://api.github.com/repos/hammerlab/pileup.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hammerlab/pileup.js/merges","archive_url":"https://api.github.com/repos/hammerlab/pileup.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hammerlab/pileup.js/downloads","issues_url":"https://api.github.com/repos/hammerlab/pileup.js/issues{/number}","pulls_url":"https://api.github.com/repos/hammerlab/pileup.js/pulls{/number}","milestones_url":"https://api.github.com/repos/hammerlab/pileup.js/milestones{/number}","notifications_url":"https://api.github.com/repos/hammerlab/pileup.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hammerlab/pileup.js/labels{/name}","releases_url":"https://api.github.com/repos/hammerlab/pileup.js/releases{/id}","deployments_url":"https://api.github.com/repos/hammerlab/pileup.js/deployments","created_at":"2015-01-27T20:36:43Z","updated_at":"2016-06-08T11:09:46Z","pushed_at":"2016-06-13T16:56:43Z","git_url":"git://github.com/hammerlab/pileup.js.git","ssh_url":"git@github.com:hammerlab/pileup.js.git","clone_url":"https://github.com/hammerlab/pileup.js.git","svn_url":"https://github.com/hammerlab/pileup.js","homepage":null,"size":9975,"stargazers_count":124,"watchers_count":124,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":65,"forks":16,"open_issues":65,"watchers":124,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hammerlab/pileup.js/pulls/403"},"html":{"href":"https://github.com/hammerlab/pileup.js/pull/403"},"issue":{"href":"https://api.github.com/repos/hammerlab/pileup.js/issues/403"},"comments":{"href":"https://api.github.com/repos/hammerlab/pileup.js/issues/403/comments"},"review_comments":{"href":"https://api.github.com/repos/hammerlab/pileup.js/pulls/403/comments"},"review_comment":{"href":"https://api.github.com/repos/hammerlab/pileup.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hammerlab/pileup.js/pulls/403/commits"},"statuses":{"href":"https://api.github.com/repos/hammerlab/pileup.js/statuses/0da41d761250bc2f36a0909f0be4ff98243d6f18"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":5,"review_comments":2,"commits":21,"additions":715,"deletions":68,"changed_files":18}}
{"actor":{"display_login":"ihodes"}}