vg
tools for working with variation graphs
|
#include <gbwt_extender.hpp>
Public Member Functions | |
ReadMasker (const std::string &valid_chars) | |
void | operator() (std::string &sequence) const |
Applies the mask to the given sequence. More... | |
Private Attributes | |
std::vector< char > | mask |
An utility class that masks all characters except the specified ones with X, which is assumed to not exist in the alignment target.
|
explicit |
Creates a new ReadMasker that masks all characters except the specified ones.
void vg::ReadMasker::operator() | ( | std::string & | sequence | ) | const |
Applies the mask to the given sequence.
|
private |