Mercurial > repos > nathandunn > biolinkmonarchinitiative
comparison bioentity-associations.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-bioentity-associations" name="Bioentity Associations" version="0.1.0"> | 1 <tool id="monarch-bioentity-associations" name="Bioentity Associations" 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/bioentity/$input/associations/?rows=$rows&fetch_objects=true' > $output | 7 curl --silent -X GET --header 'Accept: application/json' 'https://api.monarchinitiative.org/api/bioentity/$input/associations/?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="Bioentity ID (e.g. ZFIN:ZDB-ALT-010427-8)" /> | 10 <param name="input" type="text" format="txt" multiple="false" label="Bioentity ID (e.g. ZFIN:ZDB-ALT-010427-8)" /> |
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="ZFIN:ZDB-ALT-010427-8"/> | 16 <param name="input" value="ZFIN:ZDB-ALT-010427-8"/> |
19 <output name="output" file="associations-for-variant.json"/> | 17 <output name="output" file="associations-for-variant.json"/> |
20 </test> | 18 </test> |
21 </tests> | 19 </tests> |
22 <help><![CDATA[ | 20 <expand macro="citations" /> |
23 Pulls data from Monarch Initiative BioLink API web services as JSON. | |
24 https://api.monarchinitiative.org/api/ | |
25 ]]></help> | |
26 <citations> | |
27 <citation type="doi">doi:10.5281/zenodo.56412</citation> | |
28 </citations> | |
29 </tool> | 21 </tool> |
30 | 22 |