Skip to content

Commit

Permalink
Remove vestigial BAM code
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Sep 21, 2018
1 parent 070b0fc commit cff7a88
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 1,229 deletions.
281 changes: 0 additions & 281 deletions src/JBrowse/Model/BAIIndex.js

This file was deleted.

9 changes: 2 additions & 7 deletions src/JBrowse/Model/CSIIndex.js
Expand Up @@ -3,21 +3,16 @@ define([
'JBrowse/Util',
'JBrowse/Model/DataView',
'JBrowse/Model/TabixIndex',
'JBrowse/Model/BGZip/VirtualOffset',
'JBrowse/Store/SeqFeature/BAM/Util'
'JBrowse/Model/BGZip/VirtualOffset'
],
function(
declare,
Util,
jDataView,
TabixIndex,
VirtualOffset,
BAMUtil
VirtualOffset
) {

var readInt = BAMUtil.readInt;
var readVirtualOffset = BAMUtil.readVirtualOffset;


function lshift(num, bits) {
return num * Math.pow(2, bits);
Expand Down
2 changes: 1 addition & 1 deletion src/JBrowse/Store/SeqFeature/BAM.js
Expand Up @@ -21,7 +21,7 @@ class BamSlightlyLazyFeature {
_get_cigar() { return this.record.get('cigar')}
_get_seq_id() { return this._store._refIdToName(this.record.sequenceId)}
_get_qc_failed() { return this.record.isFailedQc()}
_get_secondary_alignment() { return this.record.isSecondary()}
_get_secondary_alignment() { console.log('here',this.record.isSecondary());return this.record.isSecondary()}
_get_supplementary_alignment() { return this.record.isSupplementary()}
_get_multi_segment_template() { return this.record.isPaired()}
_get_multi_segment_all_correctly_aligned() { return this.record.isProperlyPaired()}
Expand Down

0 comments on commit cff7a88

Please sign in to comment.