diff mothur/tools/mothur/sub.sample.xml @ 1:fcc0778f6987

Migrated tool version 1.16.0 from old tool shed archive to new tool shed repository
author jjohnson
date Tue, 07 Jun 2011 17:35:35 -0400
parents 3202a38e44d9
children e990ac8a0f58
line wrap: on
line diff
--- a/mothur/tools/mothur/sub.sample.xml	Tue Jun 07 17:32:23 2011 -0400
+++ b/mothur/tools/mothur/sub.sample.xml	Tue Jun 07 17:35:35 2011 -0400
@@ -1,4 +1,4 @@
-<tool id="mothur_sub_sample" name="Sub.sample" version="1.15.0">
+<tool id="mothur_sub_sample" name="Sub.sample" version="1.16.0">
  <description>Create a sub sample</description>
  <command interpreter="python">
   mothur_wrapper.py 
@@ -20,6 +20,7 @@
     #if $input.use_group.groups.__str__ != "None" and len($input.use_group.groups.__str__) > 0:
      --groups=$input.use_group.groups
     #end if
+    $input.use_group.persample
    #end if
   #elif $input.format == "list":
    --list=$input.otu_in
@@ -30,6 +31,7 @@
     #if $input.use_group.groups.__str__ != "None" and len($input.use_group.groups.__str__) > 0:
      --groups=$input.use_group.groups
     #end if
+    $input.use_group.persample
    #end if
    #if $input.label.__str__ != "None" and len($input.label.__str__) > 0:
     --label=$input.label
@@ -88,6 +90,7 @@
         <filter type="unique_value" name="unq_grp" column="1" />
        </options>
       </param>
+      <param name="persample" type="boolean" truevalue="--persample=true" falsevalue="" checked="false" label="persample - select subsample of the same size from each of the groups"/>
      </when> <!-- yes -->
     </conditional> <!-- use_group -->
    </when> <!-- fasta -->
@@ -108,6 +111,7 @@
         <filter type="unique_value" name="unq_grp" column="1" />
        </options>
       </param>
+      <param name="persample" type="boolean" truevalue="--persample=true" falsevalue="" checked="false" label="persample - select subsample of the same size from each of the groups"/>
      </when> <!-- yes -->
     </conditional> <!-- use_group -->
     <param name="label" type="select" label="label - OTU Labels" optional="true" multiple="true">
@@ -130,6 +134,7 @@
      <options from_dataset="otu_in">
       <column name="name" index="0"/>
       <column name="value" index="0"/>
+      <filter type="unique_value" name="unq_lbl" column="0" />
      </options>
     </param>
    </when> <!-- shared -->