{"action":"created","issue":{"url":"https://api.github.com/repos/helios/bioruby-samtools/issues/25","labels_url":"https://api.github.com/repos/helios/bioruby-samtools/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/helios/bioruby-samtools/issues/25/comments","events_url":"https://api.github.com/repos/helios/bioruby-samtools/issues/25/events","html_url":"https://github.com/helios/bioruby-samtools/issues/25","id":16313217,"number":25,"title":"iterating alignments","user":{"login":"wwood","id":15348,"avatar_url":"https://avatars.githubusercontent.com/u/15348?v=3","gravatar_id":"","url":"https://api.github.com/users/wwood","html_url":"https://github.com/wwood","followers_url":"https://api.github.com/users/wwood/followers","following_url":"https://api.github.com/users/wwood/following{/other_user}","gists_url":"https://api.github.com/users/wwood/gists{/gist_id}","starred_url":"https://api.github.com/users/wwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wwood/subscriptions","organizations_url":"https://api.github.com/users/wwood/orgs","repos_url":"https://api.github.com/users/wwood/repos","events_url":"https://api.github.com/users/wwood/events{/privacy}","received_events_url":"https://api.github.com/users/wwood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2013-07-03T11:33:05Z","updated_at":"2015-02-19T20:46:03Z","closed_at":null,"body":"Hi,\r\n\r\nJust wondering if there is any way to iterate over all alignments in a sam/bam file, without specifying a chromosome & start and stop positions?\r\n\r\ni'm thinking an each_alignment method, like iterating over the lines from a  ```samtools view```, except giving Alignment objects, rather than a string.\r\n\r\nThanks,\r\nben"},"comment":{"url":"https://api.github.com/repos/helios/bioruby-samtools/issues/comments/75132388","html_url":"https://github.com/helios/bioruby-samtools/issues/25#issuecomment-75132388","issue_url":"https://api.github.com/repos/helios/bioruby-samtools/issues/25","id":75132388,"user":{"login":"danmaclean","id":78520,"avatar_url":"https://avatars.githubusercontent.com/u/78520?v=3","gravatar_id":"","url":"https://api.github.com/users/danmaclean","html_url":"https://github.com/danmaclean","followers_url":"https://api.github.com/users/danmaclean/followers","following_url":"https://api.github.com/users/danmaclean/following{/other_user}","gists_url":"https://api.github.com/users/danmaclean/gists{/gist_id}","starred_url":"https://api.github.com/users/danmaclean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danmaclean/subscriptions","organizations_url":"https://api.github.com/users/danmaclean/orgs","repos_url":"https://api.github.com/users/danmaclean/repos","events_url":"https://api.github.com/users/danmaclean/events{/privacy}","received_events_url":"https://api.github.com/users/danmaclean/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T20:46:03Z","updated_at":"2015-02-19T20:46:03Z","body":"Yeah, this is the `Bio::DB::Sam.view`"}}