Data (data package)

Base class of DataHolder

class gadma.data.data.DataHolder(filename, projections, outgroup, population_labels, sequence_length)

Bases: object

Class for data holding.

: param filename: name of file with data : param outgroup: information if there is outgroup in data : type outgroup: bool : params pop_labels: labels of populations in data : param seq_len: length of sequence that was used to build data

Input data types

class gadma.data.data.SFSDataHolder(sfs_file, projections=None, outgroup=None, population_labels=None, sequence_length=None)

Bases: gadma.data.data.DataHolder

Class for SFS data holding. if any parameter is None then it will be taken from the file

class gadma.data.data.VCFDataHolder(vcf_file, popmap_file, sample_sizes, outgroup, population_labels=None, seq_len=None, bed_file=None)

Bases: gadma.data.data.DataHolder

Class for VCF data holding.