Mercurial > repos > nathandunn > biolinkplanteome
annotate bulk-operations.xml @ 1:66ece4fd024f draft default tip
planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
author | nathandunn |
---|---|
date | Wed, 28 Jun 2017 10:27:08 -0400 |
parents | 028a3ffc17b4 |
children |
rev | line source |
---|---|
0
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
1 <tool id="planteome-bulk-operations" name="Bulk Operations" 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/mart/$association/$object_category/$taxon?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="taxon" type="text" format="txt" multiple="false" label="Taxon (e.g. NCBITaxon:4530)"/> |
66ece4fd024f
planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
nathandunn
parents:
0
diff
changeset
|
11 <param name="object_category" type="text" format="txt" multiple="false" label="Object Category (e.g. phenotype)"/> |
0
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
12 <param name="association" type="select" multiple="false" display="radio" label="Type"> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
13 <option value="gene">Gene</option> |
1
66ece4fd024f
planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
nathandunn
parents:
0
diff
changeset
|
14 <!--<option value="disease">Disease</option>--> |
66ece4fd024f
planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
nathandunn
parents:
0
diff
changeset
|
15 <!--<option value="case">Case</option>--> |
0
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
16 </param> |
1
66ece4fd024f
planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
nathandunn
parents:
0
diff
changeset
|
17 <param name="rows" type="text" format="txt" multiple="false" value="10" label="Num Rows"/> |
0
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
18 </inputs> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
19 <expand macro="outputs" /> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
20 <tests> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
21 <!--NOTE: these take way too long to run because fo the large amount of data involved--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
22 <!--<test>--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
23 <!--<param name="type" value="gene"/>--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
24 <!--<param name="taxon" value="NCBITaxon:9606"/>--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
25 <!--<param name="rows" value="1"/>--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
26 <!--<param name="object_category" value="phenotype"/>--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
27 <!--<output name="output" file="gene-mart-for-phenotype.json"/>--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
28 <!--</test>--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
29 <!--<test>--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
30 <!--<param name="type" value="disease"/>--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
31 <!--<param name="taxon" value="NCBITaxon:9606"/>--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
32 <!--<param name="rows" value="1"/>--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
33 <!--<param name="object_category" value="phenotype"/>--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
34 <!--<output name="output" file="disease-mart-for-phenotype.json"/>--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
35 <!--</test>--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
36 <!--<test>--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
37 <!--<param name="type" value="case"/>--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
38 <!--<param name="taxon" value="NCBITaxon:9606"/>--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
39 <!--<param name="rows" value="1"/>--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
40 <!--<param name="object_category" value="phenotype"/>--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
41 <!--<output name="output" file="case-mart-for-phenotype.json"/>--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
42 <!--</test>--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
43 </tests> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
44 <expand macro="citations" /> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
45 </tool> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
46 |