第一步:格式转换
vcftols --vcf sample.vcf --plink --out sample
plink --file sample
--chr-set 20 --noweb --make-bed --out
sample
第二步:Q矩阵和画图
for i in 2 3 4 5 6 7 8 ;do python structure.py -K $i
--input sample --output
sample --full
--seed=100;done
(1)For i in 2 3 4 5 6 7 8;python distruct.py -K $i --input=sample --title=''
--output=$i.structure.svg;done
(2)http://omicsspeaks.com/strplot2/网页版,但是输入必须是csv格式
(3)clumpak.t
vcftols --vcf sample.vcf --plink --out sample
plink
第二步:Q矩阵和画图
for i in 2 3 4 5 6 7 8 ;do python
(1)For i in 2 3 4 5 6 7 8;python distruct.py -K $i --input=sample
(2)http://omicsspeaks.com/strplot2/网页版,但是输入必须是csv格式
(3)clumpak.t
