view bsmap_meth_caller.sh @ 10:4d37a7026737 draft default tip

Uploaded
author eugen
date Thu, 16 Aug 2012 04:58:24 -0400
parents 1d716ddd7511
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

#echo $ref

methratio.py -o $output -d $ref -q $input