view beagle_phase.sh @ 75:dcbee2f7b600 draft

Uploaded
author nicolas
date Fri, 28 Oct 2016 08:45:47 -0400
parents 10afd4b2847b
children
line wrap: on
line source

#!/bin/bash

# variable affectation
vcf_input=$1
out="out_phased"

# create temporary directory
directory=`dirname $0`
mkdir tmpdir$$
cp -rf $vcf_input tmpdir$$/input.vcf
# launch beagle
java -jar $directory/beagle.jar gt=$vcf_input out=$out
# remove temporary directory
rm -rf tmpdir$$