{"action":"created","comment":{"url":"https://api.github.com/repos/hammerlab/guacamole/pulls/comments/42419949","id":42419949,"diff_hunk":"@@ -162,6 +160,13 @@ class LociSetSuite extends GuacFunSuite with Matchers {\n     set1.union(set2).toString should equal(\"chr1:40-43\")\n   }\n \n+  sparkTest(\"loci set parsing with contig lengths\") {\n+    LociSet.parse(\n+      \"chr1,chr2,17,chr2:3-5,chr20:10-20\",\n+      Some(Map(\"chr1\" -> 10, \"chr2\" -> 20, \"17\" -> 12, \"chr20\" -> 5000))).toString should equal(\n+        \"17:0-12,chr1:0-10,chr2:0-20,chr20:10-20\")","path":"src/test/scala/org/hammerlab/guacamole/LociSetSuite.scala","position":44,"original_position":44,"commit_id":"b9227240892b69eb1033e2ec00481dd47feed5e8","original_commit_id":"b9227240892b69eb1033e2ec00481dd47feed5e8","user":{"login":"timodonnell","id":467896,"avatar_url":"https://avatars.githubusercontent.com/u/467896?v=3","gravatar_id":"","url":"https://api.github.com/users/timodonnell","html_url":"https://github.com/timodonnell","followers_url":"https://api.github.com/users/timodonnell/followers","following_url":"https://api.github.com/users/timodonnell/following{/other_user}","gists_url":"https://api.github.com/users/timodonnell/gists{/gist_id}","starred_url":"https://api.github.com/users/timodonnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timodonnell/subscriptions","organizations_url":"https://api.github.com/users/timodonnell/orgs","repos_url":"https://api.github.com/users/timodonnell/repos","events_url":"https://api.github.com/users/timodonnell/events{/privacy}","received_events_url":"https://api.github.com/users/timodonnell/received_events","type":"User","site_admin":false},"body":"The first `chr2` in the list is just a bare chromosome, which means \"include the whole chromosome\". The second `chr2` in the list is thereofore irrelevant -- we're taking the union of `chr2:0-20` and `chr2:3-5` and get back `chr2:0-20`. Does that make sense?","created_at":"2015-10-19T20:14:43Z","updated_at":"2015-10-19T20:14:43Z","html_url":"https://github.com/hammerlab/guacamole/pull/362#discussion_r42419949","pull_request_url":"https://api.github.com/repos/hammerlab/guacamole/pulls/362","_links":{"self":{"href":"https://api.github.com/repos/hammerlab/guacamole/pulls/comments/42419949"},"html":{"href":"https://github.com/hammerlab/guacamole/pull/362#discussion_r42419949"},"pull_request":{"href":"https://api.github.com/repos/hammerlab/guacamole/pulls/362"}}},"pull_request":{"url":"https://api.github.com/repos/hammerlab/guacamole/pulls/362","id":47481677,"html_url":"https://github.com/hammerlab/guacamole/pull/362","diff_url":"https://github.com/hammerlab/guacamole/pull/362.diff","patch_url":"https://github.com/hammerlab/guacamole/pull/362.patch","issue_url":"https://api.github.com/repos/hammerlab/guacamole/issues/362","number":362,"state":"open","locked":false,"title":"Assorted infra tweaks","user":{"login":"timodonnell","id":467896,"avatar_url":"https://avatars.githubusercontent.com/u/467896?v=3","gravatar_id":"","url":"https://api.github.com/users/timodonnell","html_url":"https://github.com/timodonnell","followers_url":"https://api.github.com/users/timodonnell/followers","following_url":"https://api.github.com/users/timodonnell/following{/other_user}","gists_url":"https://api.github.com/users/timodonnell/gists{/gist_id}","starred_url":"https://api.github.com/users/timodonnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timodonnell/subscriptions","organizations_url":"https://api.github.com/users/timodonnell/orgs","repos_url":"https://api.github.com/users/timodonnell/repos","events_url":"https://api.github.com/users/timodonnell/events{/privacy}","received_events_url":"https://api.github.com/users/timodonnell/received_events","type":"User","site_admin":false},"body":"Some small tweaks I have accumulated in another branch and wanted to get into master:\r\n\r\n* Don't emit alt=N variants in somatic standard\r\n* Base complementing in `Bases`\r\n* `LociSet.parse` accepts strings like `chr1,chr2` instead of requiring start and ends\r\n* Slightly better progress message in Distributed loci partitioning\r\n","created_at":"2015-10-13T01:21:09Z","updated_at":"2015-10-19T20:14:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d1fa05df6279f8b66c623246fb7146d8b99fe0db","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hammerlab/guacamole/pulls/362/commits","review_comments_url":"https://api.github.com/repos/hammerlab/guacamole/pulls/362/comments","review_comment_url":"https://api.github.com/repos/hammerlab/guacamole/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hammerlab/guacamole/issues/362/comments","statuses_url":"https://api.github.com/repos/hammerlab/guacamole/statuses/b9227240892b69eb1033e2ec00481dd47feed5e8","head":{"label":"hammerlab:assorted-infra-tweaks","ref":"assorted-infra-tweaks","sha":"b9227240892b69eb1033e2ec00481dd47feed5e8","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":18748250,"name":"guacamole","full_name":"hammerlab/guacamole","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/guacamole","description":"Simple Spark-based variant calling","fork":false,"url":"https://api.github.com/repos/hammerlab/guacamole","forks_url":"https://api.github.com/repos/hammerlab/guacamole/forks","keys_url":"https://api.github.com/repos/hammerlab/guacamole/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hammerlab/guacamole/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hammerlab/guacamole/teams","hooks_url":"https://api.github.com/repos/hammerlab/guacamole/hooks","issue_events_url":"https://api.github.com/repos/hammerlab/guacamole/issues/events{/number}","events_url":"https://api.github.com/repos/hammerlab/guacamole/events","assignees_url":"https://api.github.com/repos/hammerlab/guacamole/assignees{/user}","branches_url":"https://api.github.com/repos/hammerlab/guacamole/branches{/branch}","tags_url":"https://api.github.com/repos/hammerlab/guacamole/tags","blobs_url":"https://api.github.com/repos/hammerlab/guacamole/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hammerlab/guacamole/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hammerlab/guacamole/git/refs{/sha}","trees_url":"https://api.github.com/repos/hammerlab/guacamole/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hammerlab/guacamole/statuses/{sha}","languages_url":"https://api.github.com/repos/hammerlab/guacamole/languages","stargazers_url":"https://api.github.com/repos/hammerlab/guacamole/stargazers","contributors_url":"https://api.github.com/repos/hammerlab/guacamole/contributors","subscribers_url":"https://api.github.com/repos/hammerlab/guacamole/subscribers","subscription_url":"https://api.github.com/repos/hammerlab/guacamole/subscription","commits_url":"https://api.github.com/repos/hammerlab/guacamole/commits{/sha}","git_commits_url":"https://api.github.com/repos/hammerlab/guacamole/git/commits{/sha}","comments_url":"https://api.github.com/repos/hammerlab/guacamole/comments{/number}","issue_comment_url":"https://api.github.com/repos/hammerlab/guacamole/issues/comments{/number}","contents_url":"https://api.github.com/repos/hammerlab/guacamole/contents/{+path}","compare_url":"https://api.github.com/repos/hammerlab/guacamole/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hammerlab/guacamole/merges","archive_url":"https://api.github.com/repos/hammerlab/guacamole/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hammerlab/guacamole/downloads","issues_url":"https://api.github.com/repos/hammerlab/guacamole/issues{/number}","pulls_url":"https://api.github.com/repos/hammerlab/guacamole/pulls{/number}","milestones_url":"https://api.github.com/repos/hammerlab/guacamole/milestones{/number}","notifications_url":"https://api.github.com/repos/hammerlab/guacamole/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hammerlab/guacamole/labels{/name}","releases_url":"https://api.github.com/repos/hammerlab/guacamole/releases{/id}","created_at":"2014-04-14T04:22:46Z","updated_at":"2015-08-25T12:07:40Z","pushed_at":"2015-10-19T17:07:02Z","git_url":"git://github.com/hammerlab/guacamole.git","ssh_url":"git@github.com:hammerlab/guacamole.git","clone_url":"https://github.com/hammerlab/guacamole.git","svn_url":"https://github.com/hammerlab/guacamole","homepage":"","size":58941,"stargazers_count":43,"watchers_count":43,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":11,"mirror_url":null,"open_issues_count":36,"forks":11,"open_issues":36,"watchers":43,"default_branch":"master"}},"base":{"label":"hammerlab:master","ref":"master","sha":"adde12ba2b41f7290929e6d44c9e929392ee29f6","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":18748250,"name":"guacamole","full_name":"hammerlab/guacamole","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/guacamole","description":"Simple Spark-based variant calling","fork":false,"url":"https://api.github.com/repos/hammerlab/guacamole","forks_url":"https://api.github.com/repos/hammerlab/guacamole/forks","keys_url":"https://api.github.com/repos/hammerlab/guacamole/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hammerlab/guacamole/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hammerlab/guacamole/teams","hooks_url":"https://api.github.com/repos/hammerlab/guacamole/hooks","issue_events_url":"https://api.github.com/repos/hammerlab/guacamole/issues/events{/number}","events_url":"https://api.github.com/repos/hammerlab/guacamole/events","assignees_url":"https://api.github.com/repos/hammerlab/guacamole/assignees{/user}","branches_url":"https://api.github.com/repos/hammerlab/guacamole/branches{/branch}","tags_url":"https://api.github.com/repos/hammerlab/guacamole/tags","blobs_url":"https://api.github.com/repos/hammerlab/guacamole/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hammerlab/guacamole/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hammerlab/guacamole/git/refs{/sha}","trees_url":"https://api.github.com/repos/hammerlab/guacamole/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hammerlab/guacamole/statuses/{sha}","languages_url":"https://api.github.com/repos/hammerlab/guacamole/languages","stargazers_url":"https://api.github.com/repos/hammerlab/guacamole/stargazers","contributors_url":"https://api.github.com/repos/hammerlab/guacamole/contributors","subscribers_url":"https://api.github.com/repos/hammerlab/guacamole/subscribers","subscription_url":"https://api.github.com/repos/hammerlab/guacamole/subscription","commits_url":"https://api.github.com/repos/hammerlab/guacamole/commits{/sha}","git_commits_url":"https://api.github.com/repos/hammerlab/guacamole/git/commits{/sha}","comments_url":"https://api.github.com/repos/hammerlab/guacamole/comments{/number}","issue_comment_url":"https://api.github.com/repos/hammerlab/guacamole/issues/comments{/number}","contents_url":"https://api.github.com/repos/hammerlab/guacamole/contents/{+path}","compare_url":"https://api.github.com/repos/hammerlab/guacamole/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hammerlab/guacamole/merges","archive_url":"https://api.github.com/repos/hammerlab/guacamole/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hammerlab/guacamole/downloads","issues_url":"https://api.github.com/repos/hammerlab/guacamole/issues{/number}","pulls_url":"https://api.github.com/repos/hammerlab/guacamole/pulls{/number}","milestones_url":"https://api.github.com/repos/hammerlab/guacamole/milestones{/number}","notifications_url":"https://api.github.com/repos/hammerlab/guacamole/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hammerlab/guacamole/labels{/name}","releases_url":"https://api.github.com/repos/hammerlab/guacamole/releases{/id}","created_at":"2014-04-14T04:22:46Z","updated_at":"2015-08-25T12:07:40Z","pushed_at":"2015-10-19T17:07:02Z","git_url":"git://github.com/hammerlab/guacamole.git","ssh_url":"git@github.com:hammerlab/guacamole.git","clone_url":"https://github.com/hammerlab/guacamole.git","svn_url":"https://github.com/hammerlab/guacamole","homepage":"","size":58941,"stargazers_count":43,"watchers_count":43,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":11,"mirror_url":null,"open_issues_count":36,"forks":11,"open_issues":36,"watchers":43,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hammerlab/guacamole/pulls/362"},"html":{"href":"https://github.com/hammerlab/guacamole/pull/362"},"issue":{"href":"https://api.github.com/repos/hammerlab/guacamole/issues/362"},"comments":{"href":"https://api.github.com/repos/hammerlab/guacamole/issues/362/comments"},"review_comments":{"href":"https://api.github.com/repos/hammerlab/guacamole/pulls/362/comments"},"review_comment":{"href":"https://api.github.com/repos/hammerlab/guacamole/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hammerlab/guacamole/pulls/362/commits"},"statuses":{"href":"https://api.github.com/repos/hammerlab/guacamole/statuses/b9227240892b69eb1033e2ec00481dd47feed5e8"}}}}