]> git.donarmstrong.com Git - biopieces.git/blob - bp_test/test/test_write_fasta
ported write_fasta to ruby enabling bzip2 support
[biopieces.git] / bp_test / test / test_write_fasta
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 -w 4 -o $tmp -x"
10 assert_no_diff $tmp $out.2
11 clean
12
13 run "$bp -I $in -w 4 -Z gzip -o $tmp.gz -x"
14 gunzip $tmp.gz
15 assert_no_diff $tmp $out.3
16 clean
17
18 run "$bp -I $in -w 4 -Z bzip2 -o $tmp.bz2 -x"
19 bunzip2 $tmp.bz2
20 assert_no_diff $tmp $out.3
21 clean