Skip to content

Commit

Permalink
Add function for fetch_summaries
Browse files Browse the repository at this point in the history
  • Loading branch information
nvictus committed Apr 14, 2024
1 parent 67a8931 commit 065a50e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bbi/_bbi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 065a50e

Please sign in to comment.