annotate data_manager/resource_building.xml @ 2:1f1fb404255a draft

planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
author dchristiany
date Fri, 19 Oct 2018 03:50:20 -0400
parents c60497a290e8
children c4ac72465a95
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
1f1fb404255a planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents: 1
diff changeset
1 <tool id="data_manager_proteore" name="Get source files for proteore tools" version="0.1" tool_type="manage_data">
0
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
2 <description>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
3 to create or update reference files for proteore tools
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
4 </description>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
5 <requirements>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
6 </requirements>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
7 <stdio>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
8 <exit_code range="1:" />
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
9 </stdio>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
10 <command><![CDATA[
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
11
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
12 python $__tool_directory__/resource_building.py
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
13 #if $database.database == "human_protein_atlas"
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
14 --hpa "$database.tissues"
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
15 #else if $database.database == "peptide_atlas"
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
16 --peptideatlas "$database.tissues"
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
17 #else if $database.database == "id_mapping"
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
18 --id_mapping="$database.species"
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
19 #end if
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
20 --output "$output"
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
21
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
22 ]]></command>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
23
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
24 <inputs>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
25 <conditional name="database">
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
26 <param name="database" type="select">
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
27 <option value="human_protein_atlas">Human Protein Atlas</option>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
28 <option value="peptide_atlas">Peptide Atlas</option>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
29 <option value="id_mapping">ID mapping</option>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
30 </param>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
31 <when value="human_protein_atlas">
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
32 <param name="tissues" type="select" multiple="false" label="Please select tissue">
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
33 <option value="HPA_normal_tissue">Normal tissue</option>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
34 <option value="HPA_pathology">Pathology</option>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
35 <option value="HPA_full_atlas">Full Atlas</option>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
36 </param>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
37 </when>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
38 <when value="peptide_atlas">
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
39 <param name="tissues" type="select" multiple="false" label="Please select the tissue">
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
40 <option value="1-Human_Liver">Human liver</option>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
41 <option value="2-Human_Brain">Human brain</option>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
42 <option value="4-Human_Heart">Human heart</option>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
43 <option value="5-Human_Kidney">Human kidney</option>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
44 <option value="10-Human_Plasma">Human blood plasma</option>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
45 <option value="13-Human_Urine">Human urine</option>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
46 <option value="24-Human_CSF">Human cerebrospinal fluid</option>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
47 </param>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
48 </when>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
49 <when value="id_mapping">
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
50 <param name="species" type="select" multiple="false" label="Please select the species">
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
51 <option value="human">Homo sapiens</option>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
52 <option value="mouse">Mus musculus</option>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
53 <option value="rat">Rattus norvegicus</option>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
54 </param>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
55 </when>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
56 </conditional>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
57 </inputs>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
58
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
59 <outputs>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
60 <!--data format="tabular" name="output">
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
61 <discover_datasets pattern="(?P&lt;designation&gt;.+).tsv" ext="tabular" visible="true" assign_primary_output="true" />
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
62 </data-->
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
63 <data name="output" format="data_manager_json"/>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
64 </outputs>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
65
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
66 <tests>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
67 </tests>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
68
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
69 <help><![CDATA[
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
70
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
71 TODO
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
72
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
73 -----
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
74
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
75 .. class:: infomark
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
76
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
77 **Authors**
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
78
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
79 Lisa Peru, T.P. Lien Nguyen, Florence Combes, Yves Vandenbrouck CEA, INSERM, CNRS, Grenoble-Alpes University, BIG Institute, FR
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
80
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
81 Sandra Dérozier, Olivier Rué, Christophe Caron, Valentin Loux INRA, Paris-Saclay University, MAIAGE Unit, Migale Bioinformatics platform
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
82
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
83 This work has been partially funded through the French National Agency for Research (ANR) IFB project.
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
84
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
85 Contact support@proteore.org for any questions or concerns about the Galaxy implementation of this tool.
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
86
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
87 ]]></help>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
88 <citations>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
89 </citations>
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
90
2de84fea8367 planemo upload commit d703392579d96e480c6461ce679516b12cefb3de-dirty
dchristiany
parents:
diff changeset
91 </tool>