Skip to content

Commit

Permalink
stop making subfeatures and Gap attrs from ciar strings, too slow
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuels committed Oct 23, 2012
1 parent b64c7dd commit 5b5c237
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/JBrowse/Store/SeqFeature/BAM/Feature.js
Expand Up @@ -61,11 +61,11 @@ var Feature = Util.fastDeclare(
: this.data.name+' at '+ data.segment + ':' + data.start + '..' + data.end;

var cigar = data.CIGAR || data.cigar;
this.data.subfeatures = [];
if( cigar ) {
this.data.Gap = this._cigarToGap( cigar );
this.data.subfeatures.push.apply( this.data.subfeatures, this._cigarToSubfeats( cigar, this ) );
}
// this.data.subfeatures = [];
// if( cigar ) {
// this.data.Gap = this._cigarToGap( cigar );
// this.data.subfeatures.push.apply( this.data.subfeatures, this._cigarToSubfeats( cigar, this ) );
// }
},

_fromBytes: function( byteArray, blockStart, blockEnd ) {
Expand Down

0 comments on commit 5b5c237

Please sign in to comment.