Antonie
|
Reads a single FASTQ file, and can seek in it. Does adapation of quality scores (Sanger by default) and and can also snip off first n or last n bases. More...
#include <fastq.hh>
Public Member Functions | |
FASTQReader (const std::string &str, unsigned int qoffset, unsigned int snipLeft=0, unsigned int snipRight=0) | |
void | seek (uint64_t pos) |
unsigned int | getRead (FastQRead *fq) |
Get a FastQRead, return number of bytes read. |
Reads a single FASTQ file, and can seek in it. Does adapation of quality scores (Sanger by default) and and can also snip off first n or last n bases.
FASTQReader::FASTQReader | ( | const std::string & | str, |
unsigned int | qoffset, | ||
unsigned int | snipLeft = 0 , |
||
unsigned int | snipRight = 0 |
||
) |
unsigned int FASTQReader::getRead | ( | FastQRead * | fq | ) |
Get a FastQRead, return number of bytes read.
void FASTQReader::seek | ( | uint64_t | pos | ) | [inline] |