37 using namespace nvbio;
46 const static uint32 k_best_haplotypes = 12;
47 const static uint32 active_region_size = 100;
48 const static bool increaze_kmer_size_for_cycles =
false;
49 const static uint32 max_reads_in_region_per_sample = 1000;
50 const static uint32 min_reads_per_alignment_start = 5;
51 const static uint32 max_ref_size = 1000;
52 const static uint32 ref_padding = 100;
92 H_VectorU32 h_active_region_offsets(active_regions.size());
97 for(
uint32 r = 0; r < active_regions.size(); r++) {
98 h_active_region_offsets[r] = n_seqs_loaded;
105 h_active_region_ids[n_seqs_loaded] = r;
106 h_offsets[n_seqs_loaded] = offset;
118 h_offsets[n_seqs_loaded] = offset;
119 h_active_region_ids[n_seqs_loaded] = r;
120 offset += read_batch.
crq_index[i].read_len;
124 h_offsets[n_seqs_loaded] = offset;
128 d_active_region_ids = h_active_region_ids;
130 d_set_seqs_data = h_seqs;
132 d_set_offsets = h_offsets;
135 printf(
"Total input data transfer time : %.8fs\n", timer.
seconds());
136 printf(
"Loaded %llu sequences \n", n_seqs_loaded);