annotate segToGeneMatrix.xml @ 52:3a036a34c362

better handle of input file
author jingchunzhu
date Thu, 17 Sep 2015 15:00:45 -0700
parents 728eda331f07
children 59dbe857f5d4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
39
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
1 <tool id="segToGeneMatrix" name="segToGeneMatrix" version="0.0.1">
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
2 <description>
40
72dc9215623d modify help
jingchunzhu
parents: 39
diff changeset
3 Convert segmented copy number data to gene-level matrix data
39
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
4 </description>
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
5 <command interpreter="python">
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
6 seg2matrix/mapSegToGeneMatrix.py $input $__tool_directory__/seg2matrix/$refGene.assembly $outputMatrix
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
7 </command>
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
8 <inputs>
51
728eda331f07 better handle of input
jingchunzhu@gmail.com
parents: 40
diff changeset
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
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
10 <conditional name="refGene">
51
728eda331f07 better handle of input
jingchunzhu@gmail.com
parents: 40
diff changeset
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
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
12 <option value="hg19">hg19</option>
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
13 <option value="hg18">hg18</option>
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
14 </param>
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
15 <when value="hg19">
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
16 <param name="assembly" type="hidden" value="refGene_hg19" />
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
17 </when>
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
18 <when value="hg18">
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
19 <param name="assembly" type="hidden" value="refGene_hg18" />
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
20 </when>
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
21 </conditional>
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
22 </inputs>
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
23 <outputs>
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
24 <data name="outputMatrix" format="tabular" label="gene-level copy number matrix" />
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
25 </outputs>
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
26 <help>
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
27
51
728eda331f07 better handle of input
jingchunzhu@gmail.com
parents: 40
diff changeset
28 **Given a segmented copy number data file, convert it into gene-level matrix data, also xena ready**
728eda331f07 better handle of input
jingchunzhu@gmail.com
parents: 40
diff changeset
29
728eda331f07 better handle of input
jingchunzhu@gmail.com
parents: 40
diff changeset
30 1. Input data file format: tab-deliminated
39
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
31
51
728eda331f07 better handle of input
jingchunzhu@gmail.com
parents: 40
diff changeset
32 ======= ===== ======= ===== ====== ======
728eda331f07 better handle of input
jingchunzhu@gmail.com
parents: 40
diff changeset
33 sanmple chr start end strand value
728eda331f07 better handle of input
jingchunzhu@gmail.com
parents: 40
diff changeset
34 ======= ===== ======= ===== ====== ======
728eda331f07 better handle of input
jingchunzhu@gmail.com
parents: 40
diff changeset
35 sample1 chr1 1 100 . 0.5
728eda331f07 better handle of input
jingchunzhu@gmail.com
parents: 40
diff changeset
36 sample2 chr1 101 1000 . 1.5
728eda331f07 better handle of input
jingchunzhu@gmail.com
parents: 40
diff changeset
37 sample3 chr1 1000 2000 . -0.5
728eda331f07 better handle of input
jingchunzhu@gmail.com
parents: 40
diff changeset
38 ... ... ... ... ... ...
728eda331f07 better handle of input
jingchunzhu@gmail.com
parents: 40
diff changeset
39 ======= ===== ======= ===== ====== ======
728eda331f07 better handle of input
jingchunzhu@gmail.com
parents: 40
diff changeset
40
728eda331f07 better handle of input
jingchunzhu@gmail.com
parents: 40
diff changeset
41
728eda331f07 better handle of input
jingchunzhu@gmail.com
parents: 40
diff changeset
42 2. Output file: gene-level matrix file
39
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
43
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
44 </help>
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
45 </tool>
61f03b481b0d new tool
jingchunzhu
parents:
diff changeset
46