From: martinahansen Date: Wed, 8 Jun 2011 12:28:03 +0000 (+0000) Subject: added tests for complement_seq X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=adc257829b5bc15ce3ed85aa4bdc62cb5a3a08d9;p=biopieces.git added tests for complement_seq git-svn-id: http://biopieces.googlecode.com/svn/trunk@1464 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/bp_test/in/complement_seq.in b/bp_test/in/complement_seq.in new file mode 100644 index 0000000..5382cdd --- /dev/null +++ b/bp_test/in/complement_seq.in @@ -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 index 0000000..ab57302 --- /dev/null +++ b/bp_test/out/complement_seq.out.1 @@ -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 index 0000000..61c5709 --- /dev/null +++ b/bp_test/test/test_complement_seq @@ -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