Mercurial > repos > nathandunn > biolinkmonarchinitiative
annotate gene-associations.xml @ 2:88e1bd76b069 draft
planemo upload commit 91b079b5648caa7a8795ec0957a4b11e104d986e
author | nathandunn |
---|---|
date | Thu, 22 Jun 2017 15:28:43 -0400 |
parents | 4f6fba8332ec |
children |
rev | line source |
---|---|
2
88e1bd76b069
planemo upload commit 91b079b5648caa7a8795ec0957a4b11e104d986e
nathandunn
parents:
0
diff
changeset
|
1 <tool id="monarch-gene-associations" name="Gene Associations" version="0.1.0"> |
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/gene/$input/$association/?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="Gene"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
11 <param name="association" type="select" multiple="false" display="radio" label="Type"> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
12 <option value="diseases">Diseases (e.g,. NCBIGene:4750, Orphanet:173505)</option> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
13 <option value="function">Function (e.g,. NCBIGene:4750, Orphanet:173505)</option> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
14 <option value="homologs">Homologs (e.g,. NCBIGene:4750, Orphanet:173505)</option> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
15 <option value="interactions">Interactions (e.g,. NCBIGene:4750, Orphanet:173505)</option> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
16 <option value="phenotypes">Phenotypes (e.g,. NCBIGene:4750, Orphanet:173505)</option> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
17 </param> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
18 <param name="rows" type="text" format="txt" multiple="false" value="1000" label="Num Rows"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
19 </inputs> |
2
88e1bd76b069
planemo upload commit 91b079b5648caa7a8795ec0957a4b11e104d986e
nathandunn
parents:
0
diff
changeset
|
20 <expand macro="outputs" /> |
0
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
21 <tests> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
22 <test> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
23 <param name="input" value="NCBIGene:4750"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
24 <param name="association" value="diseases"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
25 <output name="output" file="diseases-for-gene.json"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
26 </test> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
27 <test> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
28 <param name="input" value="NCBIGene:4750"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
29 <param name="association" value="function"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
30 <output name="output" file="function-for-gene.json"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
31 </test> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
32 <test> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
33 <param name="input" value="NCBIGene:4750"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
34 <param name="association" value="homologs"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
35 <output name="output" file="homologs-for-gene.json"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
36 </test> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
37 <test> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
38 <param name="input" value="NCBIGene:4750"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
39 <param name="association" value="interactions"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
40 <output name="output" file="interactions-for-gene.json"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
41 </test> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
42 <test> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
43 <param name="input" value="NCBIGene:4750"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
44 <param name="association" value="phenotypes"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
45 <output name="output" file="phenotypes-for-gene.json"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
46 </test> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
47 </tests> |
2
88e1bd76b069
planemo upload commit 91b079b5648caa7a8795ec0957a4b11e104d986e
nathandunn
parents:
0
diff
changeset
|
48 <expand macro="citations" /> |
0
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
49 </tool> |