comparison get-object.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-get-object" name="Get Object" 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/$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 <expand macro="outputs" />
23 <tests>
24 <test>
25 <param name="input" value="OMIM:605543"/>
26 <param name="type" value=""/>
27 <output name="output" file="bioentity-object-for-disease.json"/>
28 </test>
29 <test>
30 <param name="input" value="OMIM:605543"/>
31 <param name="type" value=""/>
32 <param name="associations" value="/associations/"/>
33 <output name="output" file="bioentity-associations-for-disease.json"/>
34 </test>
35 <test>
36 <param name="input" value="NCBIGene:84570"/>
37 <param name="association" value="gene/"/>
38 <output name="output" file="bioentity-object-for-gene.json"/>
39 </test>
40 <test>
41 <param name="input" value="ZFIN:ZDB-FISH-150901-6607"/>
42 <param name="association" value="genotype/"/>
43 <output name="output" file="bioentity-object-for-genotype.json"/>
44 </test>
45 </tests>
46 <expand macro="citations" />
47 </tool>
48