Mercurial > repos > proteore > proteore_goprofiles
diff goprofiles.xml @ 8:386145573c19 draft
planemo upload commit bdd7e8a1f08c11db2a9f1b6db5535c6d32153b2b
author | proteore |
---|---|
date | Tue, 18 Dec 2018 09:54:57 -0500 |
parents | 6afe8166a9a4 |
children | 948fecb6a40b |
line wrap: on
line diff
--- a/goprofiles.xml Fri Sep 21 10:08:02 2018 -0400 +++ b/goprofiles.xml Tue Dec 18 09:54:57 2018 -0500 @@ -1,9 +1,10 @@ -<tool id="goProfiles" name="goProfiles" version="2018.09.21"> - <description>Statistical analysis of functional profiles</description> +<tool id="goProfiles" name="Statistical analysis of functional profiles" version="2018.12.12"> + <description>(Human, Mouse) [goProfiles]</description> <requirements> <requirement type="package" version="3.4.1">R</requirement> <requirement type="package" version="3.5.0">bioconductor-org.hs.eg.db</requirement> <requirement type="package" version="3.5.0">bioconductor-org.mm.eg.db</requirement> + <!--requirement type="package" version="3.5.0">bioconductor-org.rn.eg.db</requirement--> <requirement type="package" version="1.40.0">bioconductor-annotationdbi</requirement> <requirement type="package" version="2.38.0">bioconductor-biobase</requirement> <requirement type="package" version="1.38.0">goprofiles</requirement> @@ -24,32 +25,24 @@ #end if --id_type="$input.id_type" - --onto_opt="$onto_opt" - - --plot_opt="$opt.plot_opt" - + --plot_opt="$plot_opt" --level="$level" - --per="$per" - --title="$title" - --duplicate="$duplicate" - --text_output="$text_output" - - --species="$species" + --species="$species" > $log ]]></command> <inputs> <conditional name="input" > - <param name="ids" type="select" label="Enter your ID list (only Entrez Gene ID or UniProt accession number allowed" help="Copy/paste or ID list from a file (e.g. table)" > - <option value="text">Copy/paste your identifiers</option> - <option value="file" selected="true">Input file containing your identifiers</option> + <param name="ids" type="select" label="Enter your IDs (Entrez Gene ID or UniProt Accession number)" help="Copy/paste or from a file (e.g. table)" > + <option value="text">Copy/paste your IDs</option> + <option value="file" selected="true">Input file containing your IDs</option> </param> <when value="text" > - <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' > + <param name="text" type="text" label="Copy/paste your IDs" help='IDs must be separated by spaces into the form field, for example: P31946 P62258' > <sanitizer> <valid initial="string.printable"> <remove value="'"/> @@ -59,53 +52,56 @@ </mapping> </sanitizer> </param> - <param name="id_type" type="select" label="Please select the type of your IDs list" > + <param name="id_type" type="select" label="Select type of IDs list" > <option value="Entrez">Entrez Gene ID</option> - <option value="UniProt">UniProt protein acession number</option> + <option value="UniProt">UniProt Accession number</option> </param> </when> <when value="file" > - <param name="file" type="data" format="txt,tabular" label="Choose a file that contains your list of IDs" help="" /> - <param name="ncol" type="text" value="c1" 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' /> - <param name="header" type="boolean" checked="true" truevalue="true" falsevalue="false" label="Does your input file contain header?" /> - <param name="id_type" type="select" label="Please select the type of your IDs list" > + <param name="file" type="data" format="txt,tabular" label="Select your file" help="" /> + <param name="ncol" type="text" value="c1" label="Column number of IDs" help='For example, fill in "c1" if it is the first column, "c2" if it is the second column and so on' /> + <param name="header" type="boolean" checked="true" truevalue="true" falsevalue="false" label="Does file contain header?" /> + <param name="id_type" type="select" label="Select type of IDs list" > <option value="Entrez">Entrez Gene ID</option> - <option value="UniProt">UniProt protein ID</option> + <option value="UniProt">Uniprot Accession number</option> </param> </when> </conditional> <param name="duplicate" type="boolean" label="Remove duplicated IDs" truevalue="TRUE" falsevalue="FALSE" /> - <param name="species" type="select" label="Select your species"> + <param name="species" type="select" label="Species"> <option value="org.Hs.eg.db">Human (Homo sapiens)</option> <option value="org.Mm.eg.db">Mouse (Mus musculus)</option> + <!--option value="org.Rn.eg.db">Rat (Rattus norvegicus)</option--> </param> - <param type="select" name="onto_opt" label="Please select GO terms category" multiple="True" display="checkboxes" > + <param type="select" name="onto_opt" label="Select GO terms category" multiple="True" display="checkboxes" optional="false" > <option value="CC">Cellular Component (CC)</option> <option value="MF">Molecular Function (MF)</option> <option value="BP">Biological Process (BP)</option> </param> - <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)" > + <param type="select" name="level" label="Ontology level (the higher this number, the deeper the GO level)" > <option value="1">1</option> <option value="2" selected="True">2</option> <option value="3">3</option> </param> - <param type="boolean" name="per" label="Plot absolute or relative frequencies (not summing to 100)" truevalue="TRUE" falsevalue="FALSE" /> + <param type="boolean" name="per" label="Plot absolute frequencies?" truevalue="TRUE" falsevalue="FALSE" /> <param type="text" name="title" label="Enter title of your figure" /> - <section name="opt" title="Choose graphical output (bar plots) format: png, jpeg, pdf" expanded="False" help="By default, PDF is chosen as output format"> - <param type="select" name="plot_opt" label="Choose plot output extension" multiple="True" display="checkboxes" > - <option value="PNG">PNG</option> - <option value="JPEG">JPEG</option> - <option value="PDF" selected="True">PDF</option> - </param> - </section> + <param type="select" name="plot_opt" label="Plot file format"> + <option value="PNG">png</option> + <option value="JPEG">jpeg</option> + <option value="PDF" selected="True">pdf</option> + </param> + </inputs> <outputs> - <collection type="list" label="GO Profile diagram output" name="output" > + <data name="log" format="tsv" label="goProfiles log" /> + <collection type="list" label="goProfiles text files" name="text_output"> + <discover_datasets pattern="(?P<designation>.+\.tsv)" ext="tsv"/> + </collection> + <collection type="list" label="goProfiles diagram output" name="output" > <discover_datasets pattern="(?P<designation>.+\.png)" ext="png" /> <discover_datasets pattern="(?P<designation>.+\.jpeg)" ext="jpg" /> <discover_datasets pattern="(?P<designation>.+\.pdf)" ext="pdf" /> </collection> - <data name="text_output" format="tabular" label="GO Profile text output" /> </outputs> <tests> <test> @@ -121,31 +117,46 @@ <param name="level" value="2" /> <param name="per" value="true" /> <param name="title" value="Test" /> - <section name="opt" > - <param name="plot_opt" value="PDF" /> - </section> + <param name="plot_opt" value="PDF" /> <output_collection name="output" type="list" > <element name="profile.BP.pdf" file="profile.BP.pdf" ftype="pdf" compare="sim_size"/> <element name="profile.CC.pdf" file="profile.CC.pdf" ftype="pdf" compare="sim_size"/> <element name="profile.MF.pdf" file="profile.MF.pdf" ftype="pdf" compare="sim_size"/> </output_collection> - <output name="text_output" file="GO_Profile_text_output.txt"/> + <output name="log" file="GO_Profile_text_output.tsv"/> </test> </tests> <help><![CDATA[ -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 accession number) as input. + +**Description** + +This tool is based on the goProfiles R package; it performs statistical analysis of functional profiles based on Gene Ontology (GO). Functional profile at a given GO level is obtained by counting the +number of identifiers having a hit in each category of this level. -You can choose one or more GO categories: +----- + +**Input** + +Two modes are allowed: either by copy/pasting your IDs (separated by a space) or by supplying a tabular file (.csv, .tsv, .txt, .tab) including your IDs (identifiers). +Only entrez gene ID (e.g : 4151) or Uniprot accession number (e.g. P31946) are allowed. If your list is not in this form, please use the ID_Converter tool of ProteoRE. + +----- -* Biological Process (BP) -* Cellular Component (CC) -* Molecular Function (MF) +**Parameters** + +"Species": enter the sepcies you are working on; Homo sapiens and Mus musculus supported (Rattus norvegicus coming soon) + +"Select GO terms category": you can choose one or more GO categories which are Biological Process (BP), Cellular Component (CC) and Molecular Function (MF) + +"Ontology level (the higher this number, the deeper the GO level)": correspond to the level of GO hierarchy (from 1 to 3). In general the higher the level, the more semantically specific the term is. -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; textual output with GO terms and their computed frequencies is also provided. +----- + +**Ouput** -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) +Diagram output: graphical output in the form of bar-plot or dot-plot (png, jpeg or pdf format), one figure for each GO category. -If your type of identifiers is not supported (i.e. different from Uniprot and Entrez), please use the **ID Converter** tool in the ProteoRE section to convert your list of IDs first. +text output: with the following information GO category description (e.g.BP.Description), GO term identifier (e.g. BP.GOID) and GO term frequency (e.g. BP.Frequency) ----- @@ -153,7 +164,9 @@ **Authors** -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. +Salicrú M, Ocaña J, Sánchez-Pla A. Comparison of lists of genes based on functional profiles. BMC Bioinformatics. 2011. 12:401. doi:10.1186/1471-2105-12-401. PubMed PMID: 21999355 + +----- .. class:: infomark @@ -161,7 +174,9 @@ T.P. Lien Nguyen, Florence Combes, Yves Vandenbrouck CEA, INSERM, CNRS, Grenoble-Alpes University, BIG Institute, FR -Sandra Dérozier, Olivier Rué, Christophe Caron, Valentin Loux INRA, Paris-Saclay University, MAIAGE Unit,Migale Bioinformatics platform, +Sandra Dérozier, Olivier Rué, Christophe Caron, Valentin Loux INRA, Paris-Saclay University, MAIAGE Unit,Migale Bioinformatics platform, FR + +This work has been partially funded through the French National Agency for Research (ANR) IFB project. Contact support@proteore.org for any questions or concerns about the Galaxy implementation of this tool.