annotate mergeMutationDatasets.xml @ 41:9806198df91f

fix
author jingchunzhu
date Thu, 06 Aug 2015 00:27:05 -0700
parents 3a259686f0fc
children 03b7b1cf78ce
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"/>
jingchunzhu
parents: 21
diff changeset
17 <param type="text" name="labelForDatasetA" label="Dataset A Label (eg. A)" value="dataset A"/>
jingchunzhu
parents: 21
diff changeset
18 <param name="inputB" format="tabular" type="data" label="Xena Mutation by Position Dataset B"/>
jingchunzhu
parents: 21
diff changeset
19 <param type="text" name="labelForDatasetB" label="Dataset B Label (eg. B)" value="dataset B"/>
19
371579dd9bc6 Uploaded
melissacline
parents:
diff changeset
20 </inputs>
371579dd9bc6 Uploaded
melissacline
parents:
diff changeset
21 <outputs>
20
914bc8ee6222 Debugged the merge mutation data tool
melissacline
parents: 19
diff changeset
22 <data name="errorLog" format="data" label="Execution Log"/>
41
jingchunzhu
parents: 21
diff changeset
23 <data name="outputSourceMatrix" format="tabular" label="Data Source ${labelForDatasetB}+${labelForDatasetA}"/>
jingchunzhu
parents: 21
diff changeset
24 <data name="outputC" format="tabular" label="Mutation by Position ${labelForDatasetB}+${labelForDatasetA}"/>
19
371579dd9bc6 Uploaded
melissacline
parents:
diff changeset
25 </outputs>
371579dd9bc6 Uploaded
melissacline
parents:
diff changeset
26 <help>
21
3a259686f0fc Merged with head, tweaked labels on merge mutation data tool
melissacline
parents: 20
diff changeset
27 ***Merge Xena Positional Mutation Datasets***
19
371579dd9bc6 Uploaded
melissacline
parents:
diff changeset
28
371579dd9bc6 Uploaded
melissacline
parents:
diff changeset
29 Given two datasets of mutation data as formatted for the UCSC Xena Browser, 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.
371579dd9bc6 Uploaded
melissacline
parents:
diff changeset
30
371579dd9bc6 Uploaded
melissacline
parents:
diff changeset
31 To maintain provenance, this script also outputs a second matrix, 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. By default, the input dataset name is used to indicate which input file each column came from. Optionally, the user can specify descriptive labels to be used in place of the dataset names. </help>
371579dd9bc6 Uploaded
melissacline
parents:
diff changeset
32 </tool>