Mercurial > repos > iuc > sqlite_to_tabular
comparison sqlite_to_tabular.xml @ 1:89d898454f1e draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/query_tabular commit 81f69ad5f39223059c40501e55ac777d3feca845
| author | iuc |
|---|---|
| date | Fri, 18 Aug 2017 16:47:20 -0400 |
| parents | c866ec050312 |
| children | 27625fe9f33b |
comparison
equal
deleted
inserted
replaced
| 0:c866ec050312 | 1:89d898454f1e |
|---|---|
| 1 <?xml version="1.0"?> | 1 <?xml version="1.0"?> |
| 2 <tool id="sqlite_to_tabular" name="SQLite to tabular" version="1.0.0"> | 2 <tool id="sqlite_to_tabular" name="SQLite to tabular" version="2.0.0"> |
| 3 <description>for SQL query</description> | 3 <description>for SQL query</description> |
| 4 | 4 |
| 5 <macros> | 5 <macros> |
| 6 <import>macros.xml</import> | 6 <import>macros.xml</import> |
| 7 </macros> | 7 </macros> |
| 8 | 8 |
| 9 <command detect_errors="exit_code"><![CDATA[ | 9 <command detect_errors="exit_code"><![CDATA[ |
| 10 python '$__tool_directory__/sqlite_to_tabular.py' | 10 python '$__tool_directory__/sqlite_to_tabular.py' |
| 11 --sqlitedb='$sqlitedb' | 11 --sqlitedb='$sqlitedb' |
| 12 --query_file='$query_file' | 12 --query_file='$query_file' |
| 13 $no_header | 13 @RESULT_HEADER@ |
| 14 --output='$query_results' | 14 --output='$query_results' |
| 15 ]]></command> | 15 ]]></command> |
| 16 <configfiles> | 16 <configfiles> |
| 17 <configfile name="query_file"> | 17 <configfile name="query_file"> |
| 18 $sqlquery | 18 $sqlquery |
| 22 <param name="sqlitedb" type="data" format="sqlite" label="SQLite Database"/> | 22 <param name="sqlitedb" type="data" format="sqlite" label="SQLite Database"/> |
| 23 <param name="sqlquery" type="text" area="True" size="120x20" label="SQL query"> | 23 <param name="sqlquery" type="text" area="True" size="120x20" label="SQL query"> |
| 24 <validator type="regex">(?ims)^\s*SELECT\s.*\sFROM\s.*$</validator> | 24 <validator type="regex">(?ims)^\s*SELECT\s.*\sFROM\s.*$</validator> |
| 25 <sanitizer sanitize="False"/> | 25 <sanitizer sanitize="False"/> |
| 26 </param> | 26 </param> |
| 27 <param name="no_header" type="boolean" truevalue="-n" falsevalue="" checked="False" label="Omit column headers"/> | 27 <expand macro="result_results_header_line" /> |
| 28 </inputs> | 28 </inputs> |
| 29 <outputs> | 29 <outputs> |
| 30 <data name="query_results" format="tabular" /> | 30 <data name="query_results" format="tabular" /> |
| 31 </outputs> | 31 </outputs> |
| 32 <tests> | 32 <tests> |
