{"action":"opened","number":219,"pull_request":{"url":"https://api.github.com/repos/taoliu/MACS/pulls/219","id":147498049,"html_url":"https://github.com/taoliu/MACS/pull/219","diff_url":"https://github.com/taoliu/MACS/pull/219.diff","patch_url":"https://github.com/taoliu/MACS/pull/219.patch","issue_url":"https://api.github.com/repos/taoliu/MACS/issues/219","number":219,"state":"open","locked":false,"title":"Fix average fragment length computation for paired-end data","user":{"login":"yevshin","id":2855228,"avatar_url":"https://avatars2.githubusercontent.com/u/2855228?v=4","gravatar_id":"","url":"https://api.github.com/users/yevshin","html_url":"https://github.com/yevshin","followers_url":"https://api.github.com/users/yevshin/followers","following_url":"https://api.github.com/users/yevshin/following{/other_user}","gists_url":"https://api.github.com/users/yevshin/gists{/gist_id}","starred_url":"https://api.github.com/users/yevshin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yevshin/subscriptions","organizations_url":"https://api.github.com/users/yevshin/orgs","repos_url":"https://api.github.com/users/yevshin/repos","events_url":"https://api.github.com/users/yevshin/events{/privacy}","received_events_url":"https://api.github.com/users/yevshin/received_events","type":"User","site_admin":false},"body":"Fixed rounding error when computing average fragment length for paired-end data. Using single-precision float for computing average of large number of integers leads to accumulation of rounding errors. In my case, I have 50 millions of paired end fragments, and MACS computes average fragment length as 183bp, but actually the average length of fragments was 235bp. ","created_at":"2017-10-19T08:45:16Z","updated_at":"2017-10-19T08:45:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/taoliu/MACS/pulls/219/commits","review_comments_url":"https://api.github.com/repos/taoliu/MACS/pulls/219/comments","review_comment_url":"https://api.github.com/repos/taoliu/MACS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/taoliu/MACS/issues/219/comments","statuses_url":"https://api.github.com/repos/taoliu/MACS/statuses/9e9dd8e1694c55aaca8772931f5e718daa9981f1","head":{"label":"yevshin:fix_rounding","ref":"fix_rounding","sha":"9e9dd8e1694c55aaca8772931f5e718daa9981f1","user":{"login":"yevshin","id":2855228,"avatar_url":"https://avatars2.githubusercontent.com/u/2855228?v=4","gravatar_id":"","url":"https://api.github.com/users/yevshin","html_url":"https://github.com/yevshin","followers_url":"https://api.github.com/users/yevshin/followers","following_url":"https://api.github.com/users/yevshin/following{/other_user}","gists_url":"https://api.github.com/users/yevshin/gists{/gist_id}","starred_url":"https://api.github.com/users/yevshin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yevshin/subscriptions","organizations_url":"https://api.github.com/users/yevshin/orgs","repos_url":"https://api.github.com/users/yevshin/repos","events_url":"https://api.github.com/users/yevshin/events{/privacy}","received_events_url":"https://api.github.com/users/yevshin/received_events","type":"User","site_admin":false},"repo":{"id":107513182,"name":"MACS","full_name":"yevshin/MACS","owner":{"login":"yevshin","id":2855228,"avatar_url":"https://avatars2.githubusercontent.com/u/2855228?v=4","gravatar_id":"","url":"https://api.github.com/users/yevshin","html_url":"https://github.com/yevshin","followers_url":"https://api.github.com/users/yevshin/followers","following_url":"https://api.github.com/users/yevshin/following{/other_user}","gists_url":"https://api.github.com/users/yevshin/gists{/gist_id}","starred_url":"https://api.github.com/users/yevshin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yevshin/subscriptions","organizations_url":"https://api.github.com/users/yevshin/orgs","repos_url":"https://api.github.com/users/yevshin/repos","events_url":"https://api.github.com/users/yevshin/events{/privacy}","received_events_url":"https://api.github.com/users/yevshin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yevshin/MACS","description":"MACS -- Model-based Analysis of ChIP-Seq","fork":true,"url":"https://api.github.com/repos/yevshin/MACS","forks_url":"https://api.github.com/repos/yevshin/MACS/forks","keys_url":"https://api.github.com/repos/yevshin/MACS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yevshin/MACS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yevshin/MACS/teams","hooks_url":"https://api.github.com/repos/yevshin/MACS/hooks","issue_events_url":"https://api.github.com/repos/yevshin/MACS/issues/events{/number}","events_url":"https://api.github.com/repos/yevshin/MACS/events","assignees_url":"https://api.github.com/repos/yevshin/MACS/assignees{/user}","branches_url":"https://api.github.com/repos/yevshin/MACS/branches{/branch}","tags_url":"https://api.github.com/repos/yevshin/MACS/tags","blobs_url":"https://api.github.com/repos/yevshin/MACS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yevshin/MACS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yevshin/MACS/git/refs{/sha}","trees_url":"https://api.github.com/repos/yevshin/MACS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yevshin/MACS/statuses/{sha}","languages_url":"https://api.github.com/repos/yevshin/MACS/languages","stargazers_url":"https://api.github.com/repos/yevshin/MACS/stargazers","contributors_url":"https://api.github.com/repos/yevshin/MACS/contributors","subscribers_url":"https://api.github.com/repos/yevshin/MACS/subscribers","subscription_url":"https://api.github.com/repos/yevshin/MACS/subscription","commits_url":"https://api.github.com/repos/yevshin/MACS/commits{/sha}","git_commits_url":"https://api.github.com/repos/yevshin/MACS/git/commits{/sha}","comments_url":"https://api.github.com/repos/yevshin/MACS/comments{/number}","issue_comment_url":"https://api.github.com/repos/yevshin/MACS/issues/comments{/number}","contents_url":"https://api.github.com/repos/yevshin/MACS/contents/{+path}","compare_url":"https://api.github.com/repos/yevshin/MACS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yevshin/MACS/merges","archive_url":"https://api.github.com/repos/yevshin/MACS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yevshin/MACS/downloads","issues_url":"https://api.github.com/repos/yevshin/MACS/issues{/number}","pulls_url":"https://api.github.com/repos/yevshin/MACS/pulls{/number}","milestones_url":"https://api.github.com/repos/yevshin/MACS/milestones{/number}","notifications_url":"https://api.github.com/repos/yevshin/MACS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yevshin/MACS/labels{/name}","releases_url":"https://api.github.com/repos/yevshin/MACS/releases{/id}","deployments_url":"https://api.github.com/repos/yevshin/MACS/deployments","created_at":"2017-10-19T07:33:44Z","updated_at":"2017-10-19T07:33:47Z","pushed_at":"2017-10-19T07:53:40Z","git_url":"git://github.com/yevshin/MACS.git","ssh_url":"git@github.com:yevshin/MACS.git","clone_url":"https://github.com/yevshin/MACS.git","svn_url":"https://github.com/yevshin/MACS","homepage":"http://liulab.dfci.harvard.edu/MACS/","size":170863,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"taoliu:master","ref":"master","sha":"6946b2f6571cd0a7cfbb882c79aaa25a05a5c48d","user":{"login":"taoliu","id":593654,"avatar_url":"https://avatars2.githubusercontent.com/u/593654?v=4","gravatar_id":"","url":"https://api.github.com/users/taoliu","html_url":"https://github.com/taoliu","followers_url":"https://api.github.com/users/taoliu/followers","following_url":"https://api.github.com/users/taoliu/following{/other_user}","gists_url":"https://api.github.com/users/taoliu/gists{/gist_id}","starred_url":"https://api.github.com/users/taoliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taoliu/subscriptions","organizations_url":"https://api.github.com/users/taoliu/orgs","repos_url":"https://api.github.com/users/taoliu/repos","events_url":"https://api.github.com/users/taoliu/events{/privacy}","received_events_url":"https://api.github.com/users/taoliu/received_events","type":"User","site_admin":false},"repo":{"id":1432099,"name":"MACS","full_name":"taoliu/MACS","owner":{"login":"taoliu","id":593654,"avatar_url":"https://avatars2.githubusercontent.com/u/593654?v=4","gravatar_id":"","url":"https://api.github.com/users/taoliu","html_url":"https://github.com/taoliu","followers_url":"https://api.github.com/users/taoliu/followers","following_url":"https://api.github.com/users/taoliu/following{/other_user}","gists_url":"https://api.github.com/users/taoliu/gists{/gist_id}","starred_url":"https://api.github.com/users/taoliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taoliu/subscriptions","organizations_url":"https://api.github.com/users/taoliu/orgs","repos_url":"https://api.github.com/users/taoliu/repos","events_url":"https://api.github.com/users/taoliu/events{/privacy}","received_events_url":"https://api.github.com/users/taoliu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/taoliu/MACS","description":"MACS -- Model-based Analysis of ChIP-Seq","fork":false,"url":"https://api.github.com/repos/taoliu/MACS","forks_url":"https://api.github.com/repos/taoliu/MACS/forks","keys_url":"https://api.github.com/repos/taoliu/MACS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taoliu/MACS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taoliu/MACS/teams","hooks_url":"https://api.github.com/repos/taoliu/MACS/hooks","issue_events_url":"https://api.github.com/repos/taoliu/MACS/issues/events{/number}","events_url":"https://api.github.com/repos/taoliu/MACS/events","assignees_url":"https://api.github.com/repos/taoliu/MACS/assignees{/user}","branches_url":"https://api.github.com/repos/taoliu/MACS/branches{/branch}","tags_url":"https://api.github.com/repos/taoliu/MACS/tags","blobs_url":"https://api.github.com/repos/taoliu/MACS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taoliu/MACS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taoliu/MACS/git/refs{/sha}","trees_url":"https://api.github.com/repos/taoliu/MACS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taoliu/MACS/statuses/{sha}","languages_url":"https://api.github.com/repos/taoliu/MACS/languages","stargazers_url":"https://api.github.com/repos/taoliu/MACS/stargazers","contributors_url":"https://api.github.com/repos/taoliu/MACS/contributors","subscribers_url":"https://api.github.com/repos/taoliu/MACS/subscribers","subscription_url":"https://api.github.com/repos/taoliu/MACS/subscription","commits_url":"https://api.github.com/repos/taoliu/MACS/commits{/sha}","git_commits_url":"https://api.github.com/repos/taoliu/MACS/git/commits{/sha}","comments_url":"https://api.github.com/repos/taoliu/MACS/comments{/number}","issue_comment_url":"https://api.github.com/repos/taoliu/MACS/issues/comments{/number}","contents_url":"https://api.github.com/repos/taoliu/MACS/contents/{+path}","compare_url":"https://api.github.com/repos/taoliu/MACS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taoliu/MACS/merges","archive_url":"https://api.github.com/repos/taoliu/MACS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taoliu/MACS/downloads","issues_url":"https://api.github.com/repos/taoliu/MACS/issues{/number}","pulls_url":"https://api.github.com/repos/taoliu/MACS/pulls{/number}","milestones_url":"https://api.github.com/repos/taoliu/MACS/milestones{/number}","notifications_url":"https://api.github.com/repos/taoliu/MACS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taoliu/MACS/labels{/name}","releases_url":"https://api.github.com/repos/taoliu/MACS/releases{/id}","deployments_url":"https://api.github.com/repos/taoliu/MACS/deployments","created_at":"2011-03-02T19:40:25Z","updated_at":"2017-10-17T08:42:34Z","pushed_at":"2017-08-16T16:05:39Z","git_url":"git://github.com/taoliu/MACS.git","ssh_url":"git@github.com:taoliu/MACS.git","clone_url":"https://github.com/taoliu/MACS.git","svn_url":"https://github.com/taoliu/MACS","homepage":"http://liulab.dfci.harvard.edu/MACS/","size":170863,"stargazers_count":193,"watchers_count":193,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":136,"mirror_url":null,"open_issues_count":107,"forks":136,"open_issues":107,"watchers":193,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/taoliu/MACS/pulls/219"},"html":{"href":"https://github.com/taoliu/MACS/pull/219"},"issue":{"href":"https://api.github.com/repos/taoliu/MACS/issues/219"},"comments":{"href":"https://api.github.com/repos/taoliu/MACS/issues/219/comments"},"review_comments":{"href":"https://api.github.com/repos/taoliu/MACS/pulls/219/comments"},"review_comment":{"href":"https://api.github.com/repos/taoliu/MACS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/taoliu/MACS/pulls/219/commits"},"statuses":{"href":"https://api.github.com/repos/taoliu/MACS/statuses/9e9dd8e1694c55aaca8772931f5e718daa9981f1"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":2,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"yevshin"}}