comparison macros.xml @ 8:54f751e413f4 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/diamond commit 75abf7d4b23ed7ae8abce80609d81b20bc882863"
author iuc
date Mon, 22 Mar 2021 13:21:23 +0000
parents 62c9df8382c2
children f921014aba5a
comparison
equal deleted inserted replaced
7:62c9df8382c2 8:54f751e413f4
1 <macros> 1 <macros>
2 <token name="@VERSION@">0.9.29</token> 2 <token name="@VERSION@">2.0.8</token>
3 3
4 <xml name="requirements"> 4 <xml name="requirements">
5 <requirements> 5 <requirements>
6 <requirement type="package" version="@VERSION@">diamond</requirement> 6 <requirement type="package" version="@VERSION@">diamond</requirement>
7 </requirements> 7 </requirements>
8 </xml> 8 </xml>
9 9
10 <xml name="stdio"> 10 <xml name="stdio">
11 <stdio> 11 <stdio>
12 <exit_code range=":-1" level="fatal" description="Error occurred. Please check Tool Standard Error" /> 12 <regex match="Failed to allocate" source="stderr" level="fatal_oom" />
13 <exit_code range="1:" level="fatal" description="Error occurred. Please check Tool Standard Error" />
14 <regex match="Failed to allocate sufficient memory." source="stderr" level="fatal_oom" />
15 </stdio> 13 </stdio>
16 </xml> 14 </xml>
17 15
18 <xml name="version_command"> 16 <xml name="version_command">
19 <version_command>diamond version</version_command> 17 <version_command>diamond version | cut -d" " -f 3</version_command>
20 </xml> 18 </xml>
21 19
22 <xml name="output_type_macro"> 20 <xml name="output_type_macro">
23 <conditional name="output"> 21 <conditional name="output">
24 <param argument="--outfmt" type="select" label="Format of output file " help=""> 22 <param argument="--outfmt" type="select" label="Format of output file " help="">
28 <option value="100">DAA</option> 26 <option value="100">DAA</option>
29 <option value="101">SAM</option> 27 <option value="101">SAM</option>
30 <option value="102">Taxonomic classification</option> 28 <option value="102">Taxonomic classification</option>
31 </param> 29 </param>
32 <when value="0"/> 30 <when value="0"/>
33 <when value="5"/> 31 <when value="5"/>
34 <when value="6"> 32 <when value="6">
35 <param name="fields" type="select" label="Tabular fields" help="" multiple="true"> 33 <param name="fields" type="select" label="Tabular fields" help="" multiple="true">
36 <option value="qseqid" selected="true">Query Seq - id</option> 34 <option value="qseqid" selected="true">Query Seq - id</option>
37 <option value="sseqid" selected="true">Subject Seq - id</option> 35 <option value="sseqid" selected="true">Subject Seq - id</option>
38 <option value="sallseqid">All subject Seq - id(s)</option> 36 <option value="sallseqid">All subject Seq - id(s)</option>
50 <option value="qend" selected="true">End of alignment in query</option> 48 <option value="qend" selected="true">End of alignment in query</option>
51 <option value="sstart" selected="true">Start of alignment in subject</option> 49 <option value="sstart" selected="true">Start of alignment in subject</option>
52 <option value="send" selected="true">End of alignment in subject</option> 50 <option value="send" selected="true">End of alignment in subject</option>
53 <option value="qseq">Aligned part of query sequence</option> 51 <option value="qseq">Aligned part of query sequence</option>
54 <option value="sseq">Aligned part of subject sequence</option> 52 <option value="sseq">Aligned part of subject sequence</option>
53 <option value="qseq_translated">Translation of the aligned part of query sequence</option>
55 <option value="evalue" selected="true">Expect value</option> 54 <option value="evalue" selected="true">Expect value</option>
56 <option value="bitscore" selected="true">Bit score</option> 55 <option value="bitscore" selected="true">Bit score</option>
57 <option value="score">Raw score</option> 56 <option value="score">Raw score</option>
58 <option value="qframe">Query frame</option> 57 <option value="qframe">Query frame</option>
59 <option value="btop">Blast traceback operations(BTOP)</option> 58 <option value="btop">Blast traceback operations(BTOP)</option>
60 <option value="staxids">unique Subject Taxonomy ID(s), separated by a ';' (in numerical order)</option> 59 <option value="scovhsp">Subject coverage per HSP</option>
61 <option value="stitle">Subject Title</option> 60 <option value="stitle">Subject Title</option>
62 <option value="salltitles">All Subject Title(s)</option> 61 <option value="salltitles">All Subject Title(s)</option>
63 <option value="qcovhsp">Query Coverage Per HSP</option> 62 <option value="qcovhsp">Query Coverage Per HSP</option>
64 <option value="qtitle">Query title</option> 63 <option value="qtitle">Query title</option>
65 <option value="full_qseq">Query sequence</option> 64 <option value="full_qseq">Query sequence</option>
66 <option value="full_sseq">Subject sequence</option> 65 <option value="full_sseq">Subject sequence</option>
67 <option value="qqual">Query quality values for the aligned part of the query</option> 66 <option value="qqual">Query quality values for the aligned part of the query</option>
68 <option value="full_qqual">Query quality values</option> 67 <option value="full_qqual">Query quality values</option>
69 <option value="qstrand">Query strand</option> 68 <option value="qstrand">Query strand</option>
69 <option value="cigar">Cigar</option>
70 <yield/>
70 </param> 71 </param>
71 </when> 72 </when>
72 <when value="100"> 73 <when value="100">
73 <param argument="--salltitles" type="boolean" truevalue="--salltitles" falsevalue="" checked="true" label="Include full subject titles in DAA file?" help=""/> 74 <param argument="--salltitles" type="boolean" truevalue="--salltitles" falsevalue="" checked="true" label="Include full subject titles in DAA file?" help=""/>
74 <param argument="--sallseqid" type="boolean" truevalue="--sallseqid" falsevalue="" checked="true" label="Include all subject ids in DAA file?" help=""/> 75 <param argument="--sallseqid" type="boolean" truevalue="--sallseqid" falsevalue="" checked="true" label="Include all subject ids in DAA file?" help=""/>
75 </when> 76 </when>
76 <when value="101"> 77 <when value="101">
77 <param argument="--salltitles" type="boolean" truevalue="--salltitles" falsevalue="" checked="true" label="Include full subject titles in DAA file?" help=""/> 78 <param argument="--salltitles" type="boolean" truevalue="--salltitles" falsevalue="" checked="true" label="Include full subject titles in DAA file?" help=""/>
78 <param argument="--sallseqid" type="boolean" truevalue="--sallseqid" falsevalue="" checked="true" label="Include all subject ids in DAA file?" help=""/> 79 <param argument="--sallseqid" type="boolean" truevalue="--sallseqid" falsevalue="" checked="true" label="Include all subject ids in DAA file?" help=""/>
79 </when> 80 </when>
80 <when value="102"/> 81 <when value="102"/>
81 </conditional> 82 </conditional>
95 ments whose score is at most 10% lower than the best alignment score for a query." /> 96 ments whose score is at most 10% lower than the best alignment score for a query." />
96 </when> 97 </when>
97 </conditional> 98 </conditional>
98 </xml> 99 </xml>
99 100
101 <xml name="block_size_low_sens">
102 <param name="block_size" argument="--block-size" type="float" value="2" label="Block size in billions of sequence letters to be processed at a time" help="" />
103 </xml>
104
105 <xml name="block_size_hi_sens">
106 <param name="block_size" argument="--block-size" type="float" value="0.4" label="Block size in billions of sequence letters to be processed at a time" help="" />
107 </xml>
108
100 <xml name="citations"> 109 <xml name="citations">
101 <citations> 110 <citations>
102 <citation type="doi">10.1038/nmeth.3176</citation> 111 <citation type="doi">10.1038/nmeth.3176</citation>
103 </citations> 112 </citations>
104 </xml> 113 </xml>
113 </data> 122 </data>
114 <data format="tabular" name="blast_tabular" label="${tool.name} on ${on_string}"> 123 <data format="tabular" name="blast_tabular" label="${tool.name} on ${on_string}">
115 <filter>output["outfmt"] == "6"</filter> 124 <filter>output["outfmt"] == "6"</filter>
116 </data> 125 </data>
117 <!-- for daa diamond appends the .daa extension -> hence from_work_dir --> 126 <!-- for daa diamond appends the .daa extension -> hence from_work_dir -->
118 <data format="daa" name="daa_output" label="${tool.name} on ${on_string}" from_work_dir="output.daa"> 127 <data format="daa" name="daa_output" label="${tool.name} on ${on_string}" from_work_dir="output.daa">
119 <filter>output["outfmt"] == "100"</filter> 128 <filter>output["outfmt"] == "100"</filter>
120 </data> 129 </data>
121 <data format="sam" name="sam_output" label="${tool.name} on ${on_string}"> 130 <data format="sam" name="sam_output" label="${tool.name} on ${on_string}">
122 <filter>output["outfmt"] == "101"</filter> 131 <filter>output["outfmt"] == "101"</filter>
123 </data> 132 </data>
151 <token name="@HITFILTER_ARGS@"> 160 <token name="@HITFILTER_ARGS@">
152 #if str($hit_filter.hit_filter_select) == 'max': 161 #if str($hit_filter.hit_filter_select) == 'max':
153 --max-target-seqs '$hit_filter.max_target_seqs' 162 --max-target-seqs '$hit_filter.max_target_seqs'
154 #else: 163 #else:
155 --top '$hit_filter.top' 164 --top '$hit_filter.top'
156 #end if 165 #end if
157 </token> 166 </token>
158 </macros> 167 </macros>