NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
sw_banded_inl.h File Reference
#include <nvbio/basic/types.h>
#include <nvbio/basic/numbers.h>

Go to the source code of this file.

Classes

struct  nvbio::aln::priv::banded::SmithWatermanScoringContext< BAND_LEN, TYPE >
 
struct  nvbio::aln::priv::banded::SmithWatermanCheckpointedScoringContext< BAND_LEN, TYPE, checkpoint_type >
 
struct  nvbio::aln::priv::banded::SmithWatermanCheckpointContext< BAND_LEN, TYPE, CHECKPOINTS, checkpoint_type >
 
struct  nvbio::aln::priv::banded::SmithWatermanSubmatrixContext< BAND_LEN, TYPE, CHECKPOINTS, checkpoint_type, submatrix_type >
 
struct  nvbio::aln::priv::banded::sw_alignment_score_dispatch< BAND_LEN, TYPE >
 

Namespaces

 nvbio
 Define a vector_view POD type and plain_view() for std::vector.
 
 nvbio::aln
 
 nvbio::aln::priv
 
 nvbio::aln::priv::banded
 

Functions

template<uint32 BAND_LEN, AlignmentType TYPE, typename band_type , typename scoring_type , typename score_type >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE void 
nvbio::aln::priv::banded::init_row_zero (band_type &band, const scoring_type &scoring, const score_type infimum)
 
template<uint32 BAND_LEN, AlignmentType TYPE, typename scoring_type , typename pattern_type , typename qual_type , typename text_type , typename sink_type >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
nvbio::aln::priv::banded_alignment_score (const SmithWatermanAligner< TYPE, scoring_type > &aligner, pattern_type pattern, qual_type quals, text_type text, const int32 min_score, sink_type &sink)
 
template<uint32 BAND_LEN, AlignmentType TYPE, typename scoring_type , typename pattern_type , typename qual_type , typename text_type , typename sink_type , typename checkpoint_type >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
nvbio::aln::priv::banded_alignment_score (const SmithWatermanAligner< TYPE, scoring_type > &aligner, pattern_type pattern, qual_type quals, text_type text, const int32 min_score, const uint32 window_begin, const uint32 window_end, sink_type &sink, checkpoint_type checkpoint)
 
template<uint32 BAND_LEN, uint32 CHECKPOINTS, AlignmentType TYPE, typename scoring_type , typename pattern_type , typename qual_type , typename text_type , typename sink_type , typename checkpoint_type >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
nvbio::aln::priv::banded_alignment_checkpoints (const SmithWatermanAligner< TYPE, scoring_type > &aligner, pattern_type pattern, qual_type quals, text_type text, const int32 min_score, sink_type &sink, checkpoint_type checkpoints)
 
template<uint32 BAND_LEN, uint32 CHECKPOINTS, AlignmentType TYPE, typename scoring_type , typename pattern_string , typename qual_string , typename text_string , typename checkpoint_type , typename submatrix_type >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint32 
nvbio::aln::priv::banded_alignment_submatrix (const SmithWatermanAligner< TYPE, scoring_type > &aligner, pattern_string pattern, qual_string quals, text_string text, const int32 min_score, checkpoint_type checkpoints, const uint32 checkpoint_id, submatrix_type submatrix)
 
template<uint32 BAND_LEN, uint32 CHECKPOINTS, AlignmentType TYPE, typename scoring_type , typename checkpoint_type , typename submatrix_type , typename backtracer_type >
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
nvbio::aln::priv::banded_alignment_traceback (const SmithWatermanAligner< TYPE, scoring_type > &aligner, checkpoint_type checkpoints, const uint32 checkpoint_id, submatrix_type submatrix, const uint32 submatrix_height, uint8 &state, uint2 &sink, backtracer_type &backtracer)