Skip to content

Commit

Permalink
Merge pull request #35 from genomewalker:lowmem
Browse files Browse the repository at this point in the history
Lowmem
  • Loading branch information
genomewalker authored Jun 12, 2024
2 parents f6a5402 + 80e837c commit 4dc43d2
Show file tree
Hide file tree
Showing 5 changed files with 377 additions and 419 deletions.
5 changes: 5 additions & 0 deletions bam_filter/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ def filter_references(args):
if args.min_norm_entropy is None or args.min_norm_gini is None:
filter_conditions = {
"min_read_length": args.min_read_length,
"max_read_length": args.max_read_length,
"min_read_count": args.min_read_count,
"min_expected_breadth_ratio": args.min_expected_breadth_ratio,
"min_breadth": args.min_breadth,
Expand All @@ -186,6 +187,7 @@ def filter_references(args):
)
filter_conditions = {
"min_read_length": args.min_read_length,
"max_read_length": args.max_read_length,
"min_read_count": args.min_read_count,
"min_expected_breadth_ratio": args.min_expected_breadth_ratio,
"min_breadth": args.min_breadth,
Expand All @@ -197,6 +199,7 @@ def filter_references(args):
else:
filter_conditions = {
"min_read_length": args.min_read_length,
"max_read_length": args.max_read_length,
"min_read_count": args.min_read_count,
"min_expected_breadth_ratio": args.min_expected_breadth_ratio,
"min_breadth": args.min_breadth,
Expand All @@ -215,6 +218,7 @@ def filter_references(args):
)
filter_conditions = {
"min_read_length": args.min_read_length,
"max_read_length": args.max_read_length,
"min_read_count": args.min_read_count,
"min_expected_breadth_ratio": args.min_expected_breadth_ratio,
"min_breadth": args.min_breadth,
Expand All @@ -229,6 +233,7 @@ def filter_references(args):
min_norm_gini, min_norm_entropy = args.min_norm_gini, args.min_norm_entropy
filter_conditions = {
"min_read_length": args.min_read_length,
"max_read_length": args.max_read_length,
"min_read_count": args.min_read_count,
"min_expected_breadth_ratio": args.min_expected_breadth_ratio,
"min_breadth": args.min_breadth,
Expand Down
Loading

0 comments on commit 4dc43d2

Please sign in to comment.