Skip to content

Commit

Permalink
the SAM field MQ should be all caps
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuels committed Oct 10, 2012
1 parent 461f4d5 commit beba766
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/JBrowse/Store/SeqFeature/BAM/Feature.js
Expand Up @@ -48,7 +48,7 @@ return declare( null,
// trying to determine orientation from 'XS' optional field
data.strand = data.sam_XS == '-' ? -1 : 1;

data.score = data.sam_MQ;
data.score = data.sam_MQ || data.sam_mq;
data.type = 'match';
data.source = store.source;
data.seq_id = data.sam_segment;
Expand Down
2 changes: 1 addition & 1 deletion src/JBrowse/Store/SeqFeature/BAM/File.js
Expand Up @@ -286,7 +286,7 @@ var BamFile = declare( null,
record.quals = qseq;

record.pos = pos;
record.mq = mq;
record.MQ = mq;
record.readName = readName;
record.segment = this.indexToChr[refID];

Expand Down

0 comments on commit beba766

Please sign in to comment.