Skip to content
This repository has been archived by the owner on Aug 26, 2023. It is now read-only.

Commit

Permalink
fix the SAM header parser (#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
bicycle1885 committed Feb 15, 2017
1 parent 6cc2e4f commit 789a12f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/align/hts/sam/reader.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ type SAMReader <: Bio.IO.AbstractReader
reader = new(Ragel.State(samparser_start, input), SAMHeader())
while !eof(input) && BufferedStreams.peek(input) == UInt8('@')
# NOTE: This reads a header line, not the first record.
reader.state.cs = samparser_start
@assert read(reader) == SAMRecord()
end
return reader
Expand Down

0 comments on commit 789a12f

Please sign in to comment.