zhengxwen / SNPRelate

R package: parallel computing toolset for relatedness and principal component analysis of SNP data (Development version only)
http://www.bioconductor.org/packages/SNPRelate
98 stars 25 forks source link

SNP ID #20

Closed elizeng closed 8 years ago

elizeng commented 8 years ago

When loading with a vcf file, it seems that the SNP ID attached to each loci is lost when converted to gds. Is there anyway to retain the SNP ID for each loci when loading from a vcf file format.

Many thanks!

zhengxwen commented 8 years ago

Call snpgdsVCF2GDS() to convert a VCF file to a GDS file, and see snp.rs.id in the GDS file.