Gamgee
You miserable little maggot. I'll stove your head in!
|
Utility class to hold one FastA or FastQ record. More...
#include <fastq.h>
Public Member Functions | |
Fastq () | |
creates an empty record More... | |
Fastq (std::string name, std::string comment, std::string sequence, std::string quals="") | |
creates a full object by assigning all fields More... | |
Fastq (const Fastq &)=default | |
Fastq & | operator= (const Fastq &)=default |
Fastq (Fastq &&)=default | |
Fastq & | operator= (Fastq &&)=default |
bool | operator!= (const Fastq &other) const |
inequality comparison of all fields in the record More... | |
bool | operator== (const Fastq &other) const |
equality comparison of all fields in the record More... | |
std::string | name () const |
std::string | comment () const |
std::string | sequence () const |
std::string | quals () const |
void | set_name (const std::string &name) |
void | set_comment (const std::string &comment) |
void | set_sequence (const std::string &sequence) |
void | set_quals (const std::string &quals) |
void | chop (const int nBases) |
hard clips the first n bases of the read. More... | |
void | reverse_complement () |
transform the sequence into it's reverse complement. More... | |
bool | is_fastq () const |
true if the record has a quals in it's qual field More... | |
Utility class to hold one FastA or FastQ record.
Will automatically output a FastA or FastQ based on the presence of quality scores.
|
inline |
creates an empty record
|
inline |
creates a full object by assigning all fields
name | sequence name |
comment | optional comment |
sequence | sequence bases |
quals | optional quality scores (leave it out for FastA) |
|
default |
|
default |
void gamgee::Fastq::chop | ( | const int | nBases | ) |
hard clips the first n bases of the read.
|
inline |
bool gamgee::Fastq::is_fastq | ( | ) | const |
true if the record has a quals in it's qual field
|
inline |
|
inline |
inequality comparison of all fields in the record
|
inline |
equality comparison of all fields in the record
|
inline |
void gamgee::Fastq::reverse_complement | ( | ) |
transform the sequence into it's reverse complement.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |