Mercurial > repos > iuc > vsearch
annotate vsearch_macros.xml @ 6:9495df9dd6ef draft default tip
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vsearch commit 98411bbc8c371cf56d81fc4a1402ee64efef41eb"
author | iuc |
---|---|
date | Wed, 04 Nov 2020 07:36:19 +0000 |
parents | b3c7199d8786 |
children |
rev | line source |
---|---|
0 | 1 <macros> |
2 <xml name="requirements"> | |
3 <requirements> | |
4
576963db5f1b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vsearch commit 89e3a62dd6cbc8bcec84d08c1710bfb4e7f5938f
iuc
parents:
3
diff
changeset
|
4 <requirement type="package" version="@VERSION@">vsearch</requirement> |
0 | 5 </requirements> |
6 </xml> | |
5
b3c7199d8786
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vsearch commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
4
diff
changeset
|
7 <token name="@VERSION@">2.8.3</token> |
3
4258854759ba
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vsearch commit 29f6e6424a37947adbe1eba92f0e7d3c83efc042-dirty
iuc
parents:
2
diff
changeset
|
8 |
0 | 9 <xml name="version_command"> |
10 <version_command>vsearch --version | head -n 1 | awk '{print $2}' | sed 's/,//'</version_command> | |
11 </xml> | |
12 <xml name="stdio"> | |
13 <stdio> | |
14 <exit_code range="1:" /> | |
15 <exit_code range=":-1" /> | |
16 <regex match="Error:" /> | |
17 <regex match="Exception:" /> | |
18 </stdio> | |
19 </xml> | |
20 | |
21 <xml name="topn"> | |
22 <param name="topn" type="integer" value="" optional="True" label="Output just first n sequences" | |
23 help="(--topn)"/> | |
24 </xml> | |
25 | |
26 <xml name="maxaccepts"> | |
27 <param name="maxaccepts" type="integer" value="1" label="Number of hits to accept and show per strand" | |
28 help="(--maxaccepts)"/> | |
29 </xml> | |
30 <xml name="maxrejects"> | |
31 <param name="maxrejects" type="integer" value="32" label="Number of non-matching hits to consider" | |
32 help="(--maxrejects)"/> | |
33 </xml> | |
34 <xml name="qmask"> | |
35 <param name="qmask" type="select" label="Mask sequences" help="(--qmask)"> | |
1
8c4e2933a17a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vsearch commit 95732e013ec4dfe5dae0b9ed81e9d7710cbaed9d
iuc
parents:
0
diff
changeset
|
36 <option value="none">No masking</option> |
0 | 37 <option value="dust" selected="True">dust</option> |
38 <option value="soft">soft</option> | |
39 </param> | |
40 </xml> | |
41 | |
42 <xml name="hardmask"> | |
5
b3c7199d8786
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vsearch commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
4
diff
changeset
|
43 <param name="hardmask" type="boolean" truevalue="--hardmask" falsevalue="" checked="False" |
0 | 44 label="Mask by replacing with N instead of lower case" help="(--hardmask)"/> |
45 </xml> | |
46 | |
47 <xml name="id_and_iddef"> | |
48 <param name="iddef" type="select" label="ID definition" help="(--iddef)"> | |
49 <option value="0">CD-HIT</option> | |
50 <option value="1">all</option> | |
51 <option value="2" selected="True">int</option> | |
52 <option value="3">MBL</option> | |
53 <option value="4">BLAST</option> | |
54 </param> | |
55 <param name="id" type="float" value="" optional="True" label="Reject hit if identity is lower than this value" | |
56 help="(--id)"/> | |
57 </xml> | |
58 | |
59 <xml name="self_and_selfid"> | |
5
b3c7199d8786
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vsearch commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
4
diff
changeset
|
60 <param name="self_param" type="boolean" truevalue="--self" falsevalue="" checked="False" |
0 | 61 label="Exclude identical labels for --uchime_ref" help="(--self)"/> |
5
b3c7199d8786
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vsearch commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
4
diff
changeset
|
62 <param name="selfid_param" type="boolean" truevalue="--selfid" falsevalue="" checked="False" |
0 | 63 label="Exclude identical sequences for --uchime_ref" help="(--selfid)"/> |
64 </xml> | |
65 | |
66 <xml name="strand"> | |
67 <param name="strand" type="select" label="Strand specific clustering" help="(--strand)"> | |
68 <option value="plus" selected="True">Plus strand</option> | |
69 <option value="both">Both strands</option> | |
70 </param> | |
71 </xml> | |
72 | |
73 <xml name="sizein"> | |
5
b3c7199d8786
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vsearch commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
4
diff
changeset
|
74 <param name="sizein" type="boolean" truevalue="--sizein" falsevalue="" checked="False" |
0 | 75 label="Read abundance annotation from input" help="(--sizein)"/> |
76 </xml> | |
77 | |
78 <xml name="sizeout"> | |
5
b3c7199d8786
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vsearch commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
4
diff
changeset
|
79 <param name="sizeout" type="boolean" truevalue="--sizeout" falsevalue="" checked="False" |
0 | 80 label="Write cluster abundances to centroid file" help="(--sizeout)"/> |
81 </xml> | |
82 | |
83 <xml name="uclust_like_output"> | |
5
b3c7199d8786
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vsearch commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
4
diff
changeset
|
84 <param name="uc" type="boolean" truevalue="--uc" falsevalue="" checked="False" |
0 | 85 label="UCLUST-like output" help="(--uc)"/> |
86 </xml> | |
87 | |
88 <token name="@GENERAL@"> | |
89 --threads "\${GALAXY_SLOTS:-4}" | |
90 --notrunclabels | |
91 </token> | |
92 <token name="@USERFIELDS@"> | |
93 #if $userfields_output.userfields_output_select == 'yes': | |
94 --userfields '#echo '+'.join( str($userfields_output.userfields).split(',') )#' | |
95 --userout $userout | |
96 #end if | |
97 </token> | |
98 <xml name="userfields_output"> | |
99 <data name="userout" format="tabular" label="${tool.name} on ${on_string}: tabular output"> | |
100 <filter>userfields_output.userfields_output_select == 'yes'</filter> | |
101 </data> | |
102 </xml> | |
103 | |
104 <xml name="userfields"> | |
105 <conditional name="userfields_output"> | |
106 <param name="userfields_output_select" type="select" label="User defined tabular output" help="(--userfields)"> | |
107 <option value="yes">Yes</option> | |
108 <option value="no" selected="True">No</option> | |
109 </param> | |
110 <when value="yes"> | |
111 <param name="userfields" type="select" multiple="True" label="Fields in tabular output" help="For more information about the columns please scroll down to the tool help. (--userfields)"> | |
112 <option value="aln">Print a string of M (match), D (delete, i.e. a gap in the query) and I (insert, i.e. a gap in the target) representing the pairwise alignment</option> | |
113 <option value="alnlen">Print the length of the query-target alignment (number of columns)</option> | |
114 <option value="bits">Bit score (not computed for nucleotide alignments)</option> | |
115 <option value="caln">Compact representation of the pairwise alignment using the CIGAR format (Compact Idiosyncratic Gapped Alignment Report): M (match), D (deletion) and I (insertion)</option> | |
116 <option value="evalue" selected="True">E-value (not computed for nucleotide alignments)</option> | |
117 <option value="exts">Number of columns containing a gap extension (zero or positive integer value)</option> | |
118 <option value="gaps">Number of columns containing a gap (zero or positive integer value)</option> | |
119 <option value="id">Percentage of identity</option> | |
120 <option value="id0">CD-HIT definition of the percentage of identity</option> | |
121 <option value="id1">The percentage of identity</option> | |
122 <option value="id2">The percentage of identity</option> | |
123 <option value="id3">Marine Biological Lab definition of the percentage of identity</option> | |
124 <option value="id4">BLAST definition of the percentage of identity</option> | |
125 <option value="ids">Number of matches in the alignment</option> | |
126 <option value="mism">Number of mismatches in the alignment</option> | |
127 <option value="opens">Number of columns containing a gap opening</option> | |
128 <option value="pairs">Number of columns containing only nucleotides</option> | |
129 <option value="pctgaps">Number of columns containing gaps expressed as a percentage of the alignment length</option> | |
130 <option value="pctpv">Percentage of positive columns. When working with nucleotide sequences, this is equivalent to the percentage of matches</option> | |
131 <option value="pv">Number of positive columns. When working with nucleotide sequences, this is equivalent to the number of matches</option> | |
132 <option value="qcov">Fraction of the query sequence that is aligned with the target sequence</option> | |
133 <option value="qframe">Query frame (-3 to +3). That field only concerns coding sequences and is not computed by vsearch</option> | |
134 <option value="qhi">Last nucleotide of the query aligned with the target</option> | |
135 <option value="qihi">Last nucleotide of the query aligned with the target</option> | |
136 <option value="qilo">First nucleotide of the query aligned with the target</option> | |
137 <option value="ql">Query sequence length</option> | |
138 <option value="qlo">First nucleotide of the query aligned with the target</option> | |
139 <option value="qrow">Print the sequence of the query segment as seen in the pairwise alignment</option> | |
140 <option value="qs">Query segment length</option> | |
141 <option value="qstrand">Query strand orientation (+ or - for nucleotide sequences)</option> | |
142 <option value="query" selected="True">Query label</option> | |
143 <option value="raw">Raw alignment score (negative, null or positive integer value)</option> | |
144 <option value="target" selected="True">Target label</option> | |
145 <option value="tcov">Fraction of the target sequence that is aligned with the query sequence</option> | |
146 <option value="tframe">Target frame (-3 to +3) - not computed by vsearch</option> | |
147 <option value="thi">Last nucleotide of the target aligned with the query</option> | |
148 <option value="tihi">Last nucleotide of the target aligned with the query (ignoring terminal gaps)</option> | |
149 <option value="tilo">First nucleotide of the target aligned with the query (ignoring initial gaps)</option> | |
150 <option value="tl">Target sequence length (positive integer value)</option> | |
151 <option value="tlo">First nucleotide of the target aligned with the query</option> | |
152 <option value="trow">Print the sequence of the target segment as seen in the pairwise alignment</option> | |
153 <option value="ts">Target segment length</option> | |
154 <option value="tstrand">Target strand orientation (+ or - for nucleotide sequences)</option> | |
155 </param> | |
156 </when> | |
157 <when value="no" /> | |
158 </conditional> | |
159 </xml> | |
160 | |
161 <xml name="general_output"> | |
4
576963db5f1b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vsearch commit 89e3a62dd6cbc8bcec84d08c1710bfb4e7f5938f
iuc
parents:
3
diff
changeset
|
162 <param name="outputs" type="select" multiple="True" optional="false" label="Select output files" help=""> |
0 | 163 <option value="--alnout">Human-readable alignment output</option> |
164 <option value="--blast6out" selected="True">Blast-like tab-separated output</option> | |
165 <option value="--fastapairs">Write query/target pairs of sequences</option> | |
166 <yield/> | |
167 </param> | |
168 </xml> | |
169 | |
170 <token name="@EXTERNAL_DOCUMENTATION@"> | |
171 <![CDATA[ | |
172 | |
5
b3c7199d8786
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vsearch commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
4
diff
changeset
|
173 For details about this tool, please refer to the `GitHub repository <https://github.com/torognes/vsearch>`_ or the `vsearch manual <https://github.com/torognes/vsearch/releases/download/v2.8.3/vsearch_manual.pdf>`_. |
0 | 174 |
175 ]]> | |
176 </token> | |
177 <token name="@USERFIELDS_HELP@"> | |
178 **Available fields in user defined tabular output** | |
179 | |
180 ========= ================ | |
181 Key Description | |
182 ========= ================ | |
183 aln Print a string of M (match), D (delete, i.e. a gap in the query) and I (insert, i.e. a gap in the target) representing the pairwise alignment. Empty field if there is no alignment. | |
184 alnlen Print the length of the query-target alignment (number of columns). The field is set to 0 if there is no alignment. | |
185 bits Bit score (not computed for nucleotide alignments). Always set to 0. | |
186 caln Compact representation of the pairwise alignment using the CIGAR format (Compact Idiosyncratic Gapped Alignment Report): M (match), D (deletion) and I (insertion). Empty field if there is no alignment. | |
187 evalue E-value (not computed for nucleotide alignments). Always set to -1. | |
188 exts Number of columns containing a gap extension (zero or positive integer value). | |
189 gaps Number of columns containing a gap (zero or positive integer value). | |
190 id Percentage of identity (real value ranging from 0.0 to 100.0). The percentage identity is defined as 100 * (matching columns) / (alignment length - terminal gaps). | |
191 id0 CD-HIT definition of the percentage of identity (real value ranging from 0.0 to 100.0) using the length of the shortest sequence in the pairwise alignment as denominator: 100 * (matching columns) / (shortest sequence length). | |
192 id1 The percentage of identity (real value ranging from 0.0 to 100.0) is defined as the edit distance: 100 * (matching columns) / (alignment length). | |
193 id2 The percentage of identity (real value ranging from 0.0 to 100.0) is defined as the edit distance, excluding terminal gaps. The field id2 is an alias for the field id. | |
194 id3 Marine Biological Lab definition of the percentage of identity (real value ranging from 0.0 to 100.0), counting each extended gap (internal or terminal) as a single difference and using the length of the longest sequence in the pairwise alignment as denominator: 100 * (1.0 - [(mismatches + gaps) / (longest sequence length)]). | |
195 id4 BLAST definition of the percentage of identity (real value ranging from 0.0 to 100.0), equivalent to −−iddef 2 in a context of global pairwise alignment. | |
196 ids Number of matches in the alignment (zero or positive integer value). | |
197 mism Number of mismatches in the alignment (zero or positive integer value). | |
198 opens Number of columns containing a gap opening (zero or positive integer value). | |
199 pairs Number of columns containing only nucleotides. That value corresponds to the length of the alignment minus the gap-containing columns (zero or positive integer value). | |
200 pctgaps Number of columns containing gaps expressed as a percentage of the alignment length (real value ranging from 0.0 to 100.0). | |
201 pctpv Percentage of positive columns. When working with nucleotide sequences, this is equivalent to the percentage of matches (real value ranging from 0.0 to 100.0). | |
202 pv Number of positive columns. When working with nucleotide sequences, this is equivalent to the number of matches (zero or positive integer value). | |
203 qcov Fraction of the query sequence that is aligned with the target sequence (real value ranging from 0.0 to 100.0). The query coverage is computed as 100.0 * (matches + mismatches) / query sequence length. Internal or terminal gaps are not taken into account. The field is set to 0.0 if there is no alignment. | |
204 qframe Query frame (-3 to +3). That field only concerns coding sequences and is not computed by vsearch. Always set to +0. | |
205 qhi Last nucleotide of the query aligned with the target. Always equal to the length of the pairwise alignment. The field is set to 0 if there is no alignment. | |
206 qihi Last nucleotide of the query aligned with the target (ignoring terminal gaps). Nucleotide numbering starts from 1. The field is set to 0 if there is no alignment. | |
207 qilo First nucleotide of the query aligned with the target (ignoring initial gaps). Nucleotide numbering starts from 1. The field is set to 0 if there is no alignment. | |
208 ql Query sequence length (positive integer value). The field is set to 0 if there is no alignment. | |
209 qlo First nucleotide of the query aligned with the target. Always equal to 1 if there is an alignment, 0 otherwise. | |
210 qrow Print the sequence of the query segment as seen in the pairwise alignment (i.e. with gap insertions if need be). Empty field if there is no alignment. | |
211 qs Query segment length. Always equal to query sequence length. | |
212 qstrand Query strand orientation (+ or - for nucleotide sequences). Empty field if there is no alignment. | |
213 query Query label. | |
214 raw Raw alignment score (negative, null or positive integer value). The score is the sum of match rewards minus mismatch penalties, gap openings and gap extensions. The field is set to 0 if there is no alignment. | |
215 target Target label. The field is set to "*" if there is no alignment. | |
216 tcov Fraction of the target sequence that is aligned with the query sequence (real value rang-ing from 0.0 to 100.0). The target coverage is computed as 100.0 * (matches + mis-matches) / target sequence length. Internal or terminal gaps are not taken into account. The field is set to 0.0 if there is no alignment. | |
217 tframe Target frame (-3 to +3). That field only concerns coding sequences and is not computed by vsearch. Always set to +0. | |
218 thi Last nucleotide of the target aligned with the query. Always equal to the length of the pairwise alignment. The field is set to 0 if there is no alignment. | |
219 tihi Last nucleotide of the target aligned with the query (ignoring terminal gaps). Nucleotide numbering starts from 1. The field is set to 0 if there is no alignment. | |
220 tilo First nucleotide of the target aligned with the query (ignoring initial gaps). Nucleotide numbering starts from 1. The field is set to 0 if there is no alignment. | |
221 tl Target sequence length (positive integer value). The field is set to 0 if there is no alignment. | |
222 tlo First nucleotide of the target aligned with the query. Always equal to 1 if there is an alignment, 0 otherwise. | |
223 trow Print the sequence of the target segment as seen in the pairwise alignment (i.e. with gap insertions if need be). Empty field if there is no alignment. | |
224 ts Target segment length. Always equal to target sequence length. The field is set to 0 if there is no alignment. | |
225 tstrand Target strand orientation (+ or - for nucleotide sequences). Always set to "+", so reverse strand matches have tstrand "+" and qstrand "-". Empty field if there is no alignment. | |
226 ========= ================ | |
227 | |
228 </token> | |
229 <xml name="citations"> | |
230 <citations> | |
231 <citation type="doi">10.5281/zenodo.15524</citation> | |
232 <yield /> | |
233 </citations> | |
234 </xml> | |
235 </macros> |