20 #ifndef EGGLIB_GMS_HPP
21 #define EGGLIB_GMS_HPP
23 #include "DataMatrix.hpp"
65 static DataMatrix get(std::string,
unsigned int ns,
bool separated=
false);
85 static DataMatrix get(std::istream& stream,
unsigned int ns,
bool separated=
false);
124 static void format(std::ostream& stream,
DataMatrix& dataMatrix,
bool separated=
false);
137 static double tMRCA();
152 static double prob();
167 static std::string
trees();
172 std::string next_line(std::istream& stream);
175 static double _tMRCA;
181 static std::string _trees;
194 Ms& operator=(
const Ms&) {
return *
this; }
Data table.
Definition: DataMatrix.hpp:41
ms-like sequence format parser
Definition: Ms.hpp:49
static double prob()
Returns the last "prob" read by any Ms instance.
Definition: Ms.cpp:285
static double tMRCA()
Returns the last tMRCA read by any Ms instance.
Definition: Ms.cpp:281
static std::string trees()
Returns the tree string found in the last simulation read by any Ms instance.
Definition: Ms.cpp:289
static std::string format(DataMatrix &dataMatrix, bool separated=false)
Exports a sequence alignment.
Definition: Ms.cpp:215