view phe_samtools_mpileup.sh @ 11:714a4c13d64c draft

Uploaded
author ulfschaefer
date Mon, 21 Dec 2015 10:17:56 -0500
parents f78ed0f61f52
children
line wrap: on
line source

#!/bin/bash

echo $@

BAM=$1
shift
REF=$1
shift
OUTVCF=$1

CMD="samtools mpileup -t DP,DV,DP4,DPR,SP -Auf $REF $BAM | bcftools call -m -f GQ > $OUTVCF"

echo "CMD: "$CMD
eval $CMD