fmicompbio / footprintR

Tools for working with single-molecule footprinting data
https://fmicompbio.github.io/footprintR/
Other
0 stars 0 forks source link

add a sampling mode to `readModBam` #11

Closed mbstadler closed 1 month ago

mbstadler commented 1 month ago

We want to be able to sample n reads from a given modBam file randomly (without going sequentially through the file or sampling genomic regions).

Maybe the implementation of sampling in samtools could be an inspiration?

csoneson commented 1 month ago

Fixed in #14