Mercurial > repos > nathandunn > biolinkmonarchinitiative
annotate variant-associations.xml @ 1:8fdad43e4250 draft
planemo upload commit 2e06360e9b6f5ca9e6d254430878008fa6a57a03
author | nathandunn |
---|---|
date | Wed, 21 Jun 2017 19:00:33 -0400 |
parents | 4f6fba8332ec |
children | 88e1bd76b069 |
rev | line source |
---|---|
0
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
1 <tool id="monarch-variant-associations" name="Variant Associations" version="0.1.0"> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
2 <requirements/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
3 <stdio> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
4 <exit_code range="1:" /> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
5 </stdio> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
6 <command><![CDATA[ |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
7 curl -X GET --header 'Accept: application/json' 'https://api.monarchinitiative.org/api/bioentity/variant/$input/$association/?rows=$rows&fetch_objects=true' > $output |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
8 ]]></command> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
9 <inputs> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
10 <param name="input" type="text" format="txt" multiple="false" label="Variant (e.g. ZFIN:ZDB-ALT-010427-8, ClinVarVariant:39783)" /> |
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="genes">Genes</option> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
13 <option value="genotypes">Genotypes</option> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
14 <option value="phenotypes">Phenotypes</option> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
15 </param> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
16 <param name="rows" type="text" format="txt" multiple="false" value="1000" label="Num Rows"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
17 </inputs> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
18 <outputs> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
19 <data name="output" format="json" /> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
20 </outputs> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
21 <tests> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
22 <test> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
23 <param name="input" value="ZFIN:ZDB-ALT-010427-8"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
24 <param name="association" value="genes"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
25 <output name="output" file="genes-for-variant.json"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
26 </test> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
27 <test> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
28 <param name="input" value="ZFIN:ZDB-ALT-010427-8"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
29 <param name="association" value="genotypes"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
30 <output name="output" file="genotypes-for-variant.json"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
31 </test> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
32 <test> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
33 <param name="input" value="ClinVarVariant:65929"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
34 <param name="association" value="phenotypes"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
35 <output name="output" file="phenotypes-for-variant.json"/> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
36 </test> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
37 </tests> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
38 <help><![CDATA[ |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
39 Pulls data from Monarch Initiative BioLink API web services as JSON. |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
40 https://api.monarchinitiative.org/api/ |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
41 ]]></help> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
42 <citations> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
43 <citation type="doi">doi:10.5281/zenodo.56412</citation> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
44 </citations> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
45 </tool> |
4f6fba8332ec
planemo upload commit 570b5e3caa1a2bd2d9937fb6acc3ea991bfeaa10-dirty
nathandunn
parents:
diff
changeset
|
46 |