vg
tools for working with variation graphs
|
#include <alignment.hpp>
Public Types | |
enum | Problem { OK, NODE_MISSING, NODE_TOO_SHORT, 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... | |
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_mapping_index = 0 |
The mapping in the alignment's path at which the problem was encountered.
std::string vg::AlignmentValidity::message = "" |
An explanation for the problem.