bpp-seq3
3.0.0
|
The AlignedSequencesContainer class. More...
#include <Bpp/Seq/Container/AlignedSequenceContainer.h>
Public Member Functions | |
TemplateAlignedSequenceContainer (std::shared_ptr< const Alphabet > alphabet, std::vector< std::unique_ptr< Sequence >> vs) | |
Build a container with pointers to sequence objects. More... | |
TemplateAlignedSequenceContainer (std::shared_ptr< const Alphabet > alphabet) | |
Build a new empty container with the specified alphabet. More... | |
TemplateAlignedSequenceContainer (const TemplateAlignedSequenceContainer< SequenceType, SiteType > &asc) | |
Copy constructor. More... | |
TemplateAlignedSequenceContainer (const TemplateSiteContainerInterface< SiteType, SequenceType, std::string > &sc) | |
Convert any SiteContainer object into a AlignedSequenceContainer object. More... | |
TemplateAlignedSequenceContainer (const TemplateSequenceContainerInterface< SequenceType, std::string > &sc) | |
Try to coerce a SequenceContainer object into an AlignedSequenceContainer object. More... | |
TemplateAlignedSequenceContainer & | operator= (const TemplateAlignedSequenceContainer< SequenceType, SiteType > &asc) |
TemplateAlignedSequenceContainer< SequenceType, SiteType > & | operator= (const TemplateSiteContainerInterface< SiteType, SequenceType, std::string > &sc) |
TemplateAlignedSequenceContainer & | operator= (const TemplateSequenceContainerInterface< SequenceType, std::string > &sc) |
virtual | ~TemplateAlignedSequenceContainer () |
SequenceType::ElementType & | valueAt (const std::string &sequenceKey, size_t sitePosition) override |
Get the content of the dataset at a specific position (sequence key, site position). More... | |
SequenceType::ElementType & | valueAt (const size_t sequencePosition, size_t sitePosition) override |
Get the content of the dataset at a specific position (sequence position, site position). More... | |
virtual void | addSequence (std::unique_ptr< SequenceType > &sequencePtr) |
Add a sequence to the container, using its name as a key. More... | |
const Alphabet & | alphabet () const override |
Get the container's alphabet. More... | |
std::shared_ptr< const Alphabet > | getAlphabet () const override |
Get a pointer toward the container's alphabet. More... | |
virtual const Comments & | getComments () const =0 |
Get the comments. More... | |
const Comments & | getComments () const override |
Get the comments. More... | |
virtual void | setComments (const Comments &comments)=0 |
Set the comments. More... | |
void | setComments (const Comments &comments) override |
Set the comments. More... | |
virtual void | clearComments ()=0 |
void | clearComments () override |
The Clonable interface. | |
TemplateAlignedSequenceContainer< SequenceType, SiteType > * | clone () const override |
The SiteContainer interface implementation: | |
const SiteType & | site (size_t sitePosition) const override |
Get a site from the container. More... | |
void | setSite (size_t sitePosition, std::unique_ptr< SiteType > &site, bool checkCoordinate=true) override |
Set a site in the container. More... | |
std::unique_ptr< SiteType > | removeSite (size_t sitePosition) override |
Remove a site from the container. More... | |
void | deleteSite (size_t sitePosition) override |
Delete a site from the container. More... | |
void | deleteSites (size_t sitePosition, size_t length) override |
Remove a continuous range of sites in the container. More... | |
void | addSite (std::unique_ptr< SiteType > &site, bool checkCoordinate=true) override |
Add a site in the container. More... | |
void | addSite (std::unique_ptr< SiteType > &site, size_t sitePosition, bool checkCoordinate=true) override |
Add a site in the container. More... | |
void | clear () override |
Delete all data in the container. More... | |
TemplateAlignedSequenceContainer * | createEmptyContainer () const override |
Return a copy of this container, but with no data inside. More... | |
size_t | getNumberOfSites () const override |
Get the number of aligned positions in the container. More... | |
Vint | getSiteCoordinates () const override |
Get all coordinates of sites. More... | |
void | setSiteCoordinates (const Vint &vCoordinates) override |
Set all coordinates of sites. More... | |
void | reindexSites () override |
Set all coordinate attributes. More... | |
Redefinition of VectorSequenceContainer methods, to check for sequence lengths. | |
void | setSequence (const std::string &sequenceKey, std::unique_ptr< SequenceType > &sequencePtr) override |
Replace a sequence in the container. More... | |
void | addSequence (const std::string &sequenceKey, std::unique_ptr< SequenceType > &sequencePtr) override |
Add a sequence to the container. More... | |
void | setSequence (size_t sequencePosition, std::unique_ptr< SequenceType > &sequencePtr) override |
Replace a sequence in the container. More... | |
void | setSequence (size_t sequencePosition, std::unique_ptr< SequenceType > &sequencePtr, const std::string &sequenceKey) override |
Replace a sequence in the container. More... | |
void | insertSequence (size_t sequencePosition, std::unique_ptr< SequenceType > &sequencePtr, const std::string &sequenceKey) override |
Insert a sequence in the container. More... | |
The SequenceContainer interface. | |
double | getStateValueAt (size_t sitePosition, const std::string &sequenceKey, int state) const override |
Get the value of a state at a given position. More... | |
double | getStateValueAt (size_t sitePosition, size_t sequencePosition, int state) const override |
Get value of a state at a given position. More... | |
double | operator() (size_t sitePosition, const std::string &sequenceKey, int state) const override |
Get the value of a state at a given position. More... | |
double | operator() (size_t sitePosition, size_t sequencePosition, int state) const override |
Get the value of a state at a given position. More... | |
size_t | getNumberOfSequences () const override |
Get the number of sequences in the container. More... | |
std::vector< std::string > | getSequenceKeys () const override |
void | setSequenceKeys (const std::vector< std::string > &sequenceKeys) override |
Reset all sequence keys. More... | |
const std::string & | sequenceKey (size_t sequencePosition) const override |
Get the key associated to a given sequence. More... | |
size_t | getSequencePosition (const std::string &sequenceKey) const override |
Get the position of a sequence with a given key in the container. More... | |
const SequenceType::ElementType & | valueAt (const std::string &sequenceKey, size_t elementPosition) const override |
Get the content of the dataset at a specific position (sequence key, site position). More... | |
const SequenceType::ElementType & | valueAt (size_t sequencePosition, size_t elementPosition) const override |
Get the content of the dataset at a specific position (sequence position, site position). More... | |
bool | hasSequence (const std::string &sequenceKey) const override |
Check if a certain key is associated to a sequence in the container. More... | |
const SequenceType & | sequence (const std::string &sequenceKey) const override |
Retrieve a sequence object from the container. More... | |
const SequenceType & | sequence (size_t sequencePosition) const override |
Retrieve a sequence object from the container. More... | |
std::unique_ptr< SequenceType > | removeSequence (const std::string &sequenceKey) override |
Remove a sequence from the container. More... | |
std::unique_ptr< SequenceType > | removeSequence (size_t sequencePosition) override |
Remove a sequence from the container. More... | |
void | deleteSequence (const std::string &sequenceKey) override |
Remove and delete a sequence from the container. More... | |
void | deleteSequence (size_t sequencePosition) override |
Remove and delete a sequence from the container. More... | |
std::vector< std::string > | getSequenceNames () const override |
void | setSequenceNames (const std::vector< std::string > &names, bool updateKeys) override |
Batch-set all sequence names. More... | |
std::vector< Comments > | getSequenceComments () const override |
Protected Member Functions | |
bool | checkSize_ (const Sequence &sequenceRef) |
Check sequence's size before insertion in sequence container. More... | |
virtual SequenceType & | sequence_ (size_t sequencePosition) |
virtual SequenceType & | sequence_ (const std::string &sequenceKey) |
getSequence with given key More... | |
Protected Attributes | |
VectorMappedContainer< SequenceType > | sequenceVectorMap_ |
std::shared_ptr< const Alphabet > | alphabet_ |
The container's alphabet. More... | |
Comments | comments_ |
Private Attributes | |
VectorPositionedContainer< SiteType > | siteVector_ |
std::vector< int > | coordinates_ |
size_t | length_ |
The AlignedSequencesContainer class.
This class inherits from the VectorSequenceContainer and add site access. Sequence addition methods are re-defined to check for sequence lengths. Sequence access is in , and site access in , where is the number of sequences in the container.
Sites are built on the fly when needed, otherwise they are only nullptr
See VectorSiteContainer for an alternative implementation.
Definition at line 39 of file AlignedSequenceContainer.h.
|
inline |
Build a container with pointers to sequence objects.
The keys of the map are set to the names of the sequences.
alphabet | The alphabet of the container. |
vs | A vector of smart pointers toward sequence objects. |
Definition at line 60 of file AlignedSequenceContainer.h.
References bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::checkSize_(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::length_, bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::reindexSites(), bpp::VectorPositionedContainer< T >::setSize(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::siteVector_.
Referenced by bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::createEmptyContainer().
|
inline |
Build a new empty container with the specified alphabet.
alphabet | The alphabet of the container. |
Definition at line 88 of file AlignedSequenceContainer.h.
References bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::reindexSites().
|
inline |
Copy constructor.
asc | The container to copy. |
Definition at line 103 of file AlignedSequenceContainer.h.
|
inline |
Convert any SiteContainer object into a AlignedSequenceContainer object.
sc | The container to copy. |
Definition at line 115 of file AlignedSequenceContainer.h.
|
inline |
Try to coerce a SequenceContainer object into an AlignedSequenceContainer object.
Sequences in osc will be considered aligned, and have the same number of sites.
sc | The ordered container to coerce. |
SequenceNotAlignedException | If sequences in sc do not have the same length. |
Definition at line 130 of file AlignedSequenceContainer.h.
References bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::addSequence(), bpp::Commentable::getComments(), bpp::TemplateSequenceDataInterface< HashType >::getNumberOfSequences(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::length_, bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::reindexSites(), bpp::TemplateVectorSequenceContainer< SequenceType >::sequence(), bpp::SimpleCommentable::setComments(), bpp::VectorPositionedContainer< T >::setSize(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::siteVector_.
|
inlinevirtual |
Definition at line 193 of file AlignedSequenceContainer.h.
|
inlineoverridevirtual |
Add a sequence to the container.
Similar to setSequence, with the exception that an Exception will be raised in case of an existing key. Existing sequences will not be updated, only new ones will be appended.
sequenceKey | The key to which the sequence is associated. |
sequencePtr | The sequence to add. |
Implements bpp::TemplateSequenceContainerInterface< SequenceType, std::string >.
Definition at line 475 of file AlignedSequenceContainer.h.
References bpp::TemplateVectorSequenceContainer< SequenceType >::addSequence(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::checkSize_(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::length_, bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::reindexSites(), bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceKey(), bpp::VectorPositionedContainer< T >::setSize(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::siteVector_.
Referenced by bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::TemplateAlignedSequenceContainer().
|
inlinevirtualinherited |
Add a sequence to the container, using its name as a key.
sequencePtr | A unique_ptr to the sequence to add. |
Definition at line 371 of file VectorSequenceContainer.h.
References bpp::TemplateVectorSequenceContainer< SequenceType >::addSequence().
|
inlineoverridevirtual |
Add a site in the container.
site | The site to add. |
checkCoordinate | Look if the coordinate of the new site match a coordinate attribute in the container. |
Exception | If the specified site does not exists or is not correct. |
Implements bpp::TemplateSiteContainerInterface< SiteType, SequenceType, std::string >.
Definition at line 341 of file AlignedSequenceContainer.h.
References bpp::VectorPositionedContainer< T >::appendObject(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::coordinates_, bpp::AbstractTemplateSequenceContainer< SequenceType, std::string >::getAlphabet(), bpp::TemplateVectorSequenceContainer< SequenceType >::getNumberOfSequences(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::length_, bpp::TemplateVectorSequenceContainer< SequenceType >::sequence_(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::site(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::siteVector_.
|
inlineoverridevirtual |
Add a site in the container.
site | The site to add. |
sitePosition | The coordinate where to insert the site. |
checkCoordinate | Look if the coordinate of the new site match a coordinate attribute in the container. |
Exception | If the specified site does not exists or is not correct. |
Implements bpp::TemplateSiteContainerInterface< SiteType, SequenceType, std::string >.
Definition at line 376 of file AlignedSequenceContainer.h.
References bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::coordinates_, bpp::AbstractTemplateSequenceContainer< SequenceType, std::string >::getAlphabet(), bpp::TemplateVectorSequenceContainer< SequenceType >::getNumberOfSequences(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::getNumberOfSites(), bpp::VectorPositionedContainer< T >::insertObject(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::length_, bpp::TemplateVectorSequenceContainer< SequenceType >::sequence_(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::site(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::siteVector_.
|
inlineoverridevirtualinherited |
Get the container's alphabet.
Implements bpp::TemplateSequenceDataInterface< std::string >.
Definition at line 95 of file AbstractSequenceContainer.h.
|
inlineprotected |
Check sequence's size before insertion in sequence container.
sequenceRef | The sequence to check. |
Definition at line 573 of file AlignedSequenceContainer.h.
References bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::length_, and bpp::AbstractTemplateSymbolList< T >::size().
Referenced by bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::addSequence(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::insertSequence(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::setSequence(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::TemplateAlignedSequenceContainer().
|
inlineoverridevirtual |
Delete all data in the container.
Implements bpp::TemplateSequenceDataInterface< std::string >.
Definition at line 414 of file AlignedSequenceContainer.h.
References bpp::VectorPositionedContainer< T >::clear(), bpp::TemplateVectorSequenceContainer< SequenceType >::clear(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::length_, and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::siteVector_.
|
inlineoverridevirtualinherited |
Implements bpp::Commentable.
Definition at line 88 of file Commentable.h.
References bpp::SimpleCommentable::comments_.
|
pure virtualinherited |
Implemented in bpp::SimpleCommentable.
|
inlineoverridevirtual |
Implements bpp::TemplateSiteContainerInterface< SiteType, SequenceType, std::string >.
Definition at line 201 of file AlignedSequenceContainer.h.
|
inlineoverridevirtual |
Return a copy of this container, but with no data inside.
This method creates a new SequencedContainer object. The class of this container depends on the class implementing this interface.
Implements bpp::TemplateSiteContainerInterface< SiteType, SequenceType, std::string >.
Definition at line 422 of file AlignedSequenceContainer.h.
References bpp::AbstractTemplateSequenceContainer< SequenceType, std::string >::getAlphabet(), bpp::SimpleCommentable::getComments(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::TemplateAlignedSequenceContainer().
|
inlineoverridevirtualinherited |
Remove and delete a sequence from the container.
sequenceKey | The key to which the sequence is associated. |
Implements bpp::TemplateSequenceDataInterface< std::string >.
Definition at line 280 of file VectorSequenceContainer.h.
References bpp::VectorMappedContainer< T >::deleteObject(), bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceKey(), and bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceVectorMap_.
|
inlineoverridevirtualinherited |
Remove and delete a sequence from the container.
sequencePosition | The position of the sequence. |
Implements bpp::TemplateSequenceDataInterface< std::string >.
Definition at line 285 of file VectorSequenceContainer.h.
References bpp::VectorMappedContainer< T >::deleteObject(), and bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceVectorMap_.
|
inlineoverridevirtual |
Delete a site from the container.
The site is deleted (ie the container is shortened).
sitePosition | The position of the site in the container. |
IndexOutOfBoundsException | If the specified site does not exists. |
Implements bpp::TemplateSiteContainerInterface< SiteType, SequenceType, std::string >.
Definition at line 300 of file AlignedSequenceContainer.h.
References bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::coordinates_, bpp::VectorPositionedContainer< T >::deleteObject(), bpp::TemplateVectorSequenceContainer< SequenceType >::getNumberOfSequences(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::getNumberOfSites(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::length_, bpp::TemplateVectorSequenceContainer< SequenceType >::sequence_(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::siteVector_.
|
inlineoverridevirtual |
Remove a continuous range of sites in the container.
sitePosition | The position of the first site in the container. |
length | The length of the region to delete, starting at pposition sitePosition. |
IndexOutOfBoundsException | If the specified range is not valid. |
Implements bpp::TemplateSiteContainerInterface< SiteType, SequenceType, std::string >.
Definition at line 320 of file AlignedSequenceContainer.h.
References bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::coordinates_, bpp::VectorPositionedContainer< T >::deleteObjects(), bpp::TemplateVectorSequenceContainer< SequenceType >::getNumberOfSequences(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::getNumberOfSites(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::length_, bpp::TemplateVectorSequenceContainer< SequenceType >::sequence_(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::siteVector_.
|
inlineoverridevirtualinherited |
Get a pointer toward the container's alphabet.
Implements bpp::TemplateSequenceDataInterface< std::string >.
Definition at line 101 of file AbstractSequenceContainer.h.
|
pure virtualinherited |
Get the comments.
Implemented in bpp::SimpleCommentable.
Referenced by bpp::Mase::appendSequencesFromStream(), bpp::AllelicAlphabet::convertFromStateAlphabet(), bpp::SiteContainerTools::getSelectedPositions(), bpp::MaseTools::getSelectedSites(), bpp::SiteContainerTools::getSelectedSites(), bpp::AbstractCoreSequence::operator=(), bpp::AbstractTemplateSequenceContainer< SequenceType, HashType >::operator=(), bpp::TemplateVectorSequenceContainer< SequenceType >::operator=(), bpp::SiteContainerTools::resolveDottedAlignment(), bpp::NucleicAcidsReplication::reverse(), bpp::AbstractReverseTransliterator::reverse(), bpp::SequenceTools::RNYslice(), bpp::SequenceTools::subseq(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::TemplateAlignedSequenceContainer(), bpp::TemplateVectorSequenceContainer< SequenceType >::TemplateVectorSequenceContainer(), bpp::NucleicAcidsReplication::translate(), bpp::AbstractTransliterator::translate(), bpp::Stockholm::writeAlignment(), bpp::Fasta::writeSequences(), and bpp::Mase::writeSequences().
|
inlineoverridevirtualinherited |
Get the comments.
Implements bpp::Commentable.
Definition at line 79 of file Commentable.h.
References bpp::SimpleCommentable::comments_.
Referenced by bpp::SequenceWithQualityTools::concatenate(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::createEmptyContainer(), bpp::CompressedVectorSiteContainer::createEmptyContainer(), bpp::TemplateVectorSequenceContainer< SequenceType >::createEmptyContainer(), bpp::TemplateVectorSiteContainer< SiteType, SequenceType >::createEmptyContainer(), bpp::SequenceWithAnnotationTools::createMaskAnnotation(), bpp::SequenceWithAnnotation::operator=(), bpp::SequenceWithQualityTools::subseq(), bpp::Pasta::writeSequence(), and bpp::Fasta::writeSequence().
|
inlineoverridevirtualinherited |
Get the number of sequences in the container.
Implements bpp::TemplateSequenceDataInterface< std::string >.
Definition at line 204 of file VectorSequenceContainer.h.
References bpp::VectorMappedContainer< T >::getSize(), and bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceVectorMap_.
Referenced by bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::addSite(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::deleteSite(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::deleteSites(), bpp::TemplateVectorSequenceContainer< SequenceType >::getSequenceComments(), bpp::TemplateVectorSequenceContainer< SequenceType >::getSequenceNames(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::insertSequence(), bpp::TemplateVectorSequenceContainer< SequenceType >::operator=(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::removeSite(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::setSequence(), bpp::TemplateVectorSequenceContainer< SequenceType >::setSequenceNames(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::setSite(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::site(), and bpp::TemplateVectorSequenceContainer< SequenceType >::TemplateVectorSequenceContainer().
|
inlineoverridevirtual |
Get the number of aligned positions in the container.
Implements bpp::TemplateSiteContainerInterface< SiteType, SequenceType, std::string >.
Definition at line 431 of file AlignedSequenceContainer.h.
References bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::length_.
Referenced by bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::addSite(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::deleteSite(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::deleteSites(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::operator=(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::removeSite(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::setSite(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::setSiteCoordinates(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::site().
|
inlineoverridevirtualinherited |
Implements bpp::TemplateSequenceDataInterface< std::string >.
Definition at line 352 of file VectorSequenceContainer.h.
References bpp::TemplateVectorSequenceContainer< SequenceType >::getNumberOfSequences(), and bpp::TemplateVectorSequenceContainer< SequenceType >::sequence().
|
inlineoverridevirtualinherited |
Implements bpp::TemplateSequenceDataInterface< std::string >.
Definition at line 209 of file VectorSequenceContainer.h.
References bpp::VectorMappedContainer< T >::getObjectNames(), and bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceVectorMap_.
|
inlineoverridevirtualinherited |
Implements bpp::TemplateSequenceDataInterface< std::string >.
Definition at line 327 of file VectorSequenceContainer.h.
References bpp::TemplateVectorSequenceContainer< SequenceType >::getNumberOfSequences(), and bpp::TemplateVectorSequenceContainer< SequenceType >::sequence().
|
inlineoverridevirtualinherited |
Get the position of a sequence with a given key in the container.
sequenceKey | The key to which the sequence is associated. |
Implements bpp::TemplateSequenceDataInterface< std::string >.
Definition at line 224 of file VectorSequenceContainer.h.
References bpp::VectorMappedContainer< T >::getObjectPosition(), bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceKey(), and bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceVectorMap_.
Referenced by bpp::TemplateVectorSequenceContainer< SequenceType >::setSequence().
|
inlineoverridevirtual |
Get all coordinates of sites.
Implements bpp::TemplateAlignmentDataInterface< HashType >.
Definition at line 433 of file AlignedSequenceContainer.h.
References bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::coordinates_.
Referenced by bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::operator=().
|
inlineoverridevirtualinherited |
Get the value of a state at a given position.
sitePosition | index of the site |
sequenceKey | key of the sequence in the container |
state | state in the alphabet |
Implements bpp::TemplateSequenceDataInterface< std::string >.
Definition at line 184 of file VectorSequenceContainer.h.
References bpp::TemplateVectorSequenceContainer< SequenceType >::sequence(), and bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceKey().
|
inlineoverridevirtualinherited |
Get value of a state at a given position.
sitePosition | index of the site |
sequencePosition | index of the sequence in the container |
state | state in the alphabet |
Implements bpp::TemplateSequenceDataInterface< std::string >.
Definition at line 194 of file VectorSequenceContainer.h.
References bpp::TemplateVectorSequenceContainer< SequenceType >::sequence().
|
inlineoverridevirtualinherited |
Check if a certain key is associated to a sequence in the container.
sequenceKey | The key to which the sequence is associated. |
Implements bpp::TemplateSequenceDataInterface< std::string >.
Definition at line 249 of file VectorSequenceContainer.h.
References bpp::MappedNamedContainer< T >::hasObject(), bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceKey(), and bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceVectorMap_.
|
inlineoverridevirtual |
Insert a sequence in the container.
sequencePosition | The position of the sequence. |
sequencePtr | The sequence to add. |
sequenceKey | The new key of the sequence. |
Implements bpp::TemplateSequenceContainerInterface< SequenceType, std::string >.
Definition at line 525 of file AlignedSequenceContainer.h.
References bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::checkSize_(), bpp::TemplateVectorSequenceContainer< SequenceType >::getNumberOfSequences(), bpp::TemplateVectorSequenceContainer< SequenceType >::insertSequence(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::length_, bpp::VectorPositionedContainer< T >::nullify(), bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceKey(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::siteVector_.
|
inlineoverridevirtualinherited |
Get the value of a state at a given position.
Same as getValueAt.
sitePosition | index of the site |
sequenceKey | key of the sequence in the container |
state | state in the alphabet |
Implements bpp::TemplateSequenceDataInterface< std::string >.
Definition at line 189 of file VectorSequenceContainer.h.
References bpp::TemplateVectorSequenceContainer< SequenceType >::sequence(), and bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceKey().
|
inlineoverridevirtualinherited |
Get the value of a state at a given position.
Same as getValueAt.
sitePosition | index of the site |
sequencePosition | index of the sequence in the container |
state | state in the alphabet |
Implements bpp::TemplateSequenceDataInterface< std::string >.
Definition at line 199 of file VectorSequenceContainer.h.
References bpp::TemplateVectorSequenceContainer< SequenceType >::sequence().
|
inline |
Definition at line 154 of file AlignedSequenceContainer.h.
References bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::coordinates_, bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::getNumberOfSites(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::getSiteCoordinates(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::length_, bpp::VectorPositionedContainer< T >::nullify(), bpp::TemplateVectorSequenceContainer< SequenceType >::operator=(), bpp::VectorPositionedContainer< T >::setSize(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::siteVector_.
|
inline |
Definition at line 180 of file AlignedSequenceContainer.h.
References bpp::TemplateSequenceDataInterface< HashType >::getNumberOfSequences(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::length_, bpp::VectorPositionedContainer< T >::nullify(), bpp::TemplateVectorSequenceContainer< SequenceType >::operator=(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::reindexSites(), bpp::TemplateSequenceContainerInterface< SequenceType, HashType >::sequence(), bpp::VectorPositionedContainer< T >::setSize(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::siteVector_.
|
inline |
Definition at line 167 of file AlignedSequenceContainer.h.
References bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::coordinates_, bpp::TemplateSiteContainerInterface< SiteType, SequenceType, HashType >::getNumberOfSites(), bpp::TemplateAlignmentDataInterface< HashType >::getSiteCoordinates(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::length_, bpp::VectorPositionedContainer< T >::nullify(), bpp::TemplateVectorSequenceContainer< SequenceType >::operator=(), bpp::VectorPositionedContainer< T >::setSize(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::siteVector_.
|
inlineoverridevirtual |
Set all coordinate attributes.
Implements bpp::TemplateSiteContainerInterface< SiteType, SequenceType, std::string >.
Definition at line 447 of file AlignedSequenceContainer.h.
References bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::coordinates_, and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::length_.
Referenced by bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::addSequence(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::operator=(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::TemplateAlignedSequenceContainer().
|
inlineoverridevirtualinherited |
Remove a sequence from the container.
sequenceKey | The key to which the sequence is associated. |
Implements bpp::TemplateSequenceContainerInterface< SequenceType, std::string >.
Definition at line 273 of file VectorSequenceContainer.h.
References bpp::VectorMappedContainer< T >::removeObject(), bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceKey(), and bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceVectorMap_.
|
inlineoverridevirtualinherited |
Remove a sequence from the container.
sequencePosition | The position of the sequence. |
Implements bpp::TemplateSequenceContainerInterface< SequenceType, std::string >.
Definition at line 319 of file VectorSequenceContainer.h.
References bpp::VectorMappedContainer< T >::removeObject(), and bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceVectorMap_.
|
inlineoverridevirtual |
Remove a site from the container.
The site is deleted (ie the container is shortened) and a pointer toward it is returned.
sitePosition | The position of the site in the container. |
IndexOutOfBoundsException | If the specified site does not exists. |
Implements bpp::TemplateSiteContainerInterface< SiteType, SequenceType, std::string >.
Definition at line 275 of file AlignedSequenceContainer.h.
References bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::coordinates_, bpp::TemplateVectorSequenceContainer< SequenceType >::getNumberOfSequences(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::getNumberOfSites(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::length_, bpp::VectorPositionedContainer< T >::removeObject(), bpp::TemplateVectorSequenceContainer< SequenceType >::sequence_(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::site(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::siteVector_.
|
inlineoverridevirtualinherited |
Retrieve a sequence object from the container.
sequenceKey | The key to which the sequence is associated. |
Implements bpp::TemplateSequenceContainerInterface< SequenceType, std::string >.
Definition at line 254 of file VectorSequenceContainer.h.
References bpp::MappedNamedContainer< T >::getObject(), bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceKey(), and bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceVectorMap_.
Referenced by bpp::TemplateVectorSequenceContainer< SequenceType >::getSequenceComments(), bpp::TemplateVectorSequenceContainer< SequenceType >::getSequenceNames(), bpp::TemplateVectorSequenceContainer< SequenceType >::getStateValueAt(), bpp::TemplateVectorSequenceContainer< SequenceType >::operator()(), bpp::TemplateVectorSequenceContainer< SequenceType >::operator=(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::site(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::TemplateAlignedSequenceContainer(), bpp::TemplateVectorSequenceContainer< SequenceType >::TemplateVectorSequenceContainer(), and bpp::TemplateVectorSequenceContainer< SequenceType >::valueAt().
|
inlineoverridevirtualinherited |
Retrieve a sequence object from the container.
sequencePosition | The position of the sequence. |
Implements bpp::TemplateSequenceContainerInterface< SequenceType, std::string >.
Definition at line 290 of file VectorSequenceContainer.h.
References bpp::MappedNamedContainer< T >::getObject(), and bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceVectorMap_.
|
inlineprotectedvirtualinherited |
getSequence with given key
Definition at line 387 of file VectorSequenceContainer.h.
References bpp::MappedNamedContainer< T >::object(), bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceKey(), and bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceVectorMap_.
|
inlineprotectedvirtualinherited |
Definition at line 377 of file VectorSequenceContainer.h.
References bpp::MappedNamedContainer< T >::object(), and bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceVectorMap_.
Referenced by bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::addSite(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::deleteSite(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::deleteSites(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::removeSite(), bpp::TemplateVectorSequenceContainer< SequenceType >::setSequenceNames(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::setSite(), bpp::TemplateVectorSequenceContainer< SequenceType >::valueAt(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::valueAt().
|
inlineoverridevirtualinherited |
Get the key associated to a given sequence.
sequencePosition | The position of the sequence in the container. |
Implements bpp::TemplateSequenceDataInterface< std::string >.
Definition at line 219 of file VectorSequenceContainer.h.
References bpp::VectorMappedContainer< T >::getObjectName(), and bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceVectorMap_.
Referenced by bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::addSequence(), bpp::TemplateVectorSequenceContainer< SequenceType >::addSequence(), bpp::TemplateVectorSequenceContainer< SequenceType >::deleteSequence(), bpp::TemplateVectorSequenceContainer< SequenceType >::getSequencePosition(), bpp::TemplateVectorSequenceContainer< SequenceType >::getStateValueAt(), bpp::TemplateVectorSequenceContainer< SequenceType >::hasSequence(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::insertSequence(), bpp::TemplateVectorSequenceContainer< SequenceType >::insertSequence(), bpp::TemplateVectorSequenceContainer< SequenceType >::operator()(), bpp::TemplateVectorSequenceContainer< SequenceType >::operator=(), bpp::TemplateVectorSequenceContainer< SequenceType >::removeSequence(), bpp::TemplateVectorSequenceContainer< SequenceType >::sequence(), bpp::TemplateVectorSequenceContainer< SequenceType >::sequence_(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::setSequence(), bpp::TemplateVectorSequenceContainer< SequenceType >::setSequence(), bpp::TemplateVectorSequenceContainer< SequenceType >::TemplateVectorSequenceContainer(), bpp::TemplateVectorSequenceContainer< SequenceType >::valueAt(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::valueAt().
|
inlineoverridevirtualinherited |
Set the comments.
comments | The new comments. |
Implements bpp::Commentable.
Definition at line 86 of file Commentable.h.
References bpp::SimpleCommentable::comments_.
Referenced by bpp::CompressedVectorSiteContainer::createEmptyContainer(), bpp::TemplateVectorSequenceContainer< SequenceType >::createEmptyContainer(), bpp::Pasta::nextSequence(), bpp::Fasta::nextSequence(), bpp::AbstractCoreSequence::operator=(), bpp::SequenceWithAnnotation::operator=(), bpp::AbstractTemplateSequenceContainer< SequenceType, HashType >::operator=(), bpp::TemplateVectorSequenceContainer< SequenceType >::operator=(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::TemplateAlignedSequenceContainer(), and bpp::TemplateVectorSequenceContainer< SequenceType >::TemplateVectorSequenceContainer().
|
pure virtualinherited |
Set the comments.
comments | The new comments. |
Implemented in bpp::SimpleCommentable.
Referenced by bpp::Pasta::appendAlignmentFromStream(), bpp::Clustal::appendAlignmentFromStream(), bpp::Fasta::appendSequencesFromStream(), and bpp::Mase::appendSequencesFromStream().
|
inlineoverridevirtual |
Replace a sequence in the container.
If a sequence is found with the given key, it will be updated with the new one. If no sequence with the given key is found, the new sequence will be added to the container.
sequenceKey | The key to which the sequence is associated. |
sequencePtr | The sequence to set. |
Implements bpp::TemplateSequenceContainerInterface< SequenceType, std::string >.
Definition at line 463 of file AlignedSequenceContainer.h.
References bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::checkSize_(), bpp::TemplateVectorSequenceContainer< SequenceType >::getNumberOfSequences(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::length_, bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceKey(), and bpp::TemplateVectorSequenceContainer< SequenceType >::setSequence().
|
inlineoverridevirtual |
Replace a sequence in the container.
The original key associated to the sequence will be kept.
sequencePosition | The position of the sequence. |
sequencePtr | The sequence to add. |
Implements bpp::TemplateSequenceContainerInterface< SequenceType, std::string >.
Definition at line 491 of file AlignedSequenceContainer.h.
References bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::checkSize_(), bpp::TemplateVectorSequenceContainer< SequenceType >::getNumberOfSequences(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::length_, bpp::VectorPositionedContainer< T >::nullify(), bpp::TemplateVectorSequenceContainer< SequenceType >::setSequence(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::siteVector_.
|
inlineoverridevirtual |
Replace a sequence in the container.
The original key associated to the sequence will be kept.
sequencePosition | The position of the sequence. |
sequencePtr | The sequence to add. |
sequenceKey | The new key of the sequence. |
Implements bpp::TemplateSequenceContainerInterface< SequenceType, std::string >.
Definition at line 508 of file AlignedSequenceContainer.h.
References bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::checkSize_(), bpp::TemplateVectorSequenceContainer< SequenceType >::getNumberOfSequences(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::length_, bpp::VectorPositionedContainer< T >::nullify(), bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceKey(), bpp::TemplateVectorSequenceContainer< SequenceType >::setSequence(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::siteVector_.
|
inlineoverridevirtualinherited |
Reset all sequence keys.
Implements bpp::TemplateSequenceDataInterface< std::string >.
Definition at line 214 of file VectorSequenceContainer.h.
References bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceVectorMap_, and bpp::VectorMappedContainer< T >::setObjectNames().
|
inlineoverridevirtualinherited |
Batch-set all sequence names.
names | A vector of sequence names. Must be the same size as the number of sequences in the container, otherwise a DimensionException is thrown. |
updateKeys | Tell whether the keys of the sequences should be updated with the new sequence names. |
Implements bpp::TemplateSequenceDataInterface< std::string >.
Definition at line 338 of file VectorSequenceContainer.h.
References bpp::TemplateVectorSequenceContainer< SequenceType >::getNumberOfSequences(), bpp::TemplateVectorSequenceContainer< SequenceType >::sequence_(), bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceVectorMap_, and bpp::VectorMappedContainer< T >::setObjectNames().
|
inlineoverridevirtual |
Set a site in the container.
sitePosition | The position of the site in the container. |
site | The site to set. |
checkCoordinate | Look if the coordinate of the new site match a coordinate attribute in the container. |
Exception | If the specified site does not exists or is not correct. |
Implements bpp::TemplateSiteContainerInterface< SiteType, SequenceType, std::string >.
Definition at line 238 of file AlignedSequenceContainer.h.
References bpp::VectorPositionedContainer< T >::addObject(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::coordinates_, bpp::AbstractTemplateSequenceContainer< SequenceType, std::string >::getAlphabet(), bpp::TemplateVectorSequenceContainer< SequenceType >::getNumberOfSequences(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::getNumberOfSites(), bpp::TemplateVectorSequenceContainer< SequenceType >::sequence_(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::site(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::siteVector_.
|
inlineoverridevirtual |
Set all coordinates of sites.
vCoordinates | A vector with all site coordinates. |
Implements bpp::TemplateAlignmentDataInterface< HashType >.
Definition at line 435 of file AlignedSequenceContainer.h.
References bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::coordinates_, and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::getNumberOfSites().
|
inlineoverridevirtual |
Get a site from the container.
sitePosition | The position of the site in the container. |
IndexOutOfBoundsException | If the specified site does not exists. |
Implements bpp::TemplateSiteContainerInterface< SiteType, SequenceType, std::string >.
Definition at line 212 of file AlignedSequenceContainer.h.
References bpp::VectorPositionedContainer< T >::addObject_(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::coordinates_, bpp::AbstractTemplateSequenceContainer< SequenceType, std::string >::getAlphabet(), bpp::TemplateVectorSequenceContainer< SequenceType >::getNumberOfSequences(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::getNumberOfSites(), bpp::VectorPositionedContainer< T >::getObject(), bpp::VectorPositionedContainer< T >::hasObjectWithPosition(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::length_, bpp::TemplateVectorSequenceContainer< SequenceType >::sequence(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::siteVector_.
Referenced by bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::addSite(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::removeSite(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::setSite().
|
inlineoverridevirtual |
Get the content of the dataset at a specific position (sequence position, site position).
sequencePosition | index of the sequence in the container |
sitePosition | index of the site |
Implements bpp::TemplateSequenceContainerInterface< SequenceType, std::string >.
Definition at line 559 of file AlignedSequenceContainer.h.
References bpp::VectorPositionedContainer< T >::addObject(), bpp::TemplateVectorSequenceContainer< SequenceType >::sequence_(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::siteVector_.
|
inlineoverridevirtualinherited |
Get the content of the dataset at a specific position (sequence key, site position).
sequenceKey | key of the sequence in the container |
sitePosition | index of the site |
Implements bpp::TemplateSequenceContainerInterface< SequenceType, std::string >.
Definition at line 229 of file VectorSequenceContainer.h.
References bpp::TemplateVectorSequenceContainer< SequenceType >::sequence(), and bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceKey().
|
inlineoverridevirtual |
Get the content of the dataset at a specific position (sequence key, site position).
sequenceKey | key of the sequence in the container |
sitePosition | index of the site |
Implements bpp::TemplateSequenceContainerInterface< SequenceType, std::string >.
Definition at line 552 of file AlignedSequenceContainer.h.
References bpp::VectorPositionedContainer< T >::addObject(), bpp::TemplateVectorSequenceContainer< SequenceType >::sequence_(), bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceKey(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::siteVector_.
|
inlineoverridevirtualinherited |
Get the content of the dataset at a specific position (sequence position, site position).
sequencePosition | index of the sequence in the container |
sitePosition | index of the site |
Implements bpp::TemplateSequenceContainerInterface< SequenceType, std::string >.
Definition at line 239 of file VectorSequenceContainer.h.
References bpp::TemplateVectorSequenceContainer< SequenceType >::sequence().
|
protectedinherited |
The container's alphabet.
Definition at line 31 of file AbstractSequenceContainer.h.
|
protectedinherited |
Definition at line 50 of file Commentable.h.
Referenced by bpp::SimpleCommentable::clearComments(), bpp::SimpleCommentable::getComments(), bpp::SimpleCommentable::operator=(), and bpp::SimpleCommentable::setComments().
|
private |
Definition at line 47 of file AlignedSequenceContainer.h.
Referenced by bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::addSite(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::deleteSite(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::deleteSites(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::getSiteCoordinates(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::operator=(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::reindexSites(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::removeSite(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::setSite(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::setSiteCoordinates(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::site().
|
private |
Definition at line 49 of file AlignedSequenceContainer.h.
Referenced by bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::addSequence(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::addSite(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::checkSize_(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::clear(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::deleteSite(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::deleteSites(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::getNumberOfSites(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::insertSequence(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::operator=(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::reindexSites(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::removeSite(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::setSequence(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::site(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::TemplateAlignedSequenceContainer().
|
protectedinherited |
Definition at line 34 of file VectorSequenceContainer.h.
Referenced by bpp::TemplateVectorSequenceContainer< SequenceType >::addSequence(), bpp::TemplateVectorSequenceContainer< SequenceType >::clear(), bpp::TemplateVectorSequenceContainer< SequenceType >::deleteSequence(), bpp::TemplateVectorSequenceContainer< SequenceType >::getNumberOfSequences(), bpp::TemplateVectorSequenceContainer< SequenceType >::getSequenceKeys(), bpp::TemplateVectorSequenceContainer< SequenceType >::getSequencePosition(), bpp::TemplateVectorSequenceContainer< SequenceType >::hasSequence(), bpp::TemplateVectorSequenceContainer< SequenceType >::insertSequence(), bpp::TemplateVectorSequenceContainer< SequenceType >::removeSequence(), bpp::TemplateVectorSequenceContainer< SequenceType >::sequence(), bpp::TemplateVectorSequenceContainer< SequenceType >::sequence_(), bpp::TemplateVectorSequenceContainer< SequenceType >::sequenceKey(), bpp::TemplateVectorSequenceContainer< SequenceType >::setSequence(), bpp::TemplateVectorSequenceContainer< SequenceType >::setSequenceKeys(), and bpp::TemplateVectorSequenceContainer< SequenceType >::setSequenceNames().
|
private |
Definition at line 44 of file AlignedSequenceContainer.h.
Referenced by bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::addSequence(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::addSite(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::clear(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::deleteSite(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::deleteSites(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::insertSequence(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::operator=(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::removeSite(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::setSequence(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::setSite(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::site(), bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::TemplateAlignedSequenceContainer(), and bpp::TemplateAlignedSequenceContainer< SequenceType, SiteType >::valueAt().