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