Skip to content

Commit

Permalink
Merge pull request #39 from jakobnissen/fixlinecount
Browse files Browse the repository at this point in the history
Fix FASTQ line counting bug
  • Loading branch information
jakobnissen authored Feb 22, 2021
2 parents b0c50a4 + 7c80fb9 commit ff646a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fastq/readrecord.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ machine = (function ()
end

sep = re.opt('\r') * re"\n"
sep.actions[:exit] = [:sep, :countline]
sep.actions[:exit] = [:countline, :sep]

record = re.cat(header1, newline, sequence, newline, header2, newline, quality)
record.actions[:enter] = [:mark]
Expand Down

0 comments on commit ff646a0

Please sign in to comment.