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

Changeset 10:29a4d6e2ae9c (2024-10-03)
Previous changeset 9:b86562b4f3fd (2024-06-17)
Commit message:
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/khmer commit 238d0992c63de53623c4fc05eec8bd8d67001997
modified:
filter-abund.xml
macros.xml
b
diff -r b86562b4f3fd -r 29a4d6e2ae9c filter-abund.xml
--- a/filter-abund.xml Mon Jun 17 11:47:42 2024 +0000
+++ b/filter-abund.xml Thu Oct 03 13:46:31 2024 +0000
b
@@ -2,11 +2,11 @@
     <description>
         by minimal k-mer abundance
     </description>
-    <expand macro="bio_tools"/>
     <macros>
         <token name="@BINARY@">filter-abund.py</token>
         <import>macros.xml</import>
     </macros>
+    <expand macro="bio_tools"/>
     <expand macro="requirements" />
     <expand macro="stdio" />
     <expand macro="version" />
@@ -24,10 +24,10 @@
     </command>
     <inputs>
         <expand macro="input_sequences_filenames" />
-        <param argument="--variable_coverage" name="variable_coverage" type="boolean" checked="false" truevalue="--variable-coverage" falsevalue=""
+        <param argument="--variable_coverage" type="boolean" checked="false" truevalue="--variable-coverage" falsevalue=""
             label="Variable coverage"
             help="Only trim when a sequence has high enough coverage; median abundance > 20" />
-        <param argument="--cutoff" name="cutoff" type="integer" value="2" label="Cutoff"
+        <param argument="--cutoff" type="integer" value="2" label="Cutoff"
             help="Trim at k-mers below this abundance" />
         <expand macro="input_countgraph_filename" />
     </inputs>
b
diff -r b86562b4f3fd -r 29a4d6e2ae9c macros.xml
--- a/macros.xml Mon Jun 17 11:47:42 2024 +0000
+++ b/macros.xml Thu Oct 03 13:46:31 2024 +0000
[
@@ -1,6 +1,6 @@
 <macros>
     <token name="@TOOL_VERSION@">3.0.0a3</token>
-    <token name="@VERSION_SUFFIX@">2</token>
+    <token name="@VERSION_SUFFIX@">3</token>
     <token name="@PROFILE@">20.01</token>
     <xml name="bio_tools">
         <xrefs>
@@ -34,7 +34,7 @@
 #end if
 ]]>
     </token>
-    <token name="@THREADS@">--threads \${GALAXY_SLOTS:-4}</token>
+    <token name="@THREADS@">--threads "\${GALAXY_SLOTS:-4}"</token>
     <xml name="tableinputs">
         <conditional name="parameters">
             <param name="type" type="select" label="Advanced Parameters"
@@ -43,7 +43,7 @@
                 <option value="specific">Show</option>
             </param>
             <when value="simple">
-                <param argument="" name="tablesize" type="select" label="Sample Type" display="radio">
+                <param argument="--max-tablesize" name="tablesize" type="select" label="Sample Type" display="radio">
                     <option value="1e9" selected="true">Microbial Genome</option>
                     <option value="2e9">Animal Transcriptome</option>
                     <option value="4e9">Small Animal Genome or Low-Diversity Metagenome</option>
@@ -51,8 +51,8 @@
                 </param>
             </when>
             <when value="specific">
-                <param argument="--ksize" name="ksize" type="integer" value="20" label="k-mer size" help="k-mer size to use" />
-                <param argument="--n_tables" name="n_tables" type="integer" min="1" value="4" label="n_tables" help="number of tables to use" />
+                <param argument="--ksize" type="integer" value="20" label="k-mer size" help="k-mer size to use" />
+                <param argument="--n_tables" type="integer" min="1" value="4" label="n_tables" help="number of tables to use" />
                 <param argument="--max-tablesize" name="tablesize_specific" type="text" value="1000000.0"
                     label="tablesize" help="(--max-tablesize) upper bound on the tablesize to use" />
             </when>
@@ -90,11 +90,13 @@
             help="The abundances of the k-mers in the input nucleotide sequence file will be calculated using the kmer counts in this k-mer countgraph." />
     </xml>
     <xml name="abundance-histogram-output">
-        <data name="output_histogram_filename" format="txt"
-            label="${tool.name} on ${on_string}: k-mer abundance histogram. The
-                columns are: (1) k-mer abundance, (2) k-mer count, (3)
-                cumulative count, (4) fraction of total distinct k-mers." />
+        <data name="output_histogram_filename" format="csv"
+            label="${tool.name} on ${on_string}: k-mer abundance histogram" />
     </xml>
+    <token name="@ABUNDANCE_HISTOGRAM_OUTPUT_HELP@"><![CDATA[
+ The columns  of the k-mer abundance histogram are: (1) k-mer abundance, (2) k-mer count, (3) cumulative count, (4) fraction of total distinct k-mers.
+]]></token>
+
     <xml name="output_sequences" token_extension="">
         <collection name="sequences" type="list">
             <discover_datasets pattern="(?P&lt;name&gt;.*)\.(?P&lt;ext&gt;fast[aq](\.gz)?)\.@EXTENSION@" directory="output" />