Used by FindReads, a GeneratorFilter is a predicate on values, which also wraps a particular
BucketComparisons object (the thing that produces those values).
BucketComparisons will generate a Seq[T] for each ReadBucket it's given -- FindReads then filters
the ReadBuckets based on whether any element of the Seq[T] passes the GeneratorFilter (this
allows us to handle both read-level and base-level comparison metrics and filters, e.g. 'find all
matched ReadBuckets for which some base quality score doesn't match').
Used by FindReads, a GeneratorFilter is a predicate on values, which also wraps a particular BucketComparisons object (the thing that produces those values).
BucketComparisons will generate a Seq[T] for each ReadBucket it's given -- FindReads then filters the ReadBuckets based on whether any element of the Seq[T] passes the GeneratorFilter (this allows us to handle both read-level and base-level comparison metrics and filters, e.g. 'find all matched ReadBuckets for which some base quality score doesn't match').