Skip to content

Commit

Permalink
lengthOnRef is now a data item instead of a method
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuels committed Jul 11, 2018
1 parent 3b3c32a commit bcdc4ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JBrowse/Store/SeqFeature/CRAM.js
Expand Up @@ -214,7 +214,7 @@ return declare( [ SeqFeatureStore, DeferredStatsMixin, DeferredFeaturesMixin, Gl
const data = {
name: record.readName,
start: record.alignmentStart-1,
end: record.alignmentStart+record.lengthOnRef()-1,
end: record.alignmentStart+record.lengthOnRef-1,
cram_read_features: record.readFeatures,
type: 'match',
MQ: record.mappingQuality,
Expand Down

0 comments on commit bcdc4ff

Please sign in to comment.