NVBIO
|
A simple FASTQ_reader, templated over an input stream class
FASTQ_stream | the templated input stream, which must provide a single method: |
#include <fastq.h>
Public Methods | |
FASTQ_reader (FASTQ_stream &stream) | |
~FASTQ_reader () | |
template<typename Writer > | |
uint32 | read (const uint32 n_reads, Writer &writer) |
uint8 | get () |
void | error_string (char *error) |
nvbio::FASTQ_reader< FASTQ_stream >::FASTQ_reader | ( | FASTQ_stream & | stream) |
constructor
Definition at line 100 of file fastq_inl.h.
|
inline |
void nvbio::FASTQ_reader< FASTQ_stream >::error_string | ( | char * | error) |
return the error string
Definition at line 234 of file fastq_inl.h.
|
inline |
uint32 nvbio::FASTQ_reader< FASTQ_stream >::read | ( | const uint32 | n_reads, |
Writer & | writer | ||
) |
read a batch of bp reads
Writer | the output FASTQ writer, which must implement the following interface |
Definition at line 110 of file fastq_inl.h.