Mercurial > repos > koen > gbsx
view gbsx_barcodeGenerator.sh @ 17:ded83f50b0d0 draft
Uploaded
author | koen |
---|---|
date | Wed, 13 Jan 2016 11:44:05 -0500 |
parents | 331f373e5c22 |
children | 84737a8fddb0 |
line wrap: on
line source
#!/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_ROOT_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