comparison get-object.xml @ 1:66ece4fd024f draft default tip

planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
author nathandunn
date Wed, 28 Jun 2017 10:27:08 -0400
parents 028a3ffc17b4
children
comparison
equal deleted inserted replaced
0:028a3ffc17b4 1:66ece4fd024f
2 <macros> 2 <macros>
3 <import>macros.xml</import> 3 <import>macros.xml</import>
4 </macros> 4 </macros>
5 <expand macro="frontmatter" /> 5 <expand macro="frontmatter" />
6 <command><![CDATA[ 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 7 curl --silent -X GET --header 'Accept: application/json' 'http://biolink.planteome.org/api/bioentity/$type$input$associations?rows=$rows&fetch_objects=true' > $output
8 ]]></command> 8 ]]></command>
9 <inputs> 9 <inputs>
10 <param name="input" type="text" format="txt" multiple="false" label="Object ID" /> 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"> 11 <param name="type" type="select" multiple="false" display="radio" label="Type">
12 <option value="">Any</option> 12 <option value="">Any</option>
13 <option value="gene/">Gene (e.g. NCBIGene:84570)</option> 13 <option value="gene/">Gene (e.g. MaizeGDB:9024907)</option>
14 <option value="genotype/">Genotype (e.g. ZFIN:ZDB-FISH-150901-6607)</option> 14 <!--<option value="genotype/">Genotype (e.g. ZFIN:ZDB-FISH-150901-6607)</option>-->
15 </param> 15 </param>
16 <param name="associations" type="select" multiple="false" display="radio" label="Render Associations"> 16 <param name="associations" type="select" multiple="false" display="radio" label="Render Associations">
17 <option value="/associations/">True</option> 17 <option value="/associations/">True</option>
18 <option value="" checked="true">False</option> 18 <option value="" checked="true">False</option>
19 </param> 19 </param>
20 <param name="rows" type="text" format="txt" multiple="false" value="1000" label="Num Rows"/> 20 <param name="rows" type="text" format="txt" multiple="false" value="1000" label="Num Rows"/>
21 </inputs> 21 </inputs>
22 <expand macro="outputs" /> 22 <expand macro="outputs" />
23 <tests> 23 <tests>
24 <test> 24 <test>
25 <param name="input" value="OMIM:605543"/> 25 <param name="input" value="MaizeGDB:9024907"/>
26 <param name="type" value=""/> 26 <param name="type" value=""/>
27 <output name="output" file="bioentity-object-for-disease.json"/> 27 <output name="output" file="bioentity-object-for-disease.json"/>
28 </test> 28 </test>
29 <test> 29 <test>
30 <param name="input" value="OMIM:605543"/> 30 <param name="input" value="MaizeGDB:9024907"/>
31 <param name="type" value=""/> 31 <param name="type" value=""/>
32 <param name="associations" value="/associations/"/> 32 <param name="associations" value="/associations/"/>
33 <output name="output" file="bioentity-associations-for-disease.json"/> 33 <output name="output" file="bioentity-associations-for-disease.json"/>
34 </test> 34 </test>
35 <test> 35 <test>
36 <param name="input" value="NCBIGene:84570"/> 36 <param name="input" value="MaizeGDB:9024907"/>
37 <param name="association" value="gene/"/> 37 <param name="association" value="gene/"/>
38 <output name="output" file="bioentity-object-for-gene.json"/> 38 <output name="output" file="bioentity-object-for-gene.json"/>
39 </test> 39 </test>
40 <test> 40 <test>
41 <param name="input" value="ZFIN:ZDB-FISH-150901-6607"/> 41 <param name="input" value="MaizeGDB:9024907"/>
42 <param name="association" value="genotype/"/> 42 <param name="association" value="genotype/"/>
43 <output name="output" file="bioentity-object-for-genotype.json"/> 43 <output name="output" file="bioentity-object-for-genotype.json"/>
44 </test> 44 </test>
45 </tests> 45 </tests>
46 <expand macro="citations" /> 46 <expand macro="citations" />