view bsmap_meth_caller.sh @ 7:d49ae6a0ecda draft

Uploaded
author eugen
date Thu, 16 Aug 2012 04:13:42 -0400
parents
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

python ~/dependencies/bsmap-2.6/methratio.py -o $output -d $ref -q $input