NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Methods | Public Members | Static Public Members | List of all members
nvbio::aln::SmithWatermanAligner< T_TYPE, scoring_scheme_type, AlgorithmType > Struct Template Reference

Detailed description

template< AlignmentType T_TYPE, typename scoring_scheme_type, typename AlgorithmType = PatternBlockingTag>
struct nvbio::aln::SmithWatermanAligner< T_TYPE, scoring_scheme_type, AlgorithmType >

A Smith-Waterman alignment algorithm, see Aligners

Template Parameters
TYPEspecifies whether the alignment is LOCAL/SEMI_GLOBAL/GLOBAL
scoring_scheme_typespecifies the scoring scheme, a model of Smith-Waterman Scoring Scheme
AlgorithmTypespecifies the Algorithm Tag

Smith-Waterman Scoring Scheme

A Smith-Waterman scoring scheme is a class exposing the following interface:

struct SmithWatermanScoringScheme
{
// the match bonus at a given quality q
int32 match(const uint8 q = 0) const;
// the mismatch penalty at a given quality q
int32 mismatch(const uint8 q = 0) const;
// the text deletion penalty
int32 deletion() const;
// the text insertion penalty
int32 insertion() const;
};

Definition at line 327 of file alignment_base.h.

#include <alignment_base.h>

Public Types

typedef SmithWatermanTag aligner_tag
 the Aligner Tag More...
 
typedef AlgorithmType algorithm_tag
 the Algorithm Tag More...
 

Public Methods

NVBIO_FORCEINLINE NVBIO_HOST_DEVICE SmithWatermanAligner (const scoring_scheme_type _scheme)
 

Public Members

scoring_scheme_type scheme
 

Static Public Members

static const AlignmentType TYPE = T_TYPE
 the AlignmentType More...
 

Member Typedef Documentation

template<AlignmentType T_TYPE, typename scoring_scheme_type, typename AlgorithmType = PatternBlockingTag>
typedef AlgorithmType nvbio::aln::SmithWatermanAligner< T_TYPE, scoring_scheme_type, AlgorithmType >::algorithm_tag

the Algorithm Tag

Definition at line 332 of file alignment_base.h.

template<AlignmentType T_TYPE, typename scoring_scheme_type, typename AlgorithmType = PatternBlockingTag>
typedef SmithWatermanTag nvbio::aln::SmithWatermanAligner< T_TYPE, scoring_scheme_type, AlgorithmType >::aligner_tag

the Aligner Tag

Definition at line 331 of file alignment_base.h.

Constructor & Destructor Documentation

template<AlignmentType T_TYPE, typename scoring_scheme_type, typename AlgorithmType = PatternBlockingTag>
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE nvbio::aln::SmithWatermanAligner< T_TYPE, scoring_scheme_type, AlgorithmType >::SmithWatermanAligner ( const scoring_scheme_type  _scheme)
inline

Definition at line 335 of file alignment_base.h.

Member Data Documentation

template<AlignmentType T_TYPE, typename scoring_scheme_type, typename AlgorithmType = PatternBlockingTag>
scoring_scheme_type nvbio::aln::SmithWatermanAligner< T_TYPE, scoring_scheme_type, AlgorithmType >::scheme

Definition at line 337 of file alignment_base.h.

template<AlignmentType T_TYPE, typename scoring_scheme_type, typename AlgorithmType = PatternBlockingTag>
const AlignmentType nvbio::aln::SmithWatermanAligner< T_TYPE, scoring_scheme_type, AlgorithmType >::TYPE = T_TYPE
static

the AlignmentType

Definition at line 329 of file alignment_base.h.


The documentation for this struct was generated from the following file: