Slightly modified script from Patrick Deelen for conversion between genomic build (physical positions).
liftover_plink input output chain_file
where input
is the plink data without extensions, output
the desired base name for the output, and chain_file
the chain file obtained from here (e.g. hg19ToHg38.over.chain.gz).