5 #ifndef _BPP_POPGEN_GENEMAPPERCSVEXPORT_H_
6 #define _BPP_POPGEN_GENEMAPPERCSVEXPORT_H_
15 #include "../AbstractIDataSet.h"
16 #include "../../../BasicAlleleInfo.h"
17 #include "../../../MultiAlleleMonolocusGenotype.h"
41 static const std::string
AN_H;
65 void read(
const std::string& path,
DataSet& data_set);
78 return "GeneMapperĀ® cvs export";
82 return "GeneMapperĀ® is a flexible genotyping software package that provides DNA sizing and quality allele calls for all Applied Biosystems electrophoresis-based genotyping systems.";
100 Allele(
const std::string& name,
double size,
unsigned int height,
double peakArea) :
name_(name),
134 std::vector< GeneMapperCsvExport::Allele >
alleles_;
144 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