|
A library for working with phylogenetic and population genetic data.
v0.27.0
|
|
Go to the documentation of this file. 1 #ifndef GENESIS_SEQUENCE_FORMATS_FASTQ_WRITER_H_
2 #define GENESIS_SEQUENCE_FORMATS_FASTQ_WRITER_H_
100 void write(
Sequence const& sequence, std::shared_ptr<utils::BaseOutputTarget> target )
const;
108 void write(
SequenceSet const& sequence_set, std::shared_ptr<utils::BaseOutputTarget> target )
const;
184 size_t line_length_ = 0;
185 unsigned char fill_missing_quality_ = 255;
186 bool repeat_label_ =
false;
193 #endif // include guard
size_t line_length() const
Get the current line length.
FastqWriter & operator=(FastqWriter const &)=default
void write(Sequence const &sequence, std::shared_ptr< utils::BaseOutputTarget > target) const
Write a single Sequence to an output target, using the Fastq format.
Container namespace for all symbols of genesis in order to keep them separate when used as a library.
Store a set of Sequences.
bool repeat_label() const
Get whether the setting to repeat the sequence identifier (label) on the third line is set.
void write_sequence(Sequence const &sequence, std::ostream &os) const
Write a single Sequence to an output stream in Fastq format.
unsigned char fill_missing_quality() const
Get the current value to fill missing phred quality scores.