Repository 'tmhmm_and_signalp'
hg clone https://toolshed.g2.bx.psu.edu/repos/peterjc/tmhmm_and_signalp

Changeset 14:6365217cd3de (2013-04-25)
Previous changeset 13:dc958c2a963a (2013-04-23) Next changeset 15:6abd809cefdd (2013-04-25)
Commit message:
Uploaded v0.2.3, adds unit tests for WoLF PSORT
modified:
tools/protein_analysis/README
tools/protein_analysis/wolf_psort.xml
added:
test-data/empty_wolf_psort.tabular
test-data/four_human_proteins.wolf_psort.tabular
b
diff -r dc958c2a963a -r 6365217cd3de test-data/empty_wolf_psort.tabular
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/empty_wolf_psort.tabular Thu Apr 25 11:54:47 2013 -0400
b
@@ -0,0 +1,1 @@
+#ID Compartment Score Rank
b
diff -r dc958c2a963a -r 6365217cd3de test-data/four_human_proteins.wolf_psort.tabular
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/test-data/four_human_proteins.wolf_psort.tabular Thu Apr 25 11:54:47 2013 -0400
b
@@ -0,0 +1,15 @@
+#ID Compartment Score Rank
+sp|Q9BS26|ERP44_HUMAN extr 18 1
+sp|Q9BS26|ERP44_HUMAN E.R. 5 2
+sp|Q9BS26|ERP44_HUMAN plas 3 3
+sp|Q9BS26|ERP44_HUMAN mito 2 4
+sp|Q9BS26|ERP44_HUMAN lyso 2 5
+sp|Q9NSY1|BMP2K_HUMAN nucl 25 1
+sp|Q9NSY1|BMP2K_HUMAN cyto_nucl 17 2
+sp|Q9NSY1|BMP2K_HUMAN cyto 7 3
+sp|P06213|INSR_HUMAN extr_plas 11.5 1
+sp|P06213|INSR_HUMAN plas 10.5 2
+sp|P06213|INSR_HUMAN extr 9.5 3
+sp|P06213|INSR_HUMAN pero 5 4
+sp|P06213|INSR_HUMAN E.R. 4 5
+sp|P08100|OPSD_HUMAN plas 32 1
b
diff -r dc958c2a963a -r 6365217cd3de tools/protein_analysis/README
--- a/tools/protein_analysis/README Tue Apr 23 12:47:49 2013 -0400
+++ b/tools/protein_analysis/README Thu Apr 25 11:54:47 2013 -0400
b
@@ -141,6 +141,7 @@
 v0.2.1 - Use a script to create the Tool Shed tar-ball (removed some stray
          files accidentally included previously via a wildcard).
 v0.2.2 - Include missing test files.
+v0.2.3 - Added unit tests for WoLF PSORT.
 
 
 Developers
b
diff -r dc958c2a963a -r 6365217cd3de tools/protein_analysis/wolf_psort.xml
--- 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
b
@@ -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**