Mercurial > repos > nicolas > oghma
diff beagle_impute.sh @ 24:79abc9d00340 draft
Uploaded
author | nicolas |
---|---|
date | Tue, 25 Oct 2016 14:32:06 -0400 |
parents | 27fb6c2a98a3 |
children |
line wrap: on
line diff
--- 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