code for analysing admixture