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

Detailed description

template< typename AlignerType, typename PipelineType>
struct nvbio::bowtie2::cuda::detail::BestOppositeScoreStream< 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 54 of file score_opposite_inl.h.

#include <score_opposite_inl.h>

Inheritance diagram for nvbio::bowtie2::cuda::detail::BestOppositeScoreStream< AlignerType, PipelineType >:
nvbio::bowtie2::cuda::detail::AlignmentStreamBase< OPPOSITE_SCORE_STREAM, AlignerType, PipelineType >

Public Types

typedef AlignmentStreamBase
< OPPOSITE_SCORE_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< OPPOSITE_SCORE_STREAM, AlignerType, PipelineType >
typedef AlignmentStrings
< AlignerType, PipelineType > 
strings_type
 
typedef PipelineType::scheme_type scheme_type
 
typedef AlignerType aligner_type
 

Public Methods

 BestOppositeScoreStream (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 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) const
 
- Public Methods inherited from nvbio::bowtie2::cuda::detail::AlignmentStreamBase< OPPOSITE_SCORE_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
 

Additional Inherited Members

- Public Members inherited from nvbio::bowtie2::cuda::detail::AlignmentStreamBase< OPPOSITE_SCORE_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<typename AlignerType , typename PipelineType >
typedef AlignmentStreamBase<OPPOSITE_SCORE_STREAM,AlignerType,PipelineType> nvbio::bowtie2::cuda::detail::BestOppositeScoreStream< AlignerType, PipelineType >::base_type

Definition at line 56 of file score_opposite_inl.h.

template<typename AlignerType , typename PipelineType >
typedef base_type::context_type nvbio::bowtie2::cuda::detail::BestOppositeScoreStream< AlignerType, PipelineType >::context_type

Definition at line 57 of file score_opposite_inl.h.

template<typename AlignerType , typename PipelineType >
typedef base_type::scheme_type nvbio::bowtie2::cuda::detail::BestOppositeScoreStream< AlignerType, PipelineType >::scheme_type

Definition at line 58 of file score_opposite_inl.h.

Constructor & Destructor Documentation

template<typename AlignerType , typename PipelineType >
nvbio::bowtie2::cuda::detail::BestOppositeScoreStream< AlignerType, PipelineType >::BestOppositeScoreStream ( 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 70 of file score_opposite_inl.h.

Member Function Documentation

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

initialize the i-th context

Definition at line 94 of file score_opposite_inl.h.

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

return the maximum pattern length

Definition at line 79 of file score_opposite_inl.h.

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

return the maximum text length

Definition at line 84 of file score_opposite_inl.h.

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

handle the output

Definition at line 216 of file score_opposite_inl.h.

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

return the stream size

Definition at line 89 of file score_opposite_inl.h.


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