Mercurial > repos > proteore > proteore_prot_features
comparison add_protein_features.xml @ 9:0b46a7aead62 draft
planemo upload commit eb7450f36863f02f036cbc52bf5525d68f22bd9e
author | proteore |
---|---|
date | Tue, 18 Dec 2018 08:26:55 -0500 |
parents | |
children | 4de4f6359820 |
comparison
equal
deleted
inserted
replaced
8:2e53ba3b1697 | 9:0b46a7aead62 |
---|---|
1 <tool id="prot_features" name="Add protein features" version="2018.12.18"> | |
2 <description>[neXtProt] | |
3 </description> | |
4 <requirements> | |
5 <requirement type="package" version="3.4.1">R</requirement> | |
6 </requirements> | |
7 <stdio> | |
8 <exit_code range="1:" /> | |
9 </stdio> | |
10 <command><![CDATA[ | |
11 | |
12 Rscript $__tool_directory__/add_protein_features.R | |
13 --inputtype="$inputtype.filetype" | |
14 --input='$inputtype.genelist' | |
15 | |
16 #if $inputtype.filetype == "file" | |
17 --column='$inputtype.column' | |
18 --header=$inputtype.header | |
19 #end if | |
20 | |
21 --type='$idtype' | |
22 --pc_features='$Nextprot_params.pc_features' | |
23 --localization='$Nextprot_params.localization' | |
24 --diseases_info='$Nextprot_params.diseases_info' | |
25 --output='$output' | |
26 --nextprot=$__tool_directory__/tool-data/result_nextprot.txt | |
27 | |
28 ]]></command> | |
29 | |
30 <inputs> | |
31 <conditional name="inputtype"> | |
32 <param name="filetype" type="select" label="Enter your IDs (neXtProt or UniProt)" help="Copy/paste or from a file" > | |
33 <option value="file" selected="true">Input file containing your IDs </option> | |
34 <option value="copy_paste">Copy/paste your list of IDs</option> | |
35 </param> | |
36 <when value="copy_paste"> | |
37 <param name="genelist" type="text" label="Enter a list of IDs separated by tab, space or carriage return into the form field" help="for example : A0AVI2 A6NGB0"> | |
38 <sanitizer invalid_char=""> | |
39 <valid initial="string.printable"> | |
40 <remove value="'"/> | |
41 </valid> | |
42 <mapping initial="none"> | |
43 <add source="'" target="__sq__"/> | |
44 <add source=" " target=""/> | |
45 <add source="
" target=""/> | |
46 <add source="
" target=""/> | |
47 <add source="	" target=""/> | |
48 </mapping> | |
49 </sanitizer> | |
50 </param> | |
51 </when> | |
52 <when value="file"> | |
53 <param name="genelist" type="data" format="txt,tabular" label="Select your file" help=""/> | |
54 <param name="column" type="text" label="Column IDs (e.g : Enter c1 for column n°1)" value="c1"/> | |
55 <param name="header" type="boolean" checked="true" truevalue="true" falsevalue="false" label="Does input file have header?" /> | |
56 | |
57 </when> | |
58 </conditional> | |
59 | |
60 <param name="idtype" type="select" label="Type of IDs" multiple="false" optional="false"> | |
61 <option value="Uniprot_AC" selected="true">Uniprot accession number</option> | |
62 <option value="NextprotID" selected="false">neXtProt IDs</option> | |
63 </param> | |
64 <section name="Nextprot_params" title="Select features" expanded="True"> | |
65 <param name="pc_features" type="select" label="Physico-Chemical Features" multiple="true" help="" display="checkboxes" optional="true"> | |
66 <option value="SeqLength" selected="false">Sequence Length</option> | |
67 <option value="MW" selected="false">Molecular Weight</option> | |
68 <option value="IsoPoint" selected="false">Isoelectric point</option> | |
69 <option value="TMDomains" selected="false">Number of transmembrane domains</option> | |
70 <option value="ProteinExistence" selected="false">Protein Existence (evidence score from 1 to 5)</option> | |
71 </param> | |
72 | |
73 <param name="localization" type="select" label="Localization" multiple="true" help="" display="checkboxes" optional="true"> | |
74 <option value="Chr" selected="false">Chromosome</option> | |
75 <option value="SubcellLocations" selected="false">Subcellular Location</option> | |
76 </param> | |
77 | |
78 <param name="diseases_info" type="boolean" checked="false" truevalue="true" falsevalue="false" label="Disease information" /> | |
79 | |
80 </section> | |
81 | |
82 </inputs> | |
83 | |
84 | |
85 <outputs> | |
86 <data name="output" format="tsv" label="Add_information_from_neXtProt on ${inputtype.genelist.name}"> | |
87 <filter>inputtype=="file"</filter> | |
88 </data> | |
89 <data name="output" format="tsv" label="Add_information_from_neXtProt"/> | |
90 </outputs> | |
91 | |
92 <tests> | |
93 <test> | |
94 <conditional name="inputtype"> | |
95 <param name="filetype " value="file"/> | |
96 <param name="genelist" value="FKW_ID_Converter_Lacombe_et_al_2017_OK.tsv"/> | |
97 <param name="column" value="c1"/> | |
98 <param name="header" value="true"/> | |
99 </conditional> | |
100 | |
101 <param name="idtype" value="uniprot"/> | |
102 | |
103 <section name="Nextprot_params"> | |
104 <param name="pc_features" value="SeqLength,MW,IsoPoint,TMDomains,ProteinExistence"/> | |
105 <param name="localization" value="Chr,SubcellLocations"/> | |
106 <param name="diseases_info" value="true"/> | |
107 </section> | |
108 | |
109 <output name="output" file="Add_information_from_neXtProt.tsv"/> | |
110 </test> | |
111 </tests> | |
112 | |
113 <help><![CDATA[ | |
114 | |
115 **Description** | |
116 | |
117 This tool retrieves annotation (protein features) from the neXtProt database (knowledgebase on human proteins) to enrich your protein IDs list. | |
118 | |
119 ----- | |
120 | |
121 **Input** | |
122 | |
123 A list of of Uniprot (e.g. P05090) or neXtProt IDs (e.g. NX_P05090) entered in a copy/paste mode or a file containing one or multiple columns with **at least one column of Uniprot accession number or neXtProt IDs**. If your input file contains other type of IDs, please use the ID_Converter tool. | |
124 | |
125 ----- | |
126 | |
127 **Parameters** | |
128 | |
129 "Select fetures": three categories of annotation can be retrieved; physico-chemical features, localisation (chromosome, subcellular) and disease information (set to "Yes" by default). Select each feature according to your interest by clicking the corresponding checkbox. | |
130 | |
131 ----- | |
132 | |
133 **Output** | |
134 | |
135 Output is a tabular file containing both original columns and new columns including the annotation requested. | |
136 | |
137 ----- | |
138 | |
139 **Data source (release date)** | |
140 | |
141 Annotations have been retrieved from the neXtProt released on 21/02/2018 using the latest data from peptideAtlas (release January 2018) | |
142 | |
143 using a REST API (https://academic.oup.com/nar/article/43/D1/D764/2439066#40348985) (Gaudet et al., 2017) | |
144 | |
145 ----- | |
146 | |
147 .. class:: infomark | |
148 | |
149 **Authors** | |
150 | |
151 David Christiany, Lisa Peru, T.P. Lien Nguyen, Florence Combes, Yves Vandenbrouck CEA, INSERM, CNRS, Grenoble-Alpes University, BIG Institute, FR | |
152 | |
153 Sandra Dérozier, Olivier Rué, Christophe Caron, Valentin Loux INRA, Paris-Saclay University, MAIAGE Unit, Migale Bioinformatics platform, FR | |
154 | |
155 This work has been partially funded through the French National Agency for Research (ANR) IFB project. | |
156 | |
157 Contact support@proteore.org for any questions or concerns about the Galaxy implementation of this tool. | |
158 | |
159 ]]></help> | |
160 <citations> | |
161 </citations> | |
162 | |
163 </tool> |