{"action":"created","issue":{"url":"https://api.github.com/repos/GMOD/jbrowse/issues/485","labels_url":"https://api.github.com/repos/GMOD/jbrowse/issues/485/labels{/name}","comments_url":"https://api.github.com/repos/GMOD/jbrowse/issues/485/comments","events_url":"https://api.github.com/repos/GMOD/jbrowse/issues/485/events","html_url":"https://github.com/GMOD/jbrowse/pull/485","id":34748172,"number":485,"title":"Strand Determined Consistently Relative to Reference Genome (see the FLAG rather than XS tag)","user":{"login":"tomoakin","id":363232,"avatar_url":"https://avatars.githubusercontent.com/u/363232?v=3","gravatar_id":"","url":"https://api.github.com/users/tomoakin","html_url":"https://github.com/tomoakin","followers_url":"https://api.github.com/users/tomoakin/followers","following_url":"https://api.github.com/users/tomoakin/following{/other_user}","gists_url":"https://api.github.com/users/tomoakin/gists{/gist_id}","starred_url":"https://api.github.com/users/tomoakin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomoakin/subscriptions","organizations_url":"https://api.github.com/users/tomoakin/orgs","repos_url":"https://api.github.com/users/tomoakin/repos","events_url":"https://api.github.com/users/tomoakin/events{/privacy}","received_events_url":"https://api.github.com/users/tomoakin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/GMOD/jbrowse/milestones/43","labels_url":"https://api.github.com/repos/GMOD/jbrowse/milestones/43/labels","id":779114,"number":43,"title":"1.11.6","description":"","creator":{"login":"cmdcolin","id":6511937,"avatar_url":"https://avatars.githubusercontent.com/u/6511937?v=3","gravatar_id":"","url":"https://api.github.com/users/cmdcolin","html_url":"https://github.com/cmdcolin","followers_url":"https://api.github.com/users/cmdcolin/followers","following_url":"https://api.github.com/users/cmdcolin/following{/other_user}","gists_url":"https://api.github.com/users/cmdcolin/gists{/gist_id}","starred_url":"https://api.github.com/users/cmdcolin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmdcolin/subscriptions","organizations_url":"https://api.github.com/users/cmdcolin/orgs","repos_url":"https://api.github.com/users/cmdcolin/repos","events_url":"https://api.github.com/users/cmdcolin/events{/privacy}","received_events_url":"https://api.github.com/users/cmdcolin/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":19,"state":"open","created_at":"2014-09-04T22:42:18Z","updated_at":"2015-02-07T00:52:34Z","due_on":"2014-12-09T08:00:00Z","closed_at":null},"comments":11,"created_at":"2014-06-02T06:14:02Z","updated_at":"2015-02-10T18:10:08Z","closed_at":"2015-02-07T00:52:09Z","pull_request":{"url":"https://api.github.com/repos/GMOD/jbrowse/pulls/485","html_url":"https://github.com/GMOD/jbrowse/pull/485","diff_url":"https://github.com/GMOD/jbrowse/pull/485.diff","patch_url":"https://github.com/GMOD/jbrowse/pull/485.patch"},"body":"When viewing a BAM file of stranded RNA-seq data with JBrowse, the color of reads spanning an intron were shown with different color than other reads.  Further looking the description, the strand are shown inconsistently, the read on an intron the strand is maked as relative to the transcript rather than the reference genome.\r\n\r\nThe cause of such behavior is that it looks on the XS tag if present, while in absence of XS tag it looks the FLAG.  This makes inconsistent view. The patch attached does not check the XS tag and consistently follow the FLAG and therefore the strand is relative to genome.\r\n\r\nLooking XS tag in itself could be a good thing. However, in that case, unknown should be treated as unknown.  Having a switch to change the view between relative to transcript and relative to genome could worth to implement. But, that is beyond the scope of this pull request. Thank you."},"comment":{"url":"https://api.github.com/repos/GMOD/jbrowse/issues/comments/73750911","html_url":"https://github.com/GMOD/jbrowse/pull/485#issuecomment-73750911","issue_url":"https://api.github.com/repos/GMOD/jbrowse/issues/485","id":73750911,"user":{"login":"cmdcolin","id":6511937,"avatar_url":"https://avatars.githubusercontent.com/u/6511937?v=3","gravatar_id":"","url":"https://api.github.com/users/cmdcolin","html_url":"https://github.com/cmdcolin","followers_url":"https://api.github.com/users/cmdcolin/followers","following_url":"https://api.github.com/users/cmdcolin/following{/other_user}","gists_url":"https://api.github.com/users/cmdcolin/gists{/gist_id}","starred_url":"https://api.github.com/users/cmdcolin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmdcolin/subscriptions","organizations_url":"https://api.github.com/users/cmdcolin/orgs","repos_url":"https://api.github.com/users/cmdcolin/repos","events_url":"https://api.github.com/users/cmdcolin/events{/privacy}","received_events_url":"https://api.github.com/users/cmdcolin/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T18:10:08Z","updated_at":"2015-02-10T18:10:08Z","body":"I just wanted to note that I made a checkbox for this option too. The motivation is similar to the one for #502 where the user might want it for File->Open or similar things.\r\n\r\n"}}