a1c950cde18a4b977dc47c4528dfa6a9357a1f0f jcarmstr Mon Jul 13 19:13:08 2015 -0700 Option for gfServer to save index as an mmap file on disk to speed startup. diff --git src/gfServer/tests/testIndexFile src/gfServer/tests/testIndexFile new file mode 100755 index 0000000..386f710 --- /dev/null +++ src/gfServer/tests/testIndexFile @@ -0,0 +1,11 @@ +#!/bin/bash -e +idx=output/testIndexRna.blatidx +rm -f $idx +# build index and stop +gfServer start -writeIndex -indexFile=$idx localhost 17768 -canStop input/creaGeno.2bit >/dev/null + +# read index +gfServer start -indexFile=$idx localhost 17768 -canStop input/creaGeno.2bit >/dev/null & +sleep 1 +gfServer query localhost 17768 input/mCrea.mrna > $1 +gfServer stop localhost 17768 > /dev/null