changeset 4:5dfc843979c2 draft

Uploaded
author ulfschaefer
date Fri, 11 Dec 2015 10:07:49 -0500
parents 879d0f13a737
children 33669ce539f6
files filter_vcf.sh
diffstat 1 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/filter_vcf.sh	Fri Dec 11 10:07:49 2015 -0500
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+OUTPUT=$1
+shift
+VCF=$1
+shift
+FILTERS=$@
+
+FILTERS=$(echo -n $FILTERS | sed 's/ /,/g')
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+export PATH=$PATH:$DIR
+CMD="filter_vcf.py --vcf $VCF --filters $FILTERS --output $OUTPUT"
+
+echo "CMD: "$CMD
+eval $CMD