0
|
1 <tool id="get_fcs_headers" name="Get list of markers" version="1.0">
|
|
2 <description>in FCS files.</description>
|
|
3 <requirements>
|
|
4 <requirement type="package" version="3.3.0">r</requirement>
|
|
5 <requirement type="package" version="1.38.2">bioconductor-flowcore</requirement>
|
|
6 </requirements>
|
|
7 <stdio>
|
|
8 <exit_code range="2:" level="fatal" description="See stderr for more details." />
|
|
9 </stdio>
|
|
10 <command><![CDATA[
|
|
11 python $__tool_directory__/getFCSheaders.py -o "${output_file}" -t $__tool_directory__
|
|
12 #for $f in $input#
|
|
13 -i "${f}"
|
|
14 -n "${f.name}"
|
|
15 #end for#
|
|
16 ]]>
|
|
17 </command>
|
|
18 <inputs>
|
|
19 <param format="fcs" name="input" type="data_collection" collection_type="list" label="FCS files Collection"/>
|
|
20 </inputs>
|
|
21 <outputs>
|
|
22 <data format="tabular" name="output_file" label="Headers of files in ${input.name}"/>
|
|
23 </outputs>
|
|
24 <tests>
|
|
25 <test>
|
|
26 <param name="input">
|
|
27 <collection type="list">
|
|
28 <element name="input1.fcs" value="input1.fcs"/>
|
|
29 <element name="input2.fcs" value="input2.fcs"/>
|
|
30 <element name="input3.fcs" value="input3.fcs"/>
|
|
31 </collection>
|
|
32 </param>
|
|
33 <output name="output_file" file="output.tabular"/>
|
|
34 </test>
|
|
35 </tests>
|
|
36 <help><![CDATA[
|
|
37 This tool returns a table of the headers of a set of FCS files.
|
|
38
|
|
39 -----
|
|
40
|
|
41 **Input files**
|
|
42
|
|
43 This tool requires collections of FCS files as input.
|
|
44
|
|
45 **Output file**
|
|
46
|
|
47 The output file is a table listing the markers and channels for each file.
|
|
48
|
|
49 -----
|
|
50
|
|
51 **Example**
|
|
52
|
|
53 *File1*::
|
|
54
|
|
55 Marker1 Marker2 Marker3
|
|
56 34 45 12
|
|
57 33 65 10
|
|
58
|
|
59 *File2*::
|
|
60
|
|
61 Marker4 Marker5 Marker3
|
|
62 19 62 98
|
|
63 12 36 58
|
|
64
|
|
65 *Output*::
|
|
66
|
|
67 File1 channels Channel1 Channel2 Channel3
|
|
68 File2 channels Channel4 Channel5 Channel3
|
|
69 File1 markers Marker1 Marker2 Marker3
|
|
70 File2 markers Marker4 Marker5 Marker3
|
|
71 ]]>
|
|
72 </help>
|
|
73 </tool>
|