comparison AssociatePhenotypes.xml @ 0:6411ca16916e default tip

initial commit
author Yusuf Ali <ali@yusuf.email>
date Wed, 25 Mar 2015 13:23:29 -0600
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:6411ca16916e
1 <?xml version="1.0"?>
2
3 <tool id="hgvs_assoc_phenos" name="Associate phenotypes to an HGVS table">
4 <description>based on the medical literature</description>
5 <version_string>echo 1.0.0</version_string>
6 <command interpreter="perl">associate_variant_phenotypes $__tool_data_path__ pheno $input_hgvs_table
7 ## Handle preselected gene list of interest
8 #if $preselectedGenesSource.source == "file":
9 $preselectedGenesSource.file_of_genenames
10 #else:
11 #set $glist = str($preselectedGenesSource.genename_list).replace("__cr____cn__", " or ")
12 "$glist"
13 #end if
14
15 ## Handle human literature terms
16 #if $litQuerySource.source == "file":
17 $litQuerySource.file_of_phenotypes
18 #else:
19 #set $qlist = str($litQuerySource.phenotype_list).replace("__cr____cn__", " or ")
20 "$qlist"
21 #end if
22
23 ## Handle human phenotype ontology query
24 ##if $hpQuerySource.source == "file":
25 ##$hpQuerySource.file_of_mpterms
26 ##else:
27 ##set $hplist = str($hpQuerySource.autocomplete_OLS_HP).replace(";", " or ")
28 ##"$hplist"
29 ##end if
30
31 ## Handle mouse knockout query (Mammalian Phenotype Ontology)
32 #if $mpQuerySource.source == "file":
33 $mpQuerySource.file_of_mpterms
34 #else:
35 #set $mplist = str($mpQuerySource.autocomplete_OLS_MP).replace(";", " or ")
36 "$mplist"
37 #end if
38
39 ## Handle gene ontology terms
40 #if $goQuerySource.source == "file":
41 $goQuerySource.file_of_goterms
42 #else:
43 #set $golist = str($goQuerySource.autocomplete_OLS_GO).replace(";", " or ")
44 "$golist"
45 #end if
46 </command>
47
48 <inputs>
49 <param name="outfiles_prefix" type="text" label="Prefix for output file names"/>
50 <param format="achri_annotated_snp_table" name="input_hgvs_table" type="data" label="Basic or functionally annotated HGVS variant table"/>
51 <conditional name="litQuerySource">
52 <param name="source" type="select" label="How would you like to specify the phenotypes of interest?">
53 <option value="list">A list</option>
54 <option value="file">A file</option>
55 </param>
56 <when value="file">
57 <param format="text" name="file_of_phenotypes" type="data" label="Text file with one phenotype per line, from most to least important" help="Phenotypes can have boolean operators to allow word order swaps. e.g. 'Develop and delay' will match both 'delayed development' and 'developmental delay'."/>
58 </when>
59 <when value="list">
60 <param name="phenotype_list" type="text" area="True" label="One phenotype per line, from most to least important" help="Phenotypes can have boolean operators to allow word order swaps. e.g. 'Develop AND delay' will match both 'delayed development' and 'developmental delay'."/>
61 </when>
62 </conditional>
63
64 <conditional name="preselectedGenesSource">
65 <param name="source" type="select" label="How would you like to specify preselected genes of interest?">
66 <option value="list">A list</option>
67 <option value="file">A file</option>
68 </param>
69 <when value="file">
70 <param format="text" name="file_of_genenames" type="data" label="Text file with one upper case gene name per line" help="It is recommended to include gene name synonyms to maximize the chance of reference recovery"/>
71 </when>
72 <when value="list">
73 <param name="genename_list" type="text" area="True" label="One upper case gene name per line, e.g. ADH1" help="It is recommended to include gene name synonyms to maximize the chance of reference recovery"/>
74 </when>
75 </conditional>
76
77 <!--<conditional name="hpQuerySource">
78 <param name="source" type="select" label="How would you like to specify Human Phenotype Ontology terms of interest?">
79 <option value="list">A list</option>
80 <option value="file">A file</option>
81 </param>
82 <when value="file">
83 <param format="text" name="file_of_hpterms" type="data" label="Text file with one Human Phenotype term (text) per line"/>
84 </when>
85 <when value="list">
86 <param name="autocomplete_OLS_HP" type="text" label="Semi-colon separated list of HP terms (with autocomplete)" help="For better search results, do not type punctuation or symbols. For example, if you are looking for 4'-(L-tryptophan), try typing 4 L tryp"/>
87 </when>
88 </conditional>-->
89
90 <conditional name="mpQuerySource">
91 <param name="source" type="select" label="How would you like to specify Mammalian Phenotype terms of interest?">
92 <option value="list">A list</option>
93 <option value="file">A file</option>
94 </param>
95 <when value="file">
96 <param format="text" name="file_of_mpterms" type="data" label="Text file with one Mammalian Phenotype term (text) per line"/>
97 </when>
98 <when value="list">
99 <param name="autocomplete_OLS_MP" type="text" label="Semi-colon separated list of MP terms (with autocomplete)" help="For better search results, do not type punctuation or symbols. For example, if you are looking for 4'-(L-tryptophan), try typing 4 L tryp"/>
100 </when>
101 </conditional>
102
103 <conditional name="goQuerySource">
104 <param name="source" type="select" label="How would you like to specify Gene Ontology terms of interest?">
105 <option value="list">A list</option>
106 <option value="file">A file</option>
107 </param>
108 <when value="file">
109 <param format="text" name="file_of_goterms" type="data" label="Text file with one gene ontology term (text) per line"/>
110 </when>
111 <when value="list">
112 <param name="autocomplete_OLS_GO" type="text" label="Semi-colon separated list of GO terms (with autocomplete)" help="For better search results, do not type punctuation or symbols. For example, if you are looking for 4'-(L-tryptophan), try typing 4 L tryp"/>
113 </when>
114 </conditional>
115 </inputs>
116 <outputs>
117 <data format="achri_annotated_snp_table" name="out_hgvs_table" type="data" label="${outfiles_prefix} HGVS all variants table with geno-pheno correlates" from_work_dir="pheno.common.hgvs.txt"/>
118 </outputs>
119
120 <tests>
121 </tests>
122
123 <help>
124 This tools adds columns to an HGVS table that include all of the literature references from OMIM, PubMed, ClinVar, the Human Phenotype
125 Ontology, the Mouse Knockout Phenotypes, and Gene Ontology that match a given set of clinical phenotype query terms. A combined
126 probability of gene-phenotype association is calculated to help the user rank potentially causative genes for presumed genetic disorders.
127 </help>
128 </tool>