Skip to content

Commit

Permalink
Update process_variants.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
rderelle authored Feb 10, 2025
1 parent dd15aa0 commit 54bfa9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/skalo/process_variants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ fn find_internal_indels<IntT: for<'a> UInt<'a>>(
let sequence = &variant.sequence.decode();
let k_graph = data_info.k_graph;

for i in 0..(sequence.len() -k_graph) {
for i in 0..(sequence.len() - k_graph) {
let kmer = IntT::encode_kmer_str(&sequence[i..k_graph + i]);
if entries_indels.contains(&kmer) {
nb += 1;
Expand Down

0 comments on commit 54bfa9f

Please sign in to comment.