]> git.donarmstrong.com Git - biopieces.git/commitdiff
added tests for complement_seq
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Wed, 8 Jun 2011 12:28:03 +0000 (12:28 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Wed, 8 Jun 2011 12:28:03 +0000 (12:28 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@1464 74ccb610-7750-0410-82ae-013aeee3265d

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

diff --git a/bp_test/in/complement_seq.in b/bp_test/in/complement_seq.in
new file mode 100644 (file)
index 0000000..5382cdd
--- /dev/null
@@ -0,0 +1,12 @@
+SEQ_NAME: DNA
+SEQ: TACGatrsgctagWCNATCYGACNACTGACTGACN
+SEQ_LEN: 35
+---
+SEQ_NAME: RNA
+SEQ: UACGAUGcuagcnauCYGACNACUG
+SEQ_LEN: 25
+---
+SEQ_NAME: PROTEIN
+SEQ: DENQSYGAPSIF
+SEQ_LEN: 12
+---
diff --git a/bp_test/out/complement_seq.out.1 b/bp_test/out/complement_seq.out.1
new file mode 100644 (file)
index 0000000..ab57302
--- /dev/null
@@ -0,0 +1,12 @@
+SEQ: ATGCtayscgatcWGNTAGRCTGNTGACTGACTGN
+SEQ_LEN: 35
+SEQ_NAME: DNA
+---
+SEQ: ATGCTACgatcgntaGRCTGNTGAC
+SEQ_LEN: 25
+SEQ_NAME: RNA
+---
+SEQ: HENQSRCTPSIF
+SEQ_LEN: 12
+SEQ_NAME: PROTEIN
+---
diff --git a/bp_test/test/test_complement_seq b/bp_test/test/test_complement_seq
new file mode 100755 (executable)
index 0000000..61c5709
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+source "$BP_DIR/bp_test/lib/test.sh"
+
+run "$bp -I $in -O $tmp"
+assert_no_diff $tmp $out.1
+clean