Classes | |
struct | LocusData |
Locus data in OLPL file. | |
Public Member Functions | |
VariantFileIterator (const CrrFile &crr) | |
void | open (const std::string &fn) |
void | close () |
bool | eof () const |
const Locus & | operator* () const |
const Locus * | operator-> () const |
VariantFileIterator & | operator++ () |
const std::string & | getFileName () |
void | error (const std::string &msg) const |
void | locusCallError (const std::string &msg, const Locus &locus, const Call &call) const |
void | locusError (const std::string &msg, const Locus &locus) const |
void | setReferenceCoverValidation (bool validate) |
const util::DelimitedFile::Metadata & | getMetadata () const |
const std::vector< std::string > & | getColumnHeaders () const |
const std::vector< std::string > & | getAnnotationColumnHeaders () const |
size_t | getAnnotationIndex (const std::string &name) const |
Returns the index of a given annotation column in the Locus::extras_ vector, or Locus::extras_.size() if the annotation is not present. | |
void | fillOlplFileMetadata (util::DelimitedFile::Metadata &meta) const |
void | writeOlplFileHeader (std::ostream &out) const |
size_t cgatools::variants::VariantFileIterator::getAnnotationIndex | ( | const std::string & | name | ) | const |
Returns the index of a given annotation column in the Locus::extras_ vector, or Locus::extras_.size() if the annotation is not present.