Expand description
Read naming schemes for simulated reads.
Supports two modes: encoded names that embed truth coordinates (contig, position, strand, haplotype, error count) for downstream evaluation, and simple names that are just sequential identifiers.
Contig names may contain : characters (e.g. HLA contigs). The parser
handles this by splitting from the right where the field count is fixed.
Structs§
- Truth
Alignment - Truth alignment data for a single read, used to encode position information into the read name.
Functions§
- encoded_
pe_ name - Format a read name in encoded mode for a paired-end read.
- encoded_
se_ name - Format a read name in encoded mode for a single-end read.
- parse_
encoded_ pe_ name - Parse an encoded paired-end read name back into truth alignments.
- parse_
encoded_ se_ name - Parse an encoded single-end read name back into a truth alignment.
- simple_
name - Format a simple read name with no truth information.