comparison disease-associations.xml @ 0:028a3ffc17b4 draft

planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
author nathandunn
date Fri, 23 Jun 2017 15:04:12 -0400
parents
children 66ece4fd024f
comparison
equal deleted inserted replaced
-1:000000000000 0:028a3ffc17b4
1 <tool id="planteome-disease-associations" name="Disease Associations" version="0.1.0">
2 <macros>
3 <import>macros.xml</import>
4 </macros>
5 <expand macro="frontmatter" />
6 <command><![CDATA[
7 curl --silent -X GET --header 'Accept: application/json' 'http://biolink.planteome.org/apiapi/bioentity/disease/$input/$association/?rows=$rows&fetch_objects=true' > $output
8 ]]></command>
9 <inputs>
10 <param name="input" type="text" format="txt" multiple="false" label="Disease (e.g. OMIM:605543, DOID:678)" />
11 <param name="association" type="select" multiple="false" display="radio" label="Type">
12 <option value="genes">Genes</option>
13 <option value="models">Models</option>
14 <option value="phenotypes">Phenotypes</option>
15 </param>
16 <param name="rows" type="text" format="txt" multiple="false" value="1000" label="Num Rows"/>
17 </inputs>
18 <expand macro="outputs" />
19 <tests>
20 <test>
21 <param name="input" value="OMIM:605543"/>
22 <param name="association" value="genes"/>
23 <output name="output" file="genes-for-disease.json"/>
24 </test>
25 <test>
26 <param name="input" value="OMIM:605543"/>
27 <param name="association" value="models"/>
28 <output name="output" file="models-for-disease.json"/>
29 </test>
30 <test>
31 <param name="input" value="OMIM:605543"/>
32 <param name="association" value="phenotypes"/>
33 <output name="output" file="phenotypes-for-disease.json"/>
34 </test>
35 </tests>
36 <expand macro="citations" />
37 </tool>