Converter from structure to plink format