Skip to main content

Interface: MergeOptions

Defined in: merge.ts:4

How far apart, and how large, reads may be and still share one request.

Properties​

maxGap​

maxGap: number | "median"

Defined in: merge.ts:9

Largest gap in bytes between two reads that share a request. "median" uses the batch's median read length.


maxOverfetchBytes​

maxOverfetchBytes: number

Defined in: merge.ts:11

Largest number of bytes in one merged range that no read covers.


maxRequestBytes​

maxRequestBytes: number

Defined in: merge.ts:17

Largest merged range, in bytes. A single read longer than this is sent alone; a read that overlaps the current range always joins it, since fetching the overlap twice would cost more than the longer request.