diff tools/protein_analysis/wolf_psort.xml @ 14:6365217cd3de draft

Uploaded v0.2.3, adds unit tests for WoLF PSORT
author peterjc
date Thu, 25 Apr 2013 11:54:47 -0400
parents 99b82a2b1272
children 7de64c8b258d
line wrap: on
line diff
--- a/tools/protein_analysis/wolf_psort.xml	Tue Apr 23 12:47:49 2013 -0400
+++ b/tools/protein_analysis/wolf_psort.xml	Thu Apr 25 11:54:47 2013 -0400
@@ -1,4 +1,4 @@
-<tool id="wolf_psort" name="WoLF PSORT" version="0.0.3">
+<tool id="wolf_psort" name="WoLF PSORT" version="0.0.4">
     <description>Eukaryote protein subcellular localization prediction</description>
     <command interpreter="python">
       wolf_psort.py $organism 8 $fasta_file $tabular_file
@@ -23,6 +23,28 @@
     <requirements>
         <requirement type="binary">runWolfPsortSummary</requirement>
     </requirements>
+    <tests>
+        <test>
+            <param name="fasta_file" value="four_human_proteins.fasta" ftype="fasta"/>
+            <param name="organism" value="animal"/>
+            <output name="tabular_file" file="four_human_proteins.wolf_psort.tabular" ftype="tabular"/>
+        </test>
+        <test>
+            <param name="fasta_file" value="empty.fasta" ftype="fasta"/>
+            <param name="organism" value="animal"/>
+            <output name="tabular_file" file="empty_wolf_psort.tabular" ftype="tabular"/>
+        </test>
+        <test>
+            <param name="fasta_file" value="empty.fasta" ftype="fasta"/>
+            <param name="organism" value="plant"/>
+            <output name="tabular_file" file="empty_wolf_psort.tabular" ftype="tabular"/>
+        </test>
+        <test>
+            <param name="fasta_file" value="empty.fasta" ftype="fasta"/>
+            <param name="organism" value="fungi"/>
+            <output name="tabular_file" file="empty_wolf_psort.tabular" ftype="tabular"/>
+        </test>
+    </tests>
     <help>
     
 **What it does**