cgatools::mobileelement::MeiFileVcfRecordWriter Class Reference

Inheritance diagram for cgatools::mobileelement::MeiFileVcfRecordWriter:
cgatools::conv::VcfRecordWriter

List of all members.

Public Member Functions

 MeiFileVcfRecordWriter (const std::vector< std::string > meiFieldNames, const cgatools::reference::CrrFile &crr, int numGenomes)
cgatools::reference::Location getLocation () const
 Get 0-based location of first base of VCF record.
void writeRef (std::ostream &out) const
 Write REF field of VCF record.
void writeAlt (std::ostream &out) const
 Write ALT field of VCF record.
void writeInfo (std::ostream &out) const
 Write INFO field of VCF record.
void writeFormat (std::ostream &out) const
 Write FORMAT field of VCF record.
void writeSample (std::ostream &out, size_t gIdx) const
 Write per-sample field of VCF record, for the given genome.
void setMeiData (meiData &data, int gIdx)

Member Function Documentation

cgatools::reference::Location cgatools::mobileelement::MeiFileVcfRecordWriter::getLocation (  )  const [virtual]

Get 0-based location of first base of VCF record.

The value output to the VCF file is at Location.offset+1.

Implements cgatools::conv::VcfRecordWriter.

void cgatools::mobileelement::MeiFileVcfRecordWriter::writeSample ( std::ostream &  out,
size_t  idxGenome 
) const [virtual]

Write per-sample field of VCF record, for the given genome.

Genomes are numbered starting with 0 for the first genome.

Implements cgatools::conv::VcfRecordWriter.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated by  doxygen 1.6.2