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::TracebackPipelineState< ScoringScheme > Struct Template Reference

Detailed description

template< typename ScoringScheme>
struct nvbio::bowtie2::cuda::TracebackPipelineState< ScoringScheme >

This object encapsulates the state of the pipeline during traceback. As such, it includes references to the following objects:

* the reads for both mates
* the genome iterator
* the CIGAR and MD string arenas
* the temporary DP buffer

Definition at line 243 of file pipeline_states.h.

#include <pipeline_states.h>

Public Types

typedef Aligner::read_batch_type read_batch_type
 
typedef Aligner::genome_iterator genome_iterator
 
typedef ScoringScheme scheme_type
 

Public Methods

 TracebackPipelineState (const read_batch_type _reads1, const read_batch_type _reads2, const uint32 _genome_len, const genome_iterator _genome, const ScoringScheme _scoring_scheme, Aligner &_aligner)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE const
read_batch_type
get_reads (const uint32 mate) const
 

Public Members

const read_batch_type reads
 first mates More...
 
const read_batch_type reads_o
 second mates More...
 
const uint32 genome_length
 genome length More...
 
const genome_iterator genome
 genome iterator More...
 
const ScoringScheme scoring_scheme
 scoring scheme More...
 
nvbio::VectorArrayView< io::Cigarcigar
 cigar arena More...
 
uint2 * cigar_coords
 cigar coords More...
 
nvbio::VectorArrayView< uint8mds
 mds arena More...
 
uint8dp_buffer
 DP buffer. More...
 
uint64 dp_buffer_size
 DP buffer size. More...
 

Member Typedef Documentation

template<typename ScoringScheme>
typedef Aligner::genome_iterator nvbio::bowtie2::cuda::TracebackPipelineState< ScoringScheme >::genome_iterator

Definition at line 246 of file pipeline_states.h.

template<typename ScoringScheme>
typedef Aligner::read_batch_type nvbio::bowtie2::cuda::TracebackPipelineState< ScoringScheme >::read_batch_type

Definition at line 245 of file pipeline_states.h.

template<typename ScoringScheme>
typedef ScoringScheme nvbio::bowtie2::cuda::TracebackPipelineState< ScoringScheme >::scheme_type

Definition at line 247 of file pipeline_states.h.

Constructor & Destructor Documentation

template<typename ScoringScheme>
nvbio::bowtie2::cuda::TracebackPipelineState< ScoringScheme >::TracebackPipelineState ( const read_batch_type  _reads1,
const read_batch_type  _reads2,
const uint32  _genome_len,
const genome_iterator  _genome,
const ScoringScheme  _scoring_scheme,
Aligner _aligner 
)
inline

constructor

Parameters
_reads1the reads corresponding to mate #1
_reads2the reads corresponding to mate #2
_genome_lenthe length of the genome
_genomethe genome iterator
_alignerthe aligner object

Definition at line 256 of file pipeline_states.h.

Member Function Documentation

template<typename ScoringScheme>
NVBIO_FORCEINLINE NVBIO_HOST_DEVICE const read_batch_type& nvbio::bowtie2::cuda::TracebackPipelineState< ScoringScheme >::get_reads ( const uint32  mate) const
inline

return the set of reads corresponding to a given mate

Definition at line 278 of file pipeline_states.h.

Member Data Documentation

template<typename ScoringScheme>
nvbio::VectorArrayView<io::Cigar> nvbio::bowtie2::cuda::TracebackPipelineState< ScoringScheme >::cigar

cigar arena

Definition at line 288 of file pipeline_states.h.

template<typename ScoringScheme>
uint2* nvbio::bowtie2::cuda::TracebackPipelineState< ScoringScheme >::cigar_coords

cigar coords

Definition at line 289 of file pipeline_states.h.

template<typename ScoringScheme>
uint8* nvbio::bowtie2::cuda::TracebackPipelineState< ScoringScheme >::dp_buffer

DP buffer.

Definition at line 292 of file pipeline_states.h.

template<typename ScoringScheme>
uint64 nvbio::bowtie2::cuda::TracebackPipelineState< ScoringScheme >::dp_buffer_size

DP buffer size.

Definition at line 293 of file pipeline_states.h.

template<typename ScoringScheme>
const genome_iterator nvbio::bowtie2::cuda::TracebackPipelineState< ScoringScheme >::genome

genome iterator

Definition at line 284 of file pipeline_states.h.

template<typename ScoringScheme>
const uint32 nvbio::bowtie2::cuda::TracebackPipelineState< ScoringScheme >::genome_length

genome length

Definition at line 283 of file pipeline_states.h.

template<typename ScoringScheme>
nvbio::VectorArrayView<uint8> nvbio::bowtie2::cuda::TracebackPipelineState< ScoringScheme >::mds

mds arena

Definition at line 290 of file pipeline_states.h.

template<typename ScoringScheme>
const read_batch_type nvbio::bowtie2::cuda::TracebackPipelineState< ScoringScheme >::reads

first mates

Definition at line 280 of file pipeline_states.h.

template<typename ScoringScheme>
const read_batch_type nvbio::bowtie2::cuda::TracebackPipelineState< ScoringScheme >::reads_o

second mates

Definition at line 281 of file pipeline_states.h.

template<typename ScoringScheme>
const ScoringScheme nvbio::bowtie2::cuda::TracebackPipelineState< ScoringScheme >::scoring_scheme

scoring scheme

Definition at line 286 of file pipeline_states.h.


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