File: example2.sh

package info (click to toggle)
sra-sdk 2.9.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 31,724 kB
  • sloc: ansic: 182,592; cpp: 33,717; sh: 5,385; perl: 4,969; makefile: 4,030; python: 3,560; java: 2,363; yacc: 786; lex: 416; lisp: 77; xml: 54
file content (12 lines) | stat: -rwxr-xr-x 297 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
echo "----- list of References -----"

TOOL="vdb-sql"
ACC="SRR576646"
SELECT="select SEQ_ID, NAME, count( SEQ_ID ), sum( READ_LEN ) from VDB group by SEQ_ID;"

#to prevent the shell from expanding '*' into filenames!
set -f

CMD="$TOOL :memory: -acc $ACC -tbl REF \"$SELECT\""
echo $CMD
eval $CMD