comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:4f6fba8332ec
1 <tool id="monarch-genotype-associations" name="Genotype Associations" version="0.1.0">
2 <requirements/>
3 <stdio>
4 <exit_code range="1:"/>
5 </stdio>
6 <command><![CDATA[
7 curl -X GET --header 'Accept: application/json' 'https://api.monarchinitiative.org/api/bioentity/gene/$input/$association/?rows=$rows&fetch_objects=true' > $output
8 ]]></command>
9 <inputs>
10 <param name="input" type="text" format="txt" multiple="false" label="Gene"/>
11 <param name="association" type="select" multiple="false" display="radio" label="Type">
12 <option value="diseases">Diseases (e.g,. NCBIGene:4750, Orphanet:173505)</option>
13 <option value="function">Function (e.g,. NCBIGene:4750, Orphanet:173505)</option>
14 <option value="homologs">Homologs (e.g,. NCBIGene:4750, Orphanet:173505)</option>
15 <option value="interactions">Interactions (e.g,. NCBIGene:4750, Orphanet:173505)</option>
16 <option value="phenotypes">Phenotypes (e.g,. NCBIGene:4750, Orphanet:173505)</option>
17 </param>
18 <param name="rows" type="text" format="txt" multiple="false" value="1000" label="Num Rows"/>
19 </inputs>
20 <outputs>
21 <data name="output" format="json"/>
22 </outputs>
23 <tests>
24 <test>
25 <param name="input" value="NCBIGene:4750"/>
26 <param name="association" value="diseases"/>
27 <output name="output" file="diseases-for-gene.json"/>
28 </test>
29 <test>
30 <param name="input" value="NCBIGene:4750"/>
31 <param name="association" value="function"/>
32 <output name="output" file="function-for-gene.json"/>
33 </test>
34 <test>
35 <param name="input" value="NCBIGene:4750"/>
36 <param name="association" value="homologs"/>
37 <output name="output" file="homologs-for-gene.json"/>
38 </test>
39 <test>
40 <param name="input" value="NCBIGene:4750"/>
41 <param name="association" value="interactions"/>
42 <output name="output" file="interactions-for-gene.json"/>
43 </test>
44 <test>
45 <param name="input" value="NCBIGene:4750"/>
46 <param name="association" value="phenotypes"/>
47 <output name="output" file="phenotypes-for-gene.json"/>
48 </test>
49 </tests>
50 <help><![CDATA[
51 Pulls data from Monarch Initiative BioLink API web services as JSON.
52 https://api.monarchinitiative.org/api/
53 ]]></help>
54 <citations>
55 <citation type="doi">doi:10.5281/zenodo.56412</citation>
56 </citations>
57 </tool>