OpenMendel / TrajGWAS.jl

MIT License
13 stars 1 forks source link

TrajGWAS doesn't run when IID != FID in PLINK fam file #47

Open parekhpravesh opened 4 weeks ago

parekhpravesh commented 4 weeks ago

Hello,

In line 233 of gwas.jl, the assumption is that the first column of the PLINK .fam file contains the ids - however, the file format specification for the fam file states that the IDs are supposed to be in the second column.

Therefore, for situations where FID is not equal to IID, it is not possible to run the analyses. The same assumption is implied in the Matching Indices section of the documentation.

kose-y commented 4 weeks ago

Thank you for the report. We will fix that part in the next patch before the end of the month.