view bsmap_meth_caller.sh @ 33:91a4092971bc draft default tip

Uploaded
author eiriche
date Mon, 03 Dec 2012 03:10:42 -0500
parents 98a0a60e934c
children
line wrap: on
line source

#!/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