annotate macros.xml @ 2:102d29c7c5a7 draft default tip

planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit 20ad8976adec9d011d21484859258bf1ad22f42e-dirty
author matthias
date Wed, 19 Dec 2018 04:44:10 -0500
parents 2ac9f9b9dd63
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
1 <macros>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
2 <token name="@TOOL_VERSION@">6.12.3</token>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
3 <xml name="requirements">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
4 <requirements>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
5 <requirement type="package" version="@TOOL_VERSION@">megan</requirement>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
6 <yield/>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
7 </requirements>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
8 </xml>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
9 <xml name="stdio">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
10 <stdio>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
11 <exit_code level="fatal" range="1:" description="Error"/>
2
102d29c7c5a7 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit 20ad8976adec9d011d21484859258bf1ad22f42e-dirty
matthias
parents: 0
diff changeset
12 <regex match="There is insufficient memory for the Java Runtime Environment" source="stdout" level="fatal_oom" description="Out of memory" />
102d29c7c5a7 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit 20ad8976adec9d011d21484859258bf1ad22f42e-dirty
matthias
parents: 0
diff changeset
13 </stdio>
0
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
14 </xml>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
15 <xml name="version_command">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
16 <version_command><![CDATA[./daa2rma |& grep version | sed 's/.*version \([0-9.]\+\),.*/\1/']]></version_command>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
17 </xml>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
18 <token name="@CLASSIFICATION_UTILS@"><![CDATA[
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
19 #def get_mapping($var, $category, $target)
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
20 #if $var.has_key($category+$target):
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
21 #set m=""
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
22 #if $var.has_key($category+$target+"_select") and $var[$category+$target+"_select"]=='indexed':
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
23 #if $var[$category+$target]
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
24 #set m=str($var[$category+$target].fields.path)
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
25 #end if
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
26 #else
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
27 #set m=str($var[$category+$target])
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
28 #end if
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
29 #if $m!="" and $m!=None and m!="None":
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
30 #return "--"+$category+$target+" "+$m
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
31 #end if
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
32 #else
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
33 #return ""
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
34 #end if
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
35 #end def
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
36
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
37 #def get_mapping_history_indexed($var, $category, $target):
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
38 #if $var.has_key( $category+$target+'_cond' ):
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
39 #return $get_mapping($var[$category+$target+'_cond'], $category, $target)
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
40 #else
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
41 #return $get_mapping($var, $category, $target)
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
42 #end if
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
43 #end def
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
44
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
45 #def get_mapping_acc_gi( $section, $category, $target ):
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
46 #if category in ['gi2','acc2'] and $section.has_key('acc_or_gi_cond'):
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
47 #return $get_mapping_history_indexed($section.acc_or_gi_cond, $category, $target)
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
48 #else:
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
49 #return $get_mapping_history_indexed($section, $category, $target)
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
50 #end if
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
51 #end def
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
52 ]]></token>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
53 <xml name="mapping" token_varname="myvar" token_label="mylabel">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
54 <conditional name="@VARNAME@_cond">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
55 <param name="@VARNAME@_select" type="select" label="@LABEL@">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
56 <option value="indexed">Use a built-in mapping</option>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
57 <option value="history">Use a mapping from the history</option>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
58 </param>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
59 <when value="indexed">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
60 <param argument="--@VARNAME@" type="select" optional="true" label="mapping" >
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
61 <options from_data_table="megan_tools">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
62 <filter type="static_value" column="2" value="@VARNAME@" keep="true"/>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
63 </options>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
64 </param>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
65 </when>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
66 <when value="history">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
67 <param argument="--@VARNAME@" type="data" format="tabular" optional="true" label="mapping" />
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
68 </when>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
69 </conditional>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
70 </xml>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
71 <xml name="mappings_gi_acc_syn" token_target="mytarget" token_targetlabel="mytargetlabel">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
72 <section name="section_@TARGET@" title="@TARGETLABEL@ Mappings" expanded="false">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
73 <conditional name="acc_or_gi_cond">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
74 <param name="acc_or_gi_select" type="select" label="Mapping from GI/Accession" help="use GI for NR releases until August 2016, containing GI numbers">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
75 <option value="acc">Accession</option>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
76 <option value="gi">GI</option>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
77 </param>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
78 <when value="gi">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
79 <expand macro="mapping" varname="gi2@TARGET@" label="GI-to-@TARGETLABEL@ mapping"/>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
80 </when>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
81 <when value="acc">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
82 <expand macro="mapping" varname="acc2@TARGET@" label="Accession-to-@TARGETLABEL@ mapping"/>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
83 </when>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
84 </conditional>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
85 <expand macro="mapping" varname="syn2@TARGET@" label="Synonyms-to-@TARGETLABEL@ mapping"/>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
86 <yield/>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
87 </section>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
88 </xml>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
89
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
90 <xml name="mappings_gi_acc_syn_tags" token_target="mytarget" token_targetlabel="mytargetlabel">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
91 <expand macro="mappings_gi_acc_syn" target="@TARGET@" targetlabel="@TARGETLABEL@">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
92 <param argument="--tags4@TARGET@" type="data" format="tabular" optional="true" label="Tags for @TARGETLABEL@ id parsing" help="(must set to activate id parsing)"/>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
93 </expand>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
94 </xml>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
95
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
96 <token name="@MDF_CLI@"><![CDATA[
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
97 #if $metaDataFile:
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
98 -mdf
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
99 #for $m in $metaDataFile
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
100 #if $m
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
101 '$m'
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
102 #end if
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
103 #end for
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
104 #end if
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
105 ]]></token>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
106 <xml name="mdf_macro">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
107 <param argument="--metaDataFile" type="data" format="tabular" multiple="true" optional="true" label="Files containing metadata to be included in RMA6 files"/>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
108 </xml>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
109
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
110 <token name="@READS_CLI@"><![CDATA[
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
111 ## Reads
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
112 --paired $reads.paired
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
113 --pairedSuffixLength $reads.pairedSuffixLength
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
114 ]]></token>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
115 <xml name="reads_macro">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
116 <section name="reads" title="Reads Options" expanded="true">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
117 <param argument="--paired" type="boolean" truevalue="true" falsevalue="false" checked="false" label="" />
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
118 <param argument="--pairedSuffixLength" type="integer" value="0" label="Length of name suffix used to distinguish names" help="i.e. first word in header) of read and its mate (use 0 if read and mate have same name" />
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
119 <yield/>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
120 </section>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
121 </xml>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
122
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
123 <token name="@PARAMETERS_CLI@"><![CDATA[
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
124 ##Parameters
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
125 --longReads $params.longReads
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
126 --classify $params.classify
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
127 --minScore $params.minScore
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
128 --maxExpected $params.maxExpected
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
129 --minPercentIdentity $params.minPercentIdentity
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
130 --topPercent $params.topPercent
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
131 --minSupportPercent $params.minSupportPercent
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
132 --minSupport $params.minSupport
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
133 --minPercentReadCover $params.minPercentReadCover
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
134 --minPercentReferenceCover $params.minPercentReferenceCover
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
135 --lcaAlgorithm $params.lcaAlgorithm
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
136 --lcaCoveragePercent $params.lcaCoveragePercent
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
137 --readAssignmentMode $params.readAssignmentMode
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
138 #if $params.conFile:
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
139 --conFile '$params.conFile'
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
140 #end if
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
141 ]]></token>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
142 <xml name="params_macro">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
143 <section name="params" title="Parameters" expanded="true">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
144 <param argument="--longReads" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Parse and analyse as long reads" />
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
145 <yield/>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
146 <param argument="--classify" type="boolean" truevalue="true" falsevalue="false" checked="true" label="Run classification algorithm" />
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
147 <param argument="--minScore" type="float" value="50.0" label="Min score" />
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
148 <param argument="--maxExpected" type="float" value="0.01" label="Max expected" />
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
149 <param argument="--minPercentIdentity" type="float" value="0.00" label="Min percent identity" />
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
150 <param argument="--topPercent" type="float" value="10.0" label="Top percent" />
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
151 <param argument="--minSupportPercent" type="float" value="0.05" label="Min support as percent of assigned reads (0==off)" />
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
152 <param argument="--minSupport" type="integer" value="0" label="Min support (0==off)" />
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
153 <param argument="--minPercentReadCover" type="float" value="0.0" label="Min percent of read length to be covered by alignments" />
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
154 <param argument="--minPercentReferenceCover" type="float" value="0.0" label="Min percent of reference length to be covered by alignments" />
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
155 <param argument="--lcaAlgorithm" type="select" label="LCA algorithm to use for taxonomic assignment">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
156 <option value="naive" selected="true">naive</option>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
157 <option value="weighted">weighted</option>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
158 <option value="longReads">longReads</option>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
159 </param>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
160 <param argument="--lcaCoveragePercent" type="float" value="100.0" min="0.0" max="100.0" label="Set the percent for the LCA to cover" />
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
161 <param argument="--readAssignmentMode" type="select" label="Read assignment mode">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
162 <option value="readCount" selected="true">readCount</option>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
163 <option value="readLength">readLength</option>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
164 <option value="alignedBases">alignedBases</option>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
165 <option value="readMagnitude">readMagnitude</option>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
166 </param>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
167 <param argument="--conFile" type="data" format="tabular" optional="true" label="File of contaminant taxa" help="one Id or name per line"/>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
168 </section>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
169 </xml>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
170
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
171 <token name="@CLASSIFICATION_CLI@"><![CDATA[
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
172 ##Classification support:
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
173 --parseTaxonNames $classification.parseTaxonNames
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
174 #for $cat in $CATEGORIES:
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
175 #for $target in $TARGETS
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
176 $get_mapping_acc_gi( $classification['section_'+$target], $cat, $target )
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
177 #end for
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
178 #end for
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
179 ]]></token>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
180 <xml name="classification_macro">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
181 <section name="classification" title="Classification support options" expanded="true">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
182 <param argument="--parseTaxonNames" type="boolean" truevalue="true" falsevalue="false" checked="true" label="Parse taxon names" />
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
183
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
184 <expand macro="mappings_gi_acc_syn" target="taxa" targetlabel="Taxonomy"/>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
185 <expand macro="mappings_gi_acc_syn_tags" target="eggnog" targetlabel="EGGNOG"/>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
186 <expand macro="mappings_gi_acc_syn_tags" target="interpro2go" targetlabel="INTERPRO2GO"/>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
187 <expand macro="mappings_gi_acc_syn_tags" target="seed" targetlabel="SEED"/>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
188 <expand macro="mappings_gi_acc_syn_tags" target="kegg" targetlabel="KEGG"/>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
189 </section>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
190 </xml>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
191
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
192 <token name="@OTHER_CLI@"><![CDATA[
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
193 ##Other:
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
194 --firstWordIsAccession $other.firstWordIsAccession
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
195 #if len($other.accessionTags)>0:
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
196 --accessionTags
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
197 #for $i, $s in enumerate($other.accessionTags)
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
198 '$s.tag'
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
199 #end for
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
200 #end if
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
201 ]]></token>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
202 <xml name="other_macro">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
203 <section name="other" title="Other options" expanded="true">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
204 <param argument="--firstWordIsAccession" type="boolean" truevalue="true" falsevalue="false" checked="true" label="First word in reference header is accession number" help="enable for NCBI-nr downloaded Sep 2016 or later" />
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
205 <repeat name="accessionTags" title="List of accession tags" min="0" default="0" help="Default value(s): gb| ref|.">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
206 <param name="tag" type="text" label="Accession tag"/>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
207 </repeat>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
208 </section>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
209 </xml>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
210 <xml name="citations">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
211 <citations>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
212 <citation type="doi">10.1038/nmeth.3176</citation>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
213 <citation type="doi">10.1101/gr.120618.111</citation>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
214 <citation type="doi">10.1101/gr.5969107</citation>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
215 <citation type="bibtex">
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
216 @misc{website,
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
217 author = {Huson et al},
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
218 year = {TODO},
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
219 title = {Megan Website},
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
220 url = {http://ab.inf.uni-tuebingen.de/software/megan6/},
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
221 }</citation>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
222 </citations>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
223 </xml>
2ac9f9b9dd63 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
224 </macros>