annotate pg-import.xml @ 0:2c43bac3579f draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
author bgruening
date Wed, 24 Apr 2019 06:11:25 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
1 <tool id="pg_import" name="Postgresql" version="@PG_VERSION@">
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
2 <description>import sql dump</description>
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
3 <macros>
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
4 <import>macros.xml</import>
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
5 </macros>
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
6 <expand macro="requirements" />
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
7 <command detect_errors="aggressive"><![CDATA[
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
8 @PG_SETUP@ &&
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
9 ls -l ./postgresql &&
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
10 @PSQL@ -f '$infile' -L logfile.log &&
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
11 @PG_STOP@ &&
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
12 @ARCHIVE_DATABASE@ &&
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
13 cat logfile.log
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
14 ]]>
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
15 </command>
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
16 <inputs>
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
17 <param format="txt" name="infile" type="data" label="Input SQL dump" />
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
18 </inputs>
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
19 <outputs>
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
20 <data format="postgresql" name="outfile" from_work_dir="postgresql_out.tar.bz2" />
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
21 </outputs>
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
22 <tests>
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
23 <test>
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
24 <param name="infile" value="init-galaxy-db.sql.in" ftype="txt" />
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
25 <output file="pg_import_result1.pg.tar.bz2" name="outfile" ftype="postgresql" compare="sim_size" delta="200000" />
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
26 </test>
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
27 </tests>
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
28 <help>
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
29 <![CDATA[
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
30
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
31 @HELP_FOOTER@
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
32
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
33 ]]>
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
34 </help>
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
35 <expand macro="citations" />
2c43bac3579f planemo upload for repository https://github.com/bgruening/galaxytools/tools/pgtools commit ab93c4c70fa487e55a24863a7786e102e7d92272
bgruening
parents:
diff changeset
36 </tool>