From 094e81cb2a1b3ee7f8fe49c4e846347f54181a89 Mon Sep 17 00:00:00 2001 From: martinahansen Date: Sat, 29 Jan 2011 15:59:37 +0000 Subject: [PATCH] added shred_seq tests git-svn-id: http://biopieces.googlecode.com/svn/trunk@1224 74ccb610-7750-0410-82ae-013aeee3265d --- bp_test/in/shred_seq.in | 4 ++++ bp_test/out/shred_seq.out.1 | 8 ++++++++ bp_test/test/test_shred_seq | 7 +++++++ 3 files changed, 19 insertions(+) create mode 100644 bp_test/in/shred_seq.in create mode 100644 bp_test/out/shred_seq.out.1 create mode 100755 bp_test/test/test_shred_seq diff --git a/bp_test/in/shred_seq.in b/bp_test/in/shred_seq.in new file mode 100644 index 0000000..feec70d --- /dev/null +++ b/bp_test/in/shred_seq.in @@ -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 index 0000000..e5902cd --- /dev/null +++ b/bp_test/out/shred_seq.out.1 @@ -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 index 0000000..00f7cd4 --- /dev/null +++ b/bp_test/test/test_shred_seq @@ -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 -- 2.39.5