diff hmmemit.xml @ 5:9415f29a3926 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hmmer3 commit 7d31599a80c15f11ed00b2b3cbfb77ed6dfc8f3d"
author iuc
date Tue, 16 Jun 2020 05:27:39 -0400
parents 1cd4d0cf8fd9
children e9d622609fb5
line wrap: on
line diff
--- a/hmmemit.xml	Mon Jun 11 15:51:54 2018 -0400
+++ b/hmmemit.xml	Tue Jun 16 05:27:39 2020 -0400
@@ -75,13 +75,12 @@
         </when>
     </conditional>
 
-
     <expand macro="seed"/>
   </inputs>
   <outputs>
     <data name="output" format="fasta" label="Sequences generated from $hmmfile.name">
       <change_format>
-        <when input="oformat_select" value="aln" format="stockholm"/>
+        <when input="oformat.oformat_select" value="aln" format="stockholm"/>
         <!-- the rest are fasta -->
       </change_format>
     </data>
@@ -92,14 +91,23 @@
       <param name="oformat_select" value="aln"/>
       <param name="N_aln" value="10"/>
       <expand macro="seed_test" />
-      <output name="output" file="globins4-emit.sto" compare="sim_size"/>
+      <output name="output" file="globins4-emit.sto" ftype="stockholm" compare="sim_size">
+          <assert_contents>
+              <has_line_matching expression="# STOCKHOLM.*"/>
+              <has_line_matching expression="//"/>
+          </assert_contents>
+      </output>
     </test>
     <test>
       <param name="hmmfile" value="globins4.hmm"/>
       <param name="oformat_select" value="fasta"/>
       <param name="N_aln" value="10"/>
       <expand macro="seed_test" />
-      <output name="output" file="globins4-emit-1.sto" compare="sim_size"/>
+      <output name="output" file="globins4-emit-1.sto" ftype="fasta" compare="sim_size">
+          <assert_contents>
+              <has_line_matching expression=">.*"/>
+          </assert_contents>
+      </output>
     </test>
   </tests>
   <help><![CDATA[