Mercurial > repos > nathandunn > biolinkmonarchinitiative
annotate search-operations.xml @ 0:4f6fba8332ec draft
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
author | nathandunn |
---|---|
date | Wed, 21 Jun 2017 18:42:56 -0400 |
parents | |
children | 88e1bd76b069 |
rev | line source |
---|---|
0
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
1 <tool id="monarch-search-operations" name="Search Operations" version="0.1.0"> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
2 <requirements/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
3 <stdio> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
4 <exit_code range="1:" /> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
5 </stdio> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
6 <command><![CDATA[ |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
7 curl -X GET --header 'Accept: application/json' 'https://api.monarchinitiative.org/api/search/entity/$input?rows=$rows&fetch_objects=true' > $output |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
8 ]]></command> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
9 <inputs> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
10 <param name="input" type="text" format="txt" multiple="false" label="Search Term (e.g. shh, parkinson, femur)" /> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
11 <param name="rows" type="text" format="txt" multiple="false" value="1000" label="Num Rows"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
12 </inputs> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
13 <outputs> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
14 <data name="output" format="json" /> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
15 </outputs> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
16 <tests> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
17 <test> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
18 <param name="input" value="ssh"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
19 <output name="output" file="ssh-search-term.json"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
20 </test> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
21 <test> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
22 <param name="input" value="parkinson"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
23 <output name="output" file="parkinson-search-term.json"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
24 </test> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
25 <test> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
26 <param name="input" value="femur"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
27 <output name="output" file="femur-search-term.json"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
28 </test> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
29 </tests> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
30 <help><![CDATA[ |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
31 Pulls data from Monarch Initiative BioLink API web services as JSON. |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
32 https://api.monarchinitiative.org/api/ |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
33 ]]></help> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
34 <citations> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
35 <citation type="doi">doi:10.5281/zenodo.56412</citation> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
36 </citations> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
37 </tool> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
38 |