Skip to content

Commit

Permalink
relax condition check when assigning homozygous nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
skoren committed Apr 17, 2024
1 parent da64bdd commit ff4a636
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/trio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,6 @@ impl<'a> HomozygousAssigner<'a> {
if n.length > self.max_assign_len {
return false;
}

match self.assignments.group(node_id) {
None => n.length < self.solid_len || n.coverage > self.min_solid_cov - 1e-5,
//TODO think if we should be able to also reclassify ISSUE nodes
Expand Down Expand Up @@ -477,7 +476,7 @@ impl<'a> HomozygousAssigner<'a> {
//todo maybe chack long_ahead size
for v_ahead in &long_ahead {
match self.assignments.group(v_ahead.node_id) {
None | Some(TrioGroup::ISSUE) => return false,
Some(TrioGroup::ISSUE) => return false,
og => blended_group = TrioGroup::optional_blend(blended_group, og),
};
}
Expand Down

0 comments on commit ff4a636

Please sign in to comment.