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

Fix the display of inversions for MCScan alignments #3072

Merged
merged 1 commit into from Jul 7, 2022

Conversation

cmdcolin
Copy link
Collaborator

@cmdcolin cmdcolin commented Jul 7, 2022

With this PR, properly identifies that the gene is inverted

Screenshot from 2022-07-07 12-44-05

Without this PR, thinks it is the same strand

Screenshot from 2022-07-07 12-43-56

The logic added in this PR: if the genes are on different strands (f.strand*f.strand===-1) then it is inverted

@github-actions github-actions bot added the needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) label Jul 7, 2022
@cmdcolin cmdcolin changed the title Fix strand on mcscan anchors alignments Fix the display of inversions for MCScan alignments Jul 7, 2022
@cmdcolin cmdcolin added bug Something isn't working and removed needs label triage Needs a label to show in changelog (breaking, enhancement, bug, documentation, or internal) labels Jul 7, 2022
@cmdcolin cmdcolin merged commit bc343b0 into main Jul 7, 2022
@cmdcolin cmdcolin deleted the fix_strand_mcscan branch July 7, 2022 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant