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

Commit 789a12f

Browse files
committed
fix the SAM header parser (#377)
1 parent 6cc2e4f commit 789a12f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/align/hts/sam/reader.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ type SAMReader <: Bio.IO.AbstractReader
1717
reader = new(Ragel.State(samparser_start, input), SAMHeader())
1818
while !eof(input) && BufferedStreams.peek(input) == UInt8('@')
1919
# NOTE: This reads a header line, not the first record.
20+
reader.state.cs = samparser_start
2021
@assert read(reader) == SAMRecord()
2122
end
2223
return reader

0 commit comments

Comments
 (0)