]> git.donarmstrong.com Git - biopieces.git/commitdiff
adding tests for write_fastq_files
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Wed, 12 Oct 2011 19:26:51 +0000 (19:26 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Wed, 12 Oct 2011 19:26:51 +0000 (19:26 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@1556 74ccb610-7750-0410-82ae-013aeee3265d

bp_test/in/write_fastq_files.in [new file with mode: 0644]
bp_test/out/write_fastq_files.out.1/ILLUMINA-52179E.fastq [new file with mode: 0644]
bp_test/out/write_fastq_files.out.1/ILLUMINA.fastq [new file with mode: 0644]
bp_test/test/test_write_fastq_files [new file with mode: 0755]

diff --git a/bp_test/in/write_fastq_files.in b/bp_test/in/write_fastq_files.in
new file mode 100644 (file)
index 0000000..af87078
--- /dev/null
@@ -0,0 +1,19 @@
+SEQ: TTCGGCATCGGCGGCGACGTTGGCGGCGGGGCCGGGCGGGTCGANNNCAT
+SEQ_LEN: 50
+SCORES: ffeaffd`ce`eecccKLT`bT^]bYHV^BBBBBBBBBBBBBBBBBBBBB
+---
+SEQ_NAME: ILLUMINA
+SEQ: CATGGCGTATGCCAGACGGCCAGAACGATGGCCGCCGGGCTTCANNNAAG
+SEQ_LEN: 50
+SCORES: eeeecac^dddddddeffe`f`fdece\aefeeffcccc\`a``BBBBBB
+---
+SEQ_NAME: ILLUMINA
+SEQ: CGGTACTGATCGAGTGTCAGGCTGTTGATCGCCGCGGGCGGGGGTNNGAC
+SEQ_LEN: 50
+SCORES: db`dadddddeeeeedeeeeccdddfffffcdaddbac`d_BBBBBBBBB
+---
+SEQ_NAME: ILLUMINA-52179E
+SEQ: CTGATGCATGAAGATAGTCGGATGCACAATATACACGGCTAACGCNNAGG
+SEQ_LEN: 50
+SCORES: ffffcfffffded^eddddddbdcdeedcefecfefdffecabccBB`b`
+---
diff --git a/bp_test/out/write_fastq_files.out.1/ILLUMINA-52179E.fastq b/bp_test/out/write_fastq_files.out.1/ILLUMINA-52179E.fastq
new file mode 100644 (file)
index 0000000..6b11b1f
--- /dev/null
@@ -0,0 +1,4 @@
+@ILLUMINA-52179E
+CTGATGCATGAAGATAGTCGGATGCACAATATACACGGCTAACGCNNAGG
++
+ffffcfffffded^eddddddbdcdeedcefecfefdffecabccBB`b`
diff --git a/bp_test/out/write_fastq_files.out.1/ILLUMINA.fastq b/bp_test/out/write_fastq_files.out.1/ILLUMINA.fastq
new file mode 100644 (file)
index 0000000..ed900a7
--- /dev/null
@@ -0,0 +1,8 @@
+@ILLUMINA
+CATGGCGTATGCCAGACGGCCAGAACGATGGCCGCCGGGCTTCANNNAAG
++
+eeeecac^dddddddeffe`f`fdece\aefeeffcccc\`a``BBBBBB
+@ILLUMINA
+CGGTACTGATCGAGTGTCAGGCTGTTGATCGCCGCGGGCGGGGGTNNGAC
++
+db`dadddddeeeeedeeeeccdddfffffcdaddbac`d_BBBBBBBBB
diff --git a/bp_test/test/test_write_fastq_files b/bp_test/test/test_write_fastq_files
new file mode 100755 (executable)
index 0000000..2168c26
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+source "$BP_DIR/bp_test/lib/test.sh"
+
+mkdir $tmp_dir
+
+run "$bp -I $in -d $tmp_dir -k SEQ_NAME -x"
+assert_no_diff_dir $tmp_dir $out.1
+clean
+
+rm -rf $tmp_dir