Skip to content

Commit

Permalink
Bug fix -- coverage track mismatches not showing. Fixes #1860
Browse files Browse the repository at this point in the history
  • Loading branch information
jrobinso committed Aug 5, 2024
1 parent edde742 commit b3013b7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions js/bam/alignmentContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,17 @@ class AlignmentContainer {
colorBy
}) {

this.alleleFreqThreshold = alleleFreqThreshold === undefined ? 0.2 : alleleFreqThreshold
this.samplingWindowSize = samplingWindowSize || 100
this.samplingDepth = samplingDepth || 1000

this.chr = chr
this.start = Math.floor(start)
this.end = Math.ceil(end)
this.length = (end - start)
this.coverageMap = new CoverageMap(chr, start, end, this.alleleFreqThreshold)
this.downsampledIntervals = []

this.alleleFreqThreshold = alleleFreqThreshold === undefined ? 0.2 : alleleFreqThreshold
this.samplingWindowSize = samplingWindowSize || 100
this.samplingDepth = samplingDepth || 1000

// Enable basemods
if (colorBy && colorBy.startsWith("basemod")) {
Expand Down

0 comments on commit b3013b7

Please sign in to comment.