Repository 'oghma'
hg clone https://toolshed.g2.bx.psu.edu/repos/nicolas/oghma

Changeset 18:27fb6c2a98a3 (2016-10-21)
Previous changeset 17:58b58d95b0e0 (2016-10-21) Next changeset 19:4e97cb4310ac (2016-10-21)
Commit message:
Uploaded
added:
beagle_impute.sh
b
diff -r 58b58d95b0e0 -r 27fb6c2a98a3 beagle_impute.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/beagle_impute.sh Fri Oct 21 06:30:52 2016 -0400
b
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+
+vcf_input=$1
+ref=$2
+out="out_imputed"
+
+directory=`dirname $0`
+
+mkdir tmpdir$$
+
+cp -rf $vcf_input tmpdir$$/input.vcf
+
+
+java -Xmx2g -jar $directory/beagle.jar ref=$ref gt=$vcf_input out=$out
+
+
+rm -rf tmpdir$$
\ No newline at end of file