Skip to content

Commit

Permalink
revert to the original way isize_flag is calculated
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaceves committed Jan 24, 2023
1 parent 8011622 commit 75eb684
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/trim_primer_quality.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,6 @@ int trim_bam_qual_primer(std::string bam, std::string bed, std::string bam_out,
//isize is insert size
//l_qseq is the query length
isize_flag = (abs(aln->core.isize) - max_primer_len) > abs(aln->core.l_qseq);
isize_flag = (abs(aln->core.isize) - max_primer_len) > 0;
// if reverse strand
if((aln->core.flag&BAM_FPAIRED) != 0 && isize_flag){ // If paired
get_overlapping_primers(aln, primers, overlapping_primers);
Expand Down

0 comments on commit 75eb684

Please sign in to comment.