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">
|
|
6 seg2matrix/mapSegToGeneMatrix.py $input $__tool_directory__/seg2matrix/$refGene.assembly $outputMatrix
|
|
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>
|
|
21 </conditional>
|
|
22 </inputs>
|
|
23 <outputs>
|
|
24 <data name="outputMatrix" format="tabular" label="gene-level copy number matrix" />
|
|
25 </outputs>
|
|
26 <help>
|
|
27
|
51
|
28 **Given a segmented copy number data file, convert it into gene-level matrix data, also xena ready**
|
|
29
|
|
30 1. Input data file format: tab-deliminated
|
39
|
31
|
51
|
32 ======= ===== ======= ===== ====== ======
|
|
33 sanmple chr start end strand value
|
|
34 ======= ===== ======= ===== ====== ======
|
|
35 sample1 chr1 1 100 . 0.5
|
|
36 sample2 chr1 101 1000 . 1.5
|
|
37 sample3 chr1 1000 2000 . -0.5
|
|
38 ... ... ... ... ... ...
|
|
39 ======= ===== ======= ===== ====== ======
|
|
40
|
|
41
|
|
42 2. Output file: gene-level matrix file
|
39
|
43
|
|
44 </help>
|
|
45 </tool>
|
|
46
|