Mercurial > repos > nathandunn > biolinkplanteome
view bulk-operations.xml @ 1:66ece4fd024f draft default tip
planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
author | nathandunn |
---|---|
date | Wed, 28 Jun 2017 10:27:08 -0400 |
parents | 028a3ffc17b4 |
children |
line wrap: on
line source
<tool id="planteome-bulk-operations" name="Bulk Operations" version="0.1.0"> <macros> <import>macros.xml</import> </macros> <expand macro="frontmatter" /> <command><![CDATA[ curl --silent -X GET --header 'Accept: application/json' 'http://biolink.planteome.org/api/mart/$association/$object_category/$taxon?rows=$rows&fetch_objects=true' > $output ]]></command> <inputs> <param name="taxon" type="text" format="txt" multiple="false" label="Taxon (e.g. NCBITaxon:4530)"/> <param name="object_category" type="text" format="txt" multiple="false" label="Object Category (e.g. phenotype)"/> <param name="association" type="select" multiple="false" display="radio" label="Type"> <option value="gene">Gene</option> <!--<option value="disease">Disease</option>--> <!--<option value="case">Case</option>--> </param> <param name="rows" type="text" format="txt" multiple="false" value="10" label="Num Rows"/> </inputs> <expand macro="outputs" /> <tests> <!--NOTE: these take way too long to run because fo the large amount of data involved--> <!--<test>--> <!--<param name="type" value="gene"/>--> <!--<param name="taxon" value="NCBITaxon:9606"/>--> <!--<param name="rows" value="1"/>--> <!--<param name="object_category" value="phenotype"/>--> <!--<output name="output" file="gene-mart-for-phenotype.json"/>--> <!--</test>--> <!--<test>--> <!--<param name="type" value="disease"/>--> <!--<param name="taxon" value="NCBITaxon:9606"/>--> <!--<param name="rows" value="1"/>--> <!--<param name="object_category" value="phenotype"/>--> <!--<output name="output" file="disease-mart-for-phenotype.json"/>--> <!--</test>--> <!--<test>--> <!--<param name="type" value="case"/>--> <!--<param name="taxon" value="NCBITaxon:9606"/>--> <!--<param name="rows" value="1"/>--> <!--<param name="object_category" value="phenotype"/>--> <!--<output name="output" file="case-mart-for-phenotype.json"/>--> <!--</test>--> </tests> <expand macro="citations" /> </tool>