{"action":"opened","number":1043,"pull_request":{"url":"https://api.github.com/repos/vgteam/vg/pulls/1043","id":140997834,"html_url":"https://github.com/vgteam/vg/pull/1043","diff_url":"https://github.com/vgteam/vg/pull/1043.diff","patch_url":"https://github.com/vgteam/vg/pull/1043.patch","issue_url":"https://api.github.com/repos/vgteam/vg/issues/1043","number":1043,"state":"open","locked":false,"title":"Switch to min-position gam lookup in vg chunk","user":{"login":"glennhickey","id":901102,"avatar_url":"https://avatars3.githubusercontent.com/u/901102?v=4","gravatar_id":"","url":"https://api.github.com/users/glennhickey","html_url":"https://github.com/glennhickey","followers_url":"https://api.github.com/users/glennhickey/followers","following_url":"https://api.github.com/users/glennhickey/following{/other_user}","gists_url":"https://api.github.com/users/glennhickey/gists{/gist_id}","starred_url":"https://api.github.com/users/glennhickey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glennhickey/subscriptions","organizations_url":"https://api.github.com/users/glennhickey/orgs","repos_url":"https://api.github.com/users/glennhickey/repos","events_url":"https://api.github.com/users/glennhickey/events{/privacy}","received_events_url":"https://api.github.com/users/glennhickey/received_events","type":"User","site_admin":false},"body":"In most cases in toil-vg, we don't need to check every position in an alignment when pulling mappings by node id, because we're querying by range.   \r\n\r\nSo we switch from Index::for_alignment_to_nodes() to Index::for_alignment_in_range() (which is getting fixed to use min instead of first position in #1041).  Old logic preserved with -A option.  ","created_at":"2017-09-14T07:07:03Z","updated_at":"2017-09-14T07:07:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/vgteam/vg/pulls/1043/commits","review_comments_url":"https://api.github.com/repos/vgteam/vg/pulls/1043/comments","review_comment_url":"https://api.github.com/repos/vgteam/vg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vgteam/vg/issues/1043/comments","statuses_url":"https://api.github.com/repos/vgteam/vg/statuses/803fbb0641f84209d4139296eac1b07c2b4e07dd","head":{"label":"glennhickey:chunk","ref":"chunk","sha":"803fbb0641f84209d4139296eac1b07c2b4e07dd","user":{"login":"glennhickey","id":901102,"avatar_url":"https://avatars3.githubusercontent.com/u/901102?v=4","gravatar_id":"","url":"https://api.github.com/users/glennhickey","html_url":"https://github.com/glennhickey","followers_url":"https://api.github.com/users/glennhickey/followers","following_url":"https://api.github.com/users/glennhickey/following{/other_user}","gists_url":"https://api.github.com/users/glennhickey/gists{/gist_id}","starred_url":"https://api.github.com/users/glennhickey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glennhickey/subscriptions","organizations_url":"https://api.github.com/users/glennhickey/orgs","repos_url":"https://api.github.com/users/glennhickey/repos","events_url":"https://api.github.com/users/glennhickey/events{/privacy}","received_events_url":"https://api.github.com/users/glennhickey/received_events","type":"User","site_admin":false},"repo":{"id":36234691,"name":"vg","full_name":"glennhickey/vg","owner":{"login":"glennhickey","id":901102,"avatar_url":"https://avatars3.githubusercontent.com/u/901102?v=4","gravatar_id":"","url":"https://api.github.com/users/glennhickey","html_url":"https://github.com/glennhickey","followers_url":"https://api.github.com/users/glennhickey/followers","following_url":"https://api.github.com/users/glennhickey/following{/other_user}","gists_url":"https://api.github.com/users/glennhickey/gists{/gist_id}","starred_url":"https://api.github.com/users/glennhickey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glennhickey/subscriptions","organizations_url":"https://api.github.com/users/glennhickey/orgs","repos_url":"https://api.github.com/users/glennhickey/repos","events_url":"https://api.github.com/users/glennhickey/events{/privacy}","received_events_url":"https://api.github.com/users/glennhickey/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/glennhickey/vg","description":"tools for working with variant graphs","fork":true,"url":"https://api.github.com/repos/glennhickey/vg","forks_url":"https://api.github.com/repos/glennhickey/vg/forks","keys_url":"https://api.github.com/repos/glennhickey/vg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/glennhickey/vg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/glennhickey/vg/teams","hooks_url":"https://api.github.com/repos/glennhickey/vg/hooks","issue_events_url":"https://api.github.com/repos/glennhickey/vg/issues/events{/number}","events_url":"https://api.github.com/repos/glennhickey/vg/events","assignees_url":"https://api.github.com/repos/glennhickey/vg/assignees{/user}","branches_url":"https://api.github.com/repos/glennhickey/vg/branches{/branch}","tags_url":"https://api.github.com/repos/glennhickey/vg/tags","blobs_url":"https://api.github.com/repos/glennhickey/vg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/glennhickey/vg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/glennhickey/vg/git/refs{/sha}","trees_url":"https://api.github.com/repos/glennhickey/vg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/glennhickey/vg/statuses/{sha}","languages_url":"https://api.github.com/repos/glennhickey/vg/languages","stargazers_url":"https://api.github.com/repos/glennhickey/vg/stargazers","contributors_url":"https://api.github.com/repos/glennhickey/vg/contributors","subscribers_url":"https://api.github.com/repos/glennhickey/vg/subscribers","subscription_url":"https://api.github.com/repos/glennhickey/vg/subscription","commits_url":"https://api.github.com/repos/glennhickey/vg/commits{/sha}","git_commits_url":"https://api.github.com/repos/glennhickey/vg/git/commits{/sha}","comments_url":"https://api.github.com/repos/glennhickey/vg/comments{/number}","issue_comment_url":"https://api.github.com/repos/glennhickey/vg/issues/comments{/number}","contents_url":"https://api.github.com/repos/glennhickey/vg/contents/{+path}","compare_url":"https://api.github.com/repos/glennhickey/vg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/glennhickey/vg/merges","archive_url":"https://api.github.com/repos/glennhickey/vg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/glennhickey/vg/downloads","issues_url":"https://api.github.com/repos/glennhickey/vg/issues{/number}","pulls_url":"https://api.github.com/repos/glennhickey/vg/pulls{/number}","milestones_url":"https://api.github.com/repos/glennhickey/vg/milestones{/number}","notifications_url":"https://api.github.com/repos/glennhickey/vg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/glennhickey/vg/labels{/name}","releases_url":"https://api.github.com/repos/glennhickey/vg/releases{/id}","deployments_url":"https://api.github.com/repos/glennhickey/vg/deployments","created_at":"2015-05-25T14:08:30Z","updated_at":"2016-02-23T08:50:53Z","pushed_at":"2017-09-14T07:02:05Z","git_url":"git://github.com/glennhickey/vg.git","ssh_url":"git@github.com:glennhickey/vg.git","clone_url":"https://github.com/glennhickey/vg.git","svn_url":"https://github.com/glennhickey/vg","homepage":"https://github.com/ekg/vg#vg","size":20171,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"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":"vgteam:master","ref":"master","sha":"42342de4126476b2f64f953172db40fece1e806e","user":{"login":"vgteam","id":15925452,"avatar_url":"https://avatars1.githubusercontent.com/u/15925452?v=4","gravatar_id":"","url":"https://api.github.com/users/vgteam","html_url":"https://github.com/vgteam","followers_url":"https://api.github.com/users/vgteam/followers","following_url":"https://api.github.com/users/vgteam/following{/other_user}","gists_url":"https://api.github.com/users/vgteam/gists{/gist_id}","starred_url":"https://api.github.com/users/vgteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vgteam/subscriptions","organizations_url":"https://api.github.com/users/vgteam/orgs","repos_url":"https://api.github.com/users/vgteam/repos","events_url":"https://api.github.com/users/vgteam/events{/privacy}","received_events_url":"https://api.github.com/users/vgteam/received_events","type":"Organization","site_admin":false},"repo":{"id":24727800,"name":"vg","full_name":"vgteam/vg","owner":{"login":"vgteam","id":15925452,"avatar_url":"https://avatars1.githubusercontent.com/u/15925452?v=4","gravatar_id":"","url":"https://api.github.com/users/vgteam","html_url":"https://github.com/vgteam","followers_url":"https://api.github.com/users/vgteam/followers","following_url":"https://api.github.com/users/vgteam/following{/other_user}","gists_url":"https://api.github.com/users/vgteam/gists{/gist_id}","starred_url":"https://api.github.com/users/vgteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vgteam/subscriptions","organizations_url":"https://api.github.com/users/vgteam/orgs","repos_url":"https://api.github.com/users/vgteam/repos","events_url":"https://api.github.com/users/vgteam/events{/privacy}","received_events_url":"https://api.github.com/users/vgteam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vgteam/vg","description":"tools for working with genome variation graphs","fork":false,"url":"https://api.github.com/repos/vgteam/vg","forks_url":"https://api.github.com/repos/vgteam/vg/forks","keys_url":"https://api.github.com/repos/vgteam/vg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vgteam/vg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vgteam/vg/teams","hooks_url":"https://api.github.com/repos/vgteam/vg/hooks","issue_events_url":"https://api.github.com/repos/vgteam/vg/issues/events{/number}","events_url":"https://api.github.com/repos/vgteam/vg/events","assignees_url":"https://api.github.com/repos/vgteam/vg/assignees{/user}","branches_url":"https://api.github.com/repos/vgteam/vg/branches{/branch}","tags_url":"https://api.github.com/repos/vgteam/vg/tags","blobs_url":"https://api.github.com/repos/vgteam/vg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vgteam/vg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vgteam/vg/git/refs{/sha}","trees_url":"https://api.github.com/repos/vgteam/vg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vgteam/vg/statuses/{sha}","languages_url":"https://api.github.com/repos/vgteam/vg/languages","stargazers_url":"https://api.github.com/repos/vgteam/vg/stargazers","contributors_url":"https://api.github.com/repos/vgteam/vg/contributors","subscribers_url":"https://api.github.com/repos/vgteam/vg/subscribers","subscription_url":"https://api.github.com/repos/vgteam/vg/subscription","commits_url":"https://api.github.com/repos/vgteam/vg/commits{/sha}","git_commits_url":"https://api.github.com/repos/vgteam/vg/git/commits{/sha}","comments_url":"https://api.github.com/repos/vgteam/vg/comments{/number}","issue_comment_url":"https://api.github.com/repos/vgteam/vg/issues/comments{/number}","contents_url":"https://api.github.com/repos/vgteam/vg/contents/{+path}","compare_url":"https://api.github.com/repos/vgteam/vg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vgteam/vg/merges","archive_url":"https://api.github.com/repos/vgteam/vg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vgteam/vg/downloads","issues_url":"https://api.github.com/repos/vgteam/vg/issues{/number}","pulls_url":"https://api.github.com/repos/vgteam/vg/pulls{/number}","milestones_url":"https://api.github.com/repos/vgteam/vg/milestones{/number}","notifications_url":"https://api.github.com/repos/vgteam/vg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vgteam/vg/labels{/name}","releases_url":"https://api.github.com/repos/vgteam/vg/releases{/id}","deployments_url":"https://api.github.com/repos/vgteam/vg/deployments","created_at":"2014-10-02T16:54:27Z","updated_at":"2017-09-09T16:43:49Z","pushed_at":"2017-09-14T06:14:43Z","git_url":"git://github.com/vgteam/vg.git","ssh_url":"git@github.com:vgteam/vg.git","clone_url":"https://github.com/vgteam/vg.git","svn_url":"https://github.com/vgteam/vg","homepage":"https://github.com/vgteam/vg#vg","size":20307,"stargazers_count":242,"watchers_count":242,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":66,"mirror_url":null,"open_issues_count":203,"forks":66,"open_issues":203,"watchers":242,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vgteam/vg/pulls/1043"},"html":{"href":"https://github.com/vgteam/vg/pull/1043"},"issue":{"href":"https://api.github.com/repos/vgteam/vg/issues/1043"},"comments":{"href":"https://api.github.com/repos/vgteam/vg/issues/1043/comments"},"review_comments":{"href":"https://api.github.com/repos/vgteam/vg/pulls/1043/comments"},"review_comment":{"href":"https://api.github.com/repos/vgteam/vg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vgteam/vg/pulls/1043/commits"},"statuses":{"href":"https://api.github.com/repos/vgteam/vg/statuses/803fbb0641f84209d4139296eac1b07c2b4e07dd"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":83,"deletions":58,"changed_files":3}}
{"actor":{"display_login":"glennhickey"}}