class handling the INFO field in an VCF entry
More...
#include <yat/omic/VCF.h>
|
void | add (const std::string &key) |
|
template<typename T > |
void | add (const std::string &key, const T &value) |
|
void | clear (void) |
|
size_t | count (const std::string &key) const |
|
template<typename T > |
void | get (T &result, const std::string &key) const |
|
void | remove (const std::string &key) |
| remove Info entry with key key
|
|
void | set (const std::string &s) |
|
const std::string & | str (void) const |
|
|
class | VCF |
|
std::ostream & | operator<< (std::ostream &, const VCF::Info &) |
|
class handling the INFO field in an VCF entry
void theplu::yat::omic::VCF::Info::add |
( |
const std::string & |
key | ) |
|
Add entry key to semicolon-delimited list of entries.
template<typename T >
void theplu::yat::omic::VCF::Info::add |
( |
const std::string & |
key, |
|
|
const T & |
value |
|
) |
| |
T is either string or numeric or a std::vector with strings or numerics.
void theplu::yat::omic::VCF::Info::clear |
( |
void |
| ) |
|
size_t theplu::yat::omic::VCF::Info::count |
( |
const std::string & |
key | ) |
const |
template<typename T >
void theplu::yat::omic::VCF::Info::get |
( |
T & |
result, |
|
|
const std::string & |
key |
|
) |
| const |
get value corresponding to key
T is string, numeric, vector<string> or vector<numeric>
void theplu::yat::omic::VCF::Info::set |
( |
const std::string & |
s | ) |
|
const std::string& theplu::yat::omic::VCF::Info::str |
( |
void |
| ) |
const |
std::ostream & operator<< |
( |
std::ostream & |
os, |
|
|
const VCF::Info & |
info |
|
) |
| |
|
related |
The documentation for this class was generated from the following file: