comparison kegg_identification.xml @ 1:d600ce7f2484 draft

planemo upload commit bdd7e8a1f08c11db2a9f1b6db5535c6d32153b2b-dirty
author proteore
date Tue, 18 Dec 2018 10:00:40 -0500
parents
children 60368fca9772
comparison
equal deleted inserted replaced
0:42d0805353b6 1:d600ce7f2484
1 <tool id="kegg_identification" name="KEGG pathways identification" version="2018.12.12">
2 <description>and coverage</description>
3 <requirements>
4 <requirement type="package" version="1.18.0">bioconductor-keggrest</requirement>
5 </requirements>
6 <command detect_errors="exit_code"><![CDATA[
7 Rscript $__tool_directory__/kegg_identification.R
8
9 #if $input.ids == "text"
10 --id_list="$input.txt"
11 #else
12 --input="$input.file"
13 --id_column="$input.ncol"
14 --header="$input.header"
15 #end if
16
17 --id_type="$id_type"
18 --output="$output1"
19 --nb_pathways="$nb_pathways"
20 --species="$species"
21
22 ]]></command>
23 <inputs>
24 <conditional name="input" >
25 <param name="ids" type="select" label="Enter your IDs (Entrez gene IDs, KEGG gene IDs or UniProt Accession number)" help="Copy/paste or from a file (e.g. table)" >
26 <option value="text">Copy/paste your IDs</option>
27 <option value="file" selected="true">Input file containing your IDs</option>
28 </param>
29 <when value="text" >
30 <param name="txt" type="text" label="Copy/paste your IDs" help='IDs must be separated by tab, space or carriage return into the form field, for example: hsa:3306 hsa:22948' >
31 <sanitizer invalid_char=''>
32 <valid initial="string.printable">
33 <remove value="&apos;"/>
34 </valid>
35 <mapping initial="none">
36 <add source="&apos;" target="__sq__"/>
37 </mapping>
38 </sanitizer>
39 </param>
40 </when>
41 <when value="file" >
42 <param name="file" type="data" format="txt,tabular,tsv" label="Select your file" help="" />
43 <param name="header" type="boolean" checked="true" truevalue="true" falsevalue="false" label="Does file contain header?" />
44 <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' />
45 </when>
46 </conditional>
47 <param name="id_type" type="select" label="Select IDs" >
48 <option value="ncbi-geneid" selected="true">Entrez Gene ID</option>
49 <option value="kegg-id">KEGG gene ID</option>
50 <option value="uniprot">UniProt Accession number</option>
51
52 </param>
53 <param name="species" type="select" label="Species">
54 <option value="hsa">Human (Homo sapiens)</option>
55 <option value="mmu">Mouse (Mus musculus)</option>
56 <option value="rno">Rat (Rattus norvegicus)</option>
57 </param>
58 <param type="integer" name="nb_pathways" label="Set number of pathways to be displayed" value="10" help="Pathways are sorted by percent of mapping gene by pathway in descending order"/>
59 </inputs>
60 <outputs>
61 <data name="output1" format="tsv" />
62 </outputs>
63 <tests>
64 <test>
65 <conditional name="input" >
66 <param name="ids" value="file"/>
67 <param name="file" value="SPZ.soluble_kegg_id.txt" />
68 <param name="header" value="true" />
69 <param name="ncol" value="c2" />
70 </conditional>
71 <param name="id_type" value="kegg-id" />
72 <param name="species" value="hsa" />
73 <param name="nb_pathways" value="20" />
74 <output name="output1" value="test.tsv" />
75 </test>
76 </tests>
77 <help><![CDATA[
78
79 **Description**
80
81 This tool maps a list of identifiers to all KEGG pathways and returns a list of KEGG pathways sorted by the percentage of coverage for each pathway. This is done by computing the number of KEGG genes IDs from your list divided by the total number of KEGG genes ID of the selected species for each KEGG pathway.
82
83 It allows you to directly identify KEGG pathways that are the most covered by your gene/protein list.
84
85 -----
86
87 **Input**
88
89 Input can be either a list of IDs or a file containing multiple columns but with at least one column of IDs (e.g. hsa:04970).
90 Input IDs type can be Entrez gene ID (e.g. 2243), KEGG gene ID (e.g. hsa:2243 in homo sapiens) or Uniprot accession number (e.g. P02671).
91
92 .. class:: warningmark
93
94 If you use Uniprot accession number, it will be converted to KEGG gene ID; this step can be time consuming.
95
96 If your input file contains other type of ID, please use the ID_Converter tool.
97
98 -----
99
100 **Parameters**
101
102 "Set number of pathways to be displayed": by default the number of pathway to be displayed is set to 10 and sorted in descending order.
103
104 "Species": three species are supported: Human (Homo sapiens), Mouse (Mus musculus) and Rat (Rattus norvegicus).
105
106 -----
107
108 **Output:**
109
110 The output is a tabular file (.tsv) with the following columns:
111
112 * **Pathway_ID:** KEGG pathway identifier (e.g. hsa04970)
113 * **Description:** name of the pathway as in KEGG
114 * **Ratio IDs mapped/total IDs (%):** pathway coverage in percentage
115 * **nb KEGG genes IDs mapped in the pathway:** number of KEGG genes from your list mapped to the KEGG pathway
116 * **nb total of KEGG genes IDs present in the pathway:** total number of KEGG genes present in the KEGG pathway
117
118 -----
119
120 .. class:: infomark
121
122 **Data source (release date)**
123
124 Pathways and KEGG genes IDs are collected via KEGGREST package.
125
126 User manual / Documentation: KEGGREST Bioconductor package https://bioconductor.org/packages/3.1/bioc/html/KEGGREST.html
127
128 -----
129
130 .. class:: infomark
131
132 **Galaxy integration**
133
134 David Christiany, Florence Combes, Yves Vandenbrouck CEA, INSERM, CNRS, Grenoble-Alpes University, BIG Institute, FR
135
136 Sandra Dérozier, Olivier Rué, Valentin Loux INRA, Paris-Saclay University, MAIAGE Unit, Migale Bioinformatics platform, FR
137
138 This work has been partially funded through the French National Agency for Research (ANR) IFB project.
139
140 Contact support@proteore.org for any questions or concerns about the Galaxy implementation of this tool.
141
142 ]]></help>
143 <citations>
144 <citation type="bibtex">
145 @misc{githubKEGGREST,
146 title = {KEGGREST: Client-side REST access to KEGG},
147 author = {Dan Tenenbaum},
148 year = {2018},
149 note = {R package version 1.18.1},
150 publisher = {GitHub},
151 journal = {GitHub repository},
152 url = {https://github.com/Bioconductor/KEGGREST},
153 }</citation>
154 </citations>
155 </tool>