{"action":"created","issue":{"url":"https://api.github.com/repos/GuttmanLab/guttmanlab-core/issues/15","labels_url":"https://api.github.com/repos/GuttmanLab/guttmanlab-core/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/GuttmanLab/guttmanlab-core/issues/15/comments","events_url":"https://api.github.com/repos/GuttmanLab/guttmanlab-core/issues/15/events","html_url":"https://github.com/GuttmanLab/guttmanlab-core/issues/15","id":120013712,"number":15,"title":"SAMFragment end position is wrong","user":{"login":"pamelarussell","id":3533257,"avatar_url":"https://avatars.githubusercontent.com/u/3533257?v=3","gravatar_id":"","url":"https://api.github.com/users/pamelarussell","html_url":"https://github.com/pamelarussell","followers_url":"https://api.github.com/users/pamelarussell/followers","following_url":"https://api.github.com/users/pamelarussell/following{/other_user}","gists_url":"https://api.github.com/users/pamelarussell/gists{/gist_id}","starred_url":"https://api.github.com/users/pamelarussell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pamelarussell/subscriptions","organizations_url":"https://api.github.com/users/pamelarussell/orgs","repos_url":"https://api.github.com/users/pamelarussell/repos","events_url":"https://api.github.com/users/pamelarussell/events{/privacy}","received_events_url":"https://api.github.com/users/pamelarussell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-02T19:08:25Z","updated_at":"2015-12-04T00:11:02Z","closed_at":null,"body":"SAMFragment.getReferenceEndPosition() calculates the end position by adding the size to the start position. Size is the sum of the sizes of the blocks and does not include introns. Therefore the reference end position is wrong."},"comment":{"url":"https://api.github.com/repos/GuttmanLab/guttmanlab-core/issues/comments/161830375","html_url":"https://github.com/GuttmanLab/guttmanlab-core/issues/15#issuecomment-161830375","issue_url":"https://api.github.com/repos/GuttmanLab/guttmanlab-core/issues/15","id":161830375,"user":{"login":"masonmlai","id":11894662,"avatar_url":"https://avatars.githubusercontent.com/u/11894662?v=3","gravatar_id":"","url":"https://api.github.com/users/masonmlai","html_url":"https://github.com/masonmlai","followers_url":"https://api.github.com/users/masonmlai/followers","following_url":"https://api.github.com/users/masonmlai/following{/other_user}","gists_url":"https://api.github.com/users/masonmlai/gists{/gist_id}","starred_url":"https://api.github.com/users/masonmlai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masonmlai/subscriptions","organizations_url":"https://api.github.com/users/masonmlai/orgs","repos_url":"https://api.github.com/users/masonmlai/repos","events_url":"https://api.github.com/users/masonmlai/events{/privacy}","received_events_url":"https://api.github.com/users/masonmlai/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T00:11:02Z","updated_at":"2015-12-04T00:11:02Z","body":"I have this changed in my branch. I never figured out what the \"incorrect CIGAR parser\" referred to in the comment. Returning the code to\r\n\r\n`return record.getAlignmentEnd()`\r\n\r\nworks for me, and passes my unit tests."}}