comparison genotype-associations.xml @ 1:66ece4fd024f draft default tip

planemo upload commit 20eeb677e99874173440a365f2db04e315e7ebed
author nathandunn
date Wed, 28 Jun 2017 10:27:08 -0400
parents 028a3ffc17b4
children
comparison
equal deleted inserted replaced
0:028a3ffc17b4 1:66ece4fd024f
1 <tool id="planteome-genotype-associations" name="Genotype Associations" version="0.1.0">
2 <macros>
3 <import>macros.xml</import>
4 </macros>
5 <expand macro="frontmatter" />
6 <command><![CDATA[
7 curl --silent -X GET --header 'Accept: application/json' 'http://biolink.planteome.org/apiapi/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. dbSNPIndividual:12141)" />
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 <expand macro="outputs" />
20 <tests>
21 <test>
22 <param name="input" value="dbSNPIndividual:12141"/>
23 <param name="association" value="diseases"/>
24 <output name="output" file="diseases-for-genotype.json"/>
25 </test>
26 <test>
27 <param name="input" value="dbSNPIndividual:12141"/>
28 <param name="association" value="genes"/>
29 <output name="output" file="genes-for-genotype.json"/>
30 </test>
31 <test>
32 <param name="input" value="dbSNPIndividual:12141"/>
33 <param name="association" value="genotypes"/>
34 <output name="output" file="genotypes-for-genotype.json"/>
35 </test>
36 <test>
37 <param name="input" value="dbSNPIndividual:12141"/>
38 <param name="association" value="phenotypes"/>
39 <output name="output" file="phenotypes-for-genotype.json"/>
40 </test>
41 </tests>
42 <expand macro="citations" />
43 </tool>