|
0
|
1 <tool id="vl_import_data_object" name="VLI.data_object">
|
|
|
2 <description>import DataObject definitions within omero/vl</description>
|
|
|
3 <command interpreter="bash">
|
|
|
4 launcher.sh
|
|
|
5 --interpreter=python
|
|
|
6 --runner=importer.py
|
|
|
7 --host=$__user_omero_host__
|
|
|
8 --user=$__user_omero_user__
|
|
|
9 --passwd=$__user_omero_password__
|
|
|
10 --operator=$__user_email__
|
|
|
11 --ifile=${input}
|
|
|
12 --ofile=${output}
|
|
|
13 --report_file=${report}
|
|
|
14 --logfile=${logfile}
|
|
|
15 #if $blocking_validation
|
|
|
16 --blocking-validator
|
|
|
17 #end if
|
|
|
18 data_object
|
|
|
19 #if str($study) != 'use_provided'
|
|
|
20 --study ${study}
|
|
|
21 #end if
|
|
|
22 #if str($mimetype) != 'use_provided'
|
|
|
23 --mimetype=${mimetype}
|
|
|
24 #end if
|
|
|
25 </command>
|
|
|
26
|
|
|
27 <inputs>
|
|
|
28 <param format="tabular" name="input" type="data"
|
|
|
29 label="A tabular dataset with the following columns ..."/>
|
|
|
30
|
|
|
31 <param name="study" type="select" label="Context study" ajax = "True" ajax-source = "galaxy/get/studies" sort="True"
|
|
|
32 help="Choose from the already defined studies. See below.">
|
|
|
33 <option value="use_provided" selected="true">Records provide study labels</option>
|
|
|
34 </param>
|
|
|
35
|
|
|
36 <param name="mimetype" type="select"
|
|
|
37 label="mimetype for the data object."
|
|
|
38 help="Choose from the following. See below.">
|
|
|
39 <option value="use_provided" selected="true">
|
|
|
40 Use record provided</option>
|
|
|
41 <option value="x-vl/affymetrix-cel">x-vl/affymetrix-cel</option>
|
|
|
42 </param>
|
|
|
43
|
|
|
44 <!-- ************************************************** -->
|
|
|
45 <param name="blocking_validation" type="boolean" checked="false"
|
|
|
46 label="Blocking validation"
|
|
|
47 help="When this check is enabled, if at least one record doesn't pass importer's validation, the entire import procedure will be blocked"/>
|
|
|
48
|
|
|
49 <conditional name="wait_for_trigger">
|
|
|
50 <param name="enable_trigger" type="boolean" checked="false"
|
|
|
51 label="Wait for another tool to end before running this tool"/>
|
|
|
52 <when value="true">
|
|
|
53 <param format="txt" name="trigger_file" type="data"
|
|
|
54 label="Select the LOG file that will be used as trigger"/>
|
|
|
55 </when>
|
|
|
56 </conditional>
|
|
|
57
|
|
|
58 </inputs>
|
|
|
59
|
|
|
60 <outputs>
|
|
|
61 <data format="tabular" name="output" label="${tool.name}.mapping"/>
|
|
|
62 <data format="tabular" name="report" label="${tool.name}.report"/>
|
|
|
63 <data format="txt" name="logfile" label="${tool.name}.logfile"/>
|
|
|
64 </outputs>
|
|
|
65
|
|
|
66 <stdio>
|
|
|
67 <exit_code range="1:" level="fatal" />
|
|
|
68 </stdio>
|
|
|
69
|
|
|
70 <help>
|
|
|
71 Will read in a tsv file with the following columns::
|
|
|
72
|
|
|
73 study path data_sample mimetype size sha1
|
|
|
74
|
|
|
75 TEST01 file:/share/fs/v039303.cel V2902 x-vl/affymetrix-cel 39090 E909090
|
|
|
76 ....
|
|
|
77
|
|
|
78 Records that point to an unknown data sample will be noisily
|
|
|
79 ignored. The same will happen to records that have the same path of a
|
|
|
80 previously seen data_object
|
|
|
81 </help>
|
|
|
82 </tool>
|