|
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_INPUT_ITERATOR_H_
2 #define GENESIS_SEQUENCE_FORMATS_FASTQ_INPUT_ITERATOR_H_
110 : input_stream_( nullptr )
119 : input_stream_( std::make_shared<utils::InputStream>( source ))
131 : input_stream_( std::make_shared<utils::InputStream>( source ))
133 , reader_( settings )
152 return input_stream_ == other.input_stream_;
157 return !( *
this == other );
163 explicit operator bool()
const
229 if( ! input_stream_ || ! *input_stream_ ) {
231 input_stream_ =
nullptr;
246 std::shared_ptr<utils::InputStream> input_stream_;
255 #endif // include guard
Read Fastq sequence data.
Provides some valuable additions to STD.
Container namespace for all symbols of genesis in order to keep them separate when used as a library.
bool parse_sequence(utils::InputStream &input_stream, Sequence &sequence) const
Parse a Sequence in Fastq format.