39
|
1 <tool id="segToGeneMatrix" name="segToGeneMatrix" version="0.0.1">
|
|
2 <description>
|
40
|
3 Convert segmented copy number data to gene-level matrix data
|
39
|
4 </description>
|
|
5 <command interpreter="python">
|
54
|
6 seg2matrix/mapSegToGeneMatrix.py $input $__tool_directory__/seg2matrix/$refGene.assembly $outputMatrix $normal_CNV_value
|
39
|
7 </command>
|
|
8 <inputs>
|
51
|
9 <param name="input" format="tabular" type="data" multiple="false" label="Input segmented copy number data" help="See input data format section for required input format" />
|
39
|
10 <conditional name="refGene">
|
51
|
11 <param name="assembly_select" type="select" label="Which human genome assembly is your input segmented copy number data?" help="Copy number segments will be map to RefGenes of the selected assembly.">
|
39
|
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" />
|
39
|
23 </inputs>
|
|
24 <outputs>
|
|
25 <data name="outputMatrix" format="tabular" label="gene-level copy number matrix" />
|
|
26 </outputs>
|
|
27 <help>
|
|
28
|
51
|
29 **Given a segmented copy number data file, convert it into gene-level matrix data, also xena ready**
|
|
30
|
|
31 1. Input data file format: tab-deliminated
|
39
|
32
|
51
|
33 ======= ===== ======= ===== ====== ======
|
|
34 sanmple chr start end strand value
|
|
35 ======= ===== ======= ===== ====== ======
|
|
36 sample1 chr1 1 100 . 0.5
|
|
37 sample2 chr1 101 1000 . 1.5
|
|
38 sample3 chr1 1000 2000 . -0.5
|
|
39 ... ... ... ... ... ...
|
|
40 ======= ===== ======= ===== ====== ======
|
|
41
|
|
42
|
|
43 2. Output file: gene-level matrix file
|
39
|
44
|
|
45 </help>
|
|
46 </tool>
|
|
47
|