vg
tools for working with variation graphs
Classes | Namespaces | Functions
gafkluge.hpp File Reference
#include <string>
#include <iostream>
#include <sstream>
#include <cstdint>
#include <vector>
#include <map>
#include <functional>

Classes

struct  gafkluge::GafStep
 
struct  gafkluge::GafRecord
 

Namespaces

 gafkluge
 

Functions

std::string gafkluge::int_to_string (int64_t i)
 
int64_t gafkluge::string_to_int (const std::string &s)
 
bool gafkluge::is_missing (const std::string &s)
 
bool gafkluge::is_missing (int64_t i)
 
void gafkluge::parse_gaf_record (const std::string &gaf_line, GafRecord &gaf_record)
 
void gafkluge::for_each_cs (const GafRecord &gaf_record, std::function< void(const std::string &)> fn)
 
void gafkluge::for_each_cg (const GafRecord &gaf_record, std::function< void(const char &, const size_t &)> fn)
 
void gafkluge::for_each_cigar (const GafRecord &gaf_record, std::function< void(const char &, const size_t &, const std::string &, const std::string &)> fn)
 
std::ostream & gafkluge::operator<< (std::ostream &os, const gafkluge::GafStep &gaf_step)
 
std::ostream & gafkluge::operator<< (std::ostream &os, const gafkluge::GafRecord &gaf_record)
 

Detailed Description

Barebones header-only standalone GAF parser reads GAF lines into and out of structs Named in honour of gfakluge