comparison oncostrip.xml @ 5:b78c81a7ebaf draft

Uploaded
author morinlab
date Thu, 02 Mar 2017 17:03:18 -0500
parents
children
comparison
equal deleted inserted replaced
4:8263ddfcd202 5:b78c81a7ebaf
1 <tool id="oncostrip" name="Oncostrip Plot" version="0.9.30">
2
3 <description>
4 Cohort-wide mutation oncostrip from MAF and (optionally) GISTIC data
5 </description>
6
7 <command detect_errors="aggressive">
8
9 mkdir outputs;
10 touch gene_list.txt;
11 #if $gene_input_type.gene_input_type_selector.value == "other":
12 echo $gene_input_type.gene > gene_list.txt;
13 #else:
14 cat $gene_input_type.gene_file > gene_list.txt;
15 #end if
16
17 Rscript $__tool_directory__/oncostrip_gistic.R
18 --input_maf $input_maf
19 --gene_list gene_list.txt
20 --output_plot $output_plot
21 #if $include_anno.anno == "use_anno":
22 --anno $include_anno.anno_file
23 #end if
24 #if $sort_by == "anno":
25 --sort_by anno
26 #elif $sort_by == "gene":
27 --sort_by gene
28 #else:
29 --sort_by $sort_by
30 #end if
31 #if $include_gistic.gistic == "use_gistic":
32 -gal $include_gistic.file1
33 -ga $include_gistic.file2
34 -gd $include_gistic.file3
35 #end if
36 ;
37
38 </command>
39
40 <inputs>
41 <param type="data" format="maf" name="input_maf" label="MAF File"/>
42 <conditional name="gene_input_type">
43 <param name="gene_input_type_selector" type="select" label="Choose how to input genes">
44 <option value="file" selected="True">Gene File</option>
45 <option value="other">Other</option>
46 </param>
47 <when value="file">
48 <param name="gene_file" type="data" format="txt" label="Gene File" help="list of genes separated by newlines" />
49 </when>
50 <when value="other">
51 <param name="gene" type="text" value="TP53" label="Gene" help="type the single gene" />
52 </when>
53 </conditional>
54
55 <param name="sort_by" type="select" label="Sort samples and genes in output?">
56 <option value="none">No sorting</option>
57 <option value="gene">Sort genes and patients using mutation frequency</option>
58 <option value="anno">Sort on annotation, then mutation frequency</option>
59 </param>
60
61 <conditional name="include_anno">
62 <param name="anno" type="select" display="radio" label="Optional: include annotation information for each sample">
63 <option value="use_anno" checked="false">Include</option>
64 <option value="no_anno" checked="true">Do not include</option>
65 </param>
66 <when value="use_anno">
67 <param name="anno_file" type="data" format="txt" optional="true" label="Annotation file" help="text file with the first column listing each sample and remaining columns reserved for annotation" />
68
69
70 </when>
71 </conditional>
72 <conditional name="include_gistic">
73 <param name="gistic" type="select" display="radio" label="Optional: include GISTIC output in display">
74 <option value="use_gistic" checked="false">Include</option>
75 <option value="no_gistic" checked="true">Do not include</option>
76 </param>
77 <when value="use_gistic">
78 <param name="file1" type="data" format="txt" label="all_lesions" help="all_lesions output from GISTIC" />
79 <param name="file2" type="data" format="txt" label="amp_genes" help="amp_genes output from GISTIC" />
80 <param name="file3" type="data" format="txt" label="del_genes" help="del_genes output from GISTIC" />
81 </when>
82 </conditional>
83 </inputs>
84
85 <outputs>
86 <data format="pdf" name="output_plot"/>
87 </outputs>
88 <citations>
89 <citation type="bibtex">
90 @article {Albuquerque089631,
91 author = {Albuquerque, Marco A and Grande, Bruno M and Ritch, Elie and Jessa, Selin and Krzywinski, Martin I and Grewal, Jasleen and Shah, Sohrab and Boutros, Paul and Morin, Ryan},
92 title = {Enhancing Knowledge Discovery from Cancer Genomics Data with Galaxy},
93 year = {2016},
94 doi = {10.1101/089631},
95 publisher = {Cold Spring Harbor Labs Journals},
96 URL = {http://biorxiv.org/content/early/2016/11/26/089631},
97 eprint = {http://biorxiv.org/content/early/2016/11/26/089631.full.pdf},
98 journal = {bioRxiv}
99 }
100
101 </citation>
102 <citation type="bibtex">
103 @misc{
104 goecks2010galaxy,
105 title={Galaxy: a comprehensive approach for supporting accessible, reproducible, and transparent computational research in the life sciences},
106 author={Goecks, Jeremy and Nekrutenko, Anton and Taylor, James and others},
107 journal={Genome Biol},
108 volume={11},
109 number={8},
110 pages={R86},
111 year={2010}
112 }
113 </citation>
114 <citation type="doi">10.1101/052662</citation>
115 </citations>
116 </tool>