1from importlib.metadata import version, PackageNotFoundError
2
3try:
4 __version__ = version("snputils")
5except PackageNotFoundError:
6 # package is not installed
7 __version__ = "unknown"
8
9from .snp import SNPObject, SNPReader, BEDReader, PGENReader, VCFReader, BEDWriter, PGENWriter, VCFWriter, read_snp, read_bed, read_pgen, read_vcf
10from .ancestry import LocalAncestryObject, GlobalAncestryObject, MSPReader, MSPWriter, AdmixtureMappingVCFWriter, AdmixtureReader, AdmixtureWriter, read_lai, read_msp, read_adm, read_admixture
11from .phenotype import MultiPhenotypeObject, UKBPhenotypeObject, MultiPhenTabularReader, UKBPhenReader
12from . import visualization as viz
13from .datasets import load_dataset