This is a test version of Biostars. For the public version, visit https://www.biostars.org.
STRUCTURE software file format

Hello,

I am optimizing STRUCTURE software for the population genetics analysis. I have a gatk-vcf output file, and tried to convert with plink tool to STRUCTURE file format, but the output is not appropriate, so how to convert vcf file to structure file format. when I load data in STRUCTURE error occurs "Bad data format source" 1 Lines with 1024 columns, 1 Lines with 1023 columns. So please guide me how to format STRUCTURE file format data, and also how to define exact number of column or loci.

Thanks :-)

structure snp populationgenetics

2 answers

There is also a python script you can use, located here.

Try to convert GATK-VCF to structure using PGDSpider. It has a user-friendly interface and it actually works.

Log in to answer this question.