@classmethod
    def numeric_range(cls, field, from_value, to_value, include_lower=None, include_upper=None):
        instance = cls(numeric_range={field: {'from': from_value, 'to': to_value}})
        if include_lower is not None:
            instance['numeric_range'][field]['include_lower'] = include_lower
        if include_upper is not None:
            instance['numeric_range'][field]['include_upper'] = include_upper
        return instance
%prog coverage fastafile bamfile
dataset/ETHPy150Open ooici/elasticpy/elasticpy/filter.py/ElasticFilter.numeric_range--crossover with--dataset/ETHPy150Open tanghaibao/jcvi/formats/sam.py/coverage