|
cuSBF
|
Streaming FASTA/FASTQ parser. More...
#include <Fastx.hpp>
Public Member Functions | |
| FastxReader (std::istream &input, std::string_view source_name="<stream>") | |
| Constructs a reader over an open input stream. | |
| Result< bool > | nextRecord (FastxRecord &record) |
Reads the next FASTA/FASTQ record into record. | |
Streaming FASTA/FASTQ parser.
Reads one record at a time via nextRecord. Errors reading the stream are returned as error results.
|
inlineexplicit |
Constructs a reader over an open input stream.
| input | Input stream positioned at the first record. |
| source_name | Label used in parse error messages. |
Definition at line 305 of file Fastx.hpp.
|
inline |
Reads the next FASTA/FASTQ record into record.
| record | Output record, cleared before fill. |
false at end-of-stream, true when a record was read, or an error. Definition at line 314 of file Fastx.hpp.