Skip to main content

Module fragment

Module fragment 

Source
Expand description

Fragment extraction and read base generation.

Handles extracting genomic fragments from haplotypes, reverse-complement operations, adapter sequence appending for short fragments, and R1/R2 base extraction from fragments.

Structs§

Fragment
A simulated fragment extracted from a haplotype.

Functions§

extract_fragment
Extract a fragment from a haplotype at a given position and strand.
extract_read_bases
Extract read bases from a fragment, handling adapter sequences for short fragments.
reverse_complement
Reverse-complement a DNA sequence in place.