NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Methods | Public Members | List of all members
nvbio::bowtie2::cuda::detail::BestTracebackStream< ALN_IDX, AlignerType, PipelineType > Struct Template Reference

Detailed description

template< uint32 ALN_IDX, typename AlignerType, typename PipelineType>
struct nvbio::bowtie2::cuda::detail::BestTracebackStream< ALN_IDX, AlignerType, PipelineType >

A scoring stream, fetching the input hits to score from the hit queue indexed by the input sorting order, and assigning them their score and sink attributes.

Definition at line 53 of file traceback_inl.h.

#include <traceback_inl.h>

Inheritance diagram for nvbio::bowtie2::cuda::detail::BestTracebackStream< ALN_IDX, AlignerType, PipelineType >:
nvbio::bowtie2::cuda::detail::AlignmentStreamBase< TRACEBACK_STREAM, AlignerType, PipelineType >

Public Types

typedef AlignmentStreamBase
< TRACEBACK_STREAM,
AlignerType, PipelineType > 
base_type
 
typedef base_type::context_type context_type
 
typedef base_type::scheme_type scheme_type
 
- Public Types inherited from nvbio::bowtie2::cuda::detail::AlignmentStreamBase< TRACEBACK_STREAM, AlignerType, PipelineType >
typedef AlignmentStrings
< AlignerType, PipelineType > 
strings_type
 
typedef PipelineType::scheme_type scheme_type
 
typedef AlignerType aligner_type
 

Public Methods

 BestTracebackStream (const MateType _mate_type, const uint32 _count, const uint32 *_idx, io::Alignment *_best_data, const uint32 _best_stride, const uint32 _band_len, const PipelineType _pipeline, const AlignerType _aligner, const ParamsPOD _params)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint32 
max_pattern_length () const
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint32 
max_text_length () const
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE MateType 
mate_type () const
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint32 
size () const
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE bool 
init_context (const uint32 i, context_type *context) const
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE void 
output (const uint32 i, const context_type *context)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE void 
finish (const uint32 i, const context_type *context, const uint32 ed, const int32 score)
 
- Public Methods inherited from nvbio::bowtie2::cuda::detail::AlignmentStreamBase< TRACEBACK_STREAM, AlignerType, PipelineType >
 AlignmentStreamBase (const PipelineType _pipeline, const aligner_type _aligner, const ParamsPOD _params)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE const
aligner_type
aligner () const
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint32 
pattern_length (const uint32 i, const context_type *context) const
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint32 
text_length (const uint32 i, const context_type *context) const
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE void 
load_strings (const uint32 i, const uint32 window_begin, const uint32 window_end, const context_type *context, strings_type *strings) const
 

Public Members

const MateType m_mate_type
 
const uint32 m_count
 
const uint32m_idx
 
io::Alignmentm_best_data
 
const uint32 m_best_stride
 
const uint32 m_band_len
 
- Public Members inherited from nvbio::bowtie2::cuda::detail::AlignmentStreamBase< TRACEBACK_STREAM, AlignerType, PipelineType >
PipelineType m_pipeline
 the pipeline object More...
 
aligner_type m_aligner
 the aligner More...
 
ParamsPOD m_params
 global parameters More...
 

Member Typedef Documentation

template<uint32 ALN_IDX, typename AlignerType , typename PipelineType >
typedef AlignmentStreamBase<TRACEBACK_STREAM,AlignerType,PipelineType> nvbio::bowtie2::cuda::detail::BestTracebackStream< ALN_IDX, AlignerType, PipelineType >::base_type

Definition at line 55 of file traceback_inl.h.

template<uint32 ALN_IDX, typename AlignerType , typename PipelineType >
typedef base_type::context_type nvbio::bowtie2::cuda::detail::BestTracebackStream< ALN_IDX, AlignerType, PipelineType >::context_type

Definition at line 56 of file traceback_inl.h.

template<uint32 ALN_IDX, typename AlignerType , typename PipelineType >
typedef base_type::scheme_type nvbio::bowtie2::cuda::detail::BestTracebackStream< ALN_IDX, AlignerType, PipelineType >::scheme_type

Definition at line 57 of file traceback_inl.h.

Constructor & Destructor Documentation

template<uint32 ALN_IDX, typename AlignerType , typename PipelineType >
nvbio::bowtie2::cuda::detail::BestTracebackStream< ALN_IDX, AlignerType, PipelineType >::BestTracebackStream ( const MateType  _mate_type,
const uint32  _count,
const uint32 _idx,
io::Alignment _best_data,
const uint32  _best_stride,
const uint32  _band_len,
const PipelineType  _pipeline,
const AlignerType  _aligner,
const ParamsPOD  _params 
)
inline

constructor

Parameters
_band_leneffective band length; NOTE: this value must match the template BAND_LEN parameter used for instantiating aln::BatchedBandedAlignmentScore.
_pipelinethe pipeline object
_alignerthe aligner object

Definition at line 69 of file traceback_inl.h.

Member Function Documentation

template<uint32 ALN_IDX, typename AlignerType , typename PipelineType >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE void nvbio::bowtie2::cuda::detail::BestTracebackStream< ALN_IDX, AlignerType, PipelineType >::finish ( const uint32  i,
const context_type context,
const uint32  ed,
const int32  score 
)
inline

handle the output

Definition at line 177 of file traceback_inl.h.

template<uint32 ALN_IDX, typename AlignerType , typename PipelineType >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE bool nvbio::bowtie2::cuda::detail::BestTracebackStream< ALN_IDX, AlignerType, PipelineType >::init_context ( const uint32  i,
context_type context 
) const
inline

initialize the i-th context

Definition at line 104 of file traceback_inl.h.

template<uint32 ALN_IDX, typename AlignerType , typename PipelineType >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE MateType nvbio::bowtie2::cuda::detail::BestTracebackStream< ALN_IDX, AlignerType, PipelineType >::mate_type ( ) const
inline

return the mate type

Definition at line 94 of file traceback_inl.h.

template<uint32 ALN_IDX, typename AlignerType , typename PipelineType >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE uint32 nvbio::bowtie2::cuda::detail::BestTracebackStream< ALN_IDX, AlignerType, PipelineType >::max_pattern_length ( ) const
inline

return the maximum pattern length

Definition at line 84 of file traceback_inl.h.

template<uint32 ALN_IDX, typename AlignerType , typename PipelineType >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE uint32 nvbio::bowtie2::cuda::detail::BestTracebackStream< ALN_IDX, AlignerType, PipelineType >::max_text_length ( ) const
inline

return the maximum text length

Definition at line 89 of file traceback_inl.h.

template<uint32 ALN_IDX, typename AlignerType , typename PipelineType >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE void nvbio::bowtie2::cuda::detail::BestTracebackStream< ALN_IDX, AlignerType, PipelineType >::output ( const uint32  i,
const context_type context 
)
inline

handle the output

Definition at line 141 of file traceback_inl.h.

template<uint32 ALN_IDX, typename AlignerType , typename PipelineType >
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE uint32 nvbio::bowtie2::cuda::detail::BestTracebackStream< ALN_IDX, AlignerType, PipelineType >::size ( void  ) const
inline

return the stream size

Definition at line 99 of file traceback_inl.h.

Member Data Documentation

template<uint32 ALN_IDX, typename AlignerType , typename PipelineType >
const uint32 nvbio::bowtie2::cuda::detail::BestTracebackStream< ALN_IDX, AlignerType, PipelineType >::m_band_len

Definition at line 198 of file traceback_inl.h.

template<uint32 ALN_IDX, typename AlignerType , typename PipelineType >
io::Alignment* nvbio::bowtie2::cuda::detail::BestTracebackStream< ALN_IDX, AlignerType, PipelineType >::m_best_data

Definition at line 196 of file traceback_inl.h.

template<uint32 ALN_IDX, typename AlignerType , typename PipelineType >
const uint32 nvbio::bowtie2::cuda::detail::BestTracebackStream< ALN_IDX, AlignerType, PipelineType >::m_best_stride

Definition at line 197 of file traceback_inl.h.

template<uint32 ALN_IDX, typename AlignerType , typename PipelineType >
const uint32 nvbio::bowtie2::cuda::detail::BestTracebackStream< ALN_IDX, AlignerType, PipelineType >::m_count

Definition at line 194 of file traceback_inl.h.

template<uint32 ALN_IDX, typename AlignerType , typename PipelineType >
const uint32* nvbio::bowtie2::cuda::detail::BestTracebackStream< ALN_IDX, AlignerType, PipelineType >::m_idx

Definition at line 195 of file traceback_inl.h.

template<uint32 ALN_IDX, typename AlignerType , typename PipelineType >
const MateType nvbio::bowtie2::cuda::detail::BestTracebackStream< ALN_IDX, AlignerType, PipelineType >::m_mate_type

Definition at line 193 of file traceback_inl.h.


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