diff --git a/bbi/_bbi.py b/bbi/_bbi.py index c6b7b4f..e54857a 100644 --- a/bbi/_bbi.py +++ b/bbi/_bbi.py @@ -105,3 +105,9 @@ def stackup( def fetch_intervals(inFile, chrom, start, end, iterator=True): with cbbi.open(inFile) as f: return f.fetch_intervals(chrom, start, end, iterator) + + +@documented_by(cbbi.BBIFile.fetch_summaries) +def fetch_summaries(inFile, chrom, start, end, zoom=0): + with cbbi.open(inFile) as f: + return f.fetch_summaries(chrom, start, end, zoom)