annotate snpEff.xml @ 0:e8adfc4c0a6b draft

Uploaded
author iuc
date Wed, 11 Dec 2013 08:53:32 -0500
parents
children 500832f27cbc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
1 <tool id="snpEff" name="SnpEff" version="3.4">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
2 <description>Variant effect and annotation</description>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
3 <expand macro="requirements" />
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
4 <macros>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
5 <import>snpEff_macros.xml</import>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
6 </macros>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
7 <command>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
8 java -Xmx6G -jar \$SNPEFF_JAR_PATH/snpEff.jar eff
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
9 -c \$SNPEFF_JAR_PATH/snpEff.config
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
10 -i $inputFormat -o $outputFormat -upDownStreamLen $udLength
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
11 #if $spliceSiteSize and $spliceSiteSize.__str__ != '':
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
12 -spliceSiteSize $spliceSiteSize
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
13 #end if
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
14 #if $filterIn and $filterIn.__str__ != 'no_filter':
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
15 $filterIn
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
16 #end if
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
17 #if $filterHomHet and $filterHomHet.__str__ != 'no_filter':
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
18 $filterHomHet
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
19 #end if
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
20 #if $annotations and $annotations.__str__ != '':
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
21 #echo " "
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
22 #echo ' '.join($annotations.__str__.split(','))
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
23 #end if
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
24 #if $filterOut and $filterOut.__str__ != '':
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
25 #echo " "
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
26 #echo ' '.join($filterOut.__str__.split(','))
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
27 #end if
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
28 #if str( $transcripts ) != 'None':
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
29 -onlyTr $transcripts
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
30 #end if
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
31 #if str( $intervals ) != 'None': ### fix this for multiple dataset input
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
32 -interval $intervals
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
33 #end if
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
34 #if $statsFile:
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
35 -stats $statsFile
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
36 #end if
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
37 #if $offset.__str__ != '':
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
38 ${offset}
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
39 #end if
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
40 #if $chr.__str__.strip() != '':
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
41 -chr "$chr"
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
42 #end if
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
43 $noLog
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
44 #if $snpDb.genomeSrc == 'cached':
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
45 -dataDir ${snpDb.genomeVersion.fields.path}
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
46 #if $snpDb.extra_annotations and $snpDb.extra_annotations.__str__ != '':
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
47 #echo " "
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
48 #echo ' '.join($snpDb.extra_annotations.__str__.split(','))
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
49 #end if
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
50 #if $snpDb.regulation and $snpDb.regulation.__str__ != '':
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
51 -reg #echo ' -reg '.join($snpDb.regulation.__str__.split(','))#
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
52 #end if
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
53 $snpDb.genomeVersion
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
54 #elif $snpDb.genomeSrc == 'history':
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
55 -dataDir ${snpDb.snpeff_db.extra_files_path}
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
56 #if $snpDb.extra_annotations and $snpDb.extra_annotations.__str__ != '':
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
57 #set xannotations = [' '] + $snpDb.extra_annotations.__str__.split(',')
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
58 #echo " "
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
59 #echo ' -'.join($xannotations)
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
60 #end if
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
61 #if $snpDb.regulation and $snpDb.regulation.__str__ != '':
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
62 -reg #echo ' -reg '.join($snpDb.regulation.__str__.split(','))#
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
63 #end if
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
64 ${snpDb.snpeff_db.metadata.genome_version}
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
65 #else
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
66 -download
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
67 $snpDb.genome_version
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
68 #end if
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
69 $input > $snpeff_output
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
70 </command>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
71 <inputs>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
72 <param format="vcf,tabular,pileup,bed" name="input" type="data" label="Sequence changes (SNPs, MNPs, InDels)"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
73
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
74 <param name="inputFormat" type="select" label="Input format">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
75 <option value="vcf" selected="true">VCF</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
76 <option value="txt">Tabular (Deprecated)</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
77 <option value="pileup">Pileup (Deprecated)</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
78 <option value="bed">BED (Deprecated)</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
79 </param>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
80
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
81 <param name="outputFormat" type="select" label="Output format">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
82 <option value="vcf" selected="true">VCF (only if input is VCF)</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
83 <option value="txt">Tabular</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
84 <option value="bed">BED</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
85 <option value="bedAnn">BED Annotations</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
86 </param>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
87
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
88 <conditional name="snpDb">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
89 <param name="genomeSrc" type="select" label="Genome source">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
90 <option value="cached">Locally installed reference genome</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
91 <option value="history">Reference genome from your history</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
92 <option value="named">Named on demand</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
93 </param>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
94 <when value="cached">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
95 <param name="genomeVersion" type="select" label="Genome">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
96 <!--GENOME DESCRIPTION-->
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
97 <options from_data_table="snpeff_genomedb">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
98 <filter type="unique_value" column="0" />
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
99 </options>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
100 </param>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
101 <param name="extra_annotations" type="select" display="checkboxes" multiple="true" label="Additional Annotations">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
102 <help>These are available for only a few genomes</help>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
103 <options from_data_table="snpeff_annotations">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
104 <filter type="param_value" ref="genomeVersion" key="genome" column="0" />
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
105 <filter type="unique_value" column="1" />
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
106 </options>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
107 </param>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
108 <param name="regulation" type="select" display="checkboxes" multiple="true" label="Non-coding and regulatory Annotation">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
109 <help>These are available for only a few genomes</help>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
110 <options from_data_table="snpeff_regulationdb">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
111 <filter type="param_value" ref="genomeVersion" key="genome" column="0" />
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
112 <filter type="unique_value" column="1" />
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
113 </options>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
114 </param>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
115 </when>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
116 <when value="history">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
117 <param format="snpeffdb" name="snpeff_db" type="data" label="SnpEff Genome Version Data"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
118 <!-- From metadata -->
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
119 <param name="extra_annotations" type="select" display="checkboxes" multiple="true" label="Additional Annotations">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
120 <help>These are available for only a few genomes</help>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
121 <options>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
122 <filter type="data_meta" ref="snpeff_db" key="annotation" />
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
123 </options>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
124 </param>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
125 <param name="regulation" type="select" display="checkboxes" multiple="true" label="Non-coding and regulatory Annotation">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
126 <help>These are available for only a few genomes</help>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
127 <options>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
128 <filter type="data_meta" ref="snpeff_db" key="regulation" />
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
129 </options>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
130 </param>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
131 </when>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
132 <when value="named">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
133 <param name="genome_version" type="text" value="GRCh37.68" label="Snpff Version Name"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
134 </when>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
135 </conditional>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
136
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
137 <param name="udLength" type="select" label="Upstream / Downstream length">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
138 <option value="0">No upstream / downstream intervals (0 bases)</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
139 <option value="200">200 bases</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
140 <option value="500">500 bases</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
141 <option value="1000">1000 bases</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
142 <option value="2000">2000 bases</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
143 <option value="5000" selected="true">5000 bases</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
144 <option value="10000">10000 bases</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
145 <option value="20000">20000 bases</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
146 </param>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
147
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
148 <param name="spliceSiteSize" type="select" optional="true" label="Set size for splice sites (donor and acceptor) in bases" help="Default: 2">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
149 <option value="1">1 base</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
150 <option value="2">2 bases</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
151 <option value="3">3 bases</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
152 <option value="4">4 bases</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
153 <option value="5">5 bases</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
154 <option value="6">6 bases</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
155 <option value="7">7 bases</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
156 <option value="8">8 bases</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
157 <option value="9">9 bases</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
158 </param>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
159
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
160 <param name="filterHomHet" type="select" display="radio" label="Filter homozygous / heterozygous changes">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
161 <option value="no_filter" selected="true">No filter (analyze everything)</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
162 <option value="-hom">Analyze homozygous sequence changes only </option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
163 <option value="-het">Analyze heterozygous sequence changes only </option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
164 </param>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
165
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
166 <!-- The tool testing code can not handle select,radio,check boxes values that start with '-', so the '-' is added in the command generation -->
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
167 <param name="filterIn" type="select" display="radio" label="Filter sequence changes">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
168 <option value="no_filter" selected="true">No filter (analyze everything)</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
169 <option value="-del">Analyze deletions only </option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
170 <option value="-ins">Analyze insertions only </option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
171 <option value="-mnp">Only MNPs (multiple nucleotide polymorphisms) </option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
172 <option value="-snp">Only SNPs (single nucleotide polymorphisms) </option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
173 </param>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
174
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
175 <param name="annotations" type="select" display="checkboxes" multiple="true" label="Annotation options">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
176 <option value="-cancer">Perform 'cancer' comparissons (Somatic vs Germline)</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
177 <option value="-canon">Only use canonical transcripts</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
178 <option value="-geneId">Use gene ID instead of gene name (VCF output)</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
179 <option value="-hgvs">Use HGVS annotations for amino acid sub-field</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
180 <option value="-lof">Add loss of function (LOF) and Nonsense mediated decay (NMD) tags</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
181 <option value="-oicr">Add OICR tag in VCF file</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
182 <option value="-onlyReg">Only use regulation tracks</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
183 <option value="-sequenceOntolgy">Use Sequence Ontolgy terms.</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
184 </param>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
185 <param name="intervals" format="bed" type="data" optional="true" label="Use custom interval file for annotation"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
186 <param name="transcripts" format="tabular" type="data" optional="true" label="Only use the transcripts in this file." help="Format is one transcript ID per line."/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
187 <param name="filterOut" type="select" display="checkboxes" multiple="true" label="Filter output">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
188 <option value="-no-downstream">Do not show DOWNSTREAM changes</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
189 <option value="-no-intergenic">Do not show INTERGENIC changes</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
190 <option value="-no-intron">Do not show INTRON changes</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
191 <option value="-no-upstream">Do not show UPSTREAM changes</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
192 <option value="-no-utr">Do not show 5_PRIME_UTR or 3_PRIME_UTR changes</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
193 </param>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
194
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
195 <param name="offset" type="select" display="radio" optional="true" label="Chromosomal position">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
196 <option value="" selected="true">Use default (based on input type)</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
197 <option value="-0">Force zero-based positions (both input and output)</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
198 <option value="-1">Force one-based positions (both input and output)</option>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
199 </param>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
200 <param name="chr" type="text" optionl="true" label="Text to prepend to chromosome name">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
201 <help>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
202 By default SnpEff simplifies all chromosome names. For instance 'chr1' is just '1'.
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
203 You can prepend any string you want to the chromosome name.
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
204 </help>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
205 <validator type="regex" message="No whitespace allowed">^\S*$</validator>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
206 </param>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
207 <param name="generate_stats" type="boolean" truevalue="" falsevalue="-noStats" checked="true" label="Produce Summary Stats"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
208 <param name="noLog" type="boolean" truevalue="-noLog" falsevalue="" checked="true" label="Do not report usage statistics to server"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
209 </inputs>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
210 <outputs>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
211 <data format="vcf" name="snpeff_output" >
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
212 <change_format>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
213 <when input="outputFormat" value="vcf" format="vcf" />
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
214 <when input="outputFormat" value="txt" format="tabular" />
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
215 <when input="outputFormat" value="bed" format="bed" />
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
216 <when input="outputFormat" value="bedAnn" format="bed" />
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
217 </change_format>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
218 </data>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
219 <data format="html" name="statsFile">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
220 <filter>generate_stats == True</filter>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
221 </data>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
222 </outputs>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
223 <expand macro="stdio" />
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
224 <tests>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
225 <!-- Check that an effect was added in out VCF -->
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
226 <!-- Check for a HTML header indicating that this was successful -->
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
227 <!--
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
228 <output name="statsFile">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
229 <assert_contents>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
230 <has_text text="SnpEff: Variant analysis" />
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
231 </assert_contents>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
232 </output>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
233 -->
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
234 <!-- Setting filterOut throws exception in twilltestcase.py
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
235 <test>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
236 <param name="input" ftype="vcf" value="vcf_homhet.vcf"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
237 <param name="inputFormat" value="vcf"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
238 <param name="outputFormat" value="vcf"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
239 <param name="genomeSrc" value="named"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
240 <param name="genome_version" value="testCase"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
241 <param name="udLength" value="0"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
242 <param name="filterHomHet" value="no_filter"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
243 <param name="filterIn" value="no_filter"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
244 <param name="generate_stats" value="False"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
245 <param name="filterOut" value="+-no-upstream"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
246 <output name="snpeff_output">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
247 <assert_contents>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
248 <has_text text="EFF=" />
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
249 </assert_contents>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
250 </output>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
251 </test>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
252 -->
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
253
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
254 <test>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
255 <param name="input" ftype="vcf" value="vcf_homhet.vcf"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
256 <param name="inputFormat" value="vcf"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
257 <param name="outputFormat" value="vcf"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
258 <param name="genomeSrc" value="named"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
259 <param name="genome_version" value="testCase"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
260 <param name="udLength" value="0"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
261 <param name="filterHomHet" value="+-het"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
262 <param name="filterIn" value="no_filter"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
263 <!--
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
264 <param name="filterOut" value=""/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
265 -->
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
266 <param name="generate_stats" value="False"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
267 <output name="snpeff_output">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
268 <assert_contents>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
269 <!-- Check that NO effects were added since -het is set -->
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
270 <not_has_text text="EFF=NON_SYNONYMOUS_CODING" />
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
271 </assert_contents>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
272 </output>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
273 </test>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
274
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
275 <test>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
276 <param name="input" ftype="vcf" value="vcf_homhet.vcf"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
277 <param name="inputFormat" value="vcf"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
278 <param name="outputFormat" value="vcf"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
279 <param name="genomeSrc" value="named"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
280 <param name="genome_version" value="testCase"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
281 <param name="udLength" value="0"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
282 <param name="filterHomHet" value="no_filter"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
283 <param name="filterIn" value="del"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
284 <!--
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
285 <param name="filterOut" value=""/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
286 -->
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
287 <param name="generate_stats" value="False"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
288 <output name="snpeff_output">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
289 <assert_contents>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
290 <!-- Check that deleletions were evaluated -->
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
291 <has_text_matching expression="Y\t59030478\t.*EFF=INTERGENIC" />
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
292 <!-- Check that insertion on last line was NOT evaluated -->
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
293 <has_text_matching expression="Y\t59032947\t.*SF=5\tGT" />
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
294 </assert_contents>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
295 </output>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
296 </test>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
297
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
298 <!-- Check that NO UPSTREAM effect was added -->
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
299 <!-- Setting filterOut throws exception in twilltestcase.py
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
300 <test>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
301 <param name="input" ftype="vcf" value="vcf_homhet.vcf"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
302 <param name="inputFormat" value="vcf"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
303 <param name="outputFormat" value="vcf"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
304 <param name="genomeSrc" value="named"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
305 <param name="genome_version" value="testCase"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
306 <param name="udLength" value="0"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
307 <param name="filterHomHet" value="no_filter"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
308 <param name="filterIn" value="no_filter"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
309 <param name="filterOut" value="+-no-upstream"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
310 <param name="generate_stats" value="False"/>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
311 <output name="snpeff_output">
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
312 <assert_contents>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
313 <not_has_text text="UPSTREAM" />
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
314 </assert_contents>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
315 </output>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
316 </test>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
317 -->
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
318
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
319 </tests>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
320 <help>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
321
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
322 This tool calculate the effect of variants (SNPs/MNPs/Insertions) and deletions.
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
323
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
324 @EXTERNAL_DOCUMENTATION@
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
325
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
326 @CITATION_SECTION@
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
327
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
328 </help>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
329 </tool>
e8adfc4c0a6b Uploaded
iuc
parents:
diff changeset
330