Skip to content

Commit

Permalink
Recreate mismatch mismatch chromosomes alignment coloring black/grey …
Browse files Browse the repository at this point in the history
…on alignments
  • Loading branch information
cmdcolin committed Sep 20, 2018
1 parent bf3a7fe commit 6c7e541
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/JBrowse/Store/SeqFeature/BAM.js
Expand Up @@ -30,7 +30,7 @@ class BamSlightlyLazyFeature {
_get_multi_segment_last() { return this.record.isRead2()}
_get_multi_segment_next_segment_reversed() { return this.record.isMateReverseComplemented()}
_get_unmapped() { return this.record.isSegmentUnmapped()}
_get_next_seq_id() { return this.record.mate ? this._store._refIdToName(this.record.mate.sequenceId) : undefined }
_get_next_seq_id() { return this._store._refIdToName(this.record._next_refid()) }
_get_next_segment_position() { return this.record.mate
? ( this._store._refIdToName(this.record.mate.sequenceId)+':'+this.record.mate.alignmentStart) : undefined}
_get_tags() { console.log('tags'); return this.record.tags }
Expand Down Expand Up @@ -119,7 +119,8 @@ return declare( [ SeqFeatureStore, DeferredStatsMixin, DeferredFeaturesMixin, In
bamFilehandle: dataBlob,
baiFilehandle: baiBlob,
csiFilehandle: csiBlob,
renameRefSeqs: n => this.browser.regularizeReferenceName(n)
renameRefSeqs: n => this.browser.regularizeReferenceName(n),
fetchSizeLimit: 30000000
})

bamIndexedFilesCache.set(cacheKey, this.bam)
Expand Down

0 comments on commit 6c7e541

Please sign in to comment.