NVBIO
|
#include <aligner.h>
Public Types | |
typedef FMIndexDef::type | fmi_type |
typedef FMIndexDef::type | rfmi_type |
typedef ReadsDef::read_storage_type | read_storage_type |
typedef ReadsDef::read_base_type | read_base_type |
typedef ReadsDef::read_qual_type | read_qual_type |
typedef ReadsDef::read_view_type | read_view_type |
typedef ReadsDef::type | read_batch_type |
typedef io::LdgSequenceDataView | genome_view_type |
typedef io::SequenceDataAccess < DNA, genome_view_type > | genome_access_type |
typedef genome_access_type::sequence_stream_type | genome_iterator |
Public Methods | |
Aligner () | |
bool | init (const uint32 id, const uint32 batch_size, const Params ¶ms, const EndType type) |
void | keep_stats (const uint32 count, Stats &stats) |
template<typename scoring_tag > | |
void | best_approx (const Params ¶ms, const fmi_type fmi, const rfmi_type rfmi, const UberScoringScheme &scoring_scheme, const io::SequenceDataDevice &reference_data, const io::FMIndexDataDevice &driver_data, const io::SequenceDataDevice &read_data, io::HostOutputBatchSE &cpu_batch, Stats &stats) |
template<typename scoring_tag , typename scoring_scheme_type > | |
void | best_approx_score (const Params ¶ms, const fmi_type fmi, const rfmi_type rfmi, const scoring_scheme_type &scoring_scheme, const io::SequenceDataDevice &reference_data, const io::FMIndexDataDevice &driver_data, const io::SequenceDataDevice &read_data, const uint32 seeding_pass, const uint32 seed_queue_size, const uint32 *seed_queue, Stats &stats) |
template<typename scoring_tag > | |
void | best_approx (const Params ¶ms, const FMIndexDef::type fmi, const FMIndexDef::type rfmi, const UberScoringScheme &scoring_scheme, const io::SequenceDataDevice &reference_data, const io::FMIndexDataDevice &driver_data, const io::SequenceDataDevice &read_data1, const io::SequenceDataDevice &read_data2, io::HostOutputBatchPE &cpu_batch, Stats &stats) |
template<typename scoring_tag , typename scoring_scheme_type > | |
void | best_approx_score (const Params ¶ms, const fmi_type fmi, const rfmi_type rfmi, const scoring_scheme_type &scoring_scheme, const io::SequenceDataDevice &reference_data, const io::FMIndexDataDevice &driver_data, const uint32 anchor, const io::SequenceDataDevice &read_data1, const io::SequenceDataDevice &read_data2, const uint32 seeding_pass, const uint32 seed_queue_size, const uint32 *seed_queue, Stats &stats) |
template<typename scoring_tag > | |
void | all (const Params ¶ms, const fmi_type fmi, const rfmi_type rfmi, const UberScoringScheme &scoring_scheme, const io::SequenceDataDevice &reference_data, const io::FMIndexDataDevice &driver_data, const io::SequenceDataDevice &read_data, io::HostOutputBatchSE &cpu_batch, Stats &stats) |
template<typename scoring_scheme_type > | |
void | score_all (const Params ¶ms, const fmi_type fmi, const rfmi_type rfmi, const UberScoringScheme &input_scoring_scheme, const scoring_scheme_type &scoring_scheme, const io::SequenceDataDevice &reference_data, const io::FMIndexDataDevice &driver_data, const io::SequenceDataDevice &read_data, io::HostOutputBatchSE &cpu_batch, const uint32 seed_queue_size, const uint32 *seed_queue, Stats &stats, uint64 &total_alignments) |
std::pair< uint32 *, uint64 * > | sort_64_bits (const uint32 count) |
uint32 * | sort_hi_bits (const uint32 count, const uint32 *keys) |
void | sort_inplace (const uint32 count, uint32 *keys) |
bool | init_alloc (const uint32 BATCH_SIZE, const Params ¶ms, const EndType type, bool do_alloc, std::pair< uint64, uint64 > *mem_stats=NULL) |
Static Public Methods | |
static uint32 | band_length (const uint32 max_dist) |
Static Public Members | |
static const uint32 | MAX_READ_LEN = MAXIMUM_READ_LENGTH |
void nvbio::bowtie2::cuda::Aligner::all | ( | const Params & | params, |
const fmi_type | fmi, | ||
const rfmi_type | rfmi, | ||
const UberScoringScheme & | scoring_scheme, | ||
const io::SequenceDataDevice & | reference_data, | ||
const io::FMIndexDataDevice & | driver_data, | ||
const io::SequenceDataDevice & | read_data, | ||
io::HostOutputBatchSE & | cpu_batch, | ||
Stats & | stats | ||
) |
Definition at line 49 of file aligner_all.h.
void nvbio::bowtie2::cuda::Aligner::best_approx | ( | const Params & | params, |
const fmi_type | fmi, | ||
const rfmi_type | rfmi, | ||
const UberScoringScheme & | scoring_scheme, | ||
const io::SequenceDataDevice & | reference_data, | ||
const io::FMIndexDataDevice & | driver_data, | ||
const io::SequenceDataDevice & | read_data, | ||
io::HostOutputBatchSE & | cpu_batch, | ||
Stats & | stats | ||
) |
Definition at line 85 of file aligner_best_approx.h.
void nvbio::bowtie2::cuda::Aligner::best_approx | ( | const Params & | params, |
const FMIndexDef::type | fmi, | ||
const FMIndexDef::type | rfmi, | ||
const UberScoringScheme & | scoring_scheme, | ||
const io::SequenceDataDevice & | reference_data, | ||
const io::FMIndexDataDevice & | driver_data, | ||
const io::SequenceDataDevice & | read_data1, | ||
const io::SequenceDataDevice & | read_data2, | ||
io::HostOutputBatchPE & | cpu_batch, | ||
Stats & | stats | ||
) |
Definition at line 100 of file aligner_best_approx_paired.h.
void nvbio::bowtie2::cuda::Aligner::best_approx_score | ( | const Params & | params, |
const fmi_type | fmi, | ||
const rfmi_type | rfmi, | ||
const scoring_scheme_type & | scoring_scheme, | ||
const io::SequenceDataDevice & | reference_data, | ||
const io::FMIndexDataDevice & | driver_data, | ||
const io::SequenceDataDevice & | read_data, | ||
const uint32 | seeding_pass, | ||
const uint32 | seed_queue_size, | ||
const uint32 * | seed_queue, | ||
Stats & | stats | ||
) |
Definition at line 525 of file aligner_best_approx.h.
void nvbio::bowtie2::cuda::Aligner::best_approx_score | ( | const Params & | params, |
const fmi_type | fmi, | ||
const rfmi_type | rfmi, | ||
const scoring_scheme_type & | scoring_scheme, | ||
const io::SequenceDataDevice & | reference_data, | ||
const io::FMIndexDataDevice & | driver_data, | ||
const uint32 | anchor, | ||
const io::SequenceDataDevice & | read_data1, | ||
const io::SequenceDataDevice & | read_data2, | ||
const uint32 | seeding_pass, | ||
const uint32 | seed_queue_size, | ||
const uint32 * | seed_queue, | ||
Stats & | stats | ||
) |
Definition at line 821 of file aligner_best_approx_paired.h.
bool nvbio::bowtie2::cuda::Aligner::init | ( | const uint32 | id, |
const uint32 | batch_size, | ||
const Params & | params, | ||
const EndType | type | ||
) |
bool nvbio::bowtie2::cuda::Aligner::init_alloc | ( | const uint32 | BATCH_SIZE, |
const Params & | params, | ||
const EndType | type, | ||
bool | do_alloc, | ||
std::pair< uint64, uint64 > * | mem_stats = NULL |
||
) |
void nvbio::bowtie2::cuda::Aligner::score_all | ( | const Params & | params, |
const fmi_type | fmi, | ||
const rfmi_type | rfmi, | ||
const UberScoringScheme & | input_scoring_scheme, | ||
const scoring_scheme_type & | scoring_scheme, | ||
const io::SequenceDataDevice & | reference_data, | ||
const io::FMIndexDataDevice & | driver_data, | ||
const io::SequenceDataDevice & | read_data, | ||
io::HostOutputBatchSE & | cpu_batch, | ||
const uint32 | seed_queue_size, | ||
const uint32 * | seed_queue, | ||
Stats & | stats, | ||
uint64 & | total_alignments | ||
) |
Definition at line 278 of file aligner_all.h.
io::Alignment* nvbio::bowtie2::cuda::Aligner::best_data_dptr |
io::Alignment* nvbio::bowtie2::cuda::Aligner::best_data_dptr_o |
thrust::device_vector<io::Alignment> nvbio::bowtie2::cuda::Aligner::best_data_dvec |
thrust::device_vector<io::Alignment> nvbio::bowtie2::cuda::Aligner::best_data_dvec_o |
io::Alignment* nvbio::bowtie2::cuda::Aligner::buffer_alignments_dptr |
thrust::device_vector<io::Alignment> nvbio::bowtie2::cuda::Aligner::buffer_alignments_dvec |
uint32* nvbio::bowtie2::cuda::Aligner::buffer_read_info_dptr |
thrust::device_vector<uint32> nvbio::bowtie2::cuda::Aligner::buffer_read_info_dvec |
nvbio::DeviceVectorArray<io::Cigar> nvbio::bowtie2::cuda::Aligner::cigar |
thrust::device_vector<uint2> nvbio::bowtie2::cuda::Aligner::cigar_coords_dvec |
thrust::device_vector<uint8> nvbio::bowtie2::cuda::Aligner::dp_buffer_dvec |
thrust::device_vector<uint8> nvbio::bowtie2::cuda::Aligner::flags_dvec |
SeedHitDequeArray nvbio::bowtie2::cuda::Aligner::hit_deques |
uint32* nvbio::bowtie2::cuda::Aligner::hits_count_scan_dptr |
thrust::device_vector<uint32> nvbio::bowtie2::cuda::Aligner::hits_count_scan_dvec |
uint64* nvbio::bowtie2::cuda::Aligner::hits_range_scan_dptr |
thrust::device_vector<uint64> nvbio::bowtie2::cuda::Aligner::hits_range_scan_dvec |
thrust::device_vector<uint64> nvbio::bowtie2::cuda::Aligner::hits_stats_dvec |
thrust::host_vector<uint64> nvbio::bowtie2::cuda::Aligner::hits_stats_hvec |
thrust::device_vector<uint32> nvbio::bowtie2::cuda::Aligner::idx_queue_dvec |
thrust::device_vector<uint8> nvbio::bowtie2::cuda::Aligner::mapq_dvec |
|
static |
nvbio::DeviceVectorArray<uint8> nvbio::bowtie2::cuda::Aligner::mds |
uint32* nvbio::bowtie2::cuda::Aligner::opposite_queue_dptr |
thrust::device_vector<uint32> nvbio::bowtie2::cuda::Aligner::opposite_queue_dvec |
io::Alignment* nvbio::bowtie2::cuda::Aligner::output_alignments_dptr |
thrust::device_vector<io::Alignment> nvbio::bowtie2::cuda::Aligner::output_alignments_dvec |
io::OutputFile* nvbio::bowtie2::cuda::Aligner::output_file |
uint32* nvbio::bowtie2::cuda::Aligner::output_read_info_dptr |
thrust::device_vector<uint32> nvbio::bowtie2::cuda::Aligner::output_read_info_dvec |
thrust::device_vector<uint8> nvbio::bowtie2::cuda::Aligner::reseed_dvec |
thrust::device_vector<uint32> nvbio::bowtie2::cuda::Aligner::rseeds_dvec |
ScoringQueues nvbio::bowtie2::cuda::Aligner::scoring_queues |
nvbio::cuda::PingPongQueues<uint32> nvbio::bowtie2::cuda::Aligner::seed_queues |
nvbio::cuda::SortEnactor nvbio::bowtie2::cuda::Aligner::sort_enactor |
thrust::device_vector<uint16> nvbio::bowtie2::cuda::Aligner::sorting_queue_dvec |
nvbio::vector<device_tag,uint8> nvbio::bowtie2::cuda::Aligner::temp_dvec |
thrust::device_vector<uint32> nvbio::bowtie2::cuda::Aligner::trys_dvec |