diff --git a/dysgu/filter_normals.py b/dysgu/filter_normals.py index cc3ed1e..c2dbba3 100644 --- a/dysgu/filter_normals.py +++ b/dysgu/filter_normals.py @@ -1025,13 +1025,13 @@ def run_filtering(args): if mq_pri < min_mapq and mq_sup < min_mapq: filter_results['lowMapQ'] += 1 if keep_all: - update_filter_value(r, old_filter_value, pass_prob, new_value="lowMapQ") + update_filter_value(r, sample_name, old_filter_value, pass_prob, new_value="lowMapQ") out_vcf.write(r) continue if min_prob != 0 and 'PROB' in r.samples[sample_name] and r.samples[sample_name]['PROB'] < min_prob: filter_results['lowProb'] += 1 if keep_all: - update_filter_value(r, old_filter_value, pass_prob, new_value="lowProb") + update_filter_value(r, sample_name, old_filter_value, pass_prob, new_value="lowProb") out_vcf.write(r) continue if has_low_support(r, sample_name, support_fraction): diff --git a/pyproject.toml b/pyproject.toml index 8f99976..4828dd8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,13 +34,6 @@ dependencies = [ [project.urls] Homepage = "https://github.com/kcleal/dysgu" -[project.optional-dependencies] -test = [ - "pytest", - "pytest-cov", - "pytest-mock", -] - [project.scripts] dysgu = "dysgu.main:cli" diff --git a/requirements.txt b/requirements.txt index 62c981e..130c1c2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ setuptools>=63.0 -cython +Cython click>=8.0 numpy scipy