Mercurial > repos > crusoe > khmer
changeset 31:00a6437ee54b
normalize-by-median tests
author | Michael R. Crusoe <mcrusoe@msu.edu> |
---|---|
date | Sun, 29 Jun 2014 17:30:43 -0400 |
parents | 36e447a9ac52 |
children | ceedaa33286e |
files | normalize-by-median.xml |
diffstat | 1 files changed, 30 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/normalize-by-median.xml Sun Jun 29 17:13:59 2014 -0400 +++ b/normalize-by-median.xml Sun Jun 29 17:30:43 2014 -0400 @@ -34,6 +34,7 @@ #if $countingtable_to_load --loadtable=$countingtable_to_load #end if + --report-total-kmers #for input in $inputs $input #end for @@ -130,21 +131,35 @@ <exit_code range="1:" level="fatal" /> </stdio> - - <!-- [OPTIONAL] Tests to be run manually by the Galaxy admin --> - <tests> - <!-- [HELP] Test files have to be in the ~/test-data directory - <test> - <param name="input" value="input_test.tab" /> - <param name="int" value="10" /> - <output name="output" file="output_test.txt" /> - </test> --> - <!-- [HELP] Multiple tests can be defined with different parameters --> -<!-- - <test> - </test> ---> - </tests> + + <tests interactor="api"> + <test> + <param name="inputs" value="test-abund-read-2.fa" /> + <param name="cutoff" value="1" /> + <param name="ksize" value="17" /> + <output name="output"> + <discover_dataset name="test-abund-read-2.fa.keep"> + <assert_contents> + <has_line_matching expression="GGTTGACGGGGCTCAGGGGG" /> + </assert_contents> + </discover_dataset> + </output> + </test> + <test> + <param name="inputs" value="test-abund-read-2.fa" /> + <param name="cutoff" value="2" /> + <param name="ksize" value="17" /> + <output name="output"> + <discover_dataset name="test-abund-read-2.fa.keep"> + <assert_contents> + <has_line_matching expression="GGTTGACGGGGCTCAGGGGG" /> + <has_line_matching expression="GGTTGACGGGGCTCAGGG" /> + </assert_contents> + </discover_dataset> + </output> + </test> + + </tests> <!-- [OPTIONAL] Help displayed in Galaxy --> <!--