Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

limix_converter appends decimal point to sample_ID #18

Open
alexd106 opened this issue Dec 9, 2015 · 0 comments
Open

limix_converter appends decimal point to sample_ID #18

alexd106 opened this issue Dec 9, 2015 · 0 comments

Comments

@alexd106
Copy link

alexd106 commented Dec 9, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant