gstacks -I aligned/ -M ../../00.extracted/pop_newall1.txt -t 32 -O gstacks_out/
./stacks-2.68/populations -P gstacks_out/ -M popmap_all_sites.txt -O site4/ -r 0.8 -p 3 --min-maf 0.05 --hwe --fstats --write-single-snp --vcf --structure --genepop --phylip --plink --treemix -t 32
populations -P ./aligned/ -M ../../00.extracted/pop_newallnoxuting.txt -r 0.8 -p 3 --min-maf 0.05 --write-single-snp --vcf
生成的vcf文件使用https://github.com/BGI-shenzhen/VCF2Dis
VCF2Dis -InPut in.vcf.gz -OutPut p_dis.mat