Repository 'mothur_sub_sample'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/mothur_sub_sample

Changeset 5:2986f7b01e74 (2018-07-14)
Previous changeset 4:88d66f3b47e0 (2018-04-23) Next changeset 6:34e1fbd32a04 (2018-08-03)
Commit message:
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 68e35d5f24a9219e5583ede7d38a78fa976f7dbb
modified:
sub.sample.xml
b
diff -r 88d66f3b47e0 -r 2986f7b01e74 sub.sample.xml
--- a/sub.sample.xml Mon Apr 23 10:01:23 2018 -0400
+++ b/sub.sample.xml Sat Jul 14 23:11:05 2018 -0400
[
@@ -174,6 +174,9 @@
         <data name="group_out" format="mothur.groups" from_work_dir="input_use_group_group_in*.subsample.*" label="${tool.name} on ${on_string}: subsample.groups">
             <filter>(input['format'] == 'fasta' or input['format'] == 'list') and input['use_group']['to_filter'] == 'yes'</filter>
         </data>
+        <data name="count_out" format="mothur.count_table" from_work_dir="count.subsample.*" label="${tool.name} on ${on_string}: subsample.count">
+            <filter>count</filter>
+        </data>
     </outputs>
     <tests>
         <test><!-- test with list -->
@@ -292,6 +295,19 @@
             <param name="savelog" value="true"/>
             <expand macro="logfile-test"/>
         </test>
+        <test><!-- test with count file -->
+            <param name="format" value="fasta"/>
+            <param name="otu" value="amazon.unique.fasta" ftype="fasta"/>
+            <param name="count" value="amazon.count_table" ftype="mothur.count_table"/>
+            <output name="count_out" ftype="mothur.count_table">
+                <assert_contents>
+                    <expand macro="test-count-format"/>
+                    <has_line_matching expression="^U\d+\t\d$"/>
+                </assert_contents>
+            </output>
+            <param name="savelog" value="true"/>
+            <expand macro="logfile-test"/>
+        </test>
     </tests>
     <help><![CDATA[