removing indels in plink
Use grep to get SNPs that have ";" in the name:

&gt;$ grep ";" myMap.txt | cut -f1 -d" " &gt; myBadSNPs.txt


Then use plink with --exclude :

plink --file myFile
--exclude myBadSNPs.txt
--out myFileFiltered