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.