#!/bin/bash


vcf_input=$1
out="out_phased"

directory=`dirname $0`

mkdir tmpdir$$

cp -rf $vcf_input tmpdir$$/input.vcf


java -jar $directory/beagle.jar gt=$vcf_input out=$out


rm -rf tmpdir$$