0
|
1 <tool id="data_manager_rsync_g2" name="Rsync with g2" version="0.0.1" tool_type="manage_data">
|
|
2 <options sanitize="False" />
|
|
3 <description>fetching</description>
|
|
4 <command interpreter="python">data_manager_rsync.py "${out_file}"</command>
|
|
5 <stdio>
|
|
6 <exit_code range="1:" err_level="fatal" />
|
|
7 <exit_code range=":-1" err_level="fatal" />
|
|
8 </stdio>
|
|
9 <inputs>
|
|
10
|
|
11 <param name="dbkey" type="genomebuild" label="dbkey to search for Reference Data" help="Specify ? to show all"/>
|
|
12
|
|
13 <param name="data_table_names" type="select" display="checkboxes" multiple="True" optional="True"
|
|
14 label="Choose Desired Data Tables" dynamic_options="galaxy_code_get_available_data_tables( __trans__ )"
|
|
15 refresh_on_change="dbkey"/>
|
|
16
|
|
17
|
|
18 <param name="data_table_entries" type="select" display="checkboxes" multiple="True" optional="False"
|
|
19 label="Choose Desired Data Tables Entries" dynamic_options="galaxy_code_get_available_data_tables_entries( __trans__, dbkey, data_table_names )"
|
|
20 refresh_on_change="dbkey"/>
|
|
21 </inputs>
|
|
22 <outputs>
|
|
23 <data name="out_file" format="data_manager_json" dbkey="dbkey"/>
|
|
24 </outputs>
|
|
25 <tests>
|
|
26 <test>
|
|
27 <param name="dbkey" value="sacCer2"/>
|
|
28 <param name="data_table_names" value="all_fasta"/>
|
|
29 <param name="data_table_entries" value="eyJlbnRyeSI6IHsicGF0aCI6ICIvZ2FsYXh5L2RhdGEvc2FjQ2VyMi9zZXEvc2FjQ2VyMi5mYSIs ICJkYmtleSI6ICJzYWNDZXIyIiwgInZhbHVlIjogInNhY0NlcjIiLCAibmFtZSI6ICJZZWFzdCAo U2FjY2hhcm9teWNlcyBjZXJldmlzaWFlKTogc2FjQ2VyMiJ9LCAibmFtZSI6ICJhbGxfZmFzdGEi fQ=="/>
|
|
30 <output name="out_file" file="sacCer2_rsync_all_fasta.data_manager_json"/>
|
|
31 </test>
|
|
32 </tests>
|
|
33 <help>
|
|
34 **What it does**
|
|
35
|
|
36 This tool connects to the Galaxy Project's rsync reference data repository to download data and populate tool data tables.
|
|
37
|
|
38 ------
|
|
39
|
|
40
|
|
41
|
|
42 .. class:: infomark
|
|
43
|
|
44 **Notice:** If you do not have a particular data table defined, then it will be created and persisted dynamically.
|
|
45
|
|
46 </help>
|
|
47 <code file="data_manager_rsync.py" />
|
|
48 </tool>
|