Permalink
Browse files

Added check for pigz

  • Loading branch information...
1 parent 71a7dc7 commit 0409d48965cfe28bf26ab7273cb3ca516e23ee02 @rynge rynge committed Oct 25, 2016
Showing with 5 additions and 0 deletions.
  1. +5 −0 tools/prepare-inputs
View
@@ -8,6 +8,11 @@ TOOLS_DIR=$1
INPUT_FILE=$(readlink -f $2)
TARGET_DIR=$3
TEMPLATE_NAME=$4
+
+if ! which pigz >/dev/null 2>&1; then
+ echo "Required tool, pigz, is misisng from this host!" >&2
+ exit 1
+fi
#BASE_NAME=`basename $INPUT_FILE | sed -E 's/^(forward_|reverse_)//' | sed -E 's/(_[12])*(.fastq)*(.gz)*$//g'`

0 comments on commit 0409d48

Please sign in to comment.