view filter_vcf.sh @ 5:33669ce539f6 draft

Uploaded
author ulfschaefer
date Fri, 18 Dec 2015 05:11:42 -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