comparison genotype-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/genotype/$input/$association/?rows=$rows&fetch_objects=true' > $output
8 ]]></command>
9 <inputs>
10 <param name="input" type="text" format="txt" multiple="false" label="Genotype (e.g. ZFIN:ZDB-FISH-150901-4286)" />
11 <param name="association" type="select" multiple="false" display="radio" label="Type">
12 <option value="diseases">Diseases </option>
13 <option value="genes">Genes</option>
14 <option value="genotypes">Genotypes</option>
15 <option value="phenotypes">Phenotypes</option>
16 </param>
17 <param name="rows" type="text" format="txt" multiple="false" value="1000" label="Num Rows"/>
18 </inputs>
19 <outputs>
20 <data name="output" format="json" />
21 </outputs>
22 <tests>
23 <test>
24 <param name="input" value="ZFIN:ZDB-FISH-150901-4286"/>
25 <param name="association" value="diseases"/>
26 <output name="output" file="diseases-for-genotype.json"/>
27 </test>
28 <test>
29 <param name="input" value="ZFIN:ZDB-FISH-150901-4286"/>
30 <param name="association" value="genes"/>
31 <output name="output" file="genes-for-genotype.json"/>
32 </test>
33 <test>
34 <param name="input" value="ZFIN:ZDB-FISH-150901-4286"/>
35 <param name="association" value="genotypes"/>
36 <output name="output" file="genotypes-for-genotype.json"/>
37 </test>
38 <test>
39 <param name="input" value="ZFIN:ZDB-FISH-150901-4286"/>
40 <param name="association" value="phenotypes"/>
41 <output name="output" file="phenotypes-for-genotype.json"/>
42 </test>
43 </tests>
44 <help><![CDATA[
45 Pulls data from Monarch Initiative BioLink API web services as JSON.
46 https://api.monarchinitiative.org/api/
47 ]]></help>
48 <citations>
49 <citation type="doi">doi:10.5281/zenodo.56412</citation>
50 </citations>
51 </tool>