@gmod/jbrowse
Version:
JBrowse - client-side genome browser
19 lines (18 loc) • 480 B
JavaScript
/**
* Very minimal feature class for the features we make for just
* calculating coverage.
*/
define( ['JBrowse/Util'],
function( Util ) {
return Util.fastDeclare(
{
get: function(f) { return this[f]; },
tags: function() { return [ 'start', 'end', 'score' ]; },
score: 0,
constructor: function( args ) {
this.start = args.start;
this.end = args.end;
this.score = args.score;
}
});
});