Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions data/db/test_ref.fa.fai
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test 401 6 401 402
Binary file added data/omicron_s_3ins_9del.bam
Binary file not shown.
Binary file added data/omicron_s_3ins_9del.bam.bai
Binary file not shown.
2 changes: 1 addition & 1 deletion src/allele_functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ std::vector<allele> update_allele_depth(char ref,std::string bases, std::string
i += n + j;
if(indel[0]>=97 && indel[0] <= 122)
forward=false;
q = min_qual; // For insertions and deletion ust use minimum quality.
q = min_qual; // For insertions and deletion use minimum quality.
break;
default:
int asc_val = bases[i];
Expand Down
2 changes: 1 addition & 1 deletion src/call_consensus_pileup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ ret_t get_consensus_allele(std::vector<allele> ad, uint8_t min_qual, double thre
it++;
ambg_n = 1;
if(i > 0){
cur_threshold = threshold * (double) total_indel_depth;
cur_threshold = threshold * 0.3333 * (double) total_indel_depth;
} else {
cur_threshold = threshold * (double)total_max_depth;
}
Expand Down