40 #ifndef _BPP_POPGEN_GENEMAPPERCSVEXPORT_H_
41 #define _BPP_POPGEN_GENEMAPPERCSVEXPORT_H_
50 #include "../AbstractIDataSet.h"
51 #include "../../../BasicAlleleInfo.h"
52 #include "../../../MultiAlleleMonolocusGenotype.h"
76 static const std::string
AN_H;
100 void read(
const std::string& path,
DataSet& data_set);
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);
Partial implementation of the DataSet Input interface.
Store data for one allele.
Allele(const std::string &name, double size, unsigned int height, double peakArea)
const double & getSize() const
const unsigned int & getHeight() const
const double & getPeakArea() const
const std::string & getName() const
Store one line of the GeneMapper file.
const GeneMapperCsvExport::Allele & getAllele(size_t allelePos) const
Record(const std::string &row)
Constructor.
std::vector< GeneMapperCsvExport::Allele > alleles_
const std::string & getMarkerName() const
const std::string & getPanel() const
const std::string & getSampleName() const
const std::string & getSampleFileName() const
const size_t getNumberOfAllele() const
const std::string & getDye() const
The GeneMapperCsvExport input format for popgenlib.
virtual const std::string getFormatDescription() const
virtual const std::string getFormatName() const
static const std::string PEAK_AREA_H
static const std::string SAMPLE_NAME_H
static const std::string SIZE_H
static const std::string MARKER_H
static const std::string ALLELE_H
static const std::string HEIGHT_H
static const std::string AN_H
static const std::string DYE_H
void read(std::istream &is, DataSet &data_set)
Read a DataSet on istream.
static const std::string SAMPLE_FILE_H
static const std::string PANEL_H
static const std::string DAC_H