#!/bin/bash
#Run this on AWS

LOG=proteinlogVM_1.txt
PASS=xxxxx
DOMAIN=http://protein-sketch.org:3074
KILL=http://protein-sketch.org:3074/kill/
PORT=3074
DB=ProkProt

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

#simple mode, for testing:
#nohup /test1/bbmap/taxserver.sh -ea -Xmx28g port=$PORT verbose tree=auto sizemult=2 sketchonly $DB k=12,9 index=f
