PMBio / limix-backup

http://pmbio.github.io/limix/
Apache License 2.0
45 stars 12 forks source link

limix_converter appends decimal point to sample_ID #18

Open alexd106 opened 8 years ago

alexd106 commented 8 years ago

When using limix_converter to convert my phenotype.csv file to hdf5 format the sample_ID 's have a decimal '.0' appended to them.

Here are a few rows of my phenotype file with the first column the numeric sample ID's

,F_grain_Mo,F_grain_Zn,A_FT,A_PH
1,1.1233,18.58,81,128.3
3,0.7292,16.79,83,133.8
4,1.215,17.01,93,147.7
5,1.1612,21.26,108,174.8
6,0.8666,16.08,101,171.3

I convert this csv file to hdf5 format using

limix_converter -O ./phenotype.hdf5 -C ./phenotype.csv -D ,

but the sample_ID dataset in the phenotype group are

1.0
3.0
4.0
5.0
6.0

This is likely to cause me problems when subsetting the genotype and phenotype hdf5 files for individual samples. Is there any way around this behaviour? Cheers Alex