annotate mergeMutationDatasets.xml @ 60:bf57076e27b9 default tip

change genomicSegment input data
author jingchunzhu@gmail.com
date Tue, 27 Oct 2015 16:07:09 -0700
parents 2a240b005731
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
41
jingchunzhu
parents: 21
diff changeset
1 <tool id="mergeMutationDatasets" description="Merge two Xena positional mutation datasets into a new dataset" name="Merge Xena Mutation by Position Data" version="0.0.1">
19
371579dd9bc6 Uploaded
melissacline
parents:
diff changeset
2 <command interpreter="python">
371579dd9bc6 Uploaded
melissacline
parents:
diff changeset
3 mergeXenaMutation.py $outputC $outputSourceMatrix $errorLog $inputA $inputB
371579dd9bc6 Uploaded
melissacline
parents:
diff changeset
4 #if $labelForDatasetA
371579dd9bc6 Uploaded
melissacline
parents:
diff changeset
5 --aLabel "${labelForDatasetA}"
41
jingchunzhu
parents: 21
diff changeset
6 #else
jingchunzhu
parents: 21
diff changeset
7 --aLabel "${inputA.name}"
19
371579dd9bc6 Uploaded
melissacline
parents:
diff changeset
8 #end if
371579dd9bc6 Uploaded
melissacline
parents:
diff changeset
9 #if $labelForDatasetB
371579dd9bc6 Uploaded
melissacline
parents:
diff changeset
10 --bLabel "${labelForDatasetB}"
41
jingchunzhu
parents: 21
diff changeset
11 #else
jingchunzhu
parents: 21
diff changeset
12 --bLabel "${inputB.name}"
19
371579dd9bc6 Uploaded
melissacline
parents:
diff changeset
13 #end if
371579dd9bc6 Uploaded
melissacline
parents:
diff changeset
14 </command>
371579dd9bc6 Uploaded
melissacline
parents:
diff changeset
15 <inputs>
41
jingchunzhu
parents: 21
diff changeset
16 <param name="inputA" format="tabular" type="data" label="Xena Mutation by Position Dataset A"/>
43
eb5acf81e609 improve messages
jingchunzhu
parents: 42
diff changeset
17 <param type="text" name="labelForDatasetA" label="Dataset A Label (eg. LGG)" value="A"/>
41
jingchunzhu
parents: 21
diff changeset
18 <param name="inputB" format="tabular" type="data" label="Xena Mutation by Position Dataset B"/>
43
eb5acf81e609 improve messages
jingchunzhu
parents: 42
diff changeset
19 <param type="text" name="labelForDatasetB" label="Dataset B Label (eg. GBM)" value="B"/>
19
371579dd9bc6 Uploaded
melissacline
parents:
diff changeset
20 </inputs>
371579dd9bc6 Uploaded
melissacline
parents:
diff changeset
21 <outputs>
44
jingchunzhu
parents: 43
diff changeset
22 <data name="errorLog" format="data" label="Execution Log" hidden="True" />
42
jingchunzhu
parents: 41
diff changeset
23 <data name="outputSourceMatrix" format="tabular" label="Data Source ${labelForDatasetA}+${labelForDatasetB}"/>
jingchunzhu
parents: 41
diff changeset
24 <data name="outputC" format="tabular" label="Mutation by Position ${labelForDatasetA}+${labelForDatasetB}"/>
19
371579dd9bc6 Uploaded
melissacline
parents:
diff changeset
25 </outputs>
371579dd9bc6 Uploaded
melissacline
parents:
diff changeset
26 <help>
371579dd9bc6 Uploaded
melissacline
parents:
diff changeset
27
56
2a240b005731 better instructions on browser
jingchunzhu
parents: 44
diff changeset
28 **Merge Xena Positional Mutation Datasets**
2a240b005731 better instructions on browser
jingchunzhu
parents: 44
diff changeset
29
2a240b005731 better instructions on browser
jingchunzhu
parents: 44
diff changeset
30 1. Input xena positional mutation data file format: tab-deliminated
43
eb5acf81e609 improve messages
jingchunzhu
parents: 42
diff changeset
31
56
2a240b005731 better instructions on browser
jingchunzhu
parents: 44
diff changeset
32 ======= ===== ======= ===== ========= ====== ========
2a240b005731 better instructions on browser
jingchunzhu
parents: 44
diff changeset
33 sample chr start end reference alt anything
2a240b005731 better instructions on browser
jingchunzhu
parents: 44
diff changeset
34 ======= ===== ======= ===== ========= ====== ========
2a240b005731 better instructions on browser
jingchunzhu
parents: 44
diff changeset
35 sample1 chr1 1 1 A T 0.2
2a240b005731 better instructions on browser
jingchunzhu
parents: 44
diff changeset
36 sample1 chr1 10 10 T A 0.1
2a240b005731 better instructions on browser
jingchunzhu
parents: 44
diff changeset
37 sample2 chr1 20 20 G GG 0.0
2a240b005731 better instructions on browser
jingchunzhu
parents: 44
diff changeset
38 sample2 chr1 20 21 GT G
2a240b005731 better instructions on browser
jingchunzhu
parents: 44
diff changeset
39 ... ... ... ... ... ... ...
2a240b005731 better instructions on browser
jingchunzhu
parents: 44
diff changeset
40 ======= ===== ======= ===== ========= ====== ========
43
eb5acf81e609 improve messages
jingchunzhu
parents: 42
diff changeset
41
56
2a240b005731 better instructions on browser
jingchunzhu
parents: 44
diff changeset
42
2a240b005731 better instructions on browser
jingchunzhu
parents: 44
diff changeset
43 2. Output file 1: Given two datasets of mutation data, merge them to produce a third dataset that is the union of the first two. The new dataset will contain all mutations from either dataset.
19
371579dd9bc6 Uploaded
melissacline
parents:
diff changeset
44
56
2a240b005731 better instructions on browser
jingchunzhu
parents: 44
diff changeset
45 3. Output file 2: To maintain provenance, this script also outputs a second data file, with one row for each sample ID that appears in the output dataset, and two columns per row indicating which input dataset(s) contained some mutation data for that sample. Users can specify descriptive labels to indicate the data source. </help>
19
371579dd9bc6 Uploaded
melissacline
parents:
diff changeset
46 </tool>