annotate classify.svm.xml @ 0:ba0b90285bc0 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
author iuc
date Wed, 14 Feb 2018 10:29:38 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
1 <tool profile="16.07" id="mothur_classify_svm" name="Classify.svm" version="@WRAPPER_VERSION@.0">
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
2 <description>description</description>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
3 <macros>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
4 <import>macros.xml</import>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
5 </macros>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
7 <expand macro="stdio"/>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
8 <expand macro="version_command"/>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
9 <command><![CDATA[
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
10 @SHELL_OPTIONS@
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
11
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
12 ## create symlinks to input datasets
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
13 ln -s '$otu' shared.dat &&
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
14 ln -s '$design' design.dat &&
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
15
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
16 echo 'classify.svm(
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
17 shared=shared.dat,
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
18 design=design.dat
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
19 #if $label:
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
20 ,label=${ str($label).replace(",","-") }
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
21 #end if
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
22 #if $groups:
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
23 ,groups=${ str($groups).replace(",","-") }
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
24 #end if
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
25 )'
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
26 | sed 's/ //g' ## mothur trips over whitespace
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
27 | mothur
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
28 | tee mothur.out.log
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
29 ]]></command>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
30 <inputs>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
31 <param argument="shared" name="otu" type="data" format="mothur.shared" label="shared - OTU Shared"/>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
32 <param argument="design" type="data" format="mothur.design" label="design - assigns groups to sets" help="design has 2 columns: group(col 1) and grouping(col 2) (separated by a TAB character) use make.design"/>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
33 <param argument="label" type="select" multiple="true" optional="true" label="label - OTU Label filter">
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
34 <expand macro="labeloptions"/>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
35 </param>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
36 <param argument="groups" type="select" multiple="true" optional="true" label="groups - Groups filter (uses all groups if none are selected)" help="To filter: select select at least 2 groups">
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
37 <options>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
38 <filter type="data_meta" ref="otu" key="groups"/>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
39 </options>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
40 </param>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
41 </inputs>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
42 <outputs>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
43 <expand macro="logfile-output"/>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
44 <data name="summary" format="tabular" from_work_dir="shared.RF*summary" label="${tool.name} on ${on_string}: summary"/>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
45 <data name="misclass-summary" format="tabular" from_work_dir="shared.misclassifications*.summary" label="${tool.name} on ${on_string}: misclassifications summary"/>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
46 </outputs>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
47 <tests>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
48 <test><!-- test with defaults -->
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
49 <param name="otu" value="stool.final.opti_mcc.shared" ftype="mothur.shared"/>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
50 <param name="design" value="stool.design"/>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
51 <output name="summary" md5="dd5501c82a66b681b6b9961bcf731d7d" ftype="tabular"/>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
52 <output name="misclass-summary" ftype="tabular">
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
53 <assert_contents>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
54 <has_line_matching expression="Sample\tRF classification\tActual classification"/>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
55 <has_text text="F003D000"/>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
56 <has_text text="F003D150"/>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
57 </assert_contents>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
58 </output>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
59 <expand macro="logfile-test"/>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
60 </test>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
61 <test><!-- test with custom settings -->
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
62 <param name="otu" value="amazon.an.shared" ftype="mothur.shared"/>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
63 <param name="design" value="toymothur.design2"/>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
64 <param name="label" value="0.03"/>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
65 <param name="groups" value="pasture"/>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
66 <output name="summary" md5="dd5501c82a66b681b6b9961bcf731d7d" ftype="tabular"/>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
67 <output name="misclass-summary" ftype="tabular">
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
68 <assert_contents>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
69 <has_line_matching expression="Sample\tRF classification\tActual classification"/>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
70 <has_text text="F003D000"/>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
71 <not_has_text text="F003D150"/>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
72 </assert_contents>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
73 </output>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
74 <expand macro="logfile-test"/>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
75 </test>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
76 </tests>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
77 <help><![CDATA[
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
78 @MOTHUR_OVERVIEW@
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
79
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
80
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
81 **Command Documentation**
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
82
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
83
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
84 .. _classify.rf: http://www.mothur.org/wiki/Classify.rf
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
85 ]]></help>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
86 <expand macro="citations"/>
ba0b90285bc0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
diff changeset
87 </tool>