geovar.utils

Utilities for file conversions for GeoVar.

Functions

read_pop_panel(pop_panel_file)

Read in a population panel file.

sep_freq_mat_pops(af_df[, known_cols])

Convert an allele frequency data frame to a frequency array.

vcf_to_freq_table(vcf_file, pop_df[, ...])

Convert a VCF File to a frequency table to be used as input to a GeoVar object.

verify_sample_indices(pop_df, samples)

Generate the sample indices from a list of sample IDs stratified by population.