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

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