NVBIO
|
An incremental FASTA reader, which parses the reads incrementally without ever storing them internally, and providing them to the output handler base by base.
#include <fasta.h>
Public Methods | |
FASTA_inc_reader (const char *filename, const uint32 buffer_size=64536u) | |
~FASTA_inc_reader () | |
bool | valid () const |
template<typename Writer > | |
uint32 | read (const uint32 n_reads, Writer &writer) |
uint8 | get () |
|
inline |
constructor
Definition at line 35 of file fasta_inl.h.
|
inline |
destructor
Definition at line 45 of file fasta_inl.h.
|
inline |
get the next character, or 255 if EOF
Definition at line 123 of file fasta_inl.h.
uint32 nvbio::FASTA_inc_reader::read | ( | const uint32 | n_reads, |
Writer & | writer | ||
) |
read a batch of bp reads
Writer | an output handler class, which must implement the following interface: |
Definition at line 74 of file fasta_inl.h.
|
inline |