Mercurial > repos > lnguyen > proteore_goprofiles
comparison goprofiles.xml @ 0:6eeb2fb0c4bd draft default tip
planemo upload
author | lnguyen |
---|---|
date | Sat, 16 Sep 2017 09:17:07 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:6eeb2fb0c4bd |
---|---|
1 <tool id="goProfiles" name="goProfilesP" version="0.1.0"> | |
2 <description> Identify enriched biological themes, GO terms from your protein list. | |
3 </description> | |
4 <requirements> | |
5 <!--requirement type="package" version="3.3.0">bioconductor-org.hs.eg.db</requirement> | |
6 <requirement type="package" version="1.38.0">goprofiles</requirement--> | |
7 </requirements> | |
8 <stdio> | |
9 <exit_code range="1:" /> | |
10 </stdio> | |
11 <command><![CDATA[ | |
12 Rscript $__tool_directory__/goprofiles.R | |
13 #if $input.ids == "text" | |
14 "$input.text" "text" | |
15 #else | |
16 "$input.file,$input.ncol,$input.header" "file" | |
17 #end if | |
18 | |
19 $input.id_type | |
20 | |
21 $onto_opt | |
22 | |
23 $opt.plot_opt | |
24 | |
25 $level | |
26 | |
27 $per | |
28 | |
29 "$title" | |
30 | |
31 ]]></command> | |
32 <inputs> | |
33 <conditional name="input" > | |
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)" > | |
35 <option value="text">Copy/paste your identifiers</option> | |
36 <option value="file">Input file containing your identifiers</option> | |
37 </param> | |
38 <when value="text" > | |
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' > | |
40 <sanitizer> | |
41 <valid initial="string.printable"> | |
42 <remove value="'"/> | |
43 </valid> | |
44 <mapping initial="none"> | |
45 <add source="'" target="__sq__"/> | |
46 </mapping> | |
47 </sanitizer> | |
48 </param> | |
49 <param name="id_type" type="select" label="Please select the type of your IDs list" > | |
50 <option value="Entrez">Entrez Gene ID</option> | |
51 <option value="UniProt">UniProt protein ID</option> | |
52 </param> | |
53 </when> | |
54 <when value="file" > | |
55 <param name="file" type="data" format="txt,tabular" label="Choose a file that contains your list of IDs" help="" /> | |
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' /> | |
57 <param name="header" type="boolean" checked="true" truevalue="true" falsevalue="false" label="Does your input file contain header?" /> | |
58 <param name="id_type" type="select" label="Please select the type of your IDs list" > | |
59 <option value="Entrez">Entrez Gene ID</option> | |
60 <option value="UniProt">UniProt protein ID</option> | |
61 </param> | |
62 </when> | |
63 | |
64 </conditional> | |
65 <param type="select" name="onto_opt" label="Please select GO terms category" multiple="True" display="checkboxes" > | |
66 <option value="CC">Cellular Component (CC)</option> | |
67 <option value="MF">Molecular Function (MF)</option> | |
68 <option value="BP">Biological Process (BP)</option> | |
69 </param> | |
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)" > | |
71 <option value="1">1</option> | |
72 <option value="2" selected="True">2</option> | |
73 <option value="3">3</option> | |
74 </param> | |
75 <param type="boolean" name="per" label="Plot absolute or relative frequencies (not summing to 100)" truevalue="TRUE" falsevalue="FALSE" /> | |
76 <param type="text" name="title" label="Enter title of your figure" /> | |
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"> | |
78 <param type="select" name="plot_opt" label="Choose plot output extension" multiple="True" display="checkboxes" > | |
79 <option value="PNG">PNG</option> | |
80 <option value="JPEG">JPEG</option> | |
81 <option value="PDF" selected="True">PDF</option> | |
82 </param> | |
83 </section> | |
84 </inputs> | |
85 <outputs> | |
86 <collection type="list" label="GO Profile diagram outputs" name="output" > | |
87 <discover_datasets pattern="(?P<designation>.+\.png)" ext="png" /> | |
88 <discover_datasets pattern="(?P<designation>.+\.jpeg)" ext="jpg" /> | |
89 <discover_datasets pattern="(?P<designation>.+\.pdf)" ext="pdf" /> | |
90 </collection> | |
91 </outputs> | |
92 <tests> | |
93 <test> | |
94 <conditional name="input"> | |
95 <param name="ids" value="file" /> | |
96 <param name="file" value="UnipIDs.txt" /> | |
97 <param name="ncol" value="c1" /> | |
98 <param name="header" value="false" /> | |
99 </conditional> | |
100 <param name="onto_opt" value="CC,MF,BP" /> | |
101 <param name="level" value="2" /> | |
102 <param name="per" value="true" /> | |
103 <param name="title" value="Test" /> | |
104 <section name="opt" > | |
105 <param name="plot_opt" value="PDF" /> | |
106 </section> | |
107 <output_collection name="output" type="list" > | |
108 <element name="goprofile.BP.pdf" file="goprofile.BP.pdf" ftype="pdf" /> | |
109 <element name="goprofile.MF.pdf" file="goprofile.MF.pdf" ftype="pdf" /> | |
110 <element name="goprofile.CC.pdf" file="goprofile.CC.pdf" ftype="pdf" /> | |
111 </output_collection> | |
112 </test> | |
113 </tests> | |
114 <help><![CDATA[ | |
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. | |
116 | |
117 You can choose one or more GO categories: | |
118 | |
119 * Biological Process (BP) | |
120 * Cellular Component (CC) | |
121 * Molecular Function (MF) | |
122 | |
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. | |
124 | |
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) | |
126 | |
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. | |
128 | |
129 ----- | |
130 | |
131 .. class:: infomark | |
132 | |
133 **Authors** | |
134 | |
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. | |
136 | |
137 .. class:: infomark | |
138 | |
139 **Galaxy integration** | |
140 | |
141 T.P. Lien Nguyen, Florence Combes, Yves Vandenbrouck CEA, INSERM, CNRS, Grenoble-Alpes University, BIG Institute, FR | |
142 Sandra Dérozier, Olivier Rué, Christophe Caron, Valentin Loux INRA, Paris-Saclay University, MAIAGE Unit,Migale Bioinformatics platform, | |
143 | |
144 Contact support@proteore.org for any questions or concerns about the Galaxy implementation of this tool. | |
145 | |
146 ]]></help> | |
147 <citations> | |
148 </citations> | |
149 </tool> |