Mercurial > repos > nathandunn > biolinkplanteome
comparison substance-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 |
comparison
equal
deleted
inserted
replaced
0:028a3ffc17b4 | 1:66ece4fd024f |
---|---|
1 <tool id="planteome-substance-associations" name="Substance Associations" 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/bioentity/substance/$input/$association/?rows=$rows&fetch_objects=true' > $output | |
8 ]]></command> | |
9 <inputs> | |
10 <param name="input" type="text" format="txt" multiple="false" label="Substance (e.g. CHEBI:40036)" /> | |
11 <param name="association" type="select" multiple="false" display="radio" label="Type"> | |
12 <option value="participant_in">Participant In</option> | |
13 <option value="roles">Roles</option> | |
14 <!--<option value="treats">Treats</option>--> | |
15 </param> | |
16 <param name="rows" type="text" format="txt" multiple="false" value="1000" label="Num Rows"/> | |
17 </inputs> | |
18 <expand macro="outputs" /> | |
19 <tests> | |
20 <test> | |
21 <param name="input" value="CHEBI:40036"/> | |
22 <param name="association" value="participant_in"/> | |
23 <output name="output" file="participatant_in-for-substance.json"/> | |
24 </test> | |
25 <test> | |
26 <param name="input" value="CHEBI:40036"/> | |
27 <param name="association" value="roles"/> | |
28 <output name="output" file="roles-for-substance.json"/> | |
29 </test> | |
30 <!--seems to break--> | |
31 <!--<test>--> | |
32 <!--<param name="input" value="CHEBI:40036"/>--> | |
33 <!--<param name="association" value="treats"/>--> | |
34 <!--<output name="output" file="treats-for-substance.json"/>--> | |
35 <!--</test>--> | |
36 </tests> | |
37 <expand macro="citations" /> | |
38 </tool> | |
39 |