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.