40 #ifndef _BPP_POPGEN_GENEMAPPERCSVEXPORT_H_ 41 #define _BPP_POPGEN_GENEMAPPERCSVEXPORT_H_ 43 #include <Bpp/Exceptions.h> 44 #include <Bpp/Io/FileTools.h> 45 #include <Bpp/Text/TextTools.h> 46 #include <Bpp/Text/StringTokenizer.h> 47 #include <Bpp/Numeric/DataTable.h> 76 static const std::string
AN_H;
99 void read(std::istream& is,
DataSet& data_set)
throw (Exception);
100 void read(
const std::string& path,
DataSet& data_set)
throw (Exception);
102 DataSet*
read(
const std::string& path)
throw (Exception);
113 return "GeneMapper® cvs export";
117 return "GeneMapper® is a flexible genotyping software package that provides DNA sizing and quality allele calls for all Applied Biosystems electrophoresis-based genotyping systems.";
135 Allele(
const std::string& name,
double size,
unsigned int height,
double peakArea) :
name_(name),
169 std::vector< GeneMapperCsvExport::Allele >
alleles_;
179 Record(
const std::string& row);
213 #endif // _BPP_POPGEN_GENEMAPPERCSVEXPORT_H_
virtual const std::string getFormatName() const
Record(const std::string &row)
Constructor.
const double & getSize() const
const std::string & getName() const
static const std::string AN_H
static const std::string SIZE_H
const std::string & getSampleName() const
Store one line of the GeneMapper file.
static const std::string SAMPLE_NAME_H
const unsigned int & getHeight() const
static const std::string PANEL_H
void read(std::istream &is, DataSet &data_set)
Read a DataSet on istream.
const double & getPeakArea() const
virtual const std::string getFormatDescription() const
static const std::string HEIGHT_H
const std::string & getDye() const
const size_t getNumberOfAllele() const
static const std::string DAC_H
std::vector< GeneMapperCsvExport::Allele > alleles_
static const std::string MARKER_H
Partial implementation of the DataSet Input interface.
const std::string & getSampleFileName() const
const std::string & getPanel() const
static const std::string DYE_H
The GeneMapperCsvExport input format for popgenlib.
static const std::string SAMPLE_FILE_H
Allele(const std::string &name, double size, unsigned int height, double peakArea)
Store data for one allele.
static const std::string PEAK_AREA_H
const GeneMapperCsvExport::Allele & getAllele(size_t allelePos) const
static const std::string ALLELE_H
const std::string & getMarkerName() const