src/c++/lib/grm/KlibAligner.cpp
/**
 * Align a read to the graph and update the graph_* fields.
 *
 * We will align both the forward and the reverse strand and return
 * the alignment which is unique, or with the better score, or default
 * to the forward strand.
 *
 * @param read read structure
 */
Align a read to the graph and update the graph_* fields.
We will align both the forward and the reverse strand and return
the alignment which is unique, or with the better score, or default
to the forward strand.

@param read read structure
Align a read to the graph and update the graph_ * fields . We will align both the forward and the reverse strand and return the alignment which is unique or with the better score or default to the forward strand . @param read read structure
void KlibAligner::alignRead(common::Read& read)
{
    ++attempted_;
    impl_->alignRead(read);
    mapped_ += common::Read::MAPPED == read.graph_mapping_status();
}
void KlibAligner :: alignRead ( common :: Read & read ) { ++ attempted_ ; impl_ -> alignRead ( read ) ; mapped_ += common :: Read :: MAPPED == read . graph_mapping_status ( ) ; }
Align a read to the graph and update the graph_* fields.
Align a read to the graph and update the graph_ * fields .