Implement BRI instead of pysam for BAM reading
a-slide opened this issue · comments
The current pysam method load the entire bam file in memory.
Using Jared's bri package would allow to load reads one at the time => https://github.com/jts/bri
Using the ONT python wrapper is probably the easiest way to go: https://github.com/nanoporetech/bripy