SFS & VCF handling

SFS & VCF handling#

Site-frequency spectra objects, VCF-to-SFS parsing, ancestral-allele and site-degeneracy annotation, and site filtration are provided by the standalone sfsutils package. fastdfe depends on it and re-exports these classes, so they remain importable directly from fastdfe (e.g. from fastdfe import Spectrum, Spectra, Parser, Annotator, Filterer).

The corresponding sfsutils API reference pages: