NVBIO
|
The template struct to dispatch calls to banded_alignment_score.
Definition at line 290 of file sw_banded_inl.h.
#include <sw_banded_inl.h>
Static Public Methods | |
template<typename pattern_type , typename qual_type , typename text_type , typename scoring_type , typename context_type , typename sink_type > | |
NVBIO_FORCEINLINE static NVBIO_HOST_DEVICE bool | run (const scoring_type &scoring, pattern_type pattern, qual_type quals, text_type text, const uint32 window_begin, const uint32 window_end, const uint32 pos, const int32 min_score, context_type &context, sink_type &sink) |
|
inlinestatic |
Calculate the banded alignment score between a string and a reference, using the Smith-Waterman algorithm.
context_type | a context class used to configure the behaviour of the algorithm, initializing and capturing the output DP matrix; it must implement the following interface: |
scoring | scoring scheme |
pattern | shorter string (horizontal) |
text | longer string (vertical) |
pos | offset in the reference string |
context | the context class |
sink | output alignment sink |
Definition at line 349 of file sw_banded_inl.h.