bpp-seq-omics
2.4.1
|
Compute the base frequencies of a maf block. More...
#include <Bpp/Seq/Io/Maf/MafStatistics.h>
Public Member Functions | |
CharacterCountsMafStatistics (const Alphabet *alphabet, const std::vector< std::string > &species, const std::string suffix) | |
CharacterCountsMafStatistics (const CharacterCountsMafStatistics &stats) | |
CharacterCountsMafStatistics & | operator= (const CharacterCountsMafStatistics &stats) |
virtual | ~CharacterCountsMafStatistics () |
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 | |
const Alphabet * | alphabet_ |
std::vector< std::string > | species_ |
bool | noSpeciesMeansAllSpecies_ |
Compute the base frequencies of a maf block.
For each block, provides the following numbers (with their corresponding tags):
Definition at line 436 of file MafStatistics.h.
|
inline |
Definition at line 444 of file MafStatistics.h.
|
inline |
Definition at line 449 of file MafStatistics.h.
|
inlinevirtual |
Definition at line 461 of file MafStatistics.h.
|
virtual |
Implements bpp::MafStatistics.
Definition at line 127 of file MafStatistics.cpp.
References alphabet_, bpp::SequenceContainerTools::getCounts(), bpp::Alphabet::getGapCharacterCode(), bpp::AbstractSpeciesSelectionMafStatistics::getSiteContainer_(), bpp::Alphabet::getSize(), bpp::Alphabet::intToChar(), bpp::Alphabet::isUnresolved(), bpp::AbstractMafStatistics::result_, and bpp::MafStatisticsResult::setValue().
|
inlinevirtual |
Implements bpp::MafStatistics.
Definition at line 465 of file MafStatistics.h.
References bpp::AbstractSpeciesSelectionMafStatistics::suffix_.
|
inlinevirtualinherited |
Implements bpp::MafStatistics.
Definition at line 241 of file MafStatistics.h.
References bpp::AbstractMafStatistics::result_.
|
inlinevirtual |
Implements bpp::MafStatistics.
Definition at line 464 of file MafStatistics.h.
References bpp::AbstractSpeciesSelectionMafStatistics::suffix_.
|
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 compute(), bpp::SiteFrequencySpectrumMafStatistics::compute(), bpp::FourSpeciesPatternCountsMafStatistics::compute(), bpp::SiteMafStatistics::compute(), and bpp::SequenceDiversityMafStatistics::compute().
|
virtual |
Implements bpp::MafStatistics.
Definition at line 115 of file MafStatistics.cpp.
References alphabet_, bpp::Alphabet::getSize(), and bpp::Alphabet::intToChar().
|
inline |
Definition at line 454 of file MafStatistics.h.
References alphabet_.
|
private |
Definition at line 441 of file MafStatistics.h.
Referenced by compute(), getSupportedTags(), and operator=().
|
privateinherited |
Definition at line 382 of file MafStatistics.h.
|
protectedinherited |
Definition at line 234 of file MafStatistics.h.
Referenced by compute(), bpp::SiteFrequencySpectrumMafStatistics::compute(), bpp::FourSpeciesPatternCountsMafStatistics::compute(), bpp::SiteMafStatistics::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 getFullName(), and getShortName().