32
|
1 <tool id="segToMatrix" name="segToMatrix" version="0.0.1">
|
|
2 <description>
|
40
|
3 Prepare segmented copy number data for Xena
|
32
|
4 </description>
|
|
5 <command interpreter="python">
|
54
|
6 seg2matrix/segToMatrixGalaxy.py $input $__tool_directory__/seg2matrix/$refGene.assembly $outputMatrix $outputProbeMap $normal_CNV_value
|
32
|
7 </command>
|
|
8 <inputs>
|
|
9 <param name="input" format="tabular" type="data" multiple="false" label="Input segmented copy number data" />
|
|
10 <conditional name="refGene">
|
|
11 <param name="assembly_select" type="select" label="Which human genome assembly is your input segmented copy number data?">
|
|
12 <option value="hg19">hg19</option>
|
|
13 <option value="hg18">hg18</option>
|
|
14 </param>
|
|
15 <when value="hg19">
|
|
16 <param name="assembly" type="hidden" value="refGene_hg19" />
|
|
17 </when>
|
|
18 <when value="hg18">
|
|
19 <param name="assembly" type="hidden" value="refGene_hg18" />
|
|
20 </when>
|
54
|
21 </conditional>
|
|
22 <param name="normal_CNV_value" type="text" value="0" lable="what is the value to represent normal copy number" />
|
32
|
23 </inputs>
|
|
24 <outputs>
|
|
25 <data name="outputMatrix" format="tabular" label="xena copy number matrix" />
|
|
26 <data name="outputProbeMap" format="tabular" label="associated probemap"/>
|
|
27 </outputs>
|
|
28 <help>
|
|
29
|
52
|
30 **Given a segmented copy number data file, convert it into xena ready matrix file.**
|
|
31
|
|
32 1. Input data file format: tab-deliminated
|
32
|
33
|
60
|
34 ======= ===== ======= ===== ======
|
|
35 sample chr start end value
|
|
36 ======= ===== ======= ===== ======
|
|
37 sample1 chr1 1 100 0.5
|
|
38 sample2 chr1 101 1000 1.5
|
|
39 sample3 chr1 1000 2000 -0.5
|
|
40 ... ... ... ... ...
|
|
41 ======= ===== ======= ===== ======
|
32
|
42
|
52
|
43
|
|
44 2. Output File no 1. matrix file
|
|
45
|
|
46 Output File no 2. probeMap file -- probe to gene mapping file (is in the same genome assembly as the input segmented copy number data)
|
32
|
47 </help>
|
|
48 </tool>
|
|
49
|