From adc257829b5bc15ce3ed85aa4bdc62cb5a3a08d9 Mon Sep 17 00:00:00 2001 From: martinahansen Date: Wed, 8 Jun 2011 12:28:03 +0000 Subject: [PATCH] added tests for complement_seq git-svn-id: http://biopieces.googlecode.com/svn/trunk@1464 74ccb610-7750-0410-82ae-013aeee3265d --- bp_test/in/complement_seq.in | 12 ++++++++++++ bp_test/out/complement_seq.out.1 | 12 ++++++++++++ bp_test/test/test_complement_seq | 7 +++++++ 3 files changed, 31 insertions(+) create mode 100644 bp_test/in/complement_seq.in create mode 100644 bp_test/out/complement_seq.out.1 create mode 100755 bp_test/test/test_complement_seq 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 -- 2.39.5