Commit 256fb368 authored by TomKellyGenetics's avatar TomKellyGenetics
Browse files

correct handling custom inputs

parent 55c96162
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -707,7 +707,8 @@ else
            echo "Barcode length ($barcodelength) of 16 or more:"
            echo "    ...using barcode whitelist of 16bp"
        fi
        minlength=`echo $(( $barcodelength < 16 ? $barcodelength : 16 ))`
       
        minlength=$(( $barcodelength < 16 ? $barcodelength : 16 ))
        # compute custom barcodes if barcode length is different
        barcodefile=${SDIR}/${customname}_${minlength}_barcode.txt
        if [[ ! -f ${barcodefile} ]]; then