Update by asebastian on Thu Oct 19 14:48:01 EDT 2017 from Aswathys-iMac.local
-INPUT_DATA={{data.path}}
+INPUT_DATA={{data.value}}
+INPUT_FILE=$(basename "$INPUT_DATA")
+SAMPLE="${INPUT_FILE%%.*}"
RESULT_DIR=results
mkdir -p $RESULT_DIR
fastqc -o $RESULT_DIR $INPUT_DATA
-mv $RESULT_DIR/*.html index.html
+
+mv $RESULT_DIR/${SAMPLE}_fastqc.html index.html
