comparison data_manager/data_manager_manual.xml @ 0:81ed42c0721a draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_manual commit 9f2cdfc1302dce000f9a86d13d4af204cf1dc89d
author iuc
date Sun, 14 Jan 2018 09:52:16 -0500
parents
children 1ed87dee9e68
comparison
equal deleted inserted replaced
-1:000000000000 0:81ed42c0721a
1 <tool id="data_manager_manual" name="Manual Data Manager" version="0.0.1" tool_type="manage_data">
2 <options sanitize="False" />
3 <description>Entry Builder</description>
4 <command detect_errors="exit_code"><![CDATA[
5 python '$__tool_directory__/data_manager_manual.py'
6 '${out_file}'
7 --galaxy_data_manager_data_path '${__app__.config.galaxy_data_manager_data_path}'
8 ]]></command>
9 <inputs>
10 <repeat name="data_tables" title="Data Table to define" min="1">
11 <param name="data_table_name" type="select" multiple="False" optional="False" label="Choose Desired Data Table"
12 dynamic_options="galaxy_code_get_available_data_tables( __trans__ )" refresh_on_change="True"/>
13 <repeat name="columns" title="Table Columns" min="1">
14 <param name="data_table_column_name" type="select" multiple="False" optional="False" label="Column Name"
15 dynamic_options="galaxy_code_get_available_data_table_columns( __trans__, data_table_name )" />
16 <!-- <param name="data_table_column_name" type="text" label="Column Name"/> -->
17 <param name="data_table_column_value" type="text" label="Value to use for data table column"/>
18 <conditional name="is_path">
19 <param name="is_path_selector" type="select" label="Value is a path">
20 <option value="yes">Yes</option>
21 <option value="no" selected="True">No</option>
22 </param>
23 <when value="yes">
24 <param name="abspath" type="boolean" label="Apply abspath" checked="True" truevalue="abspath" falsevalue="" />
25 </when>
26 <when value="no"/>
27 </conditional>
28 </repeat>
29 </repeat>
30 <repeat name="directory_content" title="Directory Content">
31 <param name="subdir" type="text" label="Place in Subdirectory" value=""/>
32 <conditional name="file_source">
33 <param name="file_source_selector" type="select" label="File Content Source">
34 <option value="history">History Item</option>
35 <option value="URL" selected="True">URL</option>
36 </param>
37 <when value="history">
38 <param name="file_history" type="data" multiple="false" optional="false" format="data" label="File from history" />
39 </when>
40 <when value="URL">
41 <param name="file_URL" type="text" label="Fetch from URL" value=""/>
42 </when>
43 </conditional>
44 <conditional name="file_action">
45 <param name="file_action_selector" type="select" label="File Actions">
46 <option value="unpack">Extract Archive</option>
47 <option value="None" selected="True">None</option>
48 </param>
49 <when value="None">
50 <param name="filename_override" type="text" label="Override with Filename" value=""/>
51 </when>
52 <when value="unpack">
53 </when>
54 </conditional>
55 </repeat>
56 </inputs>
57 <outputs>
58 <data name="out_file" format="data_manager_json" dbkey="dbkey"/>
59 </outputs>
60 <tests>
61 </tests>
62 <help>
63 **What it does**
64
65 This tool allows manually specifying data table entries and optionally providing filesystem contents.
66
67 </help>
68 <code file="data_manager_manual.py" />
69 </tool>