Mega2gdsfmt function

transcode mega2 to gdsfmt/SNP_ARRAY