annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
1 <?xml version="1.0"?>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
2
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
3 <tool id="hgvs_assoc_phenos" name="Associate phenotypes to an HGVS table">
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
4 <description>based on the medical literature</description>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
5 <version_string>echo 1.0.0</version_string>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
6 <command interpreter="perl">associate_variant_phenotypes $__tool_data_path__ pheno $input_hgvs_table
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
7 ## Handle preselected gene list of interest
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
8 #if $preselectedGenesSource.source == "file":
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
9 $preselectedGenesSource.file_of_genenames
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
10 #else:
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
11 #set $glist = str($preselectedGenesSource.genename_list).replace("__cr____cn__", " or ")
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
12 "$glist"
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
13 #end if
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
14
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
15 ## Handle human literature terms
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
16 #if $litQuerySource.source == "file":
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
17 $litQuerySource.file_of_phenotypes
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
18 #else:
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
19 #set $qlist = str($litQuerySource.phenotype_list).replace("__cr____cn__", " or ")
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
20 "$qlist"
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
21 #end if
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
22
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
23 ## Handle human phenotype ontology query
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
24 ##if $hpQuerySource.source == "file":
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
25 ##$hpQuerySource.file_of_mpterms
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
26 ##else:
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
27 ##set $hplist = str($hpQuerySource.autocomplete_OLS_HP).replace(";", " or ")
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
28 ##"$hplist"
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
29 ##end if
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
30
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
31 ## Handle mouse knockout query (Mammalian Phenotype Ontology)
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
32 #if $mpQuerySource.source == "file":
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
33 $mpQuerySource.file_of_mpterms
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
34 #else:
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
35 #set $mplist = str($mpQuerySource.autocomplete_OLS_MP).replace(";", " or ")
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
36 "$mplist"
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
37 #end if
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
38
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
39 ## Handle gene ontology terms
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
40 #if $goQuerySource.source == "file":
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
41 $goQuerySource.file_of_goterms
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
42 #else:
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
43 #set $golist = str($goQuerySource.autocomplete_OLS_GO).replace(";", " or ")
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
44 "$golist"
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
45 #end if
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
46 </command>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
47
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
48 <inputs>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
49 <param name="outfiles_prefix" type="text" label="Prefix for output file names"/>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
50 <param format="achri_annotated_snp_table" name="input_hgvs_table" type="data" label="Basic or functionally annotated HGVS variant table"/>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
51 <conditional name="litQuerySource">
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
52 <param name="source" type="select" label="How would you like to specify the phenotypes of interest?">
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
53 <option value="list">A list</option>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
54 <option value="file">A file</option>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
55 </param>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
56 <when value="file">
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
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'."/>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
58 </when>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
59 <when value="list">
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
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'."/>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
61 </when>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
62 </conditional>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
63
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
64 <conditional name="preselectedGenesSource">
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
65 <param name="source" type="select" label="How would you like to specify preselected genes of interest?">
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
66 <option value="list">A list</option>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
67 <option value="file">A file</option>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
68 </param>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
69 <when value="file">
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
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"/>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
71 </when>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
72 <when value="list">
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
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"/>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
74 </when>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
75 </conditional>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
76
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
77 <!--<conditional name="hpQuerySource">
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
78 <param name="source" type="select" label="How would you like to specify Human Phenotype Ontology terms of interest?">
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
79 <option value="list">A list</option>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
80 <option value="file">A file</option>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
81 </param>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
82 <when value="file">
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
83 <param format="text" name="file_of_hpterms" type="data" label="Text file with one Human Phenotype term (text) per line"/>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
84 </when>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
85 <when value="list">
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
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"/>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
87 </when>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
88 </conditional>-->
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
89
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
90 <conditional name="mpQuerySource">
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
91 <param name="source" type="select" label="How would you like to specify Mammalian Phenotype terms of interest?">
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
92 <option value="list">A list</option>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
93 <option value="file">A file</option>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
94 </param>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
95 <when value="file">
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
96 <param format="text" name="file_of_mpterms" type="data" label="Text file with one Mammalian Phenotype term (text) per line"/>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
97 </when>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
98 <when value="list">
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
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"/>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
100 </when>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
101 </conditional>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
102
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
103 <conditional name="goQuerySource">
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
104 <param name="source" type="select" label="How would you like to specify Gene Ontology terms of interest?">
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
105 <option value="list">A list</option>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
106 <option value="file">A file</option>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
107 </param>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
108 <when value="file">
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
109 <param format="text" name="file_of_goterms" type="data" label="Text file with one gene ontology term (text) per line"/>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
110 </when>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
111 <when value="list">
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
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"/>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
113 </when>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
114 </conditional>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
115 </inputs>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
116 <outputs>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
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"/>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
118 </outputs>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
119
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
120 <tests>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
121 </tests>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
122
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
123 <help>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
124 This tools adds columns to an HGVS table that include all of the literature references from OMIM, PubMed, ClinVar, the Human Phenotype
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
125 Ontology, the Mouse Knockout Phenotypes, and Gene Ontology that match a given set of clinical phenotype query terms. A combined
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
126 probability of gene-phenotype association is calculated to help the user rank potentially causative genes for presumed genetic disorders.
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
127 </help>
6411ca16916e initial commit
Yusuf Ali <ali@yusuf.email>
parents:
diff changeset
128 </tool>