|
vg
tools for working with variation graphs
|
#include <alignment.hpp>
Public Types | |
| enum | Problem { OK, NODE_MISSING, NODE_TOO_SHORT, READ_TOO_SHORT, BAD_EDIT, SEQ_DOES_NOT_MATCH } |
| The different kinds of possible problems with alignments. More... | |
Public Member Functions | |
| operator bool () const | |
| We are truthy if the alignment has no problem, and falsey otherwise. More... | |
Public Attributes | |
| Problem | problem = OK |
| The kind of problem with the alignment. More... | |
| size_t | bad_mapping_index = 0 |
| The mapping in the alignment's path at which the problem was encountered. More... | |
| size_t | bad_edit_index = 0 |
| The edit within the mapping at which the problem was encountered. More... | |
| size_t | bad_read_position = 0 |
| The position in the alignment's read sequence at which the problem was encountered. More... | |
| std::string | message = "" |
| An explanation for the problem. More... | |
Represents a report on whether an alignment makes sense in the context of a graph.
|
inline |
We are truthy if the alignment has no problem, and falsey otherwise.
| size_t vg::AlignmentValidity::bad_edit_index = 0 |
The edit within the mapping at which the problem was encountered.
| size_t vg::AlignmentValidity::bad_mapping_index = 0 |
The mapping in the alignment's path at which the problem was encountered.
| size_t vg::AlignmentValidity::bad_read_position = 0 |
The position in the alignment's read sequence at which the problem was encountered.
| std::string vg::AlignmentValidity::message = "" |
An explanation for the problem.
1.8.17