Mercurial > repos > iuc > vsearch
annotate vsearch_macros.xml @ 3:4258854759ba draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vsearch commit 29f6e6424a37947adbe1eba92f0e7d3c83efc042-dirty
author | iuc |
---|---|
date | Tue, 01 Mar 2016 07:07:03 -0500 |
parents | f29e21388219 |
children | 576963db5f1b |
rev | line source |
---|---|
0 | 1 <macros> |
2 <xml name="requirements"> | |
3 <requirements> | |
3
4258854759ba
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vsearch commit 29f6e6424a37947adbe1eba92f0e7d3c83efc042-dirty
iuc
parents:
2
diff
changeset
|
4 <requirement type="package" version="1.9.7">vsearch</requirement> |
0 | 5 </requirements> |
6 </xml> | |
3
4258854759ba
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vsearch commit 29f6e6424a37947adbe1eba92f0e7d3c83efc042-dirty
iuc
parents:
2
diff
changeset
|
7 <token name="@VERSION@">1.9.7</token> |
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"> | |
43 <param name="hardmask" type="boolean" truevalue="--hardmask" falsevalue="" checked="False" | |
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"> | |
60 <param name="self_param" type="boolean" truevalue="--self" falsevalue="" checked="False" | |
61 label="Exclude identical labels for --uchime_ref" help="(--self)"/> | |
62 <param name="selfid_param" type="boolean" truevalue="--selfid" falsevalue="" checked="False" | |
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"> | |
74 <param name="sizein" type="boolean" truevalue="--sizein" falsevalue="" checked="False" | |
75 label="Read abundance annotation from input" help="(--sizein)"/> | |
76 </xml> | |
77 | |
78 <xml name="sizeout"> | |
79 <param name="sizeout" type="boolean" truevalue="--sizeout" falsevalue="" checked="False" | |
80 label="Write cluster abundances to centroid file" help="(--sizeout)"/> | |
81 </xml> | |
82 | |
83 <xml name="uclust_like_output"> | |
84 <param name="uc" type="boolean" truevalue="--uc" falsevalue="" checked="False" | |
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"> | |
162 <param name="outputs" type="select" multiple="True" label="Select output files" help=""> | |
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 <validator type="no_options" message="Please select at least one output." /> | |
168 </param> | |
169 </xml> | |
170 | |
171 <token name="@EXTERNAL_DOCUMENTATION@"> | |
172 <![CDATA[ | |
173 | |
174 For details about this tool, please refer to the `github account <https://github.com/torognes/vsearch>`_ or the `vsearch manual <https://github.com/torognes/vsearch/raw/master/doc/vsearch_manual.pdf>`_. | |
175 | |
176 ]]> | |
177 </token> | |
178 <token name="@USERFIELDS_HELP@"> | |
179 **Available fields in user defined tabular output** | |
180 | |
181 ========= ================ | |
182 Key Description | |
183 ========= ================ | |
184 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. | |
185 alnlen Print the length of the query-target alignment (number of columns). The field is set to 0 if there is no alignment. | |
186 bits Bit score (not computed for nucleotide alignments). Always set to 0. | |
187 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. | |
188 evalue E-value (not computed for nucleotide alignments). Always set to -1. | |
189 exts Number of columns containing a gap extension (zero or positive integer value). | |
190 gaps Number of columns containing a gap (zero or positive integer value). | |
191 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). | |
192 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). | |
193 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). | |
194 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. | |
195 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)]). | |
196 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. | |
197 ids Number of matches in the alignment (zero or positive integer value). | |
198 mism Number of mismatches in the alignment (zero or positive integer value). | |
199 opens Number of columns containing a gap opening (zero or positive integer value). | |
200 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). | |
201 pctgaps Number of columns containing gaps expressed as a percentage of the alignment length (real value ranging from 0.0 to 100.0). | |
202 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). | |
203 pv Number of positive columns. When working with nucleotide sequences, this is equivalent to the number of matches (zero or positive integer value). | |
204 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. | |
205 qframe Query frame (-3 to +3). That field only concerns coding sequences and is not computed by vsearch. Always set to +0. | |
206 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. | |
207 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. | |
208 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. | |
209 ql Query sequence length (positive integer value). The field is set to 0 if there is no alignment. | |
210 qlo First nucleotide of the query aligned with the target. Always equal to 1 if there is an alignment, 0 otherwise. | |
211 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. | |
212 qs Query segment length. Always equal to query sequence length. | |
213 qstrand Query strand orientation (+ or - for nucleotide sequences). Empty field if there is no alignment. | |
214 query Query label. | |
215 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. | |
216 target Target label. The field is set to "*" if there is no alignment. | |
217 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. | |
218 tframe Target frame (-3 to +3). That field only concerns coding sequences and is not computed by vsearch. Always set to +0. | |
219 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. | |
220 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. | |
221 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. | |
222 tl Target sequence length (positive integer value). The field is set to 0 if there is no alignment. | |
223 tlo First nucleotide of the target aligned with the query. Always equal to 1 if there is an alignment, 0 otherwise. | |
224 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. | |
225 ts Target segment length. Always equal to target sequence length. The field is set to 0 if there is no alignment. | |
226 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. | |
227 ========= ================ | |
228 | |
229 </token> | |
230 <xml name="citations"> | |
231 <citations> | |
232 <citation type="doi">10.5281/zenodo.15524</citation> | |
233 <yield /> | |
234 </citations> | |
235 </xml> | |
236 </macros> |