3 # Create a temporary file
6 # Uncompress example data
7 zcat /usr/share/doc/tabix/examples/example.gtf.gz > $TABIXDATA
9 # Compress example data with bgzip
15 # Extract with tabix the he features on chromosome 1 whose coordinates overlap
16 # the interval 150,309–150,309.
17 tabix $TABIXDATA.gz chr1:150309-150309 > $TABIXDATA.out
19 # Reference result at the bottom of this file
20 grep H\AVANA /usr/share/doc/tabix/README.test > $TABIXDATA.ref
23 diff $TABIXDATA.ref $TABIXDATA.out
26 rm $TABIXDATA.gz $TABIXDATA.gz.tbi $TABIXDATA.out $TABIXDATA.ref