comparison bulk-operations.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-bulk-operations" name="Bulk Operations" version="0.1.0"> 1 <tool id="monarch-bulk-operations" name="Bulk Operations" 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/mart/$association/$object_category/$taxon?rows=$rows&fetch_objects=true' > $output 7 curl --silent -X GET --header 'Accept: application/json' 'https://api.monarchinitiative.org/api/mart/$association/$object_category/$taxon?rows=$rows&fetch_objects=true' > $output
8 ]]></command> 8 ]]></command>
9 <inputs> 9 <inputs>
10 <param name="taxon" type="text" format="txt" multiple="false" label="Taxon (e.g. NCBITaxon:9606)"/> 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)"/> 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"> 12 <param name="association" type="select" multiple="false" display="radio" label="Type">
14 <option value="disease">Disease</option> 14 <option value="disease">Disease</option>
15 <option value="case">Case</option> 15 <option value="case">Case</option>
16 </param> 16 </param>
17 <param name="rows" type="text" format="txt" multiple="false" value="1000" label="Num Rows"/> 17 <param name="rows" type="text" format="txt" multiple="false" value="1000" label="Num Rows"/>
18 </inputs> 18 </inputs>
19 <outputs> 19 <expand macro="outputs" />
20 <data name="output" format="json"/>
21 </outputs>
22 <tests> 20 <tests>
23 <!--NOTE: these take way too long to run because fo the large amount of data involved--> 21 <!--NOTE: these take way too long to run because fo the large amount of data involved-->
24 <!--<test>--> 22 <!--<test>-->
25 <!--<param name="type" value="gene"/>--> 23 <!--<param name="type" value="gene"/>-->
26 <!--<param name="taxon" value="NCBITaxon:9606"/>--> 24 <!--<param name="taxon" value="NCBITaxon:9606"/>-->
41 <!--<param name="rows" value="1"/>--> 39 <!--<param name="rows" value="1"/>-->
42 <!--<param name="object_category" value="phenotype"/>--> 40 <!--<param name="object_category" value="phenotype"/>-->
43 <!--<output name="output" file="case-mart-for-phenotype.json"/>--> 41 <!--<output name="output" file="case-mart-for-phenotype.json"/>-->
44 <!--</test>--> 42 <!--</test>-->
45 </tests> 43 </tests>
46 <help><![CDATA[ 44 <expand macro="citations" />
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> 45 </tool>
54 46