# HG changeset patch # User koen # Date 1452699853 18000 # Node ID e9be4649dd28de71910c85504c14416bf667da55 Uploaded gbsx_barcodeGenerator.sh diff -r 000000000000 -r e9be4649dd28 gbsx_barcodeGenerator.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gbsx_barcodeGenerator.sh Wed Jan 13 10:44:13 2016 -0500 @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +#export PATH=$PATH:$(dirname $0) +#BASEDIR=$(dirname $0) + +barcode=$1 +enzyme=$2 +barcode_list=$3 +barcode_summary=$4 + +java -jar $GBSX_PATH/GBSX.jar --BarcodeGenerator -b $barcode -e $enzyme + +awk '{print "sample" NR "\t" $1 "\t" var;}' var="$enzyme" barcode_list.txt > $barcode_list +cat barcode_summary.txt > $barcode_summary