Skip to content

Commit

Permalink
use solid length for maximum limit to reassign nodes as homozygous
Browse files Browse the repository at this point in the history
  • Loading branch information
skoren committed Apr 26, 2024
1 parent 7195695 commit d362a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ impl<'a> HomozygousAssigner<'a> {
//TODO can probably be removed / asserted if only single round allowed
Some(TrioGroup::HOMOZYGOUS) => true,
_ => {
n.length < self.trusted_len
n.length < self.solid_len
&& self.min_suspect_cov.is_some()
&& n.coverage > self.min_suspect_cov.unwrap() - 1e-5
}
Expand Down

0 comments on commit d362a10

Please sign in to comment.