forked from dzerbino/velvet
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new tests for new velveth -interleaved and -separate options
- Loading branch information
Torsten Seemann
committed
May 23, 2012
1 parent
115dd97
commit 1d82bc9
Showing
5 changed files
with
46 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
#!/bin/bash | ||
|
||
# load shared functions and variables | ||
. `dirname $0`/run-tests.functions | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
#!/bin/bash | ||
|
||
# load shared functions and variables | ||
. `dirname $0`/run-tests.functions | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# load shared functions and variables | ||
. `dirname $0`/run-tests.functions | ||
|
||
$VH $DIR/fai $K -shortPaired -fasta.gz $FAI > /dev/null | ||
$VH $DIR/fas $K -shortPaired -fasta.gz -separate $FAL $FAR > /dev/null | ||
$VH $DIR/fqi $K -shortPaired -fastq.gz $FQI > /dev/null | ||
$VH $DIR/fqs $K -shortPaired -fastq.gz -separate $FQL $FQR > /dev/null | ||
|
||
cmp --quiet $DIR/fai/Sequences $DIR/fas/Sequences | ||
if [ $? -ne 0 ]; then | ||
problem "$FAI and $FAL+$FAR produced different Sequences file" | ||
else | ||
inform "ok" | ||
fi | ||
|
||
cmp --quiet $DIR/fai/Sequences $DIR/fqs/Sequences | ||
if [ $? -ne 0 ]; then | ||
problem "$FAI and $FQL+$FQR produced different Sequences file" | ||
else | ||
inform "ok" | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# load shared functions and variables | ||
. `dirname $0`/run-tests.functions | ||
|
||
# forget to give 2 files | ||
$VH $DIR/fas $K -shortPaired -fasta.gz -separate $FAL 1> /dev/null 2> /dev/null | ||
if [ $? -eq 0 ]; then | ||
problem "$VH did not fail when given only one file for -shortPaired -separate" | ||
else | ||
inform "ok" | ||
fi | ||
|
||
# files have diff number of seqs in them | ||
$VH $DIR/fas $K -shortPaired -fasta.gz -separate $FAL /dev/zero 1> /dev/null 2> /dev/null | ||
if [ $? -eq 0 ]; then | ||
problem "$VH did not fail when given mis-matched reads files in -shortPaired -separate" | ||
else | ||
inform "ok" | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters