Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorient strands on read vs ref plots #2077

Merged
merged 1 commit into from
Jun 25, 2021
Merged

Conversation

cmdcolin
Copy link
Collaborator

@cmdcolin cmdcolin commented Jun 24, 2021

The fix from #2024 caused a knock-on effect of the read-vs-ref displays to display inversions where none existed. Reason being was that the read vs ref code assumed it should provide the strand of the read, but even though the strand of a given BAM read might be given as -1, all the data is actually oriented in the forward direction (e.g. the SEQ field will be read left to right aka 5' to 3' even for negative strand features)

Example: Current main displays inversions on a "volvox SV" example which should not be inversions (it is just a deletion)

jbrowse org_code_jb2_main__config=test_data%2Fvolvox%2Fconfig json session=local-SfLi55OZW

@github-actions github-actions bot added the needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) label Jun 24, 2021
@cmdcolin cmdcolin removed the needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) label Jun 25, 2021
@cmdcolin cmdcolin merged commit 72d10c0 into main Jun 25, 2021
@cmdcolin cmdcolin deleted the reorient_strand_read_vs_ref branch June 25, 2021 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant