view filter_vcf.sh @ 7:2feb1e92cadd draft

Uploaded
author ulfschaefer
date Fri, 18 Dec 2015 05:59:29 -0500
parents 5dfc843979c2
children
line wrap: on
line source

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