{"action":"created","issue":{"url":"https://api.github.com/repos/xie186/ViewBS/issues/39","repository_url":"https://api.github.com/repos/xie186/ViewBS","labels_url":"https://api.github.com/repos/xie186/ViewBS/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/xie186/ViewBS/issues/39/comments","events_url":"https://api.github.com/repos/xie186/ViewBS/issues/39/events","html_url":"https://github.com/xie186/ViewBS/issues/39","id":473461283,"node_id":"MDU6SXNzdWU0NzM0NjEyODM=","number":39,"title":"Division by zero error in MethOverRegion?","user":{"login":"hyl317","id":47933872,"node_id":"MDQ6VXNlcjQ3OTMzODcy","avatar_url":"https://avatars3.githubusercontent.com/u/47933872?v=4","gravatar_id":"","url":"https://api.github.com/users/hyl317","html_url":"https://github.com/hyl317","followers_url":"https://api.github.com/users/hyl317/followers","following_url":"https://api.github.com/users/hyl317/following{/other_user}","gists_url":"https://api.github.com/users/hyl317/gists{/gist_id}","starred_url":"https://api.github.com/users/hyl317/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyl317/subscriptions","organizations_url":"https://api.github.com/users/hyl317/orgs","repos_url":"https://api.github.com/users/hyl317/repos","events_url":"https://api.github.com/users/hyl317/events{/privacy}","received_events_url":"https://api.github.com/users/hyl317/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-07-26T17:29:16Z","updated_at":"2019-07-29T17:50:06Z","closed_at":null,"author_association":"NONE","body":"When plotting MethOverRegion, I got the following error message when running MethOverRegion:\r\n\r\n> Subcommand: MethOverRegion\r\n> file:info.tab.txt\r\n> The sample and region information is stored in file:info.tab.txt\r\n> \r\n> It seemed that the reigons you provided are Genes. Please make sure of this.\r\n> \r\n> Output directory is: /data/home/yh362/work/2019_Summer/epigenome/raw_reads/Root_samtools/MethOverRegion\r\n> Output prefix: root\r\n> A6528.root.combined.CX_report.txt.gz    Nsyl    Nsyl.v1.region\r\n> A6528.root.combined.CX_report.txt.gz    Ntom    Ntom.v1.regionStart calculate methylation information for target context\r\n> CG\r\n> Use of uninitialized value $bin_length in division (/) at /data/home/yh362/tools/ViewBS-0.1.8/lib/Meth/OverRegion.pm line 128, <REGION> line 1.\r\n> Illegal division by zero at /data/home/yh362/tools/ViewBS-0.1.8/lib/Meth/OverRegion.pm line 128, <REGION> line 1.\r\n\r\nThe command I have used:\r\n> ~/tools/ViewBS-0.1.8/ViewBS MethOverRegion --sample file:info.tab.txt --prefix root --context CG --outdir MethOverRegion --flank 5000\r\n\r\nHowever, if I don't specify --flank 5000 and just use the default values, it seems to work fine."},"comment":{"url":"https://api.github.com/repos/xie186/ViewBS/issues/comments/516094430","html_url":"https://github.com/xie186/ViewBS/issues/39#issuecomment-516094430","issue_url":"https://api.github.com/repos/xie186/ViewBS/issues/39","id":516094430,"node_id":"MDEyOklzc3VlQ29tbWVudDUxNjA5NDQzMA==","user":{"login":"xie186","id":20909751,"node_id":"MDQ6VXNlcjIwOTA5NzUx","avatar_url":"https://avatars3.githubusercontent.com/u/20909751?v=4","gravatar_id":"","url":"https://api.github.com/users/xie186","html_url":"https://github.com/xie186","followers_url":"https://api.github.com/users/xie186/followers","following_url":"https://api.github.com/users/xie186/following{/other_user}","gists_url":"https://api.github.com/users/xie186/gists{/gist_id}","starred_url":"https://api.github.com/users/xie186/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xie186/subscriptions","organizations_url":"https://api.github.com/users/xie186/orgs","repos_url":"https://api.github.com/users/xie186/repos","events_url":"https://api.github.com/users/xie186/events{/privacy}","received_events_url":"https://api.github.com/users/xie186/received_events","type":"User","site_admin":false},"created_at":"2019-07-29T17:50:06Z","updated_at":"2019-07-29T17:50:06Z","author_association":"OWNER","body":"I'll look into this issue this week. Thanks. "}}
{"actor":{"display_login":"xie186"}}