{"action":"created","issue":{"url":"https://api.github.com/repos/samtools/samtools/issues/933","repository_url":"https://api.github.com/repos/samtools/samtools","labels_url":"https://api.github.com/repos/samtools/samtools/issues/933/labels{/name}","comments_url":"https://api.github.com/repos/samtools/samtools/issues/933/comments","events_url":"https://api.github.com/repos/samtools/samtools/issues/933/events","html_url":"https://github.com/samtools/samtools/issues/933","id":355241677,"node_id":"MDU6SXNzdWUzNTUyNDE2Nzc=","number":933,"title":"Subcommand name confusion idxstats vs flagstat","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},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-29T16:34:52Z","updated_at":"2018-08-29T16:44:07Z","closed_at":null,"author_association":"NONE","body":"#### Is your feature request related to a problem? Please specify.\r\n\r\nThis is no crucial feature request, but it has sufficiently often bothered me. I often try to use samtools idxstat or samtools flagstats, subcommands which do not exist. It confuses me that flagstat is without final s, while idxstats has an s. On the biostars slack, I heard I was not the only one who cannot seem to remember this.\r\n\r\n#### Describe the solution you would like.\r\n\r\nOne possible, non-breaking solution would be to use aliases for these subcommands, in which idxstats and idxstat would both exist and do the same (analogous for flagstat/flagstats)."},"comment":{"url":"https://api.github.com/repos/samtools/samtools/issues/comments/417022177","html_url":"https://github.com/samtools/samtools/issues/933#issuecomment-417022177","issue_url":"https://api.github.com/repos/samtools/samtools/issues/933","id":417022177,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzAyMjE3Nw==","user":{"login":"finswimmer","id":2164565,"node_id":"MDQ6VXNlcjIxNjQ1NjU=","avatar_url":"https://avatars2.githubusercontent.com/u/2164565?v=4","gravatar_id":"","url":"https://api.github.com/users/finswimmer","html_url":"https://github.com/finswimmer","followers_url":"https://api.github.com/users/finswimmer/followers","following_url":"https://api.github.com/users/finswimmer/following{/other_user}","gists_url":"https://api.github.com/users/finswimmer/gists{/gist_id}","starred_url":"https://api.github.com/users/finswimmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finswimmer/subscriptions","organizations_url":"https://api.github.com/users/finswimmer/orgs","repos_url":"https://api.github.com/users/finswimmer/repos","events_url":"https://api.github.com/users/finswimmer/events{/privacy}","received_events_url":"https://api.github.com/users/finswimmer/received_events","type":"User","site_admin":false},"created_at":"2018-08-29T16:44:07Z","updated_at":"2018-08-29T16:44:07Z","author_association":"NONE","body":"I support this suggestion.\r\n\r\nIt also a kind of consistent naming convention. Beside `idxstats` we have `stats` and `flags`.\r\n\r\nI would suggest to create an alias for `flagstat` called `flagstats` in a future release and mark `flagstat`as deprecated, so it can be removed later."}}
{"actor":{"display_login":"finswimmer"}}