diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/data_manager/data_manager_manual.xml	Sun Jan 14 09:52:16 2018 -0500
@@ -0,0 +1,69 @@
+<tool id="data_manager_manual" name="Manual Data Manager" version="0.0.1" tool_type="manage_data">
+    <options sanitize="False" />
+    <description>Entry Builder</description>
+    <command detect_errors="exit_code"><![CDATA[
+        python '$__tool_directory__/data_manager_manual.py'
+        '${out_file}'
+        --galaxy_data_manager_data_path '${__app__.config.galaxy_data_manager_data_path}'
+    ]]></command>
+    <inputs>
+        <repeat name="data_tables" title="Data Table to define" min="1">
+            <param name="data_table_name" type="select" multiple="False" optional="False" label="Choose Desired Data Table"
+                dynamic_options="galaxy_code_get_available_data_tables( __trans__ )" refresh_on_change="True"/>
+        <repeat name="columns" title="Table Columns" min="1">
+            <param name="data_table_column_name" type="select" multiple="False" optional="False" label="Column Name"
+                dynamic_options="galaxy_code_get_available_data_table_columns( __trans__, data_table_name )" />
+            <!-- <param name="data_table_column_name" type="text" label="Column Name"/> -->
+            <param name="data_table_column_value" type="text" label="Value to use for data table column"/>
+            <conditional name="is_path">
+                <param name="is_path_selector" type="select" label="Value is a path">
+                    <option value="yes">Yes</option>
+                    <option value="no" selected="True">No</option>
+                </param>
+                <when value="yes">
+                    <param name="abspath" type="boolean" label="Apply abspath" checked="True" truevalue="abspath" falsevalue="" />
+                </when>
+                <when value="no"/>
+            </conditional>
+        </repeat>
+        </repeat>
+        <repeat name="directory_content" title="Directory Content">
+            <param name="subdir" type="text" label="Place in Subdirectory" value=""/>
+            <conditional name="file_source">
+                <param name="file_source_selector" type="select" label="File Content Source">
+                    <option value="history">History Item</option>
+                    <option value="URL" selected="True">URL</option>
+                </param>
+                <when value="history">
+                    <param name="file_history" type="data" multiple="false" optional="false" format="data" label="File from history" />
+                </when>
+                <when value="URL">
+                    <param name="file_URL" type="text" label="Fetch from URL" value=""/>
+                </when>
+            </conditional>
+            <conditional name="file_action">
+                <param name="file_action_selector" type="select" label="File Actions">
+                    <option value="unpack">Extract Archive</option>
+                    <option value="None" selected="True">None</option>
+                </param>
+                <when value="None">
+                    <param name="filename_override" type="text" label="Override with Filename" value=""/>
+                </when>
+                <when value="unpack">
+                </when>
+            </conditional>
+        </repeat>
+    </inputs>
+    <outputs>
+        <data name="out_file" format="data_manager_json" dbkey="dbkey"/>
+    </outputs>
+    <tests>
+    </tests>
+    <help>
+**What it does**
+
+This tool allows manually specifying data table entries and optionally providing filesystem contents.
+
+    </help>
+    <code file="data_manager_manual.py" />
+</tool>