{"action":"created","comment":{"url":"https://api.github.com/repos/PacificBiosciences/FALCON/pulls/comments/76458161","id":76458161,"diff_hunk":"@@ -198,6 +192,7 @@ def calc_dict(\n         length_cutoff,\n     ):\n     frag = metric_fragmentation('0-rawreads/preads')\n+    trunc = metric_truncation(i_raw_reads_db_fn, '0-rawreads/preads')","path":"falcon_kit/stats_preassembly.py","position":68,"original_position":68,"commit_id":"afb921b78e7990e542e8b2c06322bc8f8c5c2412","original_commit_id":"afb921b78e7990e542e8b2c06322bc8f8c5c2412","user":{"login":"pbjd","id":3867964,"avatar_url":"https://avatars.githubusercontent.com/u/3867964?v=3","gravatar_id":"","url":"https://api.github.com/users/pbjd","html_url":"https://github.com/pbjd","followers_url":"https://api.github.com/users/pbjd/followers","following_url":"https://api.github.com/users/pbjd/following{/other_user}","gists_url":"https://api.github.com/users/pbjd/gists{/gist_id}","starred_url":"https://api.github.com/users/pbjd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbjd/subscriptions","organizations_url":"https://api.github.com/users/pbjd/orgs","repos_url":"https://api.github.com/users/pbjd/repos","events_url":"https://api.github.com/users/pbjd/events{/privacy}","received_events_url":"https://api.github.com/users/pbjd/received_events","type":"User","site_admin":false},"body":"try/catch guard here to catch potential KeyError exception from average_difference method?  Otherwise, assembly may fail at pread stage just because of a report.","created_at":"2016-08-26T17:41:34Z","updated_at":"2016-08-26T17:41:34Z","html_url":"https://github.com/PacificBiosciences/FALCON/pull/437#discussion_r76458161","pull_request_url":"https://api.github.com/repos/PacificBiosciences/FALCON/pulls/437","_links":{"self":{"href":"https://api.github.com/repos/PacificBiosciences/FALCON/pulls/comments/76458161"},"html":{"href":"https://github.com/PacificBiosciences/FALCON/pull/437#discussion_r76458161"},"pull_request":{"href":"https://api.github.com/repos/PacificBiosciences/FALCON/pulls/437"}}},"pull_request":{"url":"https://api.github.com/repos/PacificBiosciences/FALCON/pulls/437","id":82917746,"html_url":"https://github.com/PacificBiosciences/FALCON/pull/437","diff_url":"https://github.com/PacificBiosciences/FALCON/pull/437.diff","patch_url":"https://github.com/PacificBiosciences/FALCON/pull/437.patch","issue_url":"https://api.github.com/repos/PacificBiosciences/FALCON/issues/437","number":437,"state":"open","locked":false,"title":"Trunc","user":{"login":"pb-cdunn","id":12086299,"avatar_url":"https://avatars.githubusercontent.com/u/12086299?v=3","gravatar_id":"","url":"https://api.github.com/users/pb-cdunn","html_url":"https://github.com/pb-cdunn","followers_url":"https://api.github.com/users/pb-cdunn/followers","following_url":"https://api.github.com/users/pb-cdunn/following{/other_user}","gists_url":"https://api.github.com/users/pb-cdunn/gists{/gist_id}","starred_url":"https://api.github.com/users/pb-cdunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pb-cdunn/subscriptions","organizations_url":"https://api.github.com/users/pb-cdunn/orgs","repos_url":"https://api.github.com/users/pb-cdunn/repos","events_url":"https://api.github.com/users/pb-cdunn/events{/privacy}","received_events_url":"https://api.github.com/users/pb-cdunn/received_events","type":"User","site_admin":false},"body":"https://jira.pacificbiosciences.com/browse/SAT-212\r\n\r\nThis is the average number of bases lost per seed read, for seeds retained in pre-assembly.\r\n\r\nAlso add a functional test for fragmentation.","created_at":"2016-08-26T16:37:43Z","updated_at":"2016-08-26T17:41:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a794bd9032bc9f9635a23e030dfcf5ff82024fbe","assignee":{"login":"pbjd","id":3867964,"avatar_url":"https://avatars.githubusercontent.com/u/3867964?v=3","gravatar_id":"","url":"https://api.github.com/users/pbjd","html_url":"https://github.com/pbjd","followers_url":"https://api.github.com/users/pbjd/followers","following_url":"https://api.github.com/users/pbjd/following{/other_user}","gists_url":"https://api.github.com/users/pbjd/gists{/gist_id}","starred_url":"https://api.github.com/users/pbjd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbjd/subscriptions","organizations_url":"https://api.github.com/users/pbjd/orgs","repos_url":"https://api.github.com/users/pbjd/repos","events_url":"https://api.github.com/users/pbjd/events{/privacy}","received_events_url":"https://api.github.com/users/pbjd/received_events","type":"User","site_admin":false},"assignees":[{"login":"pbjd","id":3867964,"avatar_url":"https://avatars.githubusercontent.com/u/3867964?v=3","gravatar_id":"","url":"https://api.github.com/users/pbjd","html_url":"https://github.com/pbjd","followers_url":"https://api.github.com/users/pbjd/followers","following_url":"https://api.github.com/users/pbjd/following{/other_user}","gists_url":"https://api.github.com/users/pbjd/gists{/gist_id}","starred_url":"https://api.github.com/users/pbjd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbjd/subscriptions","organizations_url":"https://api.github.com/users/pbjd/orgs","repos_url":"https://api.github.com/users/pbjd/repos","events_url":"https://api.github.com/users/pbjd/events{/privacy}","received_events_url":"https://api.github.com/users/pbjd/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/PacificBiosciences/FALCON/pulls/437/commits","review_comments_url":"https://api.github.com/repos/PacificBiosciences/FALCON/pulls/437/comments","review_comment_url":"https://api.github.com/repos/PacificBiosciences/FALCON/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PacificBiosciences/FALCON/issues/437/comments","statuses_url":"https://api.github.com/repos/PacificBiosciences/FALCON/statuses/afb921b78e7990e542e8b2c06322bc8f8c5c2412","head":{"label":"PacificBiosciences:trunc","ref":"trunc","sha":"afb921b78e7990e542e8b2c06322bc8f8c5c2412","user":{"login":"PacificBiosciences","id":999745,"avatar_url":"https://avatars.githubusercontent.com/u/999745?v=3","gravatar_id":"","url":"https://api.github.com/users/PacificBiosciences","html_url":"https://github.com/PacificBiosciences","followers_url":"https://api.github.com/users/PacificBiosciences/followers","following_url":"https://api.github.com/users/PacificBiosciences/following{/other_user}","gists_url":"https://api.github.com/users/PacificBiosciences/gists{/gist_id}","starred_url":"https://api.github.com/users/PacificBiosciences/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PacificBiosciences/subscriptions","organizations_url":"https://api.github.com/users/PacificBiosciences/orgs","repos_url":"https://api.github.com/users/PacificBiosciences/repos","events_url":"https://api.github.com/users/PacificBiosciences/events{/privacy}","received_events_url":"https://api.github.com/users/PacificBiosciences/received_events","type":"Organization","site_admin":false},"repo":{"id":15717188,"name":"FALCON","full_name":"PacificBiosciences/FALCON","owner":{"login":"PacificBiosciences","id":999745,"avatar_url":"https://avatars.githubusercontent.com/u/999745?v=3","gravatar_id":"","url":"https://api.github.com/users/PacificBiosciences","html_url":"https://github.com/PacificBiosciences","followers_url":"https://api.github.com/users/PacificBiosciences/followers","following_url":"https://api.github.com/users/PacificBiosciences/following{/other_user}","gists_url":"https://api.github.com/users/PacificBiosciences/gists{/gist_id}","starred_url":"https://api.github.com/users/PacificBiosciences/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PacificBiosciences/subscriptions","organizations_url":"https://api.github.com/users/PacificBiosciences/orgs","repos_url":"https://api.github.com/users/PacificBiosciences/repos","events_url":"https://api.github.com/users/PacificBiosciences/events{/privacy}","received_events_url":"https://api.github.com/users/PacificBiosciences/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PacificBiosciences/FALCON","description":"FALCON: experimental PacBio diploid assembler","fork":false,"url":"https://api.github.com/repos/PacificBiosciences/FALCON","forks_url":"https://api.github.com/repos/PacificBiosciences/FALCON/forks","keys_url":"https://api.github.com/repos/PacificBiosciences/FALCON/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PacificBiosciences/FALCON/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PacificBiosciences/FALCON/teams","hooks_url":"https://api.github.com/repos/PacificBiosciences/FALCON/hooks","issue_events_url":"https://api.github.com/repos/PacificBiosciences/FALCON/issues/events{/number}","events_url":"https://api.github.com/repos/PacificBiosciences/FALCON/events","assignees_url":"https://api.github.com/repos/PacificBiosciences/FALCON/assignees{/user}","branches_url":"https://api.github.com/repos/PacificBiosciences/FALCON/branches{/branch}","tags_url":"https://api.github.com/repos/PacificBiosciences/FALCON/tags","blobs_url":"https://api.github.com/repos/PacificBiosciences/FALCON/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PacificBiosciences/FALCON/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PacificBiosciences/FALCON/git/refs{/sha}","trees_url":"https://api.github.com/repos/PacificBiosciences/FALCON/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PacificBiosciences/FALCON/statuses/{sha}","languages_url":"https://api.github.com/repos/PacificBiosciences/FALCON/languages","stargazers_url":"https://api.github.com/repos/PacificBiosciences/FALCON/stargazers","contributors_url":"https://api.github.com/repos/PacificBiosciences/FALCON/contributors","subscribers_url":"https://api.github.com/repos/PacificBiosciences/FALCON/subscribers","subscription_url":"https://api.github.com/repos/PacificBiosciences/FALCON/subscription","commits_url":"https://api.github.com/repos/PacificBiosciences/FALCON/commits{/sha}","git_commits_url":"https://api.github.com/repos/PacificBiosciences/FALCON/git/commits{/sha}","comments_url":"https://api.github.com/repos/PacificBiosciences/FALCON/comments{/number}","issue_comment_url":"https://api.github.com/repos/PacificBiosciences/FALCON/issues/comments{/number}","contents_url":"https://api.github.com/repos/PacificBiosciences/FALCON/contents/{+path}","compare_url":"https://api.github.com/repos/PacificBiosciences/FALCON/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PacificBiosciences/FALCON/merges","archive_url":"https://api.github.com/repos/PacificBiosciences/FALCON/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PacificBiosciences/FALCON/downloads","issues_url":"https://api.github.com/repos/PacificBiosciences/FALCON/issues{/number}","pulls_url":"https://api.github.com/repos/PacificBiosciences/FALCON/pulls{/number}","milestones_url":"https://api.github.com/repos/PacificBiosciences/FALCON/milestones{/number}","notifications_url":"https://api.github.com/repos/PacificBiosciences/FALCON/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PacificBiosciences/FALCON/labels{/name}","releases_url":"https://api.github.com/repos/PacificBiosciences/FALCON/releases{/id}","deployments_url":"https://api.github.com/repos/PacificBiosciences/FALCON/deployments","created_at":"2014-01-07T21:26:12Z","updated_at":"2016-08-24T14:25:01Z","pushed_at":"2016-08-26T17:33:13Z","git_url":"git://github.com/PacificBiosciences/FALCON.git","ssh_url":"git@github.com:PacificBiosciences/FALCON.git","clone_url":"https://github.com/PacificBiosciences/FALCON.git","svn_url":"https://github.com/PacificBiosciences/FALCON","homepage":"","size":1485,"stargazers_count":78,"watchers_count":78,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":55,"mirror_url":null,"open_issues_count":76,"forks":55,"open_issues":76,"watchers":78,"default_branch":"master"}},"base":{"label":"PacificBiosciences:master","ref":"master","sha":"7e3f664df5effa3fa52f34baad67fd2ac49d996f","user":{"login":"PacificBiosciences","id":999745,"avatar_url":"https://avatars.githubusercontent.com/u/999745?v=3","gravatar_id":"","url":"https://api.github.com/users/PacificBiosciences","html_url":"https://github.com/PacificBiosciences","followers_url":"https://api.github.com/users/PacificBiosciences/followers","following_url":"https://api.github.com/users/PacificBiosciences/following{/other_user}","gists_url":"https://api.github.com/users/PacificBiosciences/gists{/gist_id}","starred_url":"https://api.github.com/users/PacificBiosciences/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PacificBiosciences/subscriptions","organizations_url":"https://api.github.com/users/PacificBiosciences/orgs","repos_url":"https://api.github.com/users/PacificBiosciences/repos","events_url":"https://api.github.com/users/PacificBiosciences/events{/privacy}","received_events_url":"https://api.github.com/users/PacificBiosciences/received_events","type":"Organization","site_admin":false},"repo":{"id":15717188,"name":"FALCON","full_name":"PacificBiosciences/FALCON","owner":{"login":"PacificBiosciences","id":999745,"avatar_url":"https://avatars.githubusercontent.com/u/999745?v=3","gravatar_id":"","url":"https://api.github.com/users/PacificBiosciences","html_url":"https://github.com/PacificBiosciences","followers_url":"https://api.github.com/users/PacificBiosciences/followers","following_url":"https://api.github.com/users/PacificBiosciences/following{/other_user}","gists_url":"https://api.github.com/users/PacificBiosciences/gists{/gist_id}","starred_url":"https://api.github.com/users/PacificBiosciences/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PacificBiosciences/subscriptions","organizations_url":"https://api.github.com/users/PacificBiosciences/orgs","repos_url":"https://api.github.com/users/PacificBiosciences/repos","events_url":"https://api.github.com/users/PacificBiosciences/events{/privacy}","received_events_url":"https://api.github.com/users/PacificBiosciences/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PacificBiosciences/FALCON","description":"FALCON: experimental PacBio diploid assembler","fork":false,"url":"https://api.github.com/repos/PacificBiosciences/FALCON","forks_url":"https://api.github.com/repos/PacificBiosciences/FALCON/forks","keys_url":"https://api.github.com/repos/PacificBiosciences/FALCON/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PacificBiosciences/FALCON/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PacificBiosciences/FALCON/teams","hooks_url":"https://api.github.com/repos/PacificBiosciences/FALCON/hooks","issue_events_url":"https://api.github.com/repos/PacificBiosciences/FALCON/issues/events{/number}","events_url":"https://api.github.com/repos/PacificBiosciences/FALCON/events","assignees_url":"https://api.github.com/repos/PacificBiosciences/FALCON/assignees{/user}","branches_url":"https://api.github.com/repos/PacificBiosciences/FALCON/branches{/branch}","tags_url":"https://api.github.com/repos/PacificBiosciences/FALCON/tags","blobs_url":"https://api.github.com/repos/PacificBiosciences/FALCON/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PacificBiosciences/FALCON/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PacificBiosciences/FALCON/git/refs{/sha}","trees_url":"https://api.github.com/repos/PacificBiosciences/FALCON/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PacificBiosciences/FALCON/statuses/{sha}","languages_url":"https://api.github.com/repos/PacificBiosciences/FALCON/languages","stargazers_url":"https://api.github.com/repos/PacificBiosciences/FALCON/stargazers","contributors_url":"https://api.github.com/repos/PacificBiosciences/FALCON/contributors","subscribers_url":"https://api.github.com/repos/PacificBiosciences/FALCON/subscribers","subscription_url":"https://api.github.com/repos/PacificBiosciences/FALCON/subscription","commits_url":"https://api.github.com/repos/PacificBiosciences/FALCON/commits{/sha}","git_commits_url":"https://api.github.com/repos/PacificBiosciences/FALCON/git/commits{/sha}","comments_url":"https://api.github.com/repos/PacificBiosciences/FALCON/comments{/number}","issue_comment_url":"https://api.github.com/repos/PacificBiosciences/FALCON/issues/comments{/number}","contents_url":"https://api.github.com/repos/PacificBiosciences/FALCON/contents/{+path}","compare_url":"https://api.github.com/repos/PacificBiosciences/FALCON/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PacificBiosciences/FALCON/merges","archive_url":"https://api.github.com/repos/PacificBiosciences/FALCON/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PacificBiosciences/FALCON/downloads","issues_url":"https://api.github.com/repos/PacificBiosciences/FALCON/issues{/number}","pulls_url":"https://api.github.com/repos/PacificBiosciences/FALCON/pulls{/number}","milestones_url":"https://api.github.com/repos/PacificBiosciences/FALCON/milestones{/number}","notifications_url":"https://api.github.com/repos/PacificBiosciences/FALCON/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PacificBiosciences/FALCON/labels{/name}","releases_url":"https://api.github.com/repos/PacificBiosciences/FALCON/releases{/id}","deployments_url":"https://api.github.com/repos/PacificBiosciences/FALCON/deployments","created_at":"2014-01-07T21:26:12Z","updated_at":"2016-08-24T14:25:01Z","pushed_at":"2016-08-26T17:33:13Z","git_url":"git://github.com/PacificBiosciences/FALCON.git","ssh_url":"git@github.com:PacificBiosciences/FALCON.git","clone_url":"https://github.com/PacificBiosciences/FALCON.git","svn_url":"https://github.com/PacificBiosciences/FALCON","homepage":"","size":1485,"stargazers_count":78,"watchers_count":78,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":55,"mirror_url":null,"open_issues_count":76,"forks":55,"open_issues":76,"watchers":78,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PacificBiosciences/FALCON/pulls/437"},"html":{"href":"https://github.com/PacificBiosciences/FALCON/pull/437"},"issue":{"href":"https://api.github.com/repos/PacificBiosciences/FALCON/issues/437"},"comments":{"href":"https://api.github.com/repos/PacificBiosciences/FALCON/issues/437/comments"},"review_comments":{"href":"https://api.github.com/repos/PacificBiosciences/FALCON/pulls/437/comments"},"review_comment":{"href":"https://api.github.com/repos/PacificBiosciences/FALCON/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PacificBiosciences/FALCON/pulls/437/commits"},"statuses":{"href":"https://api.github.com/repos/PacificBiosciences/FALCON/statuses/afb921b78e7990e542e8b2c06322bc8f8c5c2412"}}}}
{"actor":{"display_login":"pbjd"}}