Expand description
VCF input/output for holodeck.
Reads variants from a multi-sample VCF (resolving GT against a chosen
sample) for use by simulate and methylate, and houses the methylation
classifier and MT/MB FORMAT reader/writer that carries per-haplotype
per-strand CpG methylation truth between the two commands. Submodules:
genotype—GenotypeandVariantRecordtypes plus GT parsing.methylation— per-CpG classifier,MT/MBwriter/reader, and header probe.
Modules§
- genotype
- methylation
- Per-CpG methylation classifier and MT/MB FORMAT VCF reader/writer used by
the
methylatesubcommand and the methylation-awaresimulatepath. VCF MT/MB FORMAT-field schema, per-CpG ownership classifier, and reader/writer for methylation-annotated VCFs.
Structs§
- Parsed
Variants - Result of a single-pass VCF scan: per-contig ALT-bearing variants plus the sample’s ploidy resolved from unfiltered genotypes.
Functions§
- parse_
variants_ by_ contig - Read every variant from a VCF in a single pass and partition by contig.