annotate gene-associations.xml @ 1:66ece4fd024f draft default tip

planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
author nathandunn
date Wed, 28 Jun 2017 10:27:08 -0400
parents 028a3ffc17b4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
1 <tool id="planteome-gene-associations" name="Gene Associations" version="0.1.0">
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
2 <macros>
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
3 <import>macros.xml</import>
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
4 </macros>
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
5 <expand macro="frontmatter" />
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
6 <command><![CDATA[
1
66ece4fd024f planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
nathandunn
parents: 0
diff changeset
7 curl --silent -X GET --header 'Accept: application/json' 'http://biolink.planteome.org/api/bioentity/gene/$input/$association/?rows=$rows&fetch_objects=true' > $output
0
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
8 ]]></command>
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
9 <inputs>
1
66ece4fd024f planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
nathandunn
parents: 0
diff changeset
10 <param name="input" type="text" format="txt" multiple="false" label="Gene (e.g. MaizeGDB:9024907)"/>
0
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
11 <param name="association" type="select" multiple="false" display="radio" label="Type">
1
66ece4fd024f planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
nathandunn
parents: 0
diff changeset
12 <option value="diseases">Diseases</option>
66ece4fd024f planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
nathandunn
parents: 0
diff changeset
13 <option value="function">Function</option>
66ece4fd024f planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
nathandunn
parents: 0
diff changeset
14 <!--<option value="homologs">Homologs</option>-->
66ece4fd024f planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
nathandunn
parents: 0
diff changeset
15 <!--<option value="interactions">Interactions</option>-->
66ece4fd024f planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
nathandunn
parents: 0
diff changeset
16 <option value="phenotypes">Phenotypes</option>
0
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
17 </param>
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
18 <param name="rows" type="text" format="txt" multiple="false" value="1000" label="Num Rows"/>
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
19 </inputs>
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
20 <expand macro="outputs" />
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
21 <tests>
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
22 <test>
1
66ece4fd024f planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
nathandunn
parents: 0
diff changeset
23 <param name="input" value="MaizeGDB:9024907"/>
0
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
24 <param name="association" value="diseases"/>
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
25 <output name="output" file="diseases-for-gene.json"/>
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
26 </test>
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
27 <test>
1
66ece4fd024f planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
nathandunn
parents: 0
diff changeset
28 <param name="input" value="MaizeGDB:9024907"/>
0
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
29 <param name="association" value="function"/>
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
30 <output name="output" file="function-for-gene.json"/>
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
31 </test>
1
66ece4fd024f planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
nathandunn
parents: 0
diff changeset
32 <!--<test>-->
66ece4fd024f planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
nathandunn
parents: 0
diff changeset
33 <!--<param name="input" value="MaizeGDB:9024907"/>-->
66ece4fd024f planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
nathandunn
parents: 0
diff changeset
34 <!--<param name="association" value="homologs"/>-->
66ece4fd024f planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
nathandunn
parents: 0
diff changeset
35 <!--<output name="output" file="homologs-for-gene.json"/>-->
66ece4fd024f planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
nathandunn
parents: 0
diff changeset
36 <!--</test>-->
66ece4fd024f planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
nathandunn
parents: 0
diff changeset
37 <!--<test>-->
66ece4fd024f planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
nathandunn
parents: 0
diff changeset
38 <!--<param name="input" value="MaizeGDB:9024907"/>-->
66ece4fd024f planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
nathandunn
parents: 0
diff changeset
39 <!--<param name="association" value="interactions"/>-->
66ece4fd024f planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
nathandunn
parents: 0
diff changeset
40 <!--<output name="output" file="interactions-for-gene.json"/>-->
66ece4fd024f planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
nathandunn
parents: 0
diff changeset
41 <!--</test>-->
0
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
42 <test>
1
66ece4fd024f planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
nathandunn
parents: 0
diff changeset
43 <param name="input" value="MaizeGDB:9024907"/>
0
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
44 <param name="association" value="phenotypes"/>
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
45 <output name="output" file="phenotypes-for-gene.json"/>
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
46 </test>
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
47 </tests>
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
48 <expand macro="citations" />
028a3ffc17b4 planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff changeset
49 </tool>