Debian Codegraph @

summarizequast.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 17, 2016
7
8 Description: Summarizes the output of multiple Quast reports for
9 making box plots.
10
11 Usage: summarizequast.sh */quast/report.tsv
12
13 Parameters:
14 out=stdout Destination for summary.
15 required= A required substring in assembly names for filtering.
16 normalize=t Normalize each metric to the average per report.
17 box=t Print only 5 points per metric for box plots.
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="-Xmx400m"
38 set=0
39
40 if [scip-shell system . . `[`. -z "$1" ] || [[ $1 == -h ]] || [[ $1 == --help ]]; then
41 usagescip-shell shell bbmap 39.20+dfsg-3 usage().
42 exit
43 fi
44
45 calcXmxscip-shell shell bbmap 39.20+dfsg-3 calcXmx(). () {
46 source "$DIR""/calcmem.sh"
47 setEnvironment
48 parseXmx "$@"
49 }
50 calcXmxscip-shell shell bbmap 39.20+dfsg-3 calcXmx(). "$@"
51
52 summarizequastscip-shell shell bbmap 39.20+dfsg-3 summarizequast().() {
53 local CMD="java $EA $EOOM $z -cp $CP driver.SummarizeQuast $@"
54 # echo $CMD >&2
55 eval $CMD
56 }
57
58 summarizequastscip-shell shell bbmap 39.20+dfsg-3 summarizequast(). "$@"