jianyangqt / gcta

GCTA software
GNU General Public License v3.0
84 stars 26 forks source link

sample_subset is not in strictly increasing order #63

Closed ZhangZhenYang-zzy closed 9 months ago

ZhangZhenYang-zzy commented 9 months ago

When I conduct GWAS by --fastGWA-mlm, it report "sample_subset is not in strictly increasing order", and cannot go on . Can you tell me how to solve it?

微信图片_20231219134826

longmanz commented 9 months ago

Hi, I guess you are using Plink PGEN format. It seems to be related to your --covar/qcovar file or --pheno file. The individuals listed in them should be in the same order as in your genotype .fam file. This is required by the Plink2 PgenReader (not GCTA), and I found info about this error at (https://github.com/BertrandServin/pgenlib/blob/master/README.md).