adiamb / Remove-duplicate-snps-plink

A python script to remove duplicate snps from plink files and recode the resultant files into plink binaries free of duplicate snps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove-duplicate-snps-plink

A python script to remove duplicate snps from plink files and recode the resultant files into plink binaries free of duplicate snps plink needs to be installed and in shell path, A .tped file needs to be given to the script you can generate a .tped file by plink --bfile XXX --recode transpose XXX will match on the chr:pos so multi-alleleic variants will be explicitly filtered keeping the first instance

An example command to the script is then

python removeDup.py -T your_tpedfile.tped

About

A python script to remove duplicate snps from plink files and recode the resultant files into plink binaries free of duplicate snps

License:GNU General Public License v3.0


Languages

Language:Python 100.0%