bpp-seq-omics
2.4.1
|
Retrieve the sequence length (number of nucleotides) for a given species in a maf block. More...
#include <Bpp/Seq/Io/Maf/MafStatistics.h>
Public Member Functions | |
SequenceLengthMafStatistics (const std::string &species) | |
~SequenceLengthMafStatistics () | |
std::string | getShortName () const |
std::string | getFullName () const |
void | compute (const MafBlock &block) |
const SimpleMafStatisticsResult & | getResult () const |
std::vector< std::string > | getSupportedTags () const |
Protected Attributes | |
SimpleMafStatisticsResult | result_ |
Private Attributes | |
std::string | species_ |
Retrieve the sequence length (number of nucleotides) for a given species in a maf block.
If no sequence is found for the current block, 0 is returned. If several sequences are found for a given species, an exception is thrown.
Definition at line 327 of file MafStatistics.h.
|
inline |
Definition at line 334 of file MafStatistics.h.
|
inline |
Definition at line 335 of file MafStatistics.h.
|
inlinevirtual |
Implements bpp::MafStatistics.
Definition at line 340 of file MafStatistics.h.
References bpp::SequenceTools::getNumberOfSites(), bpp::MafBlock::getSequencesForSpecies(), bpp::AbstractMafStatisticsSimple::result_, bpp::SimpleMafStatisticsResult::setValue(), and species_.
|
inlinevirtual |
|
inlinevirtualinherited |
Implements bpp::MafStatistics.
Definition at line 258 of file MafStatistics.h.
References bpp::AbstractMafStatisticsSimple::result_.
|
inlinevirtual |
|
inlinevirtualinherited |
Implements bpp::MafStatistics.
Definition at line 259 of file MafStatistics.h.
References bpp::MafStatisticsResult::getAvailableTags(), and bpp::AbstractMafStatisticsSimple::result_.
|
protectedinherited |
Definition at line 251 of file MafStatistics.h.
Referenced by bpp::BlockSizeMafStatistics::compute(), bpp::BlockLengthMafStatistics::compute(), compute(), bpp::AlignmentScoreMafStatistics::compute(), bpp::AbstractMafStatisticsSimple::getResult(), and bpp::AbstractMafStatisticsSimple::getSupportedTags().
|
private |
Definition at line 331 of file MafStatistics.h.
Referenced by compute(), getFullName(), and getShortName().