|
cuDDL
|
FASTQ parser over a contiguous in-memory buffer. More...
#include <fastx_sequence_file.hpp>
Public Member Functions | |
| fastx_fastq_reader (std::string_view data, std::string source_name="<buffer>") | |
| Constructs a reader over a contiguous in-memory FASTQ buffer. | |
| Result< bool > | append_next_record (std::string &sequence) |
Appends the next record's sequence bytes to sequence. | |
FASTQ parser over a contiguous in-memory buffer.
Accumulates multiline sequence lines and validates multiline qualities against the sequence length, exactly as the FASTA path's record scan excludes header bytes: only sequence bytes reach the caller. The first header fixes the format; a later header of the other kind is a mixed-format error.
Definition at line 455 of file fastx_sequence_file.hpp.
|
inlineexplicit |
Constructs a reader over a contiguous in-memory FASTQ buffer.
| data | Entire file or decompressed payload. |
| source_name | Label used in parse error messages. |
Definition at line 463 of file fastx_sequence_file.hpp.
|
inline |
Appends the next record's sequence bytes to sequence.
false at end-of-buffer, true when a record was read, or an error. Definition at line 471 of file fastx_sequence_file.hpp.