|
0
|
1 <tool id="vl_prepare_seq_dsample_inputs"
|
|
|
2 name="VLUTIL.prepare_seq_dsample_inputs">
|
|
|
3 <description>
|
|
|
4 Extract OMERO.biobank objects from a sequencing samplesheet
|
|
|
5 </description>
|
|
|
6
|
|
|
7 <command interpreter="bash">
|
|
|
8 launcher.sh
|
|
|
9 --interpreter=python
|
|
|
10 --runner=prepare_seq_dsample_inputs.py
|
|
|
11 --in-file=${infile}
|
|
|
12 --logfile=${log_file}
|
|
|
13 --tubes-out-file=${tubes_ofile}
|
|
|
14 --flowcells-out-file=${flowcells_ofile}
|
|
|
15 --lanes-out-file=${lanes_ofile}
|
|
|
16 --laneslots-out-file=${laneslots_ofile}
|
|
|
17 --config-parameters=${config_params}
|
|
|
18 --study-output-file=${study_ofile}
|
|
|
19 --tubes-subsamples-output-file=${subsamples_ofile}
|
|
|
20 </command>
|
|
|
21
|
|
|
22 <inputs>
|
|
|
23 <param format="tabular" name="infile" type="data"
|
|
|
24 label="Sampelsheet (in TAB-separated format)"/>
|
|
|
25 <param format="txt" name="config_params" type="data"
|
|
|
26 label="Configuration parameters" optional="false"/>
|
|
|
27 </inputs>
|
|
|
28
|
|
|
29 <outputs>
|
|
|
30 <data format="tabular" name="tubes_ofile"
|
|
|
31 label="${tool.name}_tubes.tsv"/>
|
|
|
32 <data format="tabular" name="subsamples_ofile"
|
|
|
33 label="${tool.name}_subsamples.tsv"/>
|
|
|
34 <data format="tabular" name="flowcells_ofile"
|
|
|
35 label="${tool.name}_flowcells.tsv"/>
|
|
|
36 <data format="tabular" name="lanes_ofile"
|
|
|
37 label="${tool.name}_lanes.tsv"/>
|
|
|
38 <data format="tabular" name="laneslots_ofile"
|
|
|
39 label="${tool.name}_laneslots.tsv"/>
|
|
|
40 <data format="tabular" name="study_ofile"
|
|
|
41 label="${tool.name}_study.tsv"/>
|
|
|
42 <data format="txt" name="log_file"
|
|
|
43 label="${tool.name}.log"/>
|
|
|
44 </outputs>
|
|
|
45
|
|
|
46 <stdio>
|
|
|
47 <exit_code range="1:" level="fatal" />
|
|
|
48 </stdio>
|
|
|
49
|
|
|
50 <help>
|
|
|
51 This tool produces files that can be used as input to import
|
|
|
52 * samples
|
|
|
53 * flowcells
|
|
|
54 * lanes
|
|
|
55 * laneslots
|
|
|
56
|
|
|
57 within OMERO.biobank using import applications.
|
|
|
58
|
|
|
59 If the optional 'study-output-file' parameter is given as input, the
|
|
|
60 script will produce the input file for a new study definition.
|
|
|
61
|
|
|
62 If the optional 'tubes-subsamples-output-file' is given, the script
|
|
|
63 will generate another file with tubes definitions where each tube is
|
|
|
64 produced appliying a specific laboratory protocol to an existing
|
|
|
65 tube. Existing tubes are the ones in tubes-out-file, new tubes' labels
|
|
|
66 are created using the pattern **tube_label::protocol**
|
|
|
67 The config_parameters field must point to a YAML configuration file
|
|
|
68 with the following structure:
|
|
|
69
|
|
|
70 config_parameters:
|
|
|
71 study_label: study_label
|
|
|
72
|
|
|
73 namespace: namespace
|
|
|
74
|
|
|
75 where study_label is mandatory
|
|
|
76 </help>
|
|
|
77 </tool> |