The fasta2Strcuture.pl script can convert a fasta file with multiple haplotypes per individual into an integer format accepted by STRUCTURE. The allelic dosage for a site is also calculated and this ...
To use FastaToKmerFreq, simply download the file FastaToKmerFreq.py from this repository and run it with Python3. The script requires numpy, which can be obtained via pip: FastaToKmerFreq takes as ...