API Reference

This is the main public API for the snpio package.

VCFReader

A class to read VCF files into GenotypeData objects and write GenotypeData objects to VCF files.

PhylipReader

Class to read and write PHYLIP files.

StructureReader

Read STRUCTURE file into a GenotypeData object.

GenePopReader

Reads GenePop-formatted files into a GenotypeData object.

NRemover2

A class for filtering alignments based on various criteria.

PopGenStatistics

Class for calculating population genetics statistics from SNP data.

GenotypeEncoder

Encode genotypes to various formats suitable for machine learning.

Plotting

Class containing various methods for generating plots based on genotype data.

TreeParser

TreeParser class for reading and manipulating phylogenetic trees.

SNPioMultiQC

A MultiQC module and an in-process builder.