{"action":"created","comment":{"url":"https://api.github.com/repos/genome/genome/pulls/comments/60272776","id":60272776,"diff_hunk":"@@ -364,10 +364,13 @@ sub _generate_summary_information\n     unless (@lq_files) {\n         @lq_files = $build->get_variant_bed_file('snps_all_sequences');\n     }\n-    my $lq_snp_calls = `wc -l @lq_files | tail -n 1`;\n-    $lq_snp_calls =~ s/\\s\\S+\\s*$//i;\n-    $lq_snp_calls =~ s/\\s//g;\n-    my $unfiltered_snp_calls = $filtered_snp_calls + $lq_snp_calls;\n+    my ( $lq_snp_calls, $unfiltered_snp_calls );","path":"lib/perl/Genome/Model/ReferenceAlignment/Report/Summary.pm","position":8,"original_position":8,"commit_id":"f819d91ae7fb1433aaf893656a57fe62c89dcd61","original_commit_id":"f819d91ae7fb1433aaf893656a57fe62c89dcd61","user":{"login":"tmooney","id":187262,"avatar_url":"https://avatars.githubusercontent.com/u/187262?v=3","gravatar_id":"","url":"https://api.github.com/users/tmooney","html_url":"https://github.com/tmooney","followers_url":"https://api.github.com/users/tmooney/followers","following_url":"https://api.github.com/users/tmooney/following{/other_user}","gists_url":"https://api.github.com/users/tmooney/gists{/gist_id}","starred_url":"https://api.github.com/users/tmooney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmooney/subscriptions","organizations_url":"https://api.github.com/users/tmooney/orgs","repos_url":"https://api.github.com/users/tmooney/repos","events_url":"https://api.github.com/users/tmooney/events{/privacy}","received_events_url":"https://api.github.com/users/tmooney/received_events","type":"User","site_admin":false},"body":"`$lq_snp_calls` isn't needed outside of the `if` block.","created_at":"2016-04-19T17:21:58Z","updated_at":"2016-04-19T17:21:58Z","html_url":"https://github.com/genome/genome/pull/1370#discussion_r60272776","pull_request_url":"https://api.github.com/repos/genome/genome/pulls/1370","_links":{"self":{"href":"https://api.github.com/repos/genome/genome/pulls/comments/60272776"},"html":{"href":"https://github.com/genome/genome/pull/1370#discussion_r60272776"},"pull_request":{"href":"https://api.github.com/repos/genome/genome/pulls/1370"}}},"pull_request":{"url":"https://api.github.com/repos/genome/genome/pulls/1370","id":67046157,"html_url":"https://github.com/genome/genome/pull/1370","diff_url":"https://github.com/genome/genome/pull/1370.diff","patch_url":"https://github.com/genome/genome/pull/1370.patch","issue_url":"https://api.github.com/repos/genome/genome/issues/1370","number":1370,"state":"open","locked":false,"title":"fix the test that wait forever for input if the files do not exist.","user":{"login":"sleongmgi","id":18311985,"avatar_url":"https://avatars.githubusercontent.com/u/18311985?v=3","gravatar_id":"","url":"https://api.github.com/users/sleongmgi","html_url":"https://github.com/sleongmgi","followers_url":"https://api.github.com/users/sleongmgi/followers","following_url":"https://api.github.com/users/sleongmgi/following{/other_user}","gists_url":"https://api.github.com/users/sleongmgi/gists{/gist_id}","starred_url":"https://api.github.com/users/sleongmgi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sleongmgi/subscriptions","organizations_url":"https://api.github.com/users/sleongmgi/orgs","repos_url":"https://api.github.com/users/sleongmgi/repos","events_url":"https://api.github.com/users/sleongmgi/events{/privacy}","received_events_url":"https://api.github.com/users/sleongmgi/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-19T16:08:26Z","updated_at":"2016-04-19T17:21:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1a6decd2f8527faf732296be65fc1007311b6252","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/genome/genome/pulls/1370/commits","review_comments_url":"https://api.github.com/repos/genome/genome/pulls/1370/comments","review_comment_url":"https://api.github.com/repos/genome/genome/pulls/comments{/number}","comments_url":"https://api.github.com/repos/genome/genome/issues/1370/comments","statuses_url":"https://api.github.com/repos/genome/genome/statuses/f819d91ae7fb1433aaf893656a57fe62c89dcd61","head":{"label":"sleongmgi:sleong-files-do-not-exist-cause-wait-forever","ref":"sleong-files-do-not-exist-cause-wait-forever","sha":"f819d91ae7fb1433aaf893656a57fe62c89dcd61","user":{"login":"sleongmgi","id":18311985,"avatar_url":"https://avatars.githubusercontent.com/u/18311985?v=3","gravatar_id":"","url":"https://api.github.com/users/sleongmgi","html_url":"https://github.com/sleongmgi","followers_url":"https://api.github.com/users/sleongmgi/followers","following_url":"https://api.github.com/users/sleongmgi/following{/other_user}","gists_url":"https://api.github.com/users/sleongmgi/gists{/gist_id}","starred_url":"https://api.github.com/users/sleongmgi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sleongmgi/subscriptions","organizations_url":"https://api.github.com/users/sleongmgi/orgs","repos_url":"https://api.github.com/users/sleongmgi/repos","events_url":"https://api.github.com/users/sleongmgi/events{/privacy}","received_events_url":"https://api.github.com/users/sleongmgi/received_events","type":"User","site_admin":false},"repo":{"id":55623793,"name":"genome","full_name":"sleongmgi/genome","owner":{"login":"sleongmgi","id":18311985,"avatar_url":"https://avatars.githubusercontent.com/u/18311985?v=3","gravatar_id":"","url":"https://api.github.com/users/sleongmgi","html_url":"https://github.com/sleongmgi","followers_url":"https://api.github.com/users/sleongmgi/followers","following_url":"https://api.github.com/users/sleongmgi/following{/other_user}","gists_url":"https://api.github.com/users/sleongmgi/gists{/gist_id}","starred_url":"https://api.github.com/users/sleongmgi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sleongmgi/subscriptions","organizations_url":"https://api.github.com/users/sleongmgi/orgs","repos_url":"https://api.github.com/users/sleongmgi/repos","events_url":"https://api.github.com/users/sleongmgi/events{/privacy}","received_events_url":"https://api.github.com/users/sleongmgi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sleongmgi/genome","description":"Core modules used by the GMS","fork":true,"url":"https://api.github.com/repos/sleongmgi/genome","forks_url":"https://api.github.com/repos/sleongmgi/genome/forks","keys_url":"https://api.github.com/repos/sleongmgi/genome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sleongmgi/genome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sleongmgi/genome/teams","hooks_url":"https://api.github.com/repos/sleongmgi/genome/hooks","issue_events_url":"https://api.github.com/repos/sleongmgi/genome/issues/events{/number}","events_url":"https://api.github.com/repos/sleongmgi/genome/events","assignees_url":"https://api.github.com/repos/sleongmgi/genome/assignees{/user}","branches_url":"https://api.github.com/repos/sleongmgi/genome/branches{/branch}","tags_url":"https://api.github.com/repos/sleongmgi/genome/tags","blobs_url":"https://api.github.com/repos/sleongmgi/genome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sleongmgi/genome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sleongmgi/genome/git/refs{/sha}","trees_url":"https://api.github.com/repos/sleongmgi/genome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sleongmgi/genome/statuses/{sha}","languages_url":"https://api.github.com/repos/sleongmgi/genome/languages","stargazers_url":"https://api.github.com/repos/sleongmgi/genome/stargazers","contributors_url":"https://api.github.com/repos/sleongmgi/genome/contributors","subscribers_url":"https://api.github.com/repos/sleongmgi/genome/subscribers","subscription_url":"https://api.github.com/repos/sleongmgi/genome/subscription","commits_url":"https://api.github.com/repos/sleongmgi/genome/commits{/sha}","git_commits_url":"https://api.github.com/repos/sleongmgi/genome/git/commits{/sha}","comments_url":"https://api.github.com/repos/sleongmgi/genome/comments{/number}","issue_comment_url":"https://api.github.com/repos/sleongmgi/genome/issues/comments{/number}","contents_url":"https://api.github.com/repos/sleongmgi/genome/contents/{+path}","compare_url":"https://api.github.com/repos/sleongmgi/genome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sleongmgi/genome/merges","archive_url":"https://api.github.com/repos/sleongmgi/genome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sleongmgi/genome/downloads","issues_url":"https://api.github.com/repos/sleongmgi/genome/issues{/number}","pulls_url":"https://api.github.com/repos/sleongmgi/genome/pulls{/number}","milestones_url":"https://api.github.com/repos/sleongmgi/genome/milestones{/number}","notifications_url":"https://api.github.com/repos/sleongmgi/genome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sleongmgi/genome/labels{/name}","releases_url":"https://api.github.com/repos/sleongmgi/genome/releases{/id}","deployments_url":"https://api.github.com/repos/sleongmgi/genome/deployments","created_at":"2016-04-06T16:49:19Z","updated_at":"2016-04-06T16:49:39Z","pushed_at":"2016-04-19T17:20:54Z","git_url":"git://github.com/sleongmgi/genome.git","ssh_url":"git@github.com:sleongmgi/genome.git","clone_url":"https://github.com/sleongmgi/genome.git","svn_url":"https://github.com/sleongmgi/genome","homepage":"","size":179463,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"genome:master","ref":"master","sha":"610cb372e877c78aedc4654f9d87bb393932a19f","user":{"login":"genome","id":318108,"avatar_url":"https://avatars.githubusercontent.com/u/318108?v=3","gravatar_id":"","url":"https://api.github.com/users/genome","html_url":"https://github.com/genome","followers_url":"https://api.github.com/users/genome/followers","following_url":"https://api.github.com/users/genome/following{/other_user}","gists_url":"https://api.github.com/users/genome/gists{/gist_id}","starred_url":"https://api.github.com/users/genome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genome/subscriptions","organizations_url":"https://api.github.com/users/genome/orgs","repos_url":"https://api.github.com/users/genome/repos","events_url":"https://api.github.com/users/genome/events{/privacy}","received_events_url":"https://api.github.com/users/genome/received_events","type":"Organization","site_admin":false},"repo":{"id":23442737,"name":"genome","full_name":"genome/genome","owner":{"login":"genome","id":318108,"avatar_url":"https://avatars.githubusercontent.com/u/318108?v=3","gravatar_id":"","url":"https://api.github.com/users/genome","html_url":"https://github.com/genome","followers_url":"https://api.github.com/users/genome/followers","following_url":"https://api.github.com/users/genome/following{/other_user}","gists_url":"https://api.github.com/users/genome/gists{/gist_id}","starred_url":"https://api.github.com/users/genome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genome/subscriptions","organizations_url":"https://api.github.com/users/genome/orgs","repos_url":"https://api.github.com/users/genome/repos","events_url":"https://api.github.com/users/genome/events{/privacy}","received_events_url":"https://api.github.com/users/genome/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/genome/genome","description":"Core modules used by the GMS","fork":false,"url":"https://api.github.com/repos/genome/genome","forks_url":"https://api.github.com/repos/genome/genome/forks","keys_url":"https://api.github.com/repos/genome/genome/keys{/key_id}","collaborators_url":"https://api.github.com/repos/genome/genome/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/genome/genome/teams","hooks_url":"https://api.github.com/repos/genome/genome/hooks","issue_events_url":"https://api.github.com/repos/genome/genome/issues/events{/number}","events_url":"https://api.github.com/repos/genome/genome/events","assignees_url":"https://api.github.com/repos/genome/genome/assignees{/user}","branches_url":"https://api.github.com/repos/genome/genome/branches{/branch}","tags_url":"https://api.github.com/repos/genome/genome/tags","blobs_url":"https://api.github.com/repos/genome/genome/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/genome/genome/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/genome/genome/git/refs{/sha}","trees_url":"https://api.github.com/repos/genome/genome/git/trees{/sha}","statuses_url":"https://api.github.com/repos/genome/genome/statuses/{sha}","languages_url":"https://api.github.com/repos/genome/genome/languages","stargazers_url":"https://api.github.com/repos/genome/genome/stargazers","contributors_url":"https://api.github.com/repos/genome/genome/contributors","subscribers_url":"https://api.github.com/repos/genome/genome/subscribers","subscription_url":"https://api.github.com/repos/genome/genome/subscription","commits_url":"https://api.github.com/repos/genome/genome/commits{/sha}","git_commits_url":"https://api.github.com/repos/genome/genome/git/commits{/sha}","comments_url":"https://api.github.com/repos/genome/genome/comments{/number}","issue_comment_url":"https://api.github.com/repos/genome/genome/issues/comments{/number}","contents_url":"https://api.github.com/repos/genome/genome/contents/{+path}","compare_url":"https://api.github.com/repos/genome/genome/compare/{base}...{head}","merges_url":"https://api.github.com/repos/genome/genome/merges","archive_url":"https://api.github.com/repos/genome/genome/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/genome/genome/downloads","issues_url":"https://api.github.com/repos/genome/genome/issues{/number}","pulls_url":"https://api.github.com/repos/genome/genome/pulls{/number}","milestones_url":"https://api.github.com/repos/genome/genome/milestones{/number}","notifications_url":"https://api.github.com/repos/genome/genome/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/genome/genome/labels{/name}","releases_url":"https://api.github.com/repos/genome/genome/releases{/id}","deployments_url":"https://api.github.com/repos/genome/genome/deployments","created_at":"2014-08-28T20:59:19Z","updated_at":"2016-02-02T21:16:18Z","pushed_at":"2016-04-19T17:16:41Z","git_url":"git://github.com/genome/genome.git","ssh_url":"git@github.com:genome/genome.git","clone_url":"https://github.com/genome/genome.git","svn_url":"https://github.com/genome/genome","homepage":"","size":192634,"stargazers_count":11,"watchers_count":11,"language":"Perl","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":46,"mirror_url":null,"open_issues_count":23,"forks":46,"open_issues":23,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/genome/genome/pulls/1370"},"html":{"href":"https://github.com/genome/genome/pull/1370"},"issue":{"href":"https://api.github.com/repos/genome/genome/issues/1370"},"comments":{"href":"https://api.github.com/repos/genome/genome/issues/1370/comments"},"review_comments":{"href":"https://api.github.com/repos/genome/genome/pulls/1370/comments"},"review_comment":{"href":"https://api.github.com/repos/genome/genome/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/genome/genome/pulls/1370/commits"},"statuses":{"href":"https://api.github.com/repos/genome/genome/statuses/f819d91ae7fb1433aaf893656a57fe62c89dcd61"}}}}