The IProbabilisticSequence interface.
More...
#include <Bpp/Seq/Io/ISequence.h>
The IProbabilisticSequence interface.
This interface defines the basic methods for reading aligned sequences from a file.
Definition at line 206 of file ISequence.h.
◆ IProbabilisticAlignment()
bpp::IProbabilisticAlignment::IProbabilisticAlignment |
( |
| ) |
|
|
inline |
◆ ~IProbabilisticAlignment()
virtual bpp::IProbabilisticAlignment::~IProbabilisticAlignment |
( |
| ) |
|
|
inlinevirtual |
◆ getDataType()
const std::string bpp::IOProbabilisticSequence::getDataType |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ readAlignment() [1/4]
Create a new container from a file.
- Parameters
-
path | The path to the file to read. |
container | The container where to add data. Needs not be a SiteContainer, as aligned sequences can be stored in a simple SequenceContainer. |
- Exceptions
-
Exception | If the file is not in the specified format. |
Implemented in bpp::AbstractIProbabilisticAlignment.
◆ readAlignment() [2/4]
Create a new container from a file.
- Parameters
-
path | The path to the file to read. |
alpha | The alphabet to be associated to the container. |
- Returns
- A new ProbabilisticSiteContainer object.
Implemented in bpp::AbstractIProbabilisticAlignment.
◆ readAlignment() [3/4]
Add the content of a stream to a new container.
- Parameters
-
input | The input stream to read. |
container | The container where to add data. Needs not be a SiteContainer, as aligned sequences can be stored in a simple SequenceContainer. |
- Exceptions
-
Exception | If the file is not in the specified format. |
Implemented in bpp::AbstractIProbabilisticAlignment.
◆ readAlignment() [4/4]
Create a new container from a stream.
- Parameters
-
input | The input stream to read. |
alpha | The alphabet to be associated to the container. |
- Returns
- A new ProbabilisticSiteContainer object.
Implemented in bpp::AbstractIProbabilisticAlignment.
The documentation for this class was generated from the following file: