]> git.donarmstrong.com Git - biopieces.git/commitdiff
added shred_seq tests
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Sat, 29 Jan 2011 15:59:37 +0000 (15:59 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Sat, 29 Jan 2011 15:59:37 +0000 (15:59 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@1224 74ccb610-7750-0410-82ae-013aeee3265d

bp_test/in/shred_seq.in [new file with mode: 0644]
bp_test/out/shred_seq.out.1 [new file with mode: 0644]
bp_test/test/test_shred_seq [new file with mode: 0755]

diff --git a/bp_test/in/shred_seq.in b/bp_test/in/shred_seq.in
new file mode 100644 (file)
index 0000000..feec70d
--- /dev/null
@@ -0,0 +1,4 @@
+SEQ_NAME: test
+SEQ: ATGCACATTCGACTAGCA
+SEQ_LEN: 18
+---
diff --git a/bp_test/out/shred_seq.out.1 b/bp_test/out/shred_seq.out.1
new file mode 100644 (file)
index 0000000..e5902cd
--- /dev/null
@@ -0,0 +1,8 @@
+SEQ_NAME: test[1-18:+]
+SEQ: ATGCACATTCGACTAGCA
+SEQ_LEN: 18
+---
+SEQ_NAME: test[1-18:-]
+SEQ: TGCTAGTCGAATGTGCAT
+SEQ_LEN: 18
+---
diff --git a/bp_test/test/test_shred_seq b/bp_test/test/test_shred_seq
new file mode 100755 (executable)
index 0000000..00f7cd4
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+source "$BP_DIR/bp_test/lib/test.sh"
+
+run "$bp -I $in -s 18 -c 2 -O $tmp"
+assert_no_diff $tmp $out.1
+clean