annotate macros.xml @ 2:bddb48f621d5 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:43:22 -0500
parents 301b4270e5e0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 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">
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 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/>
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 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">
301b4270e5e0 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>
301b4270e5e0 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
bddb48f621d5 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" />
bddb48f621d5 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
301b4270e5e0 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>
301b4270e5e0 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">
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 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[
301b4270e5e0 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)
301b4270e5e0 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):
301b4270e5e0 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=""
301b4270e5e0 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':
301b4270e5e0 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]
301b4270e5e0 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)
301b4270e5e0 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
301b4270e5e0 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
301b4270e5e0 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])
301b4270e5e0 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
301b4270e5e0 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":
301b4270e5e0 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
301b4270e5e0 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
301b4270e5e0 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
301b4270e5e0 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 ""
301b4270e5e0 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
301b4270e5e0 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
301b4270e5e0 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
36
301b4270e5e0 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):
301b4270e5e0 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' ):
301b4270e5e0 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)
301b4270e5e0 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
301b4270e5e0 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)
301b4270e5e0 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
301b4270e5e0 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
301b4270e5e0 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
44
301b4270e5e0 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 ):
301b4270e5e0 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'):
301b4270e5e0 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)
301b4270e5e0 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:
301b4270e5e0 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)
301b4270e5e0 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
301b4270e5e0 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
301b4270e5e0 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>
301b4270e5e0 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">
301b4270e5e0 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">
301b4270e5e0 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@">
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 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">
301b4270e5e0 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" >
301b4270e5e0 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">
301b4270e5e0 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"/>
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 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">
301b4270e5e0 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" />
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 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">
301b4270e5e0 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">
301b4270e5e0 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">
301b4270e5e0 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">
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 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">
301b4270e5e0 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"/>
301b4270e5e0 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>
301b4270e5e0 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">
301b4270e5e0 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"/>
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 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"/>
301b4270e5e0 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/>
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
89
301b4270e5e0 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">
301b4270e5e0 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@">
301b4270e5e0 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)"/>
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
95
301b4270e5e0 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[
301b4270e5e0 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:
301b4270e5e0 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
301b4270e5e0 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
301b4270e5e0 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
301b4270e5e0 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'
301b4270e5e0 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
301b4270e5e0 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
301b4270e5e0 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
301b4270e5e0 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>
301b4270e5e0 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">
301b4270e5e0 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"/>
301b4270e5e0 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>
301b4270e5e0 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
109
301b4270e5e0 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[
301b4270e5e0 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
301b4270e5e0 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
301b4270e5e0 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
301b4270e5e0 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>
301b4270e5e0 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">
301b4270e5e0 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">
301b4270e5e0 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="" />
301b4270e5e0 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" />
301b4270e5e0 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/>
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
122
301b4270e5e0 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[
301b4270e5e0 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
301b4270e5e0 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
301b4270e5e0 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
301b4270e5e0 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
301b4270e5e0 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
301b4270e5e0 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
301b4270e5e0 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
301b4270e5e0 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
301b4270e5e0 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
301b4270e5e0 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
301b4270e5e0 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
301b4270e5e0 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
301b4270e5e0 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
301b4270e5e0 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
301b4270e5e0 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:
301b4270e5e0 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'
301b4270e5e0 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
301b4270e5e0 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>
301b4270e5e0 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">
301b4270e5e0 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">
301b4270e5e0 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" />
301b4270e5e0 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/>
301b4270e5e0 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" />
301b4270e5e0 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" />
301b4270e5e0 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" />
301b4270e5e0 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" />
301b4270e5e0 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" />
301b4270e5e0 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)" />
301b4270e5e0 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)" />
301b4270e5e0 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" />
301b4270e5e0 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" />
301b4270e5e0 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">
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 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" />
301b4270e5e0 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">
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 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"/>
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
170
301b4270e5e0 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[
301b4270e5e0 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:
301b4270e5e0 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
301b4270e5e0 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:
301b4270e5e0 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
301b4270e5e0 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 )
301b4270e5e0 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
301b4270e5e0 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
301b4270e5e0 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>
301b4270e5e0 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">
301b4270e5e0 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">
301b4270e5e0 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" />
301b4270e5e0 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
183
301b4270e5e0 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"/>
301b4270e5e0 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"/>
301b4270e5e0 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"/>
301b4270e5e0 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"/>
301b4270e5e0 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"/>
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff changeset
191
301b4270e5e0 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[
301b4270e5e0 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:
301b4270e5e0 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
301b4270e5e0 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:
301b4270e5e0 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
301b4270e5e0 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)
301b4270e5e0 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'
301b4270e5e0 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
301b4270e5e0 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
301b4270e5e0 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>
301b4270e5e0 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">
301b4270e5e0 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">
301b4270e5e0 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" />
301b4270e5e0 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|.">
301b4270e5e0 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"/>
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 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">
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 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">
301b4270e5e0 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,
301b4270e5e0 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},
301b4270e5e0 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},
301b4270e5e0 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},
301b4270e5e0 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/},
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 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>
301b4270e5e0 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>