#!/bin/sh

if ! which plink1 >/dev/null ; then
    echo "You need to"
    echo "   sudo apt-get install plink"
    exit
fi

plink1 --bfile ../../examples/genotypes --recode --tab --out genotypes --noweb

mkdir -p examples_orig
cd examples_orig
plink1 --file ../genotypes --make-bed --out genotypes --noweb
