paino
New Member
Posts: 4
|
Post by paino on Jan 6, 2016 12:48:03 GMT
Hello,
I have used a GCTA before and had no problem creating a phenotype file. However, no I am receiving the following error: 'Error: invalid phenotype. Please check the phenotype file.'.
Below is a small example of the phenotype file containing 4 quantitative traits with missing values coded as NA. I have also attached a small example of the grm.id file. The IDs do no correspond between these small examples but they do in the full files.
Pheno file:
T127200 T1272001 -0.323532419342469 1.29452946034409 -0.737713951415293 0.622074457112729 T217837 T2178372 -0.817910870772772 NA -0.215490060909639 0.390994371698662 T6T17644 T6176441 -0.999124828542623 NA -0.463974910729877 -1.62897235430912
grm.id file:
T991770 T9917702 T991860 T9918602 T992410 T9924102 T992911 T9929111 T993167 T9931672
I have tried a number of changes to find the cause with no success. I have changed the missing value to -9, changed FID and IID to be the same, created a normally distributed trait with no missing values and changing it to a tab-delimited file.
Any suggestions would be much appreciated.
|
|
|
Post by Jian Yang on Jan 6, 2016 23:44:44 GMT
Usually it's due to strange characters that you might not be able to see in the a text editor (often in the last column).
|
|
|
Post by vmistry on Apr 15, 2016 11:33:27 GMT
Hello,
Did you ever find a solution to this? I previously had no issue with my phenotype file and now it seems to be throwing errors: no individual is common in the input files or invalid phenotype file
I have no idea why this is, the sample names correspond to the grm.id file and are in the correct order. I have also changed spaces to tabs and removed and trailing spaces.
I am using version 1.24.7, but this was working fine up until recently.
Thanks, Vanisha
|
|