comparison gene-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-gene-associations" name="Gene 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/gene/$input/$association/?rows=$rows&fetch_objects=true' > $output
8 ]]></command>
9 <inputs>
10 <param name="input" type="text" format="txt" multiple="false" label="Gene"/>
11 <param name="association" type="select" multiple="false" display="radio" label="Type">
12 <option value="diseases">Diseases (e.g,. NCBIGene:4750, Orphanet:173505)</option>
13 <option value="function">Function (e.g,. NCBIGene:4750, Orphanet:173505)</option>
14 <option value="homologs">Homologs (e.g,. NCBIGene:4750, Orphanet:173505)</option>
15 <option value="interactions">Interactions (e.g,. NCBIGene:4750, Orphanet:173505)</option>
16 <option value="phenotypes">Phenotypes (e.g,. NCBIGene:4750, Orphanet:173505)</option>
17 </param>
18 <param name="rows" type="text" format="txt" multiple="false" value="1000" label="Num Rows"/>
19 </inputs>
20 <expand macro="outputs" />
21 <tests>
22 <test>
23 <param name="input" value="NCBIGene:4750"/>
24 <param name="association" value="diseases"/>
25 <output name="output" file="diseases-for-gene.json"/>
26 </test>
27 <test>
28 <param name="input" value="NCBIGene:4750"/>
29 <param name="association" value="function"/>
30 <output name="output" file="function-for-gene.json"/>
31 </test>
32 <test>
33 <param name="input" value="NCBIGene:4750"/>
34 <param name="association" value="homologs"/>
35 <output name="output" file="homologs-for-gene.json"/>
36 </test>
37 <test>
38 <param name="input" value="NCBIGene:4750"/>
39 <param name="association" value="interactions"/>
40 <output name="output" file="interactions-for-gene.json"/>
41 </test>
42 <test>
43 <param name="input" value="NCBIGene:4750"/>
44 <param name="association" value="phenotypes"/>
45 <output name="output" file="phenotypes-for-gene.json"/>
46 </test>
47 </tests>
48 <expand macro="citations" />
49 </tool>