comparison get-object.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-get-object" name="Get Object" 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/$type$input$associations?rows=$rows&fetch_objects=true' > $output
8 ]]></command>
9 <inputs>
10 <param name="input" type="text" format="txt" multiple="false" label="Object ID" />
11 <param name="type" type="select" multiple="false" display="radio" label="Type">
12 <option value="">Any</option>
13 <option value="gene/">Gene (e.g. NCBIGene:84570)</option>
14 <option value="genotype/">Genotype (e.g. ZFIN:ZDB-FISH-150901-6607)</option>
15 </param>
16 <param name="associations" type="select" multiple="false" display="radio" label="Render Associations">
17 <option value="/associations/">True</option>
18 <option value="" checked="true">False</option>
19 </param>
20 <param name="rows" type="text" format="txt" multiple="false" value="1000" label="Num Rows"/>
21 </inputs>
22 <outputs>
23 <data name="output" format="json" />
24 </outputs>
25 <tests>
26 <test>
27 <param name="input" value="OMIM:605543"/>
28 <param name="type" value=""/>
29 <output name="output" file="bioentity-object-for-disease.json"/>
30 </test>
31 <test>
32 <param name="input" value="OMIM:605543"/>
33 <param name="type" value=""/>
34 <param name="associations" value="/associations/"/>
35 <output name="output" file="bioentity-associations-for-disease.json"/>
36 </test>
37 <test>
38 <param name="input" value="NCBIGene:84570"/>
39 <param name="association" value="gene/"/>
40 <output name="output" file="bioentity-object-for-gene.json"/>
41 </test>
42 <test>
43 <param name="input" value="ZFIN:ZDB-FISH-150901-6607"/>
44 <param name="association" value="genotype/"/>
45 <output name="output" file="bioentity-object-for-genotype.json"/>
46 </test>
47 </tests>
48 <help><![CDATA[
49 Pulls data from Monarch Initiative BioLink API web services as JSON.
50 https://api.monarchinitiative.org/api/
51 ]]></help>
52 <citations>
53 <citation type="doi">doi:10.5281/zenodo.56412</citation>
54 </citations>
55 </tool>
56