Optional ReadonlyextractCustom function to extract base ID from sequence ID
Used to match R1 and R2 reads that have different suffixes. Default implementation strips common suffixes like /1, /2, _R1, _R2, etc.
Full sequence ID
Base ID for matching
Optional ReadonlymaxMaximum reads to buffer before throwing MemoryError
Prevents memory overload when processing highly shuffled data. Warning emitted at 80% of limit.
Optional ReadonlyonHow to handle unpaired reads at end-of-file
Controls behavior when reads don't have matching pairs:
'warn': Emit read and log warning (default)'skip': Drop unpaired reads silently'error': Throw error on first unpaired read
Options for paired-end read matching and ordering
Controls how reads are matched by ID, memory limits for buffering, and handling of unpaired reads at end-of-file.
Example