Debian Codegraph @

bloomfilterparser.sh

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2
3 usagescip-shell shell bbmap 39.20+dfsg-3 usage().(){
4 echoscip-shell system . . echo. "
5 Written by Brian Bushnell
6 Last modified October 5, 2022
7
8 Description: Parses verbose output from bloomfilter.sh for a specific paper.
9 Irrelevant for most people, but useful for reproducing published results.
10 You use it to parse output from bloomfilter.sh and tabulate it.
11
12 Usage: bloomfilterparser.sh in=<input file> out=<output file>
13
14 ...where the input file is whatever bloomfilter.sh prints to the screen. E.G.
15 in=slurm-3249652.out out=summary.txt
16
17 You get details of calls to increment() if you add the verbose flag.
18
19 Please contact Brian Bushnell at [email protected] if you encounter any problems.
20 "
21 }
22
23 #This block allows symlinked shellscripts to correctly set classpath.
24 pushd . > /dev/nullscip-shell filesystem . . `/dev/null`.
25 DIR="${BASH_SOURCE[0]}"
26 while [scip-shell system . . `[`. -h "$DIR" ]; do
27 cd "$(dirnamescip-shell system . . dirname. "$DIR")"
28 DIR="$(readlinkscip-shell system . . readlink. "$(basenamescip-shell system . . basename. "$DIR")")"
29 done
30 cd "$(dirnamescip-shell system . . dirname. "$DIR")"
31 DIR="$(pwdscip-shell system . . pwd.)/"
32 popd > /dev/nullscip-shell filesystem . . `/dev/null`.
33
34 #DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/"
35 CP="$DIR""current/"
36
37 z="-Xmx300m"
38 z="-Xms300m"
39 set=0
40
41 if [scip-shell system . . `[`. -z "$1" ] || [[ $1 == -h ]] || [[ $1 == --help ]]; then
42 usagescip-shell shell bbmap 39.20+dfsg-3 usage().
43 exit
44 fi
45
46 calcXmxscip-shell shell bbmap 39.20+dfsg-3 calcXmx(). () {
47 source "$DIR""/calcmem.sh"
48 setEnvironment
49 parseXmx "$@"
50 }
51 calcXmxscip-shell shell bbmap 39.20+dfsg-3 calcXmx(). "$@"
52
53 parsebloomscip-shell shell bbmap 39.20+dfsg-3 parsebloom().() {
54 local CMD="java $EA $EOOM $z -cp $CP bloom.ParseBloomFilter $@"
55 echoscip-shell system . . echo. $CMD >&2
56 eval $CMD
57 }
58
59 parsebloomscip-shell shell bbmap 39.20+dfsg-3 parsebloom(). "$@"