According to the manual: "If two variants have the same position, PLINK 1.9 will always notify you. If you wish to try to merge them, use --merge-equal-pos. (This will fail if any of the same-position variant pairs do not have matching allele names.)"
However, if I generate the following dataset:
echo -e "1\trs1\t0\t10\n1\trs2\t0\t10" > plink.map
echo -e "F1 I1 0 0 1 -9 A G G G\n F2 I2 0 0 1 -9 G G G G\n F3 I3 0 0 1 -9 A G A G" > plink.ped
And then try the following commands:
plink --file plink --merge-equal-pos
cat plink.bim
... nothing really happens. The output still gives two variants which have the same position.
My guess is that this option runs only if two plink files are being merged. In fact the following hack:
plink --file plink --merge plink --merge-equal-pos
cat plink.bim
Achieves the goal of merging the variants.
I wonder if this is the expected behavior for --merge-equal-pos. This is a useful command even when not merging two datasets as often genotyping arrays have a subset of duplicated SNPs for internal quality control.