comparison variant-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-variant-associations" name="Variant 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/variant/$input/$association/?rows=$rows&fetch_objects=true' > $output
8 ]]></command>
9 <inputs>
10 <param name="input" type="text" format="txt" multiple="false" label="Variant (e.g. ZFIN:ZDB-ALT-010427-8, ClinVarVariant:39783)" />
11 <param name="association" type="select" multiple="false" display="radio" label="Type">
12 <option value="genes">Genes</option>
13 <option value="genotypes">Genotypes</option>
14 <option value="phenotypes">Phenotypes</option>
15 </param>
16 <param name="rows" type="text" format="txt" multiple="false" value="1000" label="Num Rows"/>
17 </inputs>
18 <expand macro="outputs" />
19 <tests>
20 <test>
21 <param name="input" value="ZFIN:ZDB-ALT-010427-8"/>
22 <param name="association" value="genes"/>
23 <output name="output" file="genes-for-variant.json"/>
24 </test>
25 <test>
26 <param name="input" value="ZFIN:ZDB-ALT-010427-8"/>
27 <param name="association" value="genotypes"/>
28 <output name="output" file="genotypes-for-variant.json"/>
29 </test>
30 <test>
31 <param name="input" value="ClinVarVariant:65929"/>
32 <param name="association" value="phenotypes"/>
33 <output name="output" file="phenotypes-for-variant.json"/>
34 </test>
35 </tests>
36 <expand macro="citations" />
37 </tool>
38