annotate bulk-operations.xml @ 1:8fdad43e4250 draft

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