Mercurial > repos > devteam > column_maker
comparison column_maker.xml @ 10:beec6ecc7d3c draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/column_maker commit 06a92568f3409b035fd8a08725db20933d8d15e6
author | iuc |
---|---|
date | Thu, 22 Aug 2024 08:25:32 +0000 |
parents | 33b81f9ea109 |
children |
comparison
equal
deleted
inserted
replaced
9:33b81f9ea109 | 10:beec6ecc7d3c |
---|---|
1 <tool id="Add_a_column1" name="Compute" version="2.0"> | 1 <tool id="Add_a_column1" name="Compute" version="2.1" profile="23.0"> |
2 <description>on rows</description> | 2 <description>on rows</description> |
3 <macros> | 3 <macros> |
4 <xml name="compute_repeat"> | 4 <xml name="compute_repeat"> |
5 <repeat name="expressions" title="Expressions" min="1" default="1"> | 5 <repeat name="expressions" title="Expressions" min="1" default="1"> |
6 <param name="cond" type="text" value="c3-c2" label="Add expression"> | 6 <param name="cond" type="text" value="c3-c2" label="Add expression"> |
32 <yield /> | 32 <yield /> |
33 </repeat> | 33 </repeat> |
34 </xml> | 34 </xml> |
35 </macros> | 35 </macros> |
36 <requirements> | 36 <requirements> |
37 <requirement type="package" version="3.8">python</requirement> | 37 <requirement type="package" version="3.12">python</requirement> |
38 <requirement type="package" version="1.23.1">numpy</requirement> | 38 <requirement type="package" version="2.1.0">numpy</requirement> |
39 </requirements> | 39 </requirements> |
40 <command detect_errors="aggressive"><![CDATA[ | 40 <command detect_errors="aggressive"><![CDATA[ |
41 python '$__tool_directory__/column_maker.py' | 41 python '$__tool_directory__/column_maker.py' |
42 #if str($error_handling.auto_col_types) == 'on': | 42 #if str($error_handling.auto_col_types) == 'on': |
43 #set $col_types = $input.metadata.column_types | 43 #set $col_types = $input.metadata.column_types |
191 <param name="pos" value="1" /> | 191 <param name="pos" value="1" /> |
192 </conditional> | 192 </conditional> |
193 </repeat> | 193 </repeat> |
194 <output name="out_file1" file="column_maker_out4.tab" /> | 194 <output name="out_file1" file="column_maker_out4.tab" /> |
195 </test> | 195 </test> |
196 <test> | |
197 <param name="cond" value="cos(pi)+sin(tau)*c2"/> | |
198 <param name="input" value="1.bed" ftype="bed" /> | |
199 <output name="out_file1" file="column_maker_out5.interval"/> | |
200 </test> | |
196 <!-- Test list column type in input --> | 201 <!-- Test list column type in input --> |
197 <test> | 202 <test> |
198 <param name="input" value="bed12.bed" ftype="bed12" /> | 203 <param name="input" value="bed12.bed" ftype="bed12" /> |
199 <!-- get largest blocksize from column 11 of bed12 and use it as | 204 <!-- get largest blocksize from column 11 of bed12 and use it as |
200 new score value --> | 205 new score value --> |
309 | 314 |
310 - Columns are referenced with **c** and a **number**. For example, **c1** refers to the first column of a tab-delimited file | 315 - Columns are referenced with **c** and a **number**. For example, **c1** refers to the first column of a tab-delimited file |
311 | 316 |
312 - The following built-in Python functions are available for use in expressions:: | 317 - The following built-in Python functions are available for use in expressions:: |
313 | 318 |
314 abs | all | any | ascii | bin | bool | chr | ceil | complex | divmod | 319 abs | all | any | ascii | bin | bool | chr | complex | divmod | float | format | hex | int | len | list |
315 | 320 map | max | min | oct | ord | pow | range | reversed | round | set | sorted | str | sum | type |
316 exp | float | floor | format | hex | int | len | list | log | log10 | 321 |
317 | 322 acos | acosh | asin | asinh | atan | atan2 | atanh | cbrt | ceil | comb | copysign | cos | cosh | degrees |
318 list | map | max | min | oct | ord | pow | range | reversed | 323 dist | erf | erfc | exp | exp2 | expm1 | fabs | factorial | floor | fmod | frexp | fsum | gamma | gcd |
319 | 324 hypot | inf | isclose | isfinite | isinf | isnan | isqrt | ldexp | lgamma | log | log10 | log1p | log2 |
320 round | set | sorted | sqrt | str | sum | type | 325 modf | nextafter | perm | pow | prod | remainder | sin | sqrt | tan | tanh | tau | trunc | ulp |
321 | 326 |
322 - In addition the numpy function ``format_float_positional`` is available to | 327 - In addition the numpy function ``format_float_positional`` is available to |
323 control the formatting of floating point numbers. | 328 control the formatting of floating point numbers. |
324 | 329 |
325 - Expressions can be chained, and the tool will keep track of newly added | 330 - Expressions can be chained, and the tool will keep track of newly added |
432 | 437 |
433 **If an expression cannot be computed for a row**: `Fill in a replacement value` | 438 **If an expression cannot be computed for a row**: `Fill in a replacement value` |
434 | 439 |
435 **Replacement value**: `.` | 440 **Replacement value**: `.` |
436 ]]></help> | 441 ]]></help> |
437 <citations /> | 442 <citations> |
443 <citation type="doi">10.1093/nar/gkae410</citation> | |
444 </citations> | |
438 </tool> | 445 </tool> |