Skip to content

Commit

Permalink
Merge pull request #74 from Sam-Sims/fix/cigar_string
Browse files Browse the repository at this point in the history
fix: cigar string missing softclip operation
  • Loading branch information
jguhlin authored Aug 17, 2024
2 parents 264e337 + d4451bb commit 41f09a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ impl Aligner {

// Pre and append soft clip identifiers to start and end
if clip_len0 > 0 {
cigar_str = format!("{}{}{}", clip_len0, cigar_str, clip_char);
cigar_str = format!("{}{}{}", clip_len0, clip_char, cigar_str);
if self.cigar_clipping {
cigar.insert(0, (clip_len0 as u32, 4_u8));
}
Expand Down

0 comments on commit 41f09a7

Please sign in to comment.