Mercurial > repos > nathandunn > biolinkplanteome
comparison search-operations.xml @ 0:028a3ffc17b4 draft
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
author | nathandunn |
---|---|
date | Fri, 23 Jun 2017 15:04:12 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:028a3ffc17b4 |
---|---|
1 <tool id="planteome-search-operations" name="Search Operations" 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/search/entity/$input?rows=$rows&fetch_objects=true' > $output | |
8 ]]></command> | |
9 <inputs> | |
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"/> | |
12 </inputs> | |
13 <expand macro="outputs" /> | |
14 <tests> | |
15 <test> | |
16 <param name="input" value="ssh"/> | |
17 <output name="output" file="ssh-search-term.json"/> | |
18 </test> | |
19 <test> | |
20 <param name="input" value="parkinson"/> | |
21 <output name="output" file="parkinson-search-term.json"/> | |
22 </test> | |
23 <test> | |
24 <param name="input" value="femur"/> | |
25 <output name="output" file="femur-search-term.json"/> | |
26 </test> | |
27 </tests> | |
28 <expand macro="citations" /> | |
29 </tool> | |
30 |