A package for windowed principal component analysis. WinPCA performs principal component analyses (PCA) in sliding windows along chromosomes. Both hard-called genotypes (input: VCF or TSV) or genotype likelihoods (input: VCF, TSV or BEAGLE) encoding biallellic SNPs are accepted. WinPCA uses scikit-allel to perfom PCAs on genotype data and PCAngsd methods for genotype likelihood (GL, PL) data.