write empty .gt file as a placeholder

to suppress error messages from run-bwamem
This commit is contained in:
Heng Li 2014-12-20 22:27:27 -05:00
parent 32c4e3fe5a
commit 5aba188969
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ fi
preres="resource-human-HLA"
root=`dirname $0`
pre=$1.$2
touch $pre.gt
if [ ! -s $pre.fq ]; then
echo '** Empty input file. Abort!' >&2