changeset 22:a55691c07823 draft

Uploaded
author eiriche
date Mon, 03 Dec 2012 02:42:04 -0500
parents b9a31a60c708
children 75c35e2a0862
files bsmap_meth_caller.sh
diffstat 1 files changed, 32 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bsmap_meth_caller.sh	Mon Dec 03 02:42:04 2012 -0500
@@ -0,0 +1,32 @@
+#!/bin/bash
+#
+# Galaxy wrapper for BSMAP Methylation Caller
+#
+
+set -e
+
+#get parameters
+
+until [ $# -eq 0 ]
+do
+	case $1 in
+		input=*)
+			input=${1#input=}
+			;;
+		method=*)
+			method=${1#method=}
+			;;
+		output=*)
+			output=${1#output=}
+			;;
+		tempdir=*)
+			tempdir=${1#tempdir=}
+			;;
+		ref=*)
+			ref=${1#ref=}
+			;;
+	esac
+	shift
+done
+
+methratio.py -o $output -d $ref -q $input
\ No newline at end of file