Mercurial > repos > lnguyen > id_converter
comparison id_converter.xml @ 0:02c549457875 draft default tip
planemo upload
author | lnguyen |
---|---|
date | Fri, 15 Sep 2017 06:02:03 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:02c549457875 |
---|---|
1 <tool id="IDconverter" name="ID Converter" version="0.1.0"> | |
2 <description>converts identifiers which are of a different type/source to another type of identifiers and create the identifier lists. | |
3 </description> | |
4 <requirements> | |
5 </requirements> | |
6 <stdio> | |
7 <exit_code range="1:" /> | |
8 </stdio> | |
9 <command interpreter="Rscript"> | |
10 id_converter_UniProt.R | |
11 "$idti.idtypein" | |
12 #if $input.ids == "text" | |
13 "$input.txt" | |
14 "list" | |
15 #else | |
16 "$input.file,$input.ncol,$input.header" | |
17 "file" | |
18 #end if | |
19 "$idto.idtypeout" | |
20 "$output" | |
21 $__tool_directory__/ID_mapping_Uniprot_HomoSapiens_20170809.txt | |
22 $__tool_directory__/Nextprot_Uniprot_id_mapping_file.txt | |
23 | |
24 </command> | |
25 <inputs> | |
26 <conditional name="input" > | |
27 <param name="ids" type="select" label="Provide your identifiers" help="Copy/paste or ID list from a file (e.g. table)" > | |
28 <option value="text">Copy/paste your identifiers</option> | |
29 <option value="file">Input file containing your identifiers</option> | |
30 </param> | |
31 <when value="text" > | |
32 <param name="txt" type="text" label="Copy/paste your identifiers" help='IDs must be separated by spaces into the form field, for example: P31946 P62258' > | |
33 <sanitizer> | |
34 <valid initial="string.printable"> | |
35 <remove value="'"/> | |
36 </valid> | |
37 <mapping initial="none"> | |
38 <add source="'" target="__sq__"/> | |
39 </mapping> | |
40 </sanitizer> | |
41 </param> | |
42 </when> | |
43 <when value="file" > | |
44 <param name="file" type="data" format="txt,tabular" label="Choose a file that contains your list of IDs" help="" /> | |
45 <param name="header" type="boolean" checked="true" truevalue="true" falsevalue="false" label="Does your input file contain header?" /> | |
46 <param name="ncol" type="text" label="The column number of IDs to map" help='For example, fill in "c1" if it is the first column, "c2" if it is the second column and so on' /> | |
47 </when> | |
48 </conditional> | |
49 <conditional name="idti" > | |
50 <param name="idtypein" type="select" label="Select type/source of identifier of your list" > | |
51 <option value="neXtProt_ID" >neXtProt ID</option> | |
52 <option value="UNIPROT_AC" >Uniprot accession number</option> | |
53 <option value="UNIPROT_ID" >Uniprot ID</option> | |
54 <option value="GeneID_EntrezGene" >Entrez gene ID</option> | |
55 <option value="RefSeq" >RefSeq (NCBI) protein</option> | |
56 <option value="GI_number" >GI (NCBI GI number) ID assigned to each sequence record processed by NCBI</option> | |
57 <option value="PDB" >Protein DataBank ID</option> | |
58 <option value="GO_ID" >GOterms (Gene Ontology) ID</option> | |
59 <option value="PIR" >Protein Information Resource ID</option> | |
60 <option value="OMIM" >OMIM (Online Mendelian Inheritance in Man database) ID</option> | |
61 <option value="UniGene" >Unigene ID</option> | |
62 <option value="Ensembl.ENSG" >Ensembl gene ID</option> | |
63 <option value="Ensembl.ENST" >Ensembl transcript ID</option> | |
64 <option value="Ensembl.ENSP" >Ensembl protein ID</option> | |
65 </param> | |
66 <when value="neXtProt_ID" > | |
67 </when> | |
68 <when value="UNIPROT_AC" > | |
69 </when> | |
70 <when value="UNIPROT_ID" > | |
71 </when> | |
72 <when value="GeneID_EntrezGene" > | |
73 </when> | |
74 <when value="RefSeq" > | |
75 </when> | |
76 <when value="GI_number" > | |
77 </when> | |
78 <when value="PDB" > | |
79 </when> | |
80 <when value="GO_ID" > | |
81 </when> | |
82 <when value="PIR" > | |
83 </when> | |
84 <when value="OMIM" > | |
85 </when> | |
86 <when value="UniGene" > | |
87 </when> | |
88 <when value="Ensembl.ENSG" > | |
89 </when> | |
90 <when value="Ensembl.ENST" > | |
91 </when> | |
92 <when value="Ensembl.ENSP" > | |
93 </when> | |
94 </conditional> | |
95 <section name="idto" title="Target type of IDs" expanded="True" > | |
96 <param name="idtypeout" type="select" label="Target type of IDs you would like to map to" display="checkboxes" multiple="True" > | |
97 <option value="neXtProt_ID" >neXtProt ID</option> | |
98 <option value="UNIPROT_AC" >Uniprot accession number</option> | |
99 <option value="UNIPROT_ID" >Uniprot ID</option> | |
100 <option value="GeneID_EntrezGene" >Entrez gene ID</option> | |
101 <option value="RefSeq" >RefSeq (NCBI) protein</option> | |
102 <option value="GI_number" >GI (NCBI GI number) ID assigned to each sequence record processed by NCBI</option> | |
103 <option value="PDB" >Protein DataBank ID</option> | |
104 <option value="GO_ID" >GOterms (Gene Ontology) ID</option> | |
105 <option value="PIR" >Protein Information Resource ID</option> | |
106 <option value="OMIM" >OMIM (Online Mendelian Inheritance in Man database) ID</option> | |
107 <option value="UniGene" >Unigene ID</option> | |
108 <option value="Ensembl.ENSG" >Ensembl gene ID</option> | |
109 <option value="Ensembl.ENST" >Ensembl transcript ID</option> | |
110 <option value="Ensembl.ENSP" >Ensembl protein ID</option> | |
111 </param> | |
112 </section> | |
113 </inputs> | |
114 <outputs> | |
115 <data name="output" format="tabular" /> | |
116 </outputs> | |
117 <tests> | |
118 <test> | |
119 <conditional name="input"> | |
120 <param name="ids" value="file" /> | |
121 <param name="file" value="UnipIDs.txt" /> | |
122 <param name="header" value="false" /> | |
123 <param name="ncol" value="c1" /> | |
124 </conditional> | |
125 <conditional name="idti"> | |
126 <param name="idtypein" value="UNIPROT_AC" /> | |
127 </conditional> | |
128 <section name="idto"> | |
129 <param name="idtypeout" value="Ensembl.ENSP,Ensembl.ENSG,neXtProt_ID" /> | |
130 </section> | |
131 <output name="output" file="output.txt" /> | |
132 </test> | |
133 </tests> | |
134 <help><![CDATA[ | |
135 This tool converts a list of IDs to another identifier type, select the source and target type from the dropdown menus above (see below supported source and target types). | |
136 | |
137 After choosing the type of input IDs, you can choose one or more types of IDs you would like to map to. | |
138 | |
139 If your input is a list of IDs or a single-column file, the tool will return a file containing the mapped IDs. | |
140 | |
141 If your input is a multiple-column file, the mapped IDs column(s) will be added at the end of the input file. | |
142 | |
143 **Available databases** | |
144 | |
145 * neXtProt ID | |
146 | |
147 * Uniprot accession number | |
148 | |
149 * Uniprot ID | |
150 | |
151 * Entrez gene ID | |
152 | |
153 * RefSeq (NCBI) protein | |
154 | |
155 * GI (NCBI GI number) ID assigned to each sequence record processed by NCBI | |
156 | |
157 * Protein DataBank ID | |
158 | |
159 * GOterms (Gene Ontology) ID | |
160 | |
161 * Protein Information Resource ID | |
162 | |
163 * OMIM (Online Mendelian Inheritance in Man database) ID | |
164 | |
165 * Unigene ID | |
166 | |
167 * Ensembl gene ID | |
168 | |
169 * Ensembl transcript ID | |
170 | |
171 * Ensembl protein ID | |
172 | |
173 ----- | |
174 | |
175 .. class:: infomark | |
176 | |
177 **Authors** | |
178 | |
179 T.P. Lien Nguyen, Florence Combes, Yves Vandenbrouck CEA, INSERM, CNRS, Grenoble-Alpes University, BIG Institute, FR | |
180 Sandra Dérozier, Olivier Rué, Christophe Caron, Valentin Loux INRA, Paris-Saclay University, MAIAGE Unit, Migale Bioinformatics platform | |
181 | |
182 This work has been partially funded through the French National Agency for Research (ANR) IFB project. | |
183 | |
184 Contact support@proteore.org for any questions or concerns about the Galaxy implementation of this tool. | |
185 | |
186 ]]></help> | |
187 <citations> | |
188 </citations> | |
189 </tool> |