By default, --make-{b}pgen/--make-bed do not resort the variants, and they'll error out if the input file is not at least sorted by chromosome. (This is a change from PLINK 1.x.) However, if you add --sort-vars, the variants will be resorted by chromosome code, then position, then ID.
--
You received this message because you are subscribed to a topic in the Google Groups "plink2-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/plink2-users/2Ub8MJPL2p0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to plink2-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
RyanHuh. Fair point. No, I'm not. I guess my options are to a) check the bgenix source code, b) get in touch with Gavin, or c) verify the actual .bgen file variant order in some other way.Do you have any suggestions to continue tracking this down, especially regarding c)?
Hi, bgenix -list currently lists variants in index order, which means ordered by position, alleles and ID fields, and I think that explains what you've observed. (It could be altered to do that differently but doesn't at the moment.)
Best, g.