annotate get-object.xml @ 5:6eaaeedf2f37 draft default tip

planemo upload commit 469f80a2162a7284b6299615caf6aee64bb34167
author nathandunn
date Mon, 04 Dec 2017 21:50:52 -0500
parents 88e1bd76b069
children
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-get-object" name="Get Object" version="0.1.0">
2
88e1bd76b069 planemo upload commit 91b079b5648caa7a8795ec0957a4b11e104d986e
nathandunn
parents: 0
diff changeset
2 <macros>
88e1bd76b069 planemo upload commit 91b079b5648caa7a8795ec0957a4b11e104d986e
nathandunn
parents: 0
diff changeset
3 <import>macros.xml</import>
88e1bd76b069 planemo upload commit 91b079b5648caa7a8795ec0957a4b11e104d986e
nathandunn
parents: 0
diff changeset
4 </macros>
88e1bd76b069 planemo upload commit 91b079b5648caa7a8795ec0957a4b11e104d986e
nathandunn
parents: 0
diff changeset
5 <expand macro="frontmatter" />
0
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
6 <command><![CDATA[
2
88e1bd76b069 planemo upload commit 91b079b5648caa7a8795ec0957a4b11e104d986e
nathandunn
parents: 0
diff changeset
7 curl --silent -X GET --header 'Accept: application/json' 'https://api.monarchinitiative.org/api/bioentity/$type$input$associations?rows=$rows&fetch_objects=true' > $output
0
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="input" type="text" format="txt" multiple="false" label="Object ID" />
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
11 <param name="type" type="select" multiple="false" display="radio" label="Type">
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
12 <option value="">Any</option>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
13 <option value="gene/">Gene (e.g. NCBIGene:84570)</option>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
14 <option value="genotype/">Genotype (e.g. ZFIN:ZDB-FISH-150901-6607)</option>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
15 </param>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
16 <param name="associations" type="select" multiple="false" display="radio" label="Render Associations">
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
17 <option value="/associations/">True</option>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
18 <option value="" checked="true">False</option>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
19 </param>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
20 <param name="rows" type="text" format="txt" multiple="false" value="1000" label="Num Rows"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
21 </inputs>
2
88e1bd76b069 planemo upload commit 91b079b5648caa7a8795ec0957a4b11e104d986e
nathandunn
parents: 0
diff changeset
22 <expand macro="outputs" />
0
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
23 <tests>
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="input" value="OMIM:605543"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
26 <param name="type" value=""/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
27 <output name="output" file="bioentity-object-for-disease.json"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
28 </test>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
29 <test>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
30 <param name="input" value="OMIM:605543"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
31 <param name="type" value=""/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
32 <param name="associations" value="/associations/"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
33 <output name="output" file="bioentity-associations-for-disease.json"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
34 </test>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
35 <test>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
36 <param name="input" value="NCBIGene:84570"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
37 <param name="association" value="gene/"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
38 <output name="output" file="bioentity-object-for-gene.json"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
39 </test>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
40 <test>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
41 <param name="input" value="ZFIN:ZDB-FISH-150901-6607"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
42 <param name="association" value="genotype/"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
43 <output name="output" file="bioentity-object-for-genotype.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>
2
88e1bd76b069 planemo upload commit 91b079b5648caa7a8795ec0957a4b11e104d986e
nathandunn
parents: 0
diff changeset
46 <expand macro="citations" />
0
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
47 </tool>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
48