#include <fastafileindexer.h>
Definition at line 69 of file fastafileindexer.h.
◆ FastaFileIndexer() [1/2]
pappso::FastaFileIndexer::FastaFileIndexer |
( |
const QFileInfo & |
fastaFile | ) |
|
◆ FastaFileIndexer() [2/2]
◆ ~FastaFileIndexer()
pappso::FastaFileIndexer::~FastaFileIndexer |
( |
| ) |
|
|
virtual |
◆ close()
void pappso::FastaFileIndexer::close |
( |
| ) |
|
|
overridevirtual |
◆ getSequenceByIndex()
void pappso::FastaFileIndexer::getSequenceByIndex |
( |
FastaHandlerInterface & |
fasta_handler, |
|
|
std::size_t |
index |
|
) |
| |
|
overridevirtual |
Implements pappso::FastaFileIndexerInterface.
Definition at line 167 of file fastafileindexer.cpp.
175 throw ExceptionOutOfRange(
176 QObject::tr(
"ERROR reading FASTA file %1 : sequence index %2 "
177 "unreachable, array size=%3")
189 return std::make_shared<FastaFileIndexer>(*
this);
◆ makeFastaFileIndexerSPtr()
◆ open()
void pappso::FastaFileIndexer::open |
( |
| ) |
|
|
overridevirtual |
◆ parseFastaFile()
void pappso::FastaFileIndexer::parseFastaFile |
( |
| ) |
|
|
private |
Definition at line 91 of file fastafileindexer.cpp.
104 while(!bin_in.atEnd() && (char_in > (qint8)20))
112 if(!bin_in.atEnd() && (char_in < (qint8)21))
132 throw PappsoException(QObject::tr(
"ERROR opening FASTA file %1 for read")
References m_indexArray.
◆ m_fasta_file
QFile pappso::FastaFileIndexer::m_fasta_file |
|
private |
◆ m_indexArray
std::vector<qint64> pappso::FastaFileIndexer::m_indexArray |
|
private |
◆ mpa_sequenceTxtIn
QTextStream* pappso::FastaFileIndexer::mpa_sequenceTxtIn = nullptr |
|
private |
The documentation for this class was generated from the following files: