annotate gene-associations.xml @ 0:4f6fba8332ec draft

planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
author nathandunn
date Wed, 21 Jun 2017 18:42:56 -0400
parents
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-genotype-associations" name="Genotype Associations" 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/bioentity/gene/$input/$association/?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="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>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
20 <outputs>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
21 <data name="output" format="json"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
22 </outputs>
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="NCBIGene:4750"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
26 <param name="association" value="diseases"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
27 <output name="output" file="diseases-for-gene.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="NCBIGene:4750"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
31 <param name="association" value="function"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
32 <output name="output" file="function-for-gene.json"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
33 </test>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
34 <test>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
35 <param name="input" value="NCBIGene:4750"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
36 <param name="association" value="homologs"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
37 <output name="output" file="homologs-for-gene.json"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
38 </test>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
39 <test>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
40 <param name="input" value="NCBIGene:4750"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
41 <param name="association" value="interactions"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
42 <output name="output" file="interactions-for-gene.json"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
43 </test>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
44 <test>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
45 <param name="input" value="NCBIGene:4750"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
46 <param name="association" value="phenotypes"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
47 <output name="output" file="phenotypes-for-gene.json"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
48 </test>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
49 </tests>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
50 <help><![CDATA[
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
51 Pulls data from Monarch Initiative BioLink API web services as JSON.
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
52 https://api.monarchinitiative.org/api/
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
53 ]]></help>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
54 <citations>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
55 <citation type="doi">doi:10.5281/zenodo.56412</citation>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
56 </citations>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
57 </tool>