comparison gbsx_barcodeGenerator.sh @ 0:e9be4649dd28 draft

Uploaded gbsx_barcodeGenerator.sh
author koen
date Wed, 13 Jan 2016 10:44:13 -0500
parents
children 59c5f45c9ebf
comparison
equal deleted inserted replaced
-1:000000000000 0:e9be4649dd28
1 #!/usr/bin/env bash
2
3 #export PATH=$PATH:$(dirname $0)
4 #BASEDIR=$(dirname $0)
5
6 barcode=$1
7 enzyme=$2
8 barcode_list=$3
9 barcode_summary=$4
10
11 java -jar $GBSX_PATH/GBSX.jar --BarcodeGenerator -b $barcode -e $enzyme
12
13 awk '{print "sample" NR "\t" $1 "\t" var;}' var="$enzyme" barcode_list.txt > $barcode_list
14 cat barcode_summary.txt > $barcode_summary