Mercurial > repos > simon-gladman > row_means
comparison row_means.xml @ 0:33493e25c51c draft default tip
Row means initial upload
| author | simon-gladman |
|---|---|
| date | Tue, 13 Nov 2018 20:31:41 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:33493e25c51c |
|---|---|
| 1 <tool id='row_means' name='Row Means' version="0.1"> | |
| 2 <description>Calculates the mean of a row of numbers for an entire table</description> | |
| 3 <version_command><![CDATA[ | |
| 4 python '${__tool_directory__}/means_by_row.py --version' | |
| 5 ]]></version_command> | |
| 6 <command detect_errors="exit_code"><![CDATA[ | |
| 7 python '${__tool_directory__}/means_by_row.py' | |
| 8 --infile '$input_table' | |
| 9 --outfile '$outfile' | |
| 10 --skip $skip_rows | |
| 11 ]]> | |
| 12 </command> | |
| 13 <inputs> | |
| 14 <param format="tabular" name="input_table" type="data" label="Input Table" help="Input tab delimited numeric table for which row means will be calculated"/> | |
| 15 <param type="integer" name="skip_rows" value="0" label="Number of header rows to skip" help="Skip this number of header rows in case they are header labels etc." /> | |
| 16 </inputs> | |
| 17 <outputs> | |
| 18 <data format="tabular" name="outfile"/> | |
| 19 </outputs> | |
| 20 <tests> | |
| 21 <test> | |
| 22 <param name='input_table' value='input.txt' /> | |
| 23 <output name='outfile' file='output.txt' /> | |
| 24 </test> | |
| 25 <test> | |
| 26 <param name='input_table' value='input.txt' /> | |
| 27 <param name='skip_rows' value="3" /> | |
| 28 <output name='outfile' file='skip_out.txt' /> | |
| 29 </test> | |
| 30 </tests> | |
| 31 <help><![CDATA[ | |
| 32 This tool outputs a list with the mean values of the rows of a numeric input table. | |
| 33 | |
| 34 It takes a tabular input of numeric data and can skip header rows if required. | |
| 35 | |
| 36 Non-numeric data or blanks are skipped and not included in mean calculations. | |
| 37 ]]> | |
| 38 </help> | |
| 39 <citations> | |
| 40 <citation type="bibtex"> | |
| 41 @UNPUBLISHED{Gladman2018, | |
| 42 author = {Simon Gladman and Mike Thang}, | |
| 43 title = {Row Mean: Calculates the mean of a row of numbers for an entire table}, | |
| 44 year = {2018}, | |
| 45 url = {https://github.com/gvlproject/galaxy-tools}, | |
| 46 } | |
| 47 </citation> | |
| 48 </citations> | |
| 49 </tool> |
