Skip to content

Commit

Permalink
Fix the display of deletions vs insertions being backwards in synteny…
Browse files Browse the repository at this point in the history
… view with CIGAR strings (#3074)
  • Loading branch information
cmdcolin authored Jul 7, 2022
1 parent 8834c4f commit 2f663b9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,11 +249,11 @@ function LinearSyntenyRendering({
cx1 += d1 * rev1
cx2 += d2 * rev2
} else if (op === 'D') {
cx1 += d1 * rev1
cx2 += d2 * rev2
} else if (op === 'N') {
cx1 += d1 * rev1
} else if (op === 'I') {
cx2 += d2 * rev2
} else if (op === 'I') {
cx1 += d1 * rev1
}

// check that we are even drawing in view here, e.g. that all
Expand Down

0 comments on commit 2f663b9

Please sign in to comment.