# HG changeset patch # User nicolas # Date 1477420382 14400 # Node ID 10afd4b2847badfb0a50fae41ad8173cf7bb62ed # Parent 79abc9d003404cd5ab6c17b8876e6257948048cf Uploaded diff -r 79abc9d00340 -r 10afd4b2847b beagle_phase.sh --- a/beagle_phase.sh Tue Oct 25 14:32:06 2016 -0400 +++ b/beagle_phase.sh Tue Oct 25 14:33:02 2016 -0400 @@ -1,17 +1,14 @@ #!/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$$ \ No newline at end of file