Mercurial > repos > bgruening > sqlite_merger
changeset 0:4e95f3a9ff1b draft
Uploaded
author | bgruening |
---|---|
date | Mon, 11 Aug 2014 17:27:37 -0400 |
parents | |
children | 101c76d0e9c1 |
files | sqlite_merger.xml tool_dependencies.xml |
diffstat | 2 files changed, 47 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sqlite_merger.xml Mon Aug 11 17:27:37 2014 -0400 @@ -0,0 +1,41 @@ +<tool id="sqlite_merger" name="Merge SQLite" version="0.0.1"> + <description>databases</description> + <requirements> + <requirement type="package" version="3.8.3">sqlite</requirement> + </requirements>sqlite3 --version | awk '{print $1;}'</version_command> + <command> +<![CDATA[ + #for $inputfile in $inputfiles: + sqlite3 $inputfile .dump >> dump; + #end for + sqlite3 $outfile < dump +]]> + </command> + <stdio> + <exit_code range="1:" /> + <exit_code range=":-1" /> + <regex match="Error:" /> + <regex match="Exception:" /> + </stdio> + <inputs> + <repeat name="inputfiles" title="SQLite databases" min="2"> + <param name="infile" type="data" format="sqlite" label="GEMINI database" /> + </repeat> + </inputs> + <outputs> + <data name="outfile" format="sqlite" label="${tool.name} on ${on_string}" /> + </outputs> + <tests> + <test> + </test> + </tests> + <help> + +**What it does** + +This tool merges several SQLite databases into one. + +http://www.sqlite.org/ + + </help> +</tool>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Mon Aug 11 17:27:37 2014 -0400 @@ -0,0 +1,6 @@ +<?xml version="1.0"?> +<tool_dependency> + <package name="sqlite" version="3.8.3"> + <repository changeset_revision="e3729818491f" name="package_sqlite_3_8_3" owner="iuc" toolshed="https://testtoolshed.g2.bx.psu.edu" /> + </package> +</tool_dependency>