{"action":"created","comment":{"url":"https://api.github.com/repos/hammerlab/pileup.js/pulls/comments/70824028","id":70824028,"diff_hunk":"@@ -0,0 +1,163 @@\n+/**\n+ * @flow\n+ */\n+'use strict';\n+\n+import _ from 'underscore';\n+\n+import type {DataCanvasRenderingContext2D} from 'data-canvas';\n+import ContigInterval from '../ContigInterval';\n+import TiledCanvas from './TiledCanvas';\n+import scale from '../scale';\n+import type {BinSummary} from './CoverageCache';\n+import style from '../style';\n+import DepthCache from './DepthCache';","path":"src/main/viz/CoverageTiledCanvas.js","position":14,"original_position":14,"commit_id":"6a5d12f9dbf8bdc18012bc6d38ea875cf0972ddf","original_commit_id":"6a5d12f9dbf8bdc18012bc6d38ea875cf0972ddf","user":{"login":"armish","id":7809,"avatar_url":"https://avatars.githubusercontent.com/u/7809?v=3","gravatar_id":"","url":"https://api.github.com/users/armish","html_url":"https://github.com/armish","followers_url":"https://api.github.com/users/armish/followers","following_url":"https://api.github.com/users/armish/following{/other_user}","gists_url":"https://api.github.com/users/armish/gists{/gist_id}","starred_url":"https://api.github.com/users/armish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armish/subscriptions","organizations_url":"https://api.github.com/users/armish/orgs","repos_url":"https://api.github.com/users/armish/repos","events_url":"https://api.github.com/users/armish/events{/privacy}","received_events_url":"https://api.github.com/users/armish/received_events","type":"User","site_admin":false},"body":"`import type DepthCache from './DepthCache'; ` (see my other comment)","created_at":"2016-07-14T15:13:50Z","updated_at":"2016-07-14T15:13:50Z","html_url":"https://github.com/hammerlab/pileup.js/pull/430#discussion_r70824028","pull_request_url":"https://api.github.com/repos/hammerlab/pileup.js/pulls/430","_links":{"self":{"href":"https://api.github.com/repos/hammerlab/pileup.js/pulls/comments/70824028"},"html":{"href":"https://github.com/hammerlab/pileup.js/pull/430#discussion_r70824028"},"pull_request":{"href":"https://api.github.com/repos/hammerlab/pileup.js/pulls/430"}}},"pull_request":{"url":"https://api.github.com/repos/hammerlab/pileup.js/pulls/430","id":77154122,"html_url":"https://github.com/hammerlab/pileup.js/pull/430","diff_url":"https://github.com/hammerlab/pileup.js/pull/430.diff","patch_url":"https://github.com/hammerlab/pileup.js/pull/430.patch","issue_url":"https://api.github.com/repos/hammerlab/pileup.js/issues/430","number":430,"state":"open","locked":false,"title":"Working draft: BigWig support","user":{"login":"ryan-williams","id":465045,"avatar_url":"https://avatars.githubusercontent.com/u/465045?v=3","gravatar_id":"","url":"https://api.github.com/users/ryan-williams","html_url":"https://github.com/ryan-williams","followers_url":"https://api.github.com/users/ryan-williams/followers","following_url":"https://api.github.com/users/ryan-williams/following{/other_user}","gists_url":"https://api.github.com/users/ryan-williams/gists{/gist_id}","starred_url":"https://api.github.com/users/ryan-williams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryan-williams/subscriptions","organizations_url":"https://api.github.com/users/ryan-williams/orgs","repos_url":"https://api.github.com/users/ryan-williams/repos","events_url":"https://api.github.com/users/ryan-williams/events{/privacy}","received_events_url":"https://api.github.com/users/ryan-williams/received_events","type":"User","site_admin":false},"body":"This doesn't work yet! Just going to use this PR to collaborate with @armish while we work on this today.\r\n\r\n<!-- Reviewable:start -->\r\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/hammerlab/pileup.js/430)\r\n<!-- Reviewable:end -->\r\n","created_at":"2016-07-12T17:02:43Z","updated_at":"2016-07-14T15:13:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8296bbbfa1f1870ff8daf5e245e1c9ecd56c0ae9","assignee":{"login":"armish","id":7809,"avatar_url":"https://avatars.githubusercontent.com/u/7809?v=3","gravatar_id":"","url":"https://api.github.com/users/armish","html_url":"https://github.com/armish","followers_url":"https://api.github.com/users/armish/followers","following_url":"https://api.github.com/users/armish/following{/other_user}","gists_url":"https://api.github.com/users/armish/gists{/gist_id}","starred_url":"https://api.github.com/users/armish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armish/subscriptions","organizations_url":"https://api.github.com/users/armish/orgs","repos_url":"https://api.github.com/users/armish/repos","events_url":"https://api.github.com/users/armish/events{/privacy}","received_events_url":"https://api.github.com/users/armish/received_events","type":"User","site_admin":false},"assignees":[{"login":"armish","id":7809,"avatar_url":"https://avatars.githubusercontent.com/u/7809?v=3","gravatar_id":"","url":"https://api.github.com/users/armish","html_url":"https://github.com/armish","followers_url":"https://api.github.com/users/armish/followers","following_url":"https://api.github.com/users/armish/following{/other_user}","gists_url":"https://api.github.com/users/armish/gists{/gist_id}","starred_url":"https://api.github.com/users/armish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armish/subscriptions","organizations_url":"https://api.github.com/users/armish/orgs","repos_url":"https://api.github.com/users/armish/repos","events_url":"https://api.github.com/users/armish/events{/privacy}","received_events_url":"https://api.github.com/users/armish/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/hammerlab/pileup.js/pulls/430/commits","review_comments_url":"https://api.github.com/repos/hammerlab/pileup.js/pulls/430/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/430/comments","statuses_url":"https://api.github.com/repos/hammerlab/pileup.js/statuses/6a5d12f9dbf8bdc18012bc6d38ea875cf0972ddf","head":{"label":"ryan-williams:master","ref":"master","sha":"6a5d12f9dbf8bdc18012bc6d38ea875cf0972ddf","user":{"login":"ryan-williams","id":465045,"avatar_url":"https://avatars.githubusercontent.com/u/465045?v=3","gravatar_id":"","url":"https://api.github.com/users/ryan-williams","html_url":"https://github.com/ryan-williams","followers_url":"https://api.github.com/users/ryan-williams/followers","following_url":"https://api.github.com/users/ryan-williams/following{/other_user}","gists_url":"https://api.github.com/users/ryan-williams/gists{/gist_id}","starred_url":"https://api.github.com/users/ryan-williams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryan-williams/subscriptions","organizations_url":"https://api.github.com/users/ryan-williams/orgs","repos_url":"https://api.github.com/users/ryan-williams/repos","events_url":"https://api.github.com/users/ryan-williams/events{/privacy}","received_events_url":"https://api.github.com/users/ryan-williams/received_events","type":"User","site_admin":false},"repo":{"id":62850589,"name":"pileup.js","full_name":"ryan-williams/pileup.js","owner":{"login":"ryan-williams","id":465045,"avatar_url":"https://avatars.githubusercontent.com/u/465045?v=3","gravatar_id":"","url":"https://api.github.com/users/ryan-williams","html_url":"https://github.com/ryan-williams","followers_url":"https://api.github.com/users/ryan-williams/followers","following_url":"https://api.github.com/users/ryan-williams/following{/other_user}","gists_url":"https://api.github.com/users/ryan-williams/gists{/gist_id}","starred_url":"https://api.github.com/users/ryan-williams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryan-williams/subscriptions","organizations_url":"https://api.github.com/users/ryan-williams/orgs","repos_url":"https://api.github.com/users/ryan-williams/repos","events_url":"https://api.github.com/users/ryan-williams/events{/privacy}","received_events_url":"https://api.github.com/users/ryan-williams/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryan-williams/pileup.js","description":"Interactive in-browser track viewer","fork":true,"url":"https://api.github.com/repos/ryan-williams/pileup.js","forks_url":"https://api.github.com/repos/ryan-williams/pileup.js/forks","keys_url":"https://api.github.com/repos/ryan-williams/pileup.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryan-williams/pileup.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryan-williams/pileup.js/teams","hooks_url":"https://api.github.com/repos/ryan-williams/pileup.js/hooks","issue_events_url":"https://api.github.com/repos/ryan-williams/pileup.js/issues/events{/number}","events_url":"https://api.github.com/repos/ryan-williams/pileup.js/events","assignees_url":"https://api.github.com/repos/ryan-williams/pileup.js/assignees{/user}","branches_url":"https://api.github.com/repos/ryan-williams/pileup.js/branches{/branch}","tags_url":"https://api.github.com/repos/ryan-williams/pileup.js/tags","blobs_url":"https://api.github.com/repos/ryan-williams/pileup.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryan-williams/pileup.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryan-williams/pileup.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryan-williams/pileup.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryan-williams/pileup.js/statuses/{sha}","languages_url":"https://api.github.com/repos/ryan-williams/pileup.js/languages","stargazers_url":"https://api.github.com/repos/ryan-williams/pileup.js/stargazers","contributors_url":"https://api.github.com/repos/ryan-williams/pileup.js/contributors","subscribers_url":"https://api.github.com/repos/ryan-williams/pileup.js/subscribers","subscription_url":"https://api.github.com/repos/ryan-williams/pileup.js/subscription","commits_url":"https://api.github.com/repos/ryan-williams/pileup.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryan-williams/pileup.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryan-williams/pileup.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryan-williams/pileup.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryan-williams/pileup.js/contents/{+path}","compare_url":"https://api.github.com/repos/ryan-williams/pileup.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryan-williams/pileup.js/merges","archive_url":"https://api.github.com/repos/ryan-williams/pileup.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryan-williams/pileup.js/downloads","issues_url":"https://api.github.com/repos/ryan-williams/pileup.js/issues{/number}","pulls_url":"https://api.github.com/repos/ryan-williams/pileup.js/pulls{/number}","milestones_url":"https://api.github.com/repos/ryan-williams/pileup.js/milestones{/number}","notifications_url":"https://api.github.com/repos/ryan-williams/pileup.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryan-williams/pileup.js/labels{/name}","releases_url":"https://api.github.com/repos/ryan-williams/pileup.js/releases{/id}","deployments_url":"https://api.github.com/repos/ryan-williams/pileup.js/deployments","created_at":"2016-07-08T01:52:37Z","updated_at":"2016-07-08T01:52:39Z","pushed_at":"2016-07-14T03:26:45Z","git_url":"git://github.com/ryan-williams/pileup.js.git","ssh_url":"git@github.com:ryan-williams/pileup.js.git","clone_url":"https://github.com/ryan-williams/pileup.js.git","svn_url":"https://github.com/ryan-williams/pileup.js","homepage":null,"size":9376,"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":"55dc2213a9ccf6bdb336f402a42e0632776f8e7c","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-07-09T23:42:33Z","pushed_at":"2016-07-14T03:26:49Z","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":10080,"stargazers_count":134,"watchers_count":134,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":69,"forks":20,"open_issues":69,"watchers":134,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hammerlab/pileup.js/pulls/430"},"html":{"href":"https://github.com/hammerlab/pileup.js/pull/430"},"issue":{"href":"https://api.github.com/repos/hammerlab/pileup.js/issues/430"},"comments":{"href":"https://api.github.com/repos/hammerlab/pileup.js/issues/430/comments"},"review_comments":{"href":"https://api.github.com/repos/hammerlab/pileup.js/pulls/430/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/430/commits"},"statuses":{"href":"https://api.github.com/repos/hammerlab/pileup.js/statuses/6a5d12f9dbf8bdc18012bc6d38ea875cf0972ddf"}}}}
{"actor":{"display_login":"armish"}}