comparison srf2fastq/io_lib-1.12.2/tests/srf_filter.test @ 0:d901c9f41a6a default tip

Migrated tool version 1.0.1 from old tool shed archive to new tool shed repository
author dawe
date Tue, 07 Jun 2011 17:48:05 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:d901c9f41a6a
1 #!/bin/sh
2
3 # Filter out raw data from both.srf and we should get something similar to
4 # proc.srf. Hard to verify this fully.
5 $top_builddir/progs/srf_filter -m PROC $srcdir/data/both.srf $outdir/f_proc.srf
6 $top_builddir/progs/srf_dump_all $srcdir/data/proc.srf > $outdir/proc.dump
7 $top_builddir/progs/srf_dump_all $outdir/f_proc.srf > $outdir/f_proc.dump
8 cmp $outdir/proc.dump $outdir/f_proc.dump || exit 1
9
10 # Also check with srf_info to see that we have the expected number of
11 # ZTR chunks
12 $top_builddir/progs/srf_info $srcdir/data/proc.srf|tail -n +2|grep -v 'null index' > $outdir/proc.info
13 $top_builddir/progs/srf_info $outdir/f_proc.srf|tail -n +2|grep -v 'null index' > $outdir/f_proc.info
14 cmp $outdir/proc.info $outdir/f_proc.info || exit 1