Skip to content

Commit

Permalink
recombination: debug table show no privates
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmeaton committed Dec 1, 2023
1 parent 38f14a1 commit c84820b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/recombination/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -391,16 +391,19 @@ pub fn detect_recombination<'seq>(
}
}

let mut table_no_private = table.clone();
table_no_private.rows.retain(|row| row[origin_col_i] != "private");

// Debugging Table
debug!("Recombination table:\n\n{}", table.to_markdown()?);
debug!(
"Recombination table:\n\n{}",
table_no_private.to_markdown()?
);

// --------------------------------------------------------------------
// Group Substitutions into Parental Regions
// --------------------------------------------------------------------

let mut table_no_private = table.clone();
table_no_private.rows.retain(|row| row[origin_col_i] != "private");

// First: 5' -> 3', filter separately on min_consecutive then min_length
let mut regions_5p = identify_regions(&table_no_private)?;
regions_5p = filter_regions(
Expand Down

0 comments on commit c84820b

Please sign in to comment.