Mercurial > repos > nathandunn > biolinkplanteome
annotate substance-associations.xml @ 0:028a3ffc17b4 draft
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
author | nathandunn |
---|---|
date | Fri, 23 Jun 2017 15:04:12 -0400 |
parents | |
children |
rev | line source |
---|---|
0
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
1 <tool id="planteome-substance-associations" name="Substance Associations" 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[ |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
7 curl --silent -X GET --header 'Accept: application/json' 'http://biolink.planteome.org/apiapi/bioentity/substance/$input/$association/?rows=$rows&fetch_objects=true' > $output |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
8 ]]></command> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
9 <inputs> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
10 <param name="input" type="text" format="txt" multiple="false" label="Substance (e.g. CHEBI:40036)" /> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
11 <param name="association" type="select" multiple="false" display="radio" label="Type"> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
12 <option value="participant_in">Participant In</option> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
13 <option value="roles">Roles</option> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
14 <!--<option value="treats">Treats</option>--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
15 </param> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
16 <param name="rows" type="text" format="txt" multiple="false" value="1000" label="Num Rows"/> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
17 </inputs> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
18 <expand macro="outputs" /> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
19 <tests> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
20 <test> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
21 <param name="input" value="CHEBI:40036"/> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
22 <param name="association" value="participant_in"/> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
23 <output name="output" file="participatant_in-for-substance.json"/> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
24 </test> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
25 <test> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
26 <param name="input" value="CHEBI:40036"/> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
27 <param name="association" value="roles"/> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
28 <output name="output" file="roles-for-substance.json"/> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
29 </test> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
30 <!--seems to break--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
31 <!--<test>--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
32 <!--<param name="input" value="CHEBI:40036"/>--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
33 <!--<param name="association" value="treats"/>--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
34 <!--<output name="output" file="treats-for-substance.json"/>--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
35 <!--</test>--> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
36 </tests> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
37 <expand macro="citations" /> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
38 </tool> |
028a3ffc17b4
planemo upload commit b095175f34e78ceded24a6e1da99b328f50db86d
nathandunn
parents:
diff
changeset
|
39 |