Skip to content

Commit

Permalink
Reorient strands on read vs ref plots (#2077)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin authored Jun 25, 2021
1 parent f460d3d commit 72d10c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion plugins/dotplot-view/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export default class DotplotPlugin extends Plugin {
clipPos: saClipPos,
CIGAR: saCigar,
assemblyName: trackAssembly,
strand: saStrandNormalized,
strand: 1, // saStrandNormalized,
uniqueId: `${feature.id()}_SA${index}`,
mate: {
start: saClipPos,
Expand All @@ -225,6 +225,7 @@ export default class DotplotPlugin extends Plugin {
})

const feat = feature.toJSON()
feat.strand = 1
feat.mate = {
refName: readName,
start: clipPos,
Expand Down
3 changes: 2 additions & 1 deletion plugins/linear-comparative-view/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ function WindowSizeDlg(props: {
clipPos: saClipPos,
CIGAR: saCigar,
assemblyName: trackAssembly,
strand: saStrandNormalized,
strand: 1, // saStrandNormalized,
uniqueId: `${feature.id()}_SA${index}`,
mate: {
start: saClipPos,
Expand All @@ -266,6 +266,7 @@ function WindowSizeDlg(props: {

const feat = feature.toJSON()
feat.clipPos = clipPos
feat.strand = 1

feat.mate = {
refName: readName,
Expand Down

0 comments on commit 72d10c0

Please sign in to comment.