diff bsmap_meth_caller.sh @ 13:c01ef10d055c draft

Uploaded
author eiriche
date Fri, 30 Nov 2012 09:14:58 -0500
parents 98a0a60e934c
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bsmap_meth_caller.sh	Fri Nov 30 09:14:58 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