1echo "----- read NGS in style: READS -----"
2
3TOOL="vdb-sql"
4ACC="SRR341577"
5
6TMPFILE=`mktemp -u`
7
8#create a virtual table named SRC on our accession
9echo "create virtual table NGS using ngs( $ACC, style = READS );" >> $TMPFILE
10
11#set the separator to new-line
12echo ".mode line" >> $TMPFILE
13
14#compose the output from 4 values...
15echo "select * from NGS limit 5;" >> $TMPFILE
16
17$TOOL < $TMPFILE
18
19rm $TMPFILE
20