annotate sparql_uniprot.xml @ 23:478f5587f12a draft default tip

Uploaded
author fabad
date Sun, 22 Oct 2017 15:57:18 -0400
parents 8f9aa7684f29
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
1 <tool id="sparql_uniprot" name="Uniprot Sparql" version="0.1.0">
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
2 <description>Perform a search into uniprot database using its sparql interface.</description>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
3 <requirements>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
4 <requirement type="binary">python</requirement>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
5 <requirement type="package" version="1.7.6">SPARQLWrapper</requirement>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
6 </requirements>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
7 <command interpreter="python">sparql_uniprot.py "${protein}" "${proteinName}" "${geneName}" "${organismName}" "${diseaseAnnotation}" "${domainName}" "${similarityAnnotation}" "${locationAnnotation}" "${functionAnnotation}" "${pharmaceuticalAnnotation}" "${output}"</command>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
8 <inputs>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
9 <param name="protein" type="text" label="Uniprot Identifier"/>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
10
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
11 <param name="proteinName" type="text" label="Protein Name">
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
12 <!-- sanitizer para que nos deje usar el caracter $ -->
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
13 <sanitizer sanitize="False"/>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
14 </param>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
15
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
16 <param name="geneName" type="text" label="Gene Name">
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
17 <sanitizer sanitize="False"/>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
18 </param>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
19
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
20 <param name="organismName" type="text" label="Organism">
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
21 <sanitizer sanitize="False"/>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
22 </param>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
23
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
24 <param name="diseaseAnnotation" type="text" label="Disease Annotation">
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
25 <sanitizer sanitize="False"/>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
26 </param>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
27
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
28 <param name="domainName" type="text" label="Domain">
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
29 <sanitizer sanitize="False"/>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
30 </param>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
31
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
32 <param name="similarityAnnotation" type="text" label="Similarity Annotation">
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
33 <sanitizer sanitize="False"/>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
34 </param>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
35
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
36 <param name="locationAnnotation" type="text" label="Location Annotation">
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
37 <sanitizer sanitize="False"/>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
38 </param>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
39
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
40 <param name="functionAnnotation" type="text" label="Function Annotation">
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
41 <sanitizer sanitize="False"/>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
42 </param>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
43
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
44 <param name="pharmaceuticalAnnotation" type="text" label="Pharmaceutical Annotation">
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
45 <sanitizer sanitize="False"/>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
46 </param>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
47 </inputs>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
48
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
49 <outputs>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
50 <data format="tabular" name="output" />
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
51 </outputs>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
52
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
53 <help>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
54 With this tool you can search proteins using regular expressions by the following fields: uniprot identifier, protein name, gene name , organism name, disease annotation, domain name, similarity annotation, location annotation, function annotation or pharmaceutical annotationText. You can fill the fields you want and the tool will return all the data found in uniprot by filling the other fields. Results will be stored in a tabular format. If you want to search the exact match of a field you should use ^parameter$, for example ^insulin$.
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
55 </help>
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
56
8f9aa7684f29 Uploaded
fabad
parents:
diff changeset
57 </tool>