Skip to content

Commit

Permalink
Merge pull request #60 from bacpop/i59-multicontig
Browse files Browse the repository at this point in the history
Fix for multi-contig references in map
  • Loading branch information
johnlees authored Oct 12, 2023
2 parents dd2c90a + e285a89 commit f240fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ska_ref/aln_writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ impl<'a> AlnWriter<'a> {
/// Call in a loop over mapped positions, usually excluding '-' base which
/// haven't actually been mapped
pub fn write_split_kmer(&mut self, mapped_pos: usize, mapped_chrom: usize, base: u8) {
if mapped_chrom > self.curr_chrom {
while mapped_chrom > self.curr_chrom {
self.fill_contig();
}
// Ambiguous bases may clash with the flanks, which are copied from
Expand Down

0 comments on commit f240fc5

Please sign in to comment.