bpp-popgen3
3.0.0
|
The Genetix input format for popgenlib. More...
#include <Bpp/PopGen/DataSet/Io/Genetix/Genetix.h>
Public Member Functions | |
Genetix () | |
~Genetix () | |
The IDataSet interface. | |
void | read (std::istream &is, DataSet &data_set) |
Read a DataSet on istream. More... | |
void | read (const std::string &path, DataSet &data_set) |
Read a DataSet from a text file. More... | |
DataSet * | read (std::istream &is) |
Read istream and return a DataSet. More... | |
DataSet * | read (const std::string &path) |
Read a text file and return a DataSet. More... | |
The IOFormat interface | |
const std::string | getFormatName () const |
const std::string | getFormatDescription () const |
Private Member Functions | |
The IOFormat interface. | |
const std::string | getDataType () const |
Genetix::Genetix | ( | ) |
Definition at line 10 of file Genetix.cpp.
Genetix::~Genetix | ( | ) |
Definition at line 12 of file Genetix.cpp.
|
inlineprivatevirtualinherited |
Implements bpp::IOFormat.
Definition at line 33 of file IODataSet.h.
|
inlinevirtual |
Implements bpp::IOFormat.
|
inlinevirtual |
Implements bpp::IOFormat.
|
virtual |
Read a text file and return a DataSet.
Reimplemented from bpp::AbstractIDataSet.
Definition at line 95 of file Genetix.cpp.
References bpp::AbstractIDataSet::read().
|
virtual |
Read a DataSet from a text file.
Reimplemented from bpp::AbstractIDataSet.
Definition at line 85 of file Genetix.cpp.
References bpp::AbstractIDataSet::read().
|
virtual |
Read istream and return a DataSet.
Reimplemented from bpp::AbstractIDataSet.
Definition at line 90 of file Genetix.cpp.
References bpp::AbstractIDataSet::read().
|
virtual |
Read a DataSet on istream.
Implements bpp::AbstractIDataSet.
Definition at line 14 of file Genetix.cpp.
References bpp::LocusInfo::addAlleleInfo(), bpp::DataSet::addEmptyGroup(), bpp::DataSet::addEmptyIndividualToGroup(), bpp::FileTools::getNextLine(), bpp::DataSet::initAnalyzedLoci(), bpp::DataSet::initIndividualGenotypeInGroup(), bpp::StringTokenizer::nextToken(), bpp::TextTools::removeSurroundingWhiteSpaces(), bpp::DataSet::setGroupName(), bpp::DataSet::setIndividualMonolocusGenotypeByAlleleIdInGroup(), bpp::DataSet::setLocusInfo(), and bpp::TextTools::toString().