#!/bin/bash
#Run this on AWS

LOG=refseqlogVM_1.txt
PASS=xxxxx
DOMAIN=http://refseq-sketch.org:3072
KILL=http://refseq-sketch.org:3072/kill
PORT=3072
DB=RefSeq

nohup /test1/bbmap/taxserver.sh -da -Xmx31g prealloc=0.9 port=$PORT verbose tree=auto sizemult=2 sketchonly index domain=$DOMAIN killcode=$PASS oldcode=$PASS oldaddress=$KILL $DB k=32,24 1>>$LOG 2>&1 &

#simple mode, for testing:
#nohup /test1/bbmap/taxserver.sh -ea -Xmx28g port=3072 verbose tree=auto sizemult=2 sketchonly RefSeq k=32,24 index=t
