annotate genotype-associations.xml @ 2:88e1bd76b069 draft

planemo upload commit 91b079b5648caa7a8795ec0957a4b11e104d986e
author nathandunn
date Thu, 22 Jun 2017 15:28:43 -0400
parents 4f6fba8332ec
children
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">
2
88e1bd76b069 planemo upload commit 91b079b5648caa7a8795ec0957a4b11e104d986e
nathandunn
parents: 0
diff changeset
2 <macros>
88e1bd76b069 planemo upload commit 91b079b5648caa7a8795ec0957a4b11e104d986e
nathandunn
parents: 0
diff changeset
3 <import>macros.xml</import>
88e1bd76b069 planemo upload commit 91b079b5648caa7a8795ec0957a4b11e104d986e
nathandunn
parents: 0
diff changeset
4 </macros>
88e1bd76b069 planemo upload commit 91b079b5648caa7a8795ec0957a4b11e104d986e
nathandunn
parents: 0
diff changeset
5 <expand macro="frontmatter" />
0
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
6 <command><![CDATA[
2
88e1bd76b069 planemo upload commit 91b079b5648caa7a8795ec0957a4b11e104d986e
nathandunn
parents: 0
diff changeset
7 curl --silent -X GET --header 'Accept: application/json' 'https://api.monarchinitiative.org/api/bioentity/genotype/$input/$association/?rows=$rows&fetch_objects=true' > $output
0
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
8 ]]></command>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
9 <inputs>
2
88e1bd76b069 planemo upload commit 91b079b5648caa7a8795ec0957a4b11e104d986e
nathandunn
parents: 0
diff changeset
10 <param name="input" type="text" format="txt" multiple="false" label="Genotype (e.g. dbSNPIndividual:12141)" />
0
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 </option>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
13 <option value="genes">Genes</option>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
14 <option value="genotypes">Genotypes</option>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
15 <option value="phenotypes">Phenotypes</option>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
16 </param>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
17 <param name="rows" type="text" format="txt" multiple="false" value="1000" label="Num Rows"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
18 </inputs>
2
88e1bd76b069 planemo upload commit 91b079b5648caa7a8795ec0957a4b11e104d986e
nathandunn
parents: 0
diff changeset
19 <expand macro="outputs" />
0
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
20 <tests>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
21 <test>
2
88e1bd76b069 planemo upload commit 91b079b5648caa7a8795ec0957a4b11e104d986e
nathandunn
parents: 0
diff changeset
22 <param name="input" value="dbSNPIndividual:12141"/>
0
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
23 <param name="association" value="diseases"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
24 <output name="output" file="diseases-for-genotype.json"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
25 </test>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
26 <test>
2
88e1bd76b069 planemo upload commit 91b079b5648caa7a8795ec0957a4b11e104d986e
nathandunn
parents: 0
diff changeset
27 <param name="input" value="dbSNPIndividual:12141"/>
0
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
28 <param name="association" value="genes"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
29 <output name="output" file="genes-for-genotype.json"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
30 </test>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
31 <test>
2
88e1bd76b069 planemo upload commit 91b079b5648caa7a8795ec0957a4b11e104d986e
nathandunn
parents: 0
diff changeset
32 <param name="input" value="dbSNPIndividual:12141"/>
0
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
33 <param name="association" value="genotypes"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
34 <output name="output" file="genotypes-for-genotype.json"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
35 </test>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
36 <test>
2
88e1bd76b069 planemo upload commit 91b079b5648caa7a8795ec0957a4b11e104d986e
nathandunn
parents: 0
diff changeset
37 <param name="input" value="dbSNPIndividual:12141"/>
0
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
38 <param name="association" value="phenotypes"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
39 <output name="output" file="phenotypes-for-genotype.json"/>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
40 </test>
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
41 </tests>
2
88e1bd76b069 planemo upload commit 91b079b5648caa7a8795ec0957a4b11e104d986e
nathandunn
parents: 0
diff changeset
42 <expand macro="citations" />
0
4f6fba8332ec planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff changeset
43 </tool>