annotate goprofiles.xml @ 0:6eeb2fb0c4bd draft default tip

planemo upload
author lnguyen
date Sat, 16 Sep 2017 09:17:07 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
1 <tool id="goProfiles" name="goProfilesP" version="0.1.0">
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
2 <description> Identify enriched biological themes, GO terms from your protein list.
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
3 </description>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
4 <requirements>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
5 <!--requirement type="package" version="3.3.0">bioconductor-org.hs.eg.db</requirement>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
6 <requirement type="package" version="1.38.0">goprofiles</requirement-->
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
7 </requirements>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
8 <stdio>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
9 <exit_code range="1:" />
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
10 </stdio>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
11 <command><![CDATA[
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
12 Rscript $__tool_directory__/goprofiles.R
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
13 #if $input.ids == "text"
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
14 "$input.text" "text"
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
15 #else
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
16 "$input.file,$input.ncol,$input.header" "file"
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
17 #end if
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
18
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
19 $input.id_type
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
20
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
21 $onto_opt
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
22
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
23 $opt.plot_opt
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
24
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
25 $level
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
26
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
27 $per
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
28
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
29 "$title"
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
30
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
31 ]]></command>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
32 <inputs>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
33 <conditional name="input" >
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
34 <param name="ids" type="select" label="Provide your Entrez Gene or UniProt identifiers" help="Copy/paste or ID list from a file (e.g. table)" >
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
35 <option value="text">Copy/paste your identifiers</option>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
36 <option value="file">Input file containing your identifiers</option>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
37 </param>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
38 <when value="text" >
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
39 <param name="text" type="text" label="Copy/paste your identifiers" help='IDs must be separated by spaces into the form field, for example: P31946 P62258' >
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
40 <sanitizer>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
41 <valid initial="string.printable">
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
42 <remove value="&apos;"/>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
43 </valid>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
44 <mapping initial="none">
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
45 <add source="&apos;" target="__sq__"/>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
46 </mapping>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
47 </sanitizer>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
48 </param>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
49 <param name="id_type" type="select" label="Please select the type of your IDs list" >
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
50 <option value="Entrez">Entrez Gene ID</option>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
51 <option value="UniProt">UniProt protein ID</option>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
52 </param>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
53 </when>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
54 <when value="file" >
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
55 <param name="file" type="data" format="txt,tabular" label="Choose a file that contains your list of IDs" help="" />
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
56 <param name="ncol" type="text" label="The column number of IDs to use" help='For example, fill in "c1" if it is the first column, "c2" if it is the second column and so on' />
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
57 <param name="header" type="boolean" checked="true" truevalue="true" falsevalue="false" label="Does your input file contain header?" />
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
58 <param name="id_type" type="select" label="Please select the type of your IDs list" >
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
59 <option value="Entrez">Entrez Gene ID</option>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
60 <option value="UniProt">UniProt protein ID</option>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
61 </param>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
62 </when>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
63
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
64 </conditional>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
65 <param type="select" name="onto_opt" label="Please select GO terms category" multiple="True" display="checkboxes" >
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
66 <option value="CC">Cellular Component (CC)</option>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
67 <option value="MF">Molecular Function (MF)</option>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
68 <option value="BP">Biological Process (BP)</option>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
69 </param>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
70 <param type="select" name="level" label="Level of the ontology at which the profile has to be built (the higher this number, the deeper the GO level)" >
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
71 <option value="1">1</option>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
72 <option value="2" selected="True">2</option>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
73 <option value="3">3</option>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
74 </param>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
75 <param type="boolean" name="per" label="Plot absolute or relative frequencies (not summing to 100)" truevalue="TRUE" falsevalue="FALSE" />
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
76 <param type="text" name="title" label="Enter title of your figure" />
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
77 <section name="opt" title="Choose graphical output (bar plots) format: png, jpeg, pdf" expanded="False" help="By default, PDF is chosen as output format">
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
78 <param type="select" name="plot_opt" label="Choose plot output extension" multiple="True" display="checkboxes" >
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
79 <option value="PNG">PNG</option>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
80 <option value="JPEG">JPEG</option>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
81 <option value="PDF" selected="True">PDF</option>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
82 </param>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
83 </section>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
84 </inputs>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
85 <outputs>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
86 <collection type="list" label="GO Profile diagram outputs" name="output" >
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
87 <discover_datasets pattern="(?P&lt;designation&gt;.+\.png)" ext="png" />
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
88 <discover_datasets pattern="(?P&lt;designation&gt;.+\.jpeg)" ext="jpg" />
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
89 <discover_datasets pattern="(?P&lt;designation&gt;.+\.pdf)" ext="pdf" />
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
90 </collection>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
91 </outputs>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
92 <tests>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
93 <test>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
94 <conditional name="input">
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
95 <param name="ids" value="file" />
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
96 <param name="file" value="UnipIDs.txt" />
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
97 <param name="ncol" value="c1" />
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
98 <param name="header" value="false" />
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
99 </conditional>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
100 <param name="onto_opt" value="CC,MF,BP" />
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
101 <param name="level" value="2" />
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
102 <param name="per" value="true" />
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
103 <param name="title" value="Test" />
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
104 <section name="opt" >
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
105 <param name="plot_opt" value="PDF" />
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
106 </section>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
107 <output_collection name="output" type="list" >
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
108 <element name="goprofile.BP.pdf" file="goprofile.BP.pdf" ftype="pdf" />
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
109 <element name="goprofile.MF.pdf" file="goprofile.MF.pdf" ftype="pdf" />
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
110 <element name="goprofile.CC.pdf" file="goprofile.CC.pdf" ftype="pdf" />
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
111 </output_collection>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
112 </test>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
113 </tests>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
114 <help><![CDATA[
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
115 This tool, based on the goProfiles R package, performs statistical analysis of functional profiles. It is based on GO ontology and considers either a gene set ('Entrez’ Identifiers) or a protein set (Uniprot ID) as input.
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
116
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
117 You can choose one or more GO categories:
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
118
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
119 * Biological Process (BP)
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
120 * Cellular Component (CC)
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
121 * Molecular Function (MF)
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
122
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
123 Functional profile at a given GO level is obtained by counting the number of identifiers having a hit in each category of this level (2 by default). Results are displayed as bar plots (with absolute or relative frequencies) and can be exported in pdf, png and jpeg formats.
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
124
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
125 For more details about GoProfiles, please read: Salicrú et al. Comparison of lists of genes based on functional profiles. BMC Bioinformatics. 2011;12:401.(https://bmcbioinformatics.biomedcentral.com/articles/10.1186/1471-2105-12-401)
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
126
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
127 If your type of identifiers is not supported (i.e. different form Uniprot and Entrez), please use the **ID Converter** component in the ProteoRE section to convert your list of IDs first.
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
128
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
129 -----
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
130
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
131 .. class:: infomark
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
132
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
133 **Authors**
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
134
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
135 Sanchez A, Ocana J and Salicru M (2016). goProfiles: goProfiles: an R package for the statistical analysis of functional profiles. R package version 1.38.0.
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
136
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
137 .. class:: infomark
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
138
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
139 **Galaxy integration**
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
140
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
141 T.P. Lien Nguyen, Florence Combes, Yves Vandenbrouck CEA, INSERM, CNRS, Grenoble-Alpes University, BIG Institute, FR
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
142 Sandra Dérozier, Olivier Rué, Christophe Caron, Valentin Loux INRA, Paris-Saclay University, MAIAGE Unit,Migale Bioinformatics platform,
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
143
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
144 Contact support@proteore.org for any questions or concerns about the Galaxy implementation of this tool.
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
145
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
146 ]]></help>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
147 <citations>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
148 </citations>
6eeb2fb0c4bd planemo upload
lnguyen
parents:
diff changeset
149 </tool>