Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-riley committed May 17, 2022
1 parent 293b0bf commit aa902c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Readers/BamReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,10 @@ private BamAlignment ReadSequence()
var bamAlignment = new BamAlignment
{
block_size = block_size,
refID = BitConverter.ToInt32(block, offset)
};

bamAlignment.refID = BitConverter.ToInt32(block, offset); offset += 4;
offset += 4;
bamAlignment.pos = BitConverter.ToInt32(block, offset) + 1; offset += 4;
bamAlignment.l_read_name = block[offset]; offset += 1;
bamAlignment.mapq = block[offset]; offset += 1;
Expand Down

0 comments on commit aa902c2

Please sign in to comment.