]> git.donarmstrong.com Git - biopieces.git/blob - bp_test/test/test_write_tab
rewrote write_tab
[biopieces.git] / bp_test / test / test_write_tab
1 #!/bin/bash
2
3 source "$BP_DIR/bp_test/lib/test.sh"
4
5 run "$bp -I $in -o $tmp -x"
6 assert_no_diff $tmp $out.1
7 clean
8
9 run "$bp -I $in -c -o $tmp -x"
10 assert_no_diff $tmp $out.2
11 clean
12
13 run "$bp -I $in -d ',' -o $tmp -x"
14 assert_no_diff $tmp $out.3
15 clean
16
17 run "$bp -I $in -Z gzip -o $tmp.gz -x"
18 gunzip $tmp.gz
19 assert_no_diff $tmp $out.4
20 clean
21
22 run "$bp -I $in -Z bzip2 -o $tmp.bz2 -x"
23 bunzip2 $tmp.bz2
24 assert_no_diff $tmp $out.4
25 clean
26
27 run "$bp -I $in -k 'Count' -o $tmp -x"
28 assert_no_diff $tmp $out.5
29 clean
30
31 run "$bp -I $in -K 'Count' -o $tmp -x"
32 assert_no_diff $tmp $out.6
33 clean
34
35 run "$bp -I $in -p -o $tmp -x"
36 assert_no_diff $tmp $out.7
37 clean
38
39 run "$bp -I $in -p -C -o $tmp -x"
40 assert_no_diff $tmp $out.8
41 clean
42
43 run "$bp -I $in -p -c -C -o $tmp -x"
44 assert_no_diff $tmp $out.9
45 clean