# HG changeset patch # User nicolas # Date 1477420326 14400 # Node ID 79abc9d003404cd5ab6c17b8876e6257948048cf # Parent 6a75b93ba5f2855e3501b86d0a20493e436e00ed Uploaded diff -r 6a75b93ba5f2 -r 79abc9d00340 beagle_impute.sh --- a/beagle_impute.sh Fri Oct 21 10:35:32 2016 -0400 +++ b/beagle_impute.sh Tue Oct 25 14:32:06 2016 -0400 @@ -1,18 +1,15 @@ #!/bin/bash - +# variables affectation vcf_input=$1 ref=$2 out="out_imputed" +# create temporary directory directory=`dirname $0` - mkdir tmpdir$$ - cp -rf $vcf_input tmpdir$$/input.vcf - - +# launch beagle java -Xmx2g -jar $directory/beagle.jar ref=$ref gt=$vcf_input out=$out - - +# remove temporary dir rm -rf tmpdir$$ \ No newline at end of file