Mercurial > repos > iuc > khmer_abundance_distribution_single
view abundance-dist-single.xml @ 8:c018a72b523e draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/khmer commit 14ea2dc5ef36219c908ed64b256794711ce7b902"
author | iuc |
---|---|
date | Tue, 23 Mar 2021 21:29:55 +0000 |
parents | 55109291a355 |
children | 385a965c6f87 |
line wrap: on
line source
<tool id="khmer_abundance_distribution_single" name="khmer: Abundance Distribution (all-in-one)" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> <description> Calculate abundance distribution of k-mers </description> <macros> <token name="@BINARY@">abundance-dist-single.py</token> <import>macros.xml</import> </macros> <expand macro="requirements" /> <expand macro="stdio" /> <expand macro="version" /> <command><![CDATA[ set -u && @BINARY@ @TABLEPARAMS@ ${zero} ${bigcount} #if $save_countgraph --savegraph=${optional_output_countgraph} #end if --squash @THREADS@ ${input_sequence_filename} ${output_histogram_filename} ]]> </command> <inputs> <expand macro="input_sequence_filename" /> <param argument="--savegraph" name="save_countgraph" type="boolean" label="Save the k-mer countgraph to a file" help="" /> <expand macro="input_zero" /> <expand macro="input_bigcount" /> <expand macro="tableinputs" /> </inputs> <outputs> <data name="optional_output_countgraph" format="oxlicg" label="${tool.name} on ${on_string} k-mer countgraph"> <filter>save_countgraph == True</filter> </data> <expand macro="abundance-histogram-output" /> </outputs> <tests> <test> <param name="input_sequence_filename" value="test-abund-read-2.fa" /> <param name="type" value="specific" /> <param name="tablesize_specific" value="1e7" /> <param name="n_tables" value="2" /> <param name="ksize" value="17" /> <param name="no_zero" value="false" /> <output name="output_histogram_filename" ftype="txt"> <assert_contents> <has_text text="1,96,96,0.98" /> <has_text text="1001,2,98,1.0" /> </assert_contents> </output> </test> <test> <param name="input_sequence_filename" value="test-abund-read-2.fq.gz" /> <param name="type" value="specific" /> <param name="tablesize_specific" value="1e7" /> <param name="n_tables" value="2" /> <param name="ksize" value="17" /> <param name="no_zero" value="false" /> <param name="bigcount" value="false" /> <output name="output_histogram_filename" ftype="txt"> <assert_contents> <has_text text="1,96,96,0.98" /> <has_text text="255,2,98,1.0" /> </assert_contents> </output> </test> </tests> <help><![CDATA[ Calculate the abundance distribution of k-mers from a single sequence file. Note that with `-b` this script is constant memory; in exchange, k-mer counts will stop at 255. The memory usage of this script with `-b` will be about 1.15x the product of the `-x` and `-N` numbers. @HELP_FOOTER@ ]]> </help> <citations> <expand macro="software-citation" /> <expand macro="counting-citation" /> </citations> </tool>