annotate obistat.xml @ 4:5f4544915893 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
author iuc
date Wed, 20 Mar 2024 13:16:41 +0000
parents 723a93febe89
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
1 <tool id="obi_stat" name="obistat" version="@TOOL_VERSION@" profile="@PROFILE@">
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
2 <description>computes basic statistics for attribute values</description>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
3 <macros>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
4 <import>macros.xml</import>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
5 </macros>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
6 <expand macro="bio_tools"/>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
7 <expand macro="requirements"/>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
8 <expand macro="stdio"/>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
9 <command><![CDATA[
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
10 @GUNZIP_INPUT@
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
11
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
12 obistat
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
13 --without-progress-bar
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
14 #for $attribute in $catattributes
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
15 #if str( $attribute.options_attributespe.options_attributespe_selector) == "key"
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
16 -c '$attribute.options_attributespe.options_catattribute_selector'
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
17 #end if
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
18 #if str( $attribute.options_attributespe.options_attributespe_selector) == "python"
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
19 -c '${attribute.options_attributespe.attribute}'
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
20 #end if
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
21 #end for
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
22
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
23 #if str( $options_attribute.options_attributebe_selector) == "yes"
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
24 #if str( $options_attribute.options_attribute_selector) == "min"
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
25 -m '$options_attribute.options_uniq_selector'
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
26 #end if
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
27 #if str( $options_attribute.options_attribute_selector) == "max"
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
28 -M '$options_attribute.options_uniq_selector'
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
29 #end if
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
30 #if str( $options_attribute.options_attribute_selector) == "mean"
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
31 -a '$options_attribute.options_uniq_selector'
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
32 #end if
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
33 #if str( $options_attribute.options_attribute_selector) == "variance"
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
34 -v '$options_attribute.options_uniq_selector'
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
35 #end if
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
36 #if str( $options_attribute.options_attribute_selector) == "std"
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
37 -s '$options_attribute.options_uniq_selector'
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
38 #end if
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
39 #end if
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
40 @INPUT_FORMAT@
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
41 input > '$output'
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
42 ]]></command>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
43 <inputs>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
44 <param name="input" type="data" format="@INPUT_FORMATS@" label="Input sequences file"/>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
45 <repeat name="catattributes" title="Category attribute" min="0">
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
46 <conditional name="options_attributespe">
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
47 <param name="options_attributespe_selector" type="select" label="How would you specify the category attribute key?">
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
48 <option value="key" selected="true">simply by a key of an attribute</option>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
49 <option value="python">by a python expression</option>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
50 </param>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
51 <when value="python">
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
52 <param name="attribute" type="text" label="Regular expression pattern matched against the attributes of the sequence record. the value of this attribute is of the form : key:regular_pattern. The pattern is case sensitive.">
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
53 <expand macro="sanitizer"/>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
54 </param>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
55 </when>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
56 <when value="key">
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
57 <param name="options_catattribute_selector" type="select" label="Attribute used to categorize the sequence records">
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
58 <expand macro="attributes"/>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
59 </param>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
60 </when>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
61 </conditional>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
62 </repeat>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
63 <conditional name="options_attribute">
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
64 <param name="options_attributebe_selector" type="select" label="Use a specific option">
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
65 <option value="None" selected="true">no</option>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
66 <option value="yes">yes</option>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
67 </param>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
68 <when value="yes">
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
69 <param name="options_attribute_selector" type="select" label="Select your specific option">
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
70 <option value="min" selected="true">min</option>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
71 <option value="max">max</option>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
72 <option value="mean">mean</option>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
73 <option value="variance">variance</option>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
74 <option value="std">standard deviation</option>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
75 </param>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
76 <param name="options_uniq_selector" type="select" label="Attribute to merge">
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
77 <expand macro="attributes"/>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
78 </param>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
79 </when>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
80 <when value="None"></when>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
81 </conditional>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
82 <expand macro="input_format_options_macro"/>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
83 </inputs>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
84 <outputs>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
85 <data format="txt" name="output"/>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
86 </outputs>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
87 <tests>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
88 <test expect_num_outputs="1">
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
89 <param name="input" value="output_obiannotate.fasta" ftype="fasta"/>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
90 <conditional name="catattributes_0|options_attributespe">
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
91 <param name="options_attributespe_selector" value="key"/>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
92 <param name="options_catattribute_selector" value="count" />
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
93 </conditional>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
94 <conditional name="catattributes_1|options_attributespe">
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
95 <param name="options_attributespe_selector" value="key"/>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
96 <param name="options_catattribute_selector" value="merged" />
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
97 </conditional>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
98 <conditional name="options_attribute">
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
99 <param name="options_attributebe_selector" value="yes"/>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
100 <param name="options_attribute_selector" value="min" />
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
101 <param name="options_uniq_selector" value="seq_length" />
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
102 </conditional>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
103 <output name="output" file="output_obistat.txt" ftype="txt" sort="True"/>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
104 </test>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
105 <test expect_num_outputs="1">
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
106 <param name="input" value="output_obiannotate.fasta.gz" ftype="fasta.gz" />
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
107 <conditional name="catattributes_0|options_attributespe">
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
108 <param name="options_attributespe_selector" value="key"/>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
109 <param name="options_catattribute_selector" value="count" />
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
110 </conditional>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
111 <conditional name="catattributes_1|options_attributespe">
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
112 <param name="options_attributespe_selector" value="key"/>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
113 <param name="options_catattribute_selector" value="merged" />
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
114 </conditional>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
115 <conditional name="options_attribute">
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
116 <param name="options_attributebe_selector" value="yes"/>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
117 <param name="options_attribute_selector" value="min" />
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
118 <param name="options_uniq_selector" value="seq_length" />
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
119 </conditional>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
120 <output name="output" file="output_obistat.txt" ftype="txt" sort="True"/>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
121 </test>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
122 </tests>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
123 <help><![CDATA[
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
124
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
125 .. class:: infomark
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
126
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
127 **What it does**
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
128
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
129 stats computes basic statistics for attribute values of sequence records. The sequence records can be categorized or not using one or several -c options. By default, only the number of sequence records and the total count are computed for each category. Additional statistics can be computed for attribute values in each category, like:
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
130
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
131 \* minimum value (-m option)
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
132
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
133 \* maximum value (-M option)
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
134
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
135 \* mean value (-a option)
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
136
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
137 \* variance (-v option)
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
138
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
139 \* standard deviation (-s option)
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
140
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
141 The result is a contingency table with the different categories in rows, and the computed statistics in columns.
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
142
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
143 @OBITOOLS_LINK@
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
144
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
145 ]]>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
146 </help>
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
147 <expand macro="citation" />
5f4544915893 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit dabf62d438facc62f3e606ff4419092fdcdfaa44
iuc
parents: 3
diff changeset
148 </tool>