{"action":"created","issue":{"url":"https://api.github.com/repos/wdecoster/NanoPlot/issues/86","repository_url":"https://api.github.com/repos/wdecoster/NanoPlot","labels_url":"https://api.github.com/repos/wdecoster/NanoPlot/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/wdecoster/NanoPlot/issues/86/comments","events_url":"https://api.github.com/repos/wdecoster/NanoPlot/issues/86/events","html_url":"https://github.com/wdecoster/NanoPlot/issues/86","id":354024117,"node_id":"MDU6SXNzdWUzNTQwMjQxMTc=","number":86,"title":"Change bin size of the histogram ","user":{"login":"scogi","id":24541473,"node_id":"MDQ6VXNlcjI0NTQxNDcz","avatar_url":"https://avatars0.githubusercontent.com/u/24541473?v=4","gravatar_id":"","url":"https://api.github.com/users/scogi","html_url":"https://github.com/scogi","followers_url":"https://api.github.com/users/scogi/followers","following_url":"https://api.github.com/users/scogi/following{/other_user}","gists_url":"https://api.github.com/users/scogi/gists{/gist_id}","starred_url":"https://api.github.com/users/scogi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scogi/subscriptions","organizations_url":"https://api.github.com/users/scogi/orgs","repos_url":"https://api.github.com/users/scogi/repos","events_url":"https://api.github.com/users/scogi/events{/privacy}","received_events_url":"https://api.github.com/users/scogi/received_events","type":"User","site_admin":false},"labels":[{"id":596110802,"node_id":"MDU6TGFiZWw1OTYxMTA4MDI=","url":"https://api.github.com/repos/wdecoster/NanoPlot/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":{"login":"wdecoster","id":11660522,"node_id":"MDQ6VXNlcjExNjYwNTIy","avatar_url":"https://avatars2.githubusercontent.com/u/11660522?v=4","gravatar_id":"","url":"https://api.github.com/users/wdecoster","html_url":"https://github.com/wdecoster","followers_url":"https://api.github.com/users/wdecoster/followers","following_url":"https://api.github.com/users/wdecoster/following{/other_user}","gists_url":"https://api.github.com/users/wdecoster/gists{/gist_id}","starred_url":"https://api.github.com/users/wdecoster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdecoster/subscriptions","organizations_url":"https://api.github.com/users/wdecoster/orgs","repos_url":"https://api.github.com/users/wdecoster/repos","events_url":"https://api.github.com/users/wdecoster/events{/privacy}","received_events_url":"https://api.github.com/users/wdecoster/received_events","type":"User","site_admin":false},"assignees":[{"login":"wdecoster","id":11660522,"node_id":"MDQ6VXNlcjExNjYwNTIy","avatar_url":"https://avatars2.githubusercontent.com/u/11660522?v=4","gravatar_id":"","url":"https://api.github.com/users/wdecoster","html_url":"https://github.com/wdecoster","followers_url":"https://api.github.com/users/wdecoster/followers","following_url":"https://api.github.com/users/wdecoster/following{/other_user}","gists_url":"https://api.github.com/users/wdecoster/gists{/gist_id}","starred_url":"https://api.github.com/users/wdecoster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdecoster/subscriptions","organizations_url":"https://api.github.com/users/wdecoster/orgs","repos_url":"https://api.github.com/users/wdecoster/repos","events_url":"https://api.github.com/users/wdecoster/events{/privacy}","received_events_url":"https://api.github.com/users/wdecoster/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-08-25T16:12:16Z","updated_at":"2018-08-25T17:42:28Z","closed_at":null,"author_association":"NONE","body":"Hi @wdecoster \r\n\r\nfantastic tool collection, thank you. Is there any option to modify the bin size of the read length histogram? I have several reads in the 0-30 kb size and then a few much longer. The histogram is automatically plotted in 20 kb steps, virtually grouping all my reads in one single bar. I could not find a respective option in the documentation. Thank you!\r\n\r\nBest regards\r\nStefan"},"comment":{"url":"https://api.github.com/repos/wdecoster/NanoPlot/issues/comments/415985337","html_url":"https://github.com/wdecoster/NanoPlot/issues/86#issuecomment-415985337","issue_url":"https://api.github.com/repos/wdecoster/NanoPlot/issues/86","id":415985337,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTk4NTMzNw==","user":{"login":"wdecoster","id":11660522,"node_id":"MDQ6VXNlcjExNjYwNTIy","avatar_url":"https://avatars2.githubusercontent.com/u/11660522?v=4","gravatar_id":"","url":"https://api.github.com/users/wdecoster","html_url":"https://github.com/wdecoster","followers_url":"https://api.github.com/users/wdecoster/followers","following_url":"https://api.github.com/users/wdecoster/following{/other_user}","gists_url":"https://api.github.com/users/wdecoster/gists{/gist_id}","starred_url":"https://api.github.com/users/wdecoster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdecoster/subscriptions","organizations_url":"https://api.github.com/users/wdecoster/orgs","repos_url":"https://api.github.com/users/wdecoster/repos","events_url":"https://api.github.com/users/wdecoster/events{/privacy}","received_events_url":"https://api.github.com/users/wdecoster/received_events","type":"User","site_admin":false},"created_at":"2018-08-25T17:42:28Z","updated_at":"2018-08-25T17:42:28Z","author_association":"OWNER","body":"Hi Stefan,\r\n\r\nThanks for reaching out. What you see is actually a bug, introduced when fixing an earlier issue (https://github.com/wdecoster/nanoplotter/commit/5cd9274d82f60cf837f539309ff4bfc65a635a05).\r\nAs a consequence of this, the default number of bins was always 5, which is of course ridiculous.\r\n\r\nI fixed this and set a -I believe- sensible default. I'm a bit reluctant to expose the option to set the size of bins to users, to avoid adding too many parameters and options to NanoPlot. It's already getting messy enough as it is :)\r\n\r\nUpdating NanoPlot to v1.17.2 should contain the fix - I just pushed this to PyPI.\r\n\r\nNote that it might also help to set a --maxlength cut off to remove the handful longest reads which screw up your plot anyway, and that often the log-transformed plots can be quite informative.\r\n\r\nPlease let me know if that helps.\r\n\r\nWouter"}}
{"actor":{"display_login":"wdecoster"}}