From de577b004c9dea18bfc3d36791349fdc9bfcdaed Mon Sep 17 00:00:00 2001 From: fubar2 Date: Mon, 30 Sep 2024 10:24:29 +1000 Subject: [PATCH] fix new test for bedzero - must have qhi add new test output --- tools/bigwig_outlier_bed/bigwig_outlier_bed.py | 4 ++-- tools/bigwig_outlier_bed/bigwig_outlier_bed.xml | 4 ++-- tools/bigwig_outlier_bed/test-data/bedoutzero_sample | 2 ++ 3 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 tools/bigwig_outlier_bed/test-data/bedoutzero_sample diff --git a/tools/bigwig_outlier_bed/bigwig_outlier_bed.py b/tools/bigwig_outlier_bed/bigwig_outlier_bed.py index 052745bf86a..1c41eebdf6d 100644 --- a/tools/bigwig_outlier_bed/bigwig_outlier_bed.py +++ b/tools/bigwig_outlier_bed/bigwig_outlier_bed.py @@ -300,8 +300,8 @@ def makeBed(self): t.write("\n") some = False if self.outbeds in ["outzero"]: - self.writeBed(bedzero, self.bedoutzeo) - some = True + self.writeBed(bedzero, self.bedoutzero) + some = True if self.qlo: if self.outbeds in ["outall", "outlo", "outlohi"]: self.writeBed(bedlo, self.bedoutlo) diff --git a/tools/bigwig_outlier_bed/bigwig_outlier_bed.xml b/tools/bigwig_outlier_bed/bigwig_outlier_bed.xml index 209c3835a48..963429a1f86 100644 --- a/tools/bigwig_outlier_bed/bigwig_outlier_bed.xml +++ b/tools/bigwig_outlier_bed/bigwig_outlier_bed.xml @@ -162,8 +162,8 @@ - - + + diff --git a/tools/bigwig_outlier_bed/test-data/bedoutzero_sample b/tools/bigwig_outlier_bed/test-data/bedoutzero_sample new file mode 100644 index 00000000000..523f316b17b --- /dev/null +++ b/tools/bigwig_outlier_bed/test-data/bedoutzero_sample @@ -0,0 +1,2 @@ +Merlin 0 9 bigwig_sample_9 9 +Merlin 70049 180929 bigwig_sample_110880 110880