{"action":"created","issue":{"url":"https://api.github.com/repos/samtools/htslib/issues/455","repository_url":"https://api.github.com/repos/samtools/htslib","labels_url":"https://api.github.com/repos/samtools/htslib/issues/455/labels{/name}","comments_url":"https://api.github.com/repos/samtools/htslib/issues/455/comments","events_url":"https://api.github.com/repos/samtools/htslib/issues/455/events","html_url":"https://github.com/samtools/htslib/issues/455","id":200406340,"number":455,"title":"Index querying broken by 5869a67","user":{"login":"pd3","id":524074,"avatar_url":"https://avatars.githubusercontent.com/u/524074?v=3","gravatar_id":"","url":"https://api.github.com/users/pd3","html_url":"https://github.com/pd3","followers_url":"https://api.github.com/users/pd3/followers","following_url":"https://api.github.com/users/pd3/following{/other_user}","gists_url":"https://api.github.com/users/pd3/gists{/gist_id}","starred_url":"https://api.github.com/users/pd3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pd3/subscriptions","organizations_url":"https://api.github.com/users/pd3/orgs","repos_url":"https://api.github.com/users/pd3/repos","events_url":"https://api.github.com/users/pd3/events{/privacy}","received_events_url":"https://api.github.com/users/pd3/received_events","type":"User","site_admin":false},"labels":[{"id":5087626,"url":"https://api.github.com/repos/samtools/htslib/labels/invalid","name":"invalid","color":"e6e6e6","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-12T16:01:27Z","updated_at":"2017-01-12T16:31:00Z","closed_at":"2017-01-12T16:31:00Z","body":"This commit broke indexing, see test case here https://github.com/samtools/htslib/commit/5869a67c3c19aa9e2b3b356269dadaf9aff1c669#commitcomment-20454507"},"comment":{"url":"https://api.github.com/repos/samtools/htslib/issues/comments/272211084","html_url":"https://github.com/samtools/htslib/issues/455#issuecomment-272211084","issue_url":"https://api.github.com/repos/samtools/htslib/issues/455","id":272211084,"user":{"login":"jmarshall","id":70921,"avatar_url":"https://avatars.githubusercontent.com/u/70921?v=3","gravatar_id":"","url":"https://api.github.com/users/jmarshall","html_url":"https://github.com/jmarshall","followers_url":"https://api.github.com/users/jmarshall/followers","following_url":"https://api.github.com/users/jmarshall/following{/other_user}","gists_url":"https://api.github.com/users/jmarshall/gists{/gist_id}","starred_url":"https://api.github.com/users/jmarshall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmarshall/subscriptions","organizations_url":"https://api.github.com/users/jmarshall/orgs","repos_url":"https://api.github.com/users/jmarshall/repos","events_url":"https://api.github.com/users/jmarshall/events{/privacy}","received_events_url":"https://api.github.com/users/jmarshall/received_events","type":"User","site_admin":false},"created_at":"2017-01-12T16:31:00Z","updated_at":"2017-01-12T16:31:00Z","body":">  bcftools query -f'%POS\\n' -r X:154931044-1000000000 chr20-X.bcf\r\n\r\nYour index is of the usual 14:5 geometry, so allows chromosome lengths up to 2<sup>29</sup>.\r\n\r\n1000000000 > 2<sup>29</sup>.  The following produces the expected result:\r\n\r\n    bcftools query -f'%POS\\n' -r X:154931044- chr20-X.bcf\r\n\r\nas does this:\r\n\r\n    bcftools query -f'%POS\\n' -r X:154931044-536870911 chr20-X.bcf\r\n\r\nYou might wish to file a low-priority issue to make stupidly-large coordinates be treated the same as an open-ended region."}}
{"actor":{"display_login":"jmarshall"}}