comparison disease-associations.xml @ 0:4f6fba8332ec draft

planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
author nathandunn
date Wed, 21 Jun 2017 18:42:56 -0400
parents
children 88e1bd76b069
comparison
equal deleted inserted replaced
-1:000000000000 0:4f6fba8332ec
1 <tool id="monarch-disease-associations" name="Disease Associations" version="0.1.0">
2 <requirements/>
3 <stdio>
4 <exit_code range="1:" />
5 </stdio>
6 <command><![CDATA[
7 curl -X GET --header 'Accept: application/json' 'https://api.monarchinitiative.org/api/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 <outputs>
19 <data name="output" format="json" />
20 </outputs>
21 <tests>
22 <test>
23 <param name="input" value="OMIM:605543"/>
24 <param name="association" value="genes"/>
25 <output name="output" file="genes-for-disease.json"/>
26 </test>
27 <test>
28 <param name="input" value="OMIM:605543"/>
29 <param name="association" value="models"/>
30 <output name="output" file="models-for-disease.json"/>
31 </test>
32 <test>
33 <param name="input" value="OMIM:605543"/>
34 <param name="association" value="phenotypes"/>
35 <output name="output" file="phenotypes-for-disease.json"/>
36 </test>
37 </tests>
38 <help><![CDATA[
39 Pulls data from Monarch Initiative BioLink API web services as JSON.
40 https://api.monarchinitiative.org/api/
41 ]]></help>
42 <citations>
43 <citation type="doi">doi:10.5281/zenodo.56412</citation>
44 </citations>
45 </tool>