[][src]Module perbase_lib::par_granges

ParGranges

Iterates over chunked genomic regions in parallel.

Structs

CHANNEL_SIZE_MODIFIER_STR

CHANNEL_SIZE_MODIFIER as a str

CHUNKSIZE_STR

CHUNKSIZE as a str

ParGranges

ParGranges holds all the information and configuration needed to launch the ParGranges::process.

Constants

CHANNEL_SIZE_MODIFIER

A modifier to apply to the channel size formular that is (BYTES_INA_GIGABYTE * channel_size_modifier) * threads / size_of(R::P) 0.15 roughly corresponds to 1_000_000 PileupPosition objects per thread with some wiggle room.

CHUNKSIZE

The ideal number of basepairs each worker will receive. Total bp in memory at one time = threads * chunksize

Traits

RegionProcessor

RegionProcessor defines the methods that must be implemented to process a region