Mercurial > repos > matthias > daa2rma
annotate macros.xml @ 0:2ac9f9b9dd63 draft
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
| author | matthias |
|---|---|
| date | Mon, 05 Nov 2018 03:40:10 -0500 |
| parents | |
| children | 102d29c7c5a7 |
| 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"/> |
|
2ac9f9b9dd63
planemo upload for repository https://github.com/bernt-matthias/mb-galaxy-tools/tree/master/tools/megan commit b3dd3f0e8765048f093748d46df5d29af7d88850-dirty
matthias
parents:
diff
changeset
|
12 </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
|
13 </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
|
14 <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
|
15 <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
|
16 </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
|
17 <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
|
18 #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
|
19 #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
|
20 #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
|
21 #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
|
22 #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
|
23 #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
|
24 #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
|
25 #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
|
26 #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
|
27 #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
|
28 #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
|
29 #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
|
30 #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
|
31 #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
|
32 #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
|
33 #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
|
34 #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
|
35 |
|
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 #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
|
37 #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
|
38 #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
|
39 #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
|
40 #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
|
41 #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
|
42 #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
|
43 |
|
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 #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
|
45 #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
|
46 #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
|
47 #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
|
48 #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
|
49 #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
|
50 #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
|
51 ]]></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
|
52 <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
|
53 <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
|
54 <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
|
55 <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
|
56 <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
|
57 </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
|
58 <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
|
59 <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
|
60 <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
|
61 <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
|
62 </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
|
63 </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
|
64 </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
|
65 <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
|
66 <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
|
67 </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
|
68 </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
|
69 </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
|
70 <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
|
71 <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
|
72 <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
|
73 <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
|
74 <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
|
75 <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
|
76 </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
|
77 <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
|
78 <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
|
79 </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
|
80 <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
|
81 <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
|
82 </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
|
83 </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
|
84 <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
|
85 <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
|
86 </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
|
87 </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
|
88 |
|
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 <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
|
90 <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
|
91 <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
|
92 </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
|
93 </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
|
94 |
|
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 <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
|
96 #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
|
97 -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
|
98 #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
|
99 #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
|
100 '$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 #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
|
102 #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
|
103 #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
|
104 ]]></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
|
105 <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
|
106 <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
|
107 </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
|
108 |
|
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 <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
|
110 ## 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
|
111 --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
|
112 --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
|
113 ]]></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
|
114 <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
|
115 <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
|
116 <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
|
117 <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
|
118 <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
|
119 </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
|
120 </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
|
121 |
|
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 <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
|
123 ##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
|
124 --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
|
125 --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
|
126 --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
|
127 --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
|
128 --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
|
129 --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
|
130 --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
|
131 --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
|
132 --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
|
133 --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
|
134 --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
|
135 --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
|
136 --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
|
137 #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
|
138 --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
|
139 #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
|
140 ]]></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
|
141 <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
|
142 <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
|
143 <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
|
144 <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
|
145 <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
|
146 <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
|
147 <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
|
148 <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
|
149 <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
|
150 <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
|
151 <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
|
152 <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
|
153 <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
|
154 <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
|
155 <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
|
156 <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
|
157 <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
|
158 </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
|
159 <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
|
160 <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
|
161 <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
|
162 <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
|
163 <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
|
164 <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
|
165 </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
|
166 <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
|
167 </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
|
168 </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
|
169 |
|
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 <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
|
171 ##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
|
172 --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
|
173 #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
|
174 #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
|
175 $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
|
176 #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
|
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 ]]></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
|
179 <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
|
180 <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
|
181 <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
|
182 |
|
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 <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
|
184 <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
|
185 <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
|
186 <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
|
187 <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
|
188 </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
|
189 </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
|
190 |
|
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 <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
|
192 ##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
|
193 --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
|
194 #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
|
195 --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
|
196 #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
|
197 '$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
|
198 #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
|
199 #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
|
200 ]]></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
|
201 <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
|
202 <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
|
203 <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
|
204 <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
|
205 <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
|
206 </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
|
207 </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
|
208 </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
|
209 <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
|
210 <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 <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
|
212 <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
|
213 <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
|
214 <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
|
215 @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
|
216 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
|
217 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
|
218 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
|
219 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
|
220 }</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
|
221 </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
|
222 </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
|
223 </macros> |
