bpp-seq-omics
2.4.1
|
Compute a few site statistics in a maf block. More...
#include <Bpp/Seq/Io/Maf/MafStatistics.h>
Public Member Functions | |
SiteMafStatistics (const std::vector< std::string > &species) | |
virtual | ~SiteMafStatistics () |
std::string | getShortName () const |
std::string | getFullName () const |
void | compute (const MafBlock &block) |
std::vector< std::string > | getSupportedTags () const |
const MafStatisticsResult & | getResult () const |
Protected Member Functions | |
SiteContainer * | getSiteContainer_ (const MafBlock &block) |
Protected Attributes | |
MafStatisticsResult | result_ |
std::string | suffix_ |
Private Attributes | |
std::vector< std::string > | species_ |
bool | noSpeciesMeansAllSpecies_ |
Compute a few site statistics in a maf block.
Computed statistics include:
Definition at line 624 of file MafStatistics.h.
|
inline |
Definition at line 629 of file MafStatistics.h.
|
inlinevirtual |
Definition at line 634 of file MafStatistics.h.
|
virtual |
Implements bpp::MafStatistics.
Definition at line 315 of file MafStatistics.cpp.
References bpp::SiteTools::getCounts(), bpp::AbstractSpeciesSelectionMafStatistics::getSiteContainer_(), bpp::SiteTools::hasGap(), bpp::SiteTools::isComplete(), bpp::SiteTools::isParsimonyInformativeSite(), bpp::AbstractMafStatistics::result_, and bpp::MafStatisticsResult::setValue().
|
inlinevirtual |
Implements bpp::MafStatistics.
Definition at line 638 of file MafStatistics.h.
|
inlinevirtualinherited |
Implements bpp::MafStatistics.
Definition at line 241 of file MafStatistics.h.
References bpp::AbstractMafStatistics::result_.
|
inlinevirtual |
Implements bpp::MafStatistics.
Definition at line 637 of file MafStatistics.h.
|
protectedinherited |
Definition at line 68 of file MafStatistics.cpp.
References bpp::VectorSiteContainer::addSequence(), bpp::MafBlock::getAlignment(), bpp::AlignedSequenceContainer::getAlphabet(), bpp::MafBlock::getSequencesForSpecies(), and bpp::MafBlock::hasSequenceForSpecies().
Referenced by bpp::CharacterCountsMafStatistics::compute(), bpp::SiteFrequencySpectrumMafStatistics::compute(), bpp::FourSpeciesPatternCountsMafStatistics::compute(), compute(), and bpp::SequenceDiversityMafStatistics::compute().
|
virtual |
Implements bpp::MafStatistics.
Definition at line 302 of file MafStatistics.cpp.
|
privateinherited |
Definition at line 382 of file MafStatistics.h.
|
protectedinherited |
Definition at line 234 of file MafStatistics.h.
Referenced by bpp::CharacterCountsMafStatistics::compute(), bpp::SiteFrequencySpectrumMafStatistics::compute(), bpp::FourSpeciesPatternCountsMafStatistics::compute(), compute(), bpp::PolymorphismMafStatistics::compute(), bpp::SequenceDiversityMafStatistics::compute(), and bpp::AbstractMafStatistics::getResult().
|
privateinherited |
Definition at line 381 of file MafStatistics.h.
|
protectedinherited |
Definition at line 385 of file MafStatistics.h.
Referenced by bpp::CharacterCountsMafStatistics::getFullName(), and bpp::CharacterCountsMafStatistics::getShortName().