Mercurial > repos > nathandunn > biolinkmonarchinitiative
comparison bulk-operations.xml @ 0:4f6fba8332ec draft
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
author | nathandunn |
---|---|
date | Wed, 21 Jun 2017 18:42:56 -0400 |
parents | |
children | 88e1bd76b069 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4f6fba8332ec |
---|---|
1 <tool id="monarch-bulk-operations" name="Bulk Operations" version="0.1.0"> | |
2 <requirements/> | |
3 <stdio> | |
4 <exit_code range="1:"/> | |
5 </stdio> | |
6 <command><![CDATA[ | |
7 curl -X GET --header 'Accept: application/json' 'https://api.monarchinitiative.org/api/mart/$association/$object_category/$taxon?rows=$rows&fetch_objects=true' > $output | |
8 ]]></command> | |
9 <inputs> | |
10 <param name="taxon" type="text" format="txt" multiple="false" label="Taxon (e.g. NCBITaxon:9606)"/> | |
11 <param name="object_category" type="text" format="txt" multiple="false" label="Object Category (e.g. phenotype, disease)"/> | |
12 <param name="association" type="select" multiple="false" display="radio" label="Type"> | |
13 <option value="gene">Gene</option> | |
14 <option value="disease">Disease</option> | |
15 <option value="case">Case</option> | |
16 </param> | |
17 <param name="rows" type="text" format="txt" multiple="false" value="1000" label="Num Rows"/> | |
18 </inputs> | |
19 <outputs> | |
20 <data name="output" format="json"/> | |
21 </outputs> | |
22 <tests> | |
23 <!--NOTE: these take way too long to run because fo the large amount of data involved--> | |
24 <!--<test>--> | |
25 <!--<param name="type" value="gene"/>--> | |
26 <!--<param name="taxon" value="NCBITaxon:9606"/>--> | |
27 <!--<param name="rows" value="1"/>--> | |
28 <!--<param name="object_category" value="phenotype"/>--> | |
29 <!--<output name="output" file="gene-mart-for-phenotype.json"/>--> | |
30 <!--</test>--> | |
31 <!--<test>--> | |
32 <!--<param name="type" value="disease"/>--> | |
33 <!--<param name="taxon" value="NCBITaxon:9606"/>--> | |
34 <!--<param name="rows" value="1"/>--> | |
35 <!--<param name="object_category" value="phenotype"/>--> | |
36 <!--<output name="output" file="disease-mart-for-phenotype.json"/>--> | |
37 <!--</test>--> | |
38 <!--<test>--> | |
39 <!--<param name="type" value="case"/>--> | |
40 <!--<param name="taxon" value="NCBITaxon:9606"/>--> | |
41 <!--<param name="rows" value="1"/>--> | |
42 <!--<param name="object_category" value="phenotype"/>--> | |
43 <!--<output name="output" file="case-mart-for-phenotype.json"/>--> | |
44 <!--</test>--> | |
45 </tests> | |
46 <help><![CDATA[ | |
47 Pulls data from Monarch Initiative BioLink API web services as JSON. | |
48 https://api.monarchinitiative.org/api/ | |
49 ]]></help> | |
50 <citations> | |
51 <citation type="doi">doi:10.5281/zenodo.56412</citation> | |
52 </citations> | |
53 </tool> | |
54 |