19
|
1 <tool id="mergeMutationDatasets" description="Merge two mutation datasets into a new dataset" name="mergeMutationData" version="0.0.1">
|
|
2 <description>
|
|
3 Given two mutation datasets, merge them to create a larger dataset with the mutations from both datasets. Output this larger dataset, along with a 2-column matrix indicating the source of each mutation
|
|
4 </description>
|
|
5 <command interpreter="python">
|
|
6 mergeXenaMutation.py $outputC $outputSourceMatrix $errorLog $inputA $inputB
|
|
7 #if $labelForDatasetA
|
|
8 --aLabel "${labelForDatasetA}"
|
|
9 #end if
|
|
10 #if $labelForDatasetB
|
|
11 --bLabel "${labelForDatasetB}"
|
|
12 #end if
|
|
13 </command>
|
|
14 <inputs>
|
|
15 <param name="inputA" format="tabular" type="data" label="Mutation Dataset A"/>
|
|
16 <param type="text" name="labelForDatasetA" label="Dataset A Label (optional)" optional="true"/>
|
|
17 <param name="inputB" format="tabular" type="data" label="Mutation Dataset B"/>
|
|
18 <param type="text" name="labelForDatasetB" label="Dataset B Label (optional)" optional="true"/>
|
|
19 </inputs>
|
|
20 <outputs>
|
|
21 <data name="outputC" format="tabular" label="Merged Mutation Data"/>
|
|
22 <data name="outputSourceMatrix" format="tabular" label="Mutation Data Sources"/>
|
|
23 <data name="errorLog" format="data" label="Execution Log"/>
|
|
24 </outputs>
|
|
25 <help>
|
|
26 ***Merge Xena Mutation Datasets***
|
|
27
|
|
28 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.
|
|
29
|
|
30 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>
|
|
31 </tool>
|