|
vg
tools for working with variation graphs
|
Namespaces | |
| temp_file | |
Classes | |
| class | XG |
| class | XGFormatError |
| class | XGPath |
Typedefs | |
| using | nid_t = handlegraph::nid_t |
| typedef std::tuple< nid_t, bool, size_t > | pos_t |
Functions | |
| int | dna3bit (char c) |
| char | revdna3bit (int i) |
| int | get_thread_count (void) |
| Uses OMP to get the count of threads. More... | |
| pos_t | make_pos_t (const nid_t &id, bool is_rev, const size_t &off) |
| nid_t | id (const pos_t &pos) |
| Extract the id of the node a pos_t is on. More... | |
| bool | is_rev (const pos_t &pos) |
| Return true if a pos_t is on the reverse strand of its node. More... | |
| size_t | offset (const pos_t &pos) |
| Get the offset along the selected strand of the node from a pos_t. More... | |
| nid_t & | get_id (pos_t &pos) |
| Get a reference to the Node ID of a pos_t. More... | |
| bool & | get_is_rev (pos_t &pos) |
| Get a reference to the reverse flag of a pos_t. More... | |
| size_t & | get_offset (pos_t &pos) |
| Get a reference to the offset field of a pos_t, which counts along the selected strand of the node. More... | |
| bool | is_empty (const pos_t &pos) |
| Return true if a pos_t is unset. More... | |
| pos_t | reverse (const pos_t &pos, size_t node_length) |
| pos_t | reverse_base_pos (const pos_t &pos, size_t node_length) |
| Reverse a pos_t and get a pos_t at the same base, going the other direction. More... | |
| std::ostream & | operator<< (std::ostream &out, const pos_t &pos) |
| Print a pos_t to a stream. More... | |
| char | reverse_complement (const char &c) |
| std::string | reverse_complement (const std::string &seq) |
| void | reverse_complement_in_place (std::string &seq) |
| using xg::nid_t = typedef handlegraph::nid_t |
| int xg::dna3bit | ( | char | c | ) |
|
inline |
Get a reference to the reverse flag of a pos_t.
|
inline |
Get a reference to the offset field of a pos_t, which counts along the selected strand of the node.
| int xg::get_thread_count | ( | void | ) |
Uses OMP to get the count of threads.
|
inline |
Return true if a pos_t is unset.
|
inline |
Return true if a pos_t is on the reverse strand of its node.
|
inline |
Get the offset along the selected strand of the node from a pos_t.
|
inline |
Print a pos_t to a stream.
| char xg::revdna3bit | ( | int | i | ) |
Reverse a pos_t and get a pos_t at the same point between bases, going the other direction. To get a pos_t to the same base, subtract 1 from the resulting offset or call reverse_base_pos().
Reverse a pos_t and get a pos_t at the same base, going the other direction.
|
inline |
|
inline |
|
inline |
1.8.17