annotate freebayes.xml @ 18:28d1363f4fea draft

Uploaded
author devteam
date Thu, 05 Mar 2015 21:47:24 -0500
parents 4c80a1387285
children 8fb829f953d6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
1 <?xml version="1.0"?>
17
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
2 <tool id="freebayes" name="FreeBayes" version="0.4">
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
3 <requirements>
17
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
4 <requirement type="package" version="0_9_20_b040236">freebayes</requirement>
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
5 <requirement type="package" version="0.1.18">samtools</requirement>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
6 </requirements>
16
6d9407020066 Uploaded
devteam
parents: 15
diff changeset
7 <description> - bayesian genetic variant detector</description>
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
8 <command>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
9 ##set up input files
2dd40b601766 Uploaded
devteam
parents:
diff changeset
10
2dd40b601766 Uploaded
devteam
parents:
diff changeset
11 #set $reference_fasta_filename = "localref.fa"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
12
2dd40b601766 Uploaded
devteam
parents:
diff changeset
13 #if str( $reference_source.reference_source_selector ) == "history":
2dd40b601766 Uploaded
devteam
parents:
diff changeset
14 ln -s "${reference_source.ref_file}" "${reference_fasta_filename}" &amp;&amp;
2dd40b601766 Uploaded
devteam
parents:
diff changeset
15 samtools faidx "${reference_fasta_filename}" 2&gt;&amp;1 || echo "Error running samtools faidx for FreeBayes" &gt;&amp;2 &amp;&amp;
2dd40b601766 Uploaded
devteam
parents:
diff changeset
16 #else:
2dd40b601766 Uploaded
devteam
parents:
diff changeset
17 #set $reference_fasta_filename = str( $reference_source.ref_file.fields.path )
2dd40b601766 Uploaded
devteam
parents:
diff changeset
18 #end if
2dd40b601766 Uploaded
devteam
parents:
diff changeset
19
2dd40b601766 Uploaded
devteam
parents:
diff changeset
20 #for $bam_count, $input_bam in enumerate( $reference_source.input_bams ):
2dd40b601766 Uploaded
devteam
parents:
diff changeset
21 ln -s "${input_bam.input_bam}" "localbam_${bam_count}.bam" &amp;&amp;
2dd40b601766 Uploaded
devteam
parents:
diff changeset
22 ln -s "${input_bam.input_bam.metadata.bam_index}" "localbam_${bam_count}.bam.bai" &amp;&amp;
2dd40b601766 Uploaded
devteam
parents:
diff changeset
23 #end for
2dd40b601766 Uploaded
devteam
parents:
diff changeset
24
2dd40b601766 Uploaded
devteam
parents:
diff changeset
25 ## Tabixize optional input_varinat_vcf file (for --variant-input option)
2dd40b601766 Uploaded
devteam
parents:
diff changeset
26
16
6d9407020066 Uploaded
devteam
parents: 15
diff changeset
27 #if ( str( $options_type.options_type_selector ) == 'cline' or str( $options_type.options_type_selector ) == 'full' ) and $options_type.optional_inputs.optional_inputs_selector and str( $options_type.optional_inputs.input_variant_type.input_variant_type_selector ) == "provide_vcf":
6d9407020066 Uploaded
devteam
parents: 15
diff changeset
28 ln -s "${options_type.optional_inputs.input_variant_type.input_variant_vcf}" "input_variant_vcf.vcf.gz" &amp;&amp;
6d9407020066 Uploaded
devteam
parents: 15
diff changeset
29 ln -s "${Tabixized_input}" "input_variant_vcf.vcf.gz.tbi" &amp;&amp;
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
30 #end if
2dd40b601766 Uploaded
devteam
parents:
diff changeset
31
2dd40b601766 Uploaded
devteam
parents:
diff changeset
32 ##finished setting up inputs
2dd40b601766 Uploaded
devteam
parents:
diff changeset
33
2dd40b601766 Uploaded
devteam
parents:
diff changeset
34 ##COMMAND LINE STARTS HERE
2dd40b601766 Uploaded
devteam
parents:
diff changeset
35
2dd40b601766 Uploaded
devteam
parents:
diff changeset
36 freebayes
2dd40b601766 Uploaded
devteam
parents:
diff changeset
37 #for $bam_count, $input_bam in enumerate( $reference_source.input_bams ):
2dd40b601766 Uploaded
devteam
parents:
diff changeset
38 --bam "localbam_${bam_count}.bam"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
39 #end for
2dd40b601766 Uploaded
devteam
parents:
diff changeset
40 --fasta-reference "${reference_fasta_filename}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
41
2dd40b601766 Uploaded
devteam
parents:
diff changeset
42 ##outputs
2dd40b601766 Uploaded
devteam
parents:
diff changeset
43 --vcf "${output_vcf}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
44
2dd40b601766 Uploaded
devteam
parents:
diff changeset
45 #if str( $target_limit_type.target_limit_type_selector ) == "limit_by_target_file":
2dd40b601766 Uploaded
devteam
parents:
diff changeset
46 --targets "${target_limit_type.input_target_bed}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
47 #elif str( $target_limit_type.target_limit_type_selector ) == "limit_by_region":
2dd40b601766 Uploaded
devteam
parents:
diff changeset
48 --region "${target_limit_type.region_chromosome}:${target_limit_type.region_start}..${target_limit_type.region_end}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
49 #end if
2dd40b601766 Uploaded
devteam
parents:
diff changeset
50
2dd40b601766 Uploaded
devteam
parents:
diff changeset
51 ##advanced options
2dd40b601766 Uploaded
devteam
parents:
diff changeset
52 #if str( $options_type.options_type_selector ) == "simple":
2dd40b601766 Uploaded
devteam
parents:
diff changeset
53 ##do nothing as command like build up to this point is sufficinet for simple diploid calling
2dd40b601766 Uploaded
devteam
parents:
diff changeset
54
2dd40b601766 Uploaded
devteam
parents:
diff changeset
55 #elif str( $options_type.options_type_selector ) == "simple_w_filters":
2dd40b601766 Uploaded
devteam
parents:
diff changeset
56
2dd40b601766 Uploaded
devteam
parents:
diff changeset
57 --standard-filters
2dd40b601766 Uploaded
devteam
parents:
diff changeset
58 --min-coverage "${options_type.min_coverage}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
59
2dd40b601766 Uploaded
devteam
parents:
diff changeset
60 #elif str( $options_type.options_type_selector ) == "naive":
2dd40b601766 Uploaded
devteam
parents:
diff changeset
61
2dd40b601766 Uploaded
devteam
parents:
diff changeset
62 --haplotype-length 0
2dd40b601766 Uploaded
devteam
parents:
diff changeset
63 --min-alternate-count 1
2dd40b601766 Uploaded
devteam
parents:
diff changeset
64 --min-alternate-fraction 0
2dd40b601766 Uploaded
devteam
parents:
diff changeset
65 --pooled-continuous
2dd40b601766 Uploaded
devteam
parents:
diff changeset
66 --report-monomorphic
2dd40b601766 Uploaded
devteam
parents:
diff changeset
67
2dd40b601766 Uploaded
devteam
parents:
diff changeset
68 #elif str( $options_type.options_type_selector ) == "naive_w_filters":
2dd40b601766 Uploaded
devteam
parents:
diff changeset
69
2dd40b601766 Uploaded
devteam
parents:
diff changeset
70 --haplotype-length 0
2dd40b601766 Uploaded
devteam
parents:
diff changeset
71 --min-alternate-count 1
2dd40b601766 Uploaded
devteam
parents:
diff changeset
72 --min-alternate-fraction 0
2dd40b601766 Uploaded
devteam
parents:
diff changeset
73 --pooled-continuous
2dd40b601766 Uploaded
devteam
parents:
diff changeset
74 --report-monomorphic
2dd40b601766 Uploaded
devteam
parents:
diff changeset
75 --standard-filters
2dd40b601766 Uploaded
devteam
parents:
diff changeset
76 --min-coverage "${options_type.min_coverage}"
16
6d9407020066 Uploaded
devteam
parents: 15
diff changeset
77
6d9407020066 Uploaded
devteam
parents: 15
diff changeset
78 ## Command line direct text entry is not allowed at this time for security reasons
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
79
2dd40b601766 Uploaded
devteam
parents:
diff changeset
80 #elif str( $options_type.options_type_selector ) == "full":
2dd40b601766 Uploaded
devteam
parents:
diff changeset
81
17
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
82 #if $options_type.optional_inputs.optional_inputs_selector:
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
83
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
84 #if $options_type.optional_inputs.output_trace_option:
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
85 --trace "${output_trace}"
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
86 #end if
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
87
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
88 #if $options_type.optional_inputs.output_failed_alleles_option:
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
89 --failed-alleles "${output_failed_alleles_bed}"
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
90 #end if
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
91
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
92 #if $options_type.optional_inputs.samples:
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
93 --samples "${options_type.optional_inputs.samples}"
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
94 #end if
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
95
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
96 #if $options_type.optional_inputs.populations:
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
97 --populations "${options_type.optional_inputs.populations}"
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
98 #end if
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
99
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
100 #if $options_type.optional_inputs.A:
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
101 --cnv-map "${options_type.optional_inputs.A}"
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
102 #end if
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
103
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
104 #if str( $options_type.optional_inputs.input_variant_type.input_variant_type_selector ) == "provide_vcf":
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
105 --variant-input "input_variant_vcf.vcf.gz" ## input_variant_vcf.vcf.gz is symlinked to a galaxy-generated dataset in "Tabixize optional input_varinat_vcf file" section of the command line above
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
106 ${options_type.optional_inputs.input_variant_type.only_use_input_alleles}
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
107 #end if
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
108
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
109 #if $options_type.optional_inputs.haplotype_basis_alleles:
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
110 --haplotype-basis-alleles "${options_type.optional_inputs.haplotype_basis_alleles}"
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
111 #end if
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
112
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
113 #if $options_type.optional_inputs.observation_bias:
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
114 --observation-bias "${options_type.optional_inputs.observation_bias}"
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
115 #end if
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
116
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
117 #if $options_type.optional_inputs.contamination_estimates:
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
118 --contamination-estimates "${options_type.optional_inputs.contamination_estimates}"
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
119 #end if
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
120
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
121 #end if
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
122
2dd40b601766 Uploaded
devteam
parents:
diff changeset
123 ## REPORTING
2dd40b601766 Uploaded
devteam
parents:
diff changeset
124
2dd40b601766 Uploaded
devteam
parents:
diff changeset
125 #if str( $options_type.reporting.reporting_selector ) == "True":
2dd40b601766 Uploaded
devteam
parents:
diff changeset
126 --pvar ${options_type.reporting.pvar}
2dd40b601766 Uploaded
devteam
parents:
diff changeset
127 #end if
2dd40b601766 Uploaded
devteam
parents:
diff changeset
128
2dd40b601766 Uploaded
devteam
parents:
diff changeset
129 ## POPULATION MODEL
2dd40b601766 Uploaded
devteam
parents:
diff changeset
130
2dd40b601766 Uploaded
devteam
parents:
diff changeset
131 #if str( $options_type.population_model.population_model_selector ) == "True":
2dd40b601766 Uploaded
devteam
parents:
diff changeset
132 --theta "${options_type.population_model.T}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
133 --ploidy "${options_type.population_model.P}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
134 ${options_type.population_model.J}
2dd40b601766 Uploaded
devteam
parents:
diff changeset
135 ${options_type.population_model.K}
2dd40b601766 Uploaded
devteam
parents:
diff changeset
136
2dd40b601766 Uploaded
devteam
parents:
diff changeset
137 #end if
2dd40b601766 Uploaded
devteam
parents:
diff changeset
138
2dd40b601766 Uploaded
devteam
parents:
diff changeset
139 ## REFERENCE ALLELE
2dd40b601766 Uploaded
devteam
parents:
diff changeset
140
2dd40b601766 Uploaded
devteam
parents:
diff changeset
141 #if str( $options_type.reference_allele.reference_allele_selector ) == "True":
2dd40b601766 Uploaded
devteam
parents:
diff changeset
142 ${options_type.reference_allele.Z}
2dd40b601766 Uploaded
devteam
parents:
diff changeset
143 --reference-quality "${options_type.reference_allele.reference_quality}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
144 #end if
2dd40b601766 Uploaded
devteam
parents:
diff changeset
145
2dd40b601766 Uploaded
devteam
parents:
diff changeset
146 ## ALLELE SCOPE
2dd40b601766 Uploaded
devteam
parents:
diff changeset
147
2dd40b601766 Uploaded
devteam
parents:
diff changeset
148 #if str( $options_type.allele_scope.allele_scope_selector ) == "True":
2dd40b601766 Uploaded
devteam
parents:
diff changeset
149 ${options_type.allele_scope.I}
2dd40b601766 Uploaded
devteam
parents:
diff changeset
150 ${options_type.allele_scope.i}
2dd40b601766 Uploaded
devteam
parents:
diff changeset
151 ${options_type.allele_scope.X}
2dd40b601766 Uploaded
devteam
parents:
diff changeset
152 ${options_type.allele_scope.u}
2dd40b601766 Uploaded
devteam
parents:
diff changeset
153 -n "${options_type.allele_scope.n}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
154 --haplotype-length "${options_type.allele_scope.haplotype_length}"
15
59731e950e23 Fix some options.
soranzo
parents: 13
diff changeset
155 --min-repeat-size "${options_type.allele_scope.min_repeat_length}"
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
156 --min-repeat-entropy "${options_type.allele_scope.min_repeat_entropy}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
157 ${options_type.allele_scope.no_partial_observations}
2dd40b601766 Uploaded
devteam
parents:
diff changeset
158 #end if
2dd40b601766 Uploaded
devteam
parents:
diff changeset
159
2dd40b601766 Uploaded
devteam
parents:
diff changeset
160 ## REALIGNMENT
2dd40b601766 Uploaded
devteam
parents:
diff changeset
161
2dd40b601766 Uploaded
devteam
parents:
diff changeset
162 ${options_type.O}
2dd40b601766 Uploaded
devteam
parents:
diff changeset
163
2dd40b601766 Uploaded
devteam
parents:
diff changeset
164 ##INPUT FILTERS
2dd40b601766 Uploaded
devteam
parents:
diff changeset
165
2dd40b601766 Uploaded
devteam
parents:
diff changeset
166 #if str( $options_type.input_filters.input_filters_selector ) == "True":
2dd40b601766 Uploaded
devteam
parents:
diff changeset
167 ${options_type.input_filters.use_duplicate_reads}
2dd40b601766 Uploaded
devteam
parents:
diff changeset
168 -m "${options_type.input_filters.m}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
169 -q "${options_type.input_filters.q}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
170 -R "${options_type.input_filters.R}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
171 -Y "${options_type.input_filters.Y}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
172
2dd40b601766 Uploaded
devteam
parents:
diff changeset
173 #if str( $options_type.input_filters.mismatch_filters.mismatch_filters_selector ) == "True":
2dd40b601766 Uploaded
devteam
parents:
diff changeset
174 -Q "${options_type.input_filters.mismatch_filters.Q}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
175 -U "${options_type.input_filters.mismatch_filters.U}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
176 -z "${options_type.input_filters.mismatch_filters.z}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
177 --read-snp-limit "${options_type.input_filters.mismatch_filters.read_snp_limit}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
178 #end if
2dd40b601766 Uploaded
devteam
parents:
diff changeset
179
2dd40b601766 Uploaded
devteam
parents:
diff changeset
180 -e "${options_type.input_filters.e}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
181 -F "${options_type.input_filters.F}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
182 -C "${options_type.input_filters.C}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
183 --min-alternate-qsum "${options_type.input_filters.min_alternate_qsum}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
184 -G "${options_type.input_filters.G}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
185 --min-coverage "${options_type.input_filters.min_coverage}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
186 #end if
2dd40b601766 Uploaded
devteam
parents:
diff changeset
187
2dd40b601766 Uploaded
devteam
parents:
diff changeset
188 ## POPULATION AND MAPPABILITY PRIORS
2dd40b601766 Uploaded
devteam
parents:
diff changeset
189
2dd40b601766 Uploaded
devteam
parents:
diff changeset
190 #if str( $options_type.population_mappability_priors.population_mappability_priors_selector ) == "True":
2dd40b601766 Uploaded
devteam
parents:
diff changeset
191 ${options_type.population_mappability_priors.k}
2dd40b601766 Uploaded
devteam
parents:
diff changeset
192 ${options_type.population_mappability_priors.w}
2dd40b601766 Uploaded
devteam
parents:
diff changeset
193 ${options_type.population_mappability_priors.V}
2dd40b601766 Uploaded
devteam
parents:
diff changeset
194 ${options_type.population_mappability_priors.a}
2dd40b601766 Uploaded
devteam
parents:
diff changeset
195 #end if
2dd40b601766 Uploaded
devteam
parents:
diff changeset
196
2dd40b601766 Uploaded
devteam
parents:
diff changeset
197 ## GENOTYPE LIKELIHOODS
2dd40b601766 Uploaded
devteam
parents:
diff changeset
198
2dd40b601766 Uploaded
devteam
parents:
diff changeset
199 #if str( $options_type.genotype_likelihoods.genotype_likelihoods_selector ) == "True":
2dd40b601766 Uploaded
devteam
parents:
diff changeset
200 --base-quality-cap "${$options_type.genotype_likelihoods.base_quality_cap}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
201 ${$options_type.genotype_likelihoods.experimental_gls}
15
59731e950e23 Fix some options.
soranzo
parents: 13
diff changeset
202 --prob-contamination "${$options_type.genotype_likelihoods.prob_contamination}"
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
203 #end if
2dd40b601766 Uploaded
devteam
parents:
diff changeset
204
2dd40b601766 Uploaded
devteam
parents:
diff changeset
205 ## ALGORITHMIC FEATURES
2dd40b601766 Uploaded
devteam
parents:
diff changeset
206
2dd40b601766 Uploaded
devteam
parents:
diff changeset
207 #if str( $options_type.algorithmic_features.algorithmic_features_selector ) == "True":
15
59731e950e23 Fix some options.
soranzo
parents: 13
diff changeset
208 ${options_type.algorithmic_features.report_genotype_likelihood_max}
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
209 -B "${options_type.algorithmic_features.B}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
210 --genotyping-max-banddepth "${options_type.algorithmic_features.genotyping_max_banddepth}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
211 -W "${options_type.algorithmic_features.W}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
212 ${options_type.algorithmic_features.N}
2dd40b601766 Uploaded
devteam
parents:
diff changeset
213
2dd40b601766 Uploaded
devteam
parents:
diff changeset
214 #if str( $options_type.algorithmic_features.genotype_variant_threshold.genotype_variant_threshold_selector ) == "True":
2dd40b601766 Uploaded
devteam
parents:
diff changeset
215 -S "${options_type.algorithmic_features.genotype_variant_threshold.S}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
216 #end if
2dd40b601766 Uploaded
devteam
parents:
diff changeset
217
2dd40b601766 Uploaded
devteam
parents:
diff changeset
218 ${options_type.algorithmic_features.j}
2dd40b601766 Uploaded
devteam
parents:
diff changeset
219 ${options_type.algorithmic_features.H}
2dd40b601766 Uploaded
devteam
parents:
diff changeset
220 -D "${options_type.algorithmic_features.D}"
2dd40b601766 Uploaded
devteam
parents:
diff changeset
221 ${options_type.algorithmic_features.genotype_qualities}
2dd40b601766 Uploaded
devteam
parents:
diff changeset
222 #end if
2dd40b601766 Uploaded
devteam
parents:
diff changeset
223 #end if
2dd40b601766 Uploaded
devteam
parents:
diff changeset
224
2dd40b601766 Uploaded
devteam
parents:
diff changeset
225 </command>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
226
2dd40b601766 Uploaded
devteam
parents:
diff changeset
227 <inputs>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
228 <conditional name="reference_source">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
229 <param name="reference_source_selector" type="select" label="Load reference genome from">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
230 <option value="cached">Local cache</option>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
231 <option value="history">History</option>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
232 </param>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
233 <when value="cached">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
234 <repeat name="input_bams" title="Sample BAM file" min="1">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
235 <param name="input_bam" type="data" format="bam" label="BAM file">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
236 <validator type="unspecified_build" />
16
6d9407020066 Uploaded
devteam
parents: 15
diff changeset
237 <validator type="dataset_metadata_in_data_table" table_name="fasta_indexes" metadata_name="dbkey" metadata_column="1" message="Sequences are not currently available for the specified build." />
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
238 </param>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
239 </repeat>
16
6d9407020066 Uploaded
devteam
parents: 15
diff changeset
240
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
241 <param name="ref_file" type="select" label="Using reference genome">
16
6d9407020066 Uploaded
devteam
parents: 15
diff changeset
242 <options from_data_table="fasta_indexes"></options>
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
243 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
244 </param>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
245 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
246 <when value="history"> <!-- FIX ME!!!! -->
2dd40b601766 Uploaded
devteam
parents:
diff changeset
247 <repeat name="input_bams" title="Sample BAM file" min="1">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
248 <param name="input_bam" type="data" format="bam" label="BAM file" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
249 </repeat>
16
6d9407020066 Uploaded
devteam
parents: 15
diff changeset
250 <param name="ref_file" type="data" format="fasta" label="Use the following dataset as the reference sequence" help="You can upload a FASTA sequence to the history and use it as reference" />
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
251 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
252 </conditional>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
253
2dd40b601766 Uploaded
devteam
parents:
diff changeset
254 <conditional name="target_limit_type">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
255 <param name="target_limit_type_selector" type="select" label="Limit variant calling to a set of regions?" help="Sets --targets or --region options">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
256 <option value="do_not_limit" selected="True">Do not limit</option>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
257 <option value="limit_by_target_file">Limit by target file</option>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
258 <option value="limit_by_region">Limit to region</option>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
259 </param>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
260 <when value="do_not_limit">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
261 <!-- Do nothing here -->
2dd40b601766 Uploaded
devteam
parents:
diff changeset
262 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
263 <when value="limit_by_target_file">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
264 <param name="input_target_bed" type="data" format="bed" label="Limit analysis to targets listed in the BED-format FILE." help="-t --targets"/>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
265 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
266 <when value="limit_by_region">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
267 <param name="region_chromosome" type="text" label="Region Chromosome" value="" help="-r --region"/> <!--only once? -->
2dd40b601766 Uploaded
devteam
parents:
diff changeset
268 <param name="region_start" type="integer" label="Region Start" value="" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
269 <param name="region_end" type="integer" label="Region End" value="" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
270 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
271 </conditional>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
272
2dd40b601766 Uploaded
devteam
parents:
diff changeset
273 <conditional name="options_type">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
274 <param name="options_type_selector" type="select" label="Choose parameter selection level" help="Select how much control over the freebayes run you need" >
2dd40b601766 Uploaded
devteam
parents:
diff changeset
275 <option value="simple" selected="True">1:Simple diploid calling</option>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
276 <option value="simple_w_filters">2:Simple diploid calling with filtering and coverage</option>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
277 <option value="naive">3:Frequency-based pooled calling</option>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
278 <option value="naive_w_filters">4:Frequency-based pooled calling with filtering and coverage</option>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
279 <option value="full">5:Complete list of all options</option>
16
6d9407020066 Uploaded
devteam
parents: 15
diff changeset
280 <!-- We will not alloow command line text boxes at this time
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
281 <option value="cline">6:Input parameters on the command line</option>
16
6d9407020066 Uploaded
devteam
parents: 15
diff changeset
282 -->
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
283 </param>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
284 <when value="full">
17
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
285
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
286 <conditional name="optional_inputs">
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
287 <param name="optional_inputs_selector" type="boolean" truevalue="set" falsevalue="do_not_set" label="Do you want to provide additional inputs?" help="Sets --samples, --populations, --cnv-map, --trace, --failed-alleles, --varinat-input, --only-use-input-alleles, --haplotype-basis-alleles, --report-all-haplotype-alleles, --report-monomorphic options, --observation-bias, and --contamination-estimates" />
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
288 <when value="set">
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
289 <param name="output_failed_alleles_option" type="boolean" truevalue="--failed-alleles" falsevalue="" checked="False" label="Write out failed alleles file" help="--failed-alleles" />
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
290 <param name="output_trace_option" type="boolean" truevalue="--trace" falsevalue="" checked="False" label="Write out algorithm trace file" help="--trace"/>
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
291 <param name="samples" type="data" format="txt" label="Limit analysis to samples listed (one per line) in the FILE" optional="True" help="-s --samples; default=By default FreeBayes will analyze all samples in its input BAM files"/>
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
292 <param name="populations" type="data" format="txt" label="Populations File" optional="True" help="--populations; default=False. Each line of FILE should list a sample and a population which it is part of. The population-based bayesian inference model will then be partitioned on the basis of the populations" />
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
293 <param name="A" type="data" format="bed" label="Read a copy number map from the BED file FILE" optional="True" help="-A --cnv-map; default=copy number is set to as specified by --ploidy. Read a copy number map from the BED file FILE, which has the format: reference sequence, start, end, sample name, copy number ... for each region in each sample which does not have the default copy number as set by --ploidy."/>
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
294 <conditional name="input_variant_type">
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
295 <param name="input_variant_type_selector" type="select" label="Provide variants file">
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
296 <option value="do_not_provide" selected="True">Do not provide</option>
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
297 <option value="provide_vcf">Provide VCF file</option>
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
298 </param>
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
299 <when value="do_not_provide">
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
300 <!-- Do nothing here -->
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
301 </when>
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
302 <when value="provide_vcf">
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
303 <param name="input_variant_vcf" type="data" format="vcf_bgzip" label="Use variants reported in VCF file as input to the algorithm">
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
304 <conversion name="Tabixized_input" type="tabix" />
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
305 </param>
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
306 <param name="only_use_input_alleles" type="boolean" truevalue="--only-use-input-alleles" falsevalue="" checked="False" label="Only provide variant calls and genotype likelihoods for sites in VCF" />
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
307 </when>
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
308 </conditional>
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
309 <param name="haplotype_basis_alleles" type="data" format="vcf" label="Only use variant alleles provided in this input VCF for the construction of complex or haplotype alleles" optional="True" help="--haplotype-basis-alleles" />
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
310 <param name="report_monomorphic" type="boolean" truevalue="--report-monomorphic" falsevalue="" checked="False" label="Report even loci which appear to be monomorphic, and report all considered alleles, even those which are not in called genotypes." help="--report-monomorphic " />
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
311 <param name="observation_bias" optional="True" type="data" format="tabular" label="Load read length-dependent allele observation biases from" help="--observation-bias; The format is [length] [alignment efficiency relative to reference] where the efficiency is 1 if there is no relative observation bias" />
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
312 <param name="contamination_estimates" optional="True" type="data" format="tabular" label="Upload per-sample estimates of contamination from" help="--contamination-estimates; The format should be: sample p(read=R|genotype=AR) p(read=A|genotype=AA) Sample '*' can be used to set default contamination estimates." />
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
313 </when>
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
314 <when value="do_not_set">
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
315 <!-- do nothing -->
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
316 </when>
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
317 </conditional>
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
318
2dd40b601766 Uploaded
devteam
parents:
diff changeset
319 <!-- reporting -->
2dd40b601766 Uploaded
devteam
parents:
diff changeset
320
2dd40b601766 Uploaded
devteam
parents:
diff changeset
321 <conditional name="reporting">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
322 <param name="reporting_selector" type="boolean" truevalue="set" falsevalue="do_not_set" label="Set reporting option?" help="Sets -P --pvar option" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
323 <when value="set">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
324 <param name="pvar" type="float" value="0.0" label="Report sites if the probability that there is a polymorphism at the site is greater than" help="-P --pvar; default=0.0. Note that post-filtering is generally recommended over the use of this parameter. " />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
325 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
326 <when value="do_not_set">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
327 <!-- do nothing -->
2dd40b601766 Uploaded
devteam
parents:
diff changeset
328 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
329 </conditional>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
330
2dd40b601766 Uploaded
devteam
parents:
diff changeset
331 <!-- population model -->
2dd40b601766 Uploaded
devteam
parents:
diff changeset
332
2dd40b601766 Uploaded
devteam
parents:
diff changeset
333 <conditional name="population_model">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
334 <param name="population_model_selector" type="boolean" truevalue="set" falsevalue="do_not_set" label="Set population model?" help="Sets --theta, --ploidy, --pooled-discrete, and --pooled-continuous options " />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
335 <when value="set">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
336 <param name="T" type="float" value="0.001" label="The expected mutation rate or pairwise nucleotide diversity among the population under analysis" help="-T --theta; default = 0.001. This serves as the single parameter to the Ewens Sampling Formula prior model." />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
337 <param name="P" type="integer" value="2" label="Set ploidy for the analysis" help="-p --ploidy; default=2" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
338 <param name="J" type="boolean" truevalue="-J" falsevalue="" checked="False" label="Assume that samples result from pooled sequencing" help="-J --pooled-discrete; default=False. Model pooled samples using discrete genotypes across pools. When using this flag, set --ploidy to the number of alleles in each sample or use the --cnv-map to define per-sample ploidy." />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
339 <param name="K" type="boolean" truevalue="-K" falsevalue="" checked="False" label="Output all alleles which pass input filters, regardles of genotyping outcome or model" help="-K, --poled-continuous; default=False. " />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
340 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
341 <when value="do_not_set">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
342 <!-- do nothing -->
2dd40b601766 Uploaded
devteam
parents:
diff changeset
343 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
344 </conditional>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
345
2dd40b601766 Uploaded
devteam
parents:
diff changeset
346 <!-- reference allele -->
2dd40b601766 Uploaded
devteam
parents:
diff changeset
347
2dd40b601766 Uploaded
devteam
parents:
diff changeset
348 <conditional name="reference_allele">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
349 <param name="reference_allele_selector" type="boolean" truevalue="set" falsevalue="do_not_set" label="Use reference allele?" help="Sets --use-reference-allele and --reference-quality options " />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
350 <when value="set">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
351 <param name="Z" type="boolean" truevalue="-Z" falsevalue="" checked="False" label="Include the reference allele in the analysis as if it is another sample from the same population" help="-Z --use-reference-allele; default=False" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
352 <param name="reference_quality" type="text" size="8" value="100,60" label="Assign mapping quality of MQ (100) to the reference allele at each site and base quality of BQ (60)" help="--reference-quality; default=100,60 " />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
353 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
354 <when value="do_not_set">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
355 <!-- do nothing -->
2dd40b601766 Uploaded
devteam
parents:
diff changeset
356 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
357 </conditional>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
358
2dd40b601766 Uploaded
devteam
parents:
diff changeset
359 <!-- allelic scope -->
2dd40b601766 Uploaded
devteam
parents:
diff changeset
360
2dd40b601766 Uploaded
devteam
parents:
diff changeset
361 <conditional name="allele_scope">
15
59731e950e23 Fix some options.
soranzo
parents: 13
diff changeset
362 <param name="allele_scope_selector" type="boolean" truevalue="set" falsevalue="do_not_set" label="Set allelic scope?" help="Sets -I, i, -X, -u, -n, --haplotype-length, --min-repeat-size, --min-repeat-entropy, and --no-partial-observations options " />
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
363 <when value="set">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
364 <param name="I" type="boolean" truevalue="-I" falsevalue="" checked="False" label="Ignore SNP alleles" help="-I --no-snps; default=False" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
365 <param name="i" type="boolean" truevalue="-i" falsevalue="" checked="False" label="Ignore indels alleles" help="-i --no-indels; default=False" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
366 <param name="X" type="boolean" truevalue="-X" falsevalue="" checked="False" label="Ignore multi-nucleotide polymorphisms, MNPs" help="-X --no-mnps; default=False" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
367 <param name="u" type="boolean" truevalue="-u" falsevalue="" checked="False" label="Ignore complex events (composites of other classes)." help="-u --no-complex; default=False" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
368 <param name="n" type="integer" value="0" label="How many best SNP alleles to evaluate" help="-n --use-best-n-alleles; default=0 (all). Alleles are ranked by the sum of supporting quality scores. Set to 0 to evaluate all" />
15
59731e950e23 Fix some options.
soranzo
parents: 13
diff changeset
369 <param name="haplotype_length" type="integer" value="3" label="Allow haplotype calls with contiguous embedded matches of up to (nucleotides)" help="-E --max-complex-gap --haplotype-length; default=3." />
59731e950e23 Fix some options.
soranzo
parents: 13
diff changeset
370 <param name="min_repeat_length" type="integer" value="5" label="When assembling observations across repeats, require the total repeat length at least this many bp" help="--min-repeat-size; default=5." />
59731e950e23 Fix some options.
soranzo
parents: 13
diff changeset
371 <param name="min_repeat_entropy" type="integer" value="0" label="To detect interrupted repeats, build across sequence until it has entropy > (bits per bp)" help="--min-repeat-entropy; default=0 (off)." />
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
372 <param name="no_partial_observations" type="boolean" truevalue="--no-partial-observations" falsevalue="" checked="False" label="Exclude observations which do not fully span the dynamically-determined detection window" help="--no-partial-observations; default=use all observations, dividing partial support across matching haplotypes when generating haplotypes. " />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
373 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
374 <when value="do_not_set">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
375 <!-- do nothing -->
2dd40b601766 Uploaded
devteam
parents:
diff changeset
376 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
377 </conditional>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
378
2dd40b601766 Uploaded
devteam
parents:
diff changeset
379 <!-- indel realignment -->
2dd40b601766 Uploaded
devteam
parents:
diff changeset
380
2dd40b601766 Uploaded
devteam
parents:
diff changeset
381 <param name="O" type="boolean" truevalue="-O" falsevalue="" checked="False" label="Turn off left-alignment of indels?" help="-O --dont-left-align-indels; default=False (do left align). " />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
382
2dd40b601766 Uploaded
devteam
parents:
diff changeset
383 <!-- input filters -->
2dd40b601766 Uploaded
devteam
parents:
diff changeset
384
2dd40b601766 Uploaded
devteam
parents:
diff changeset
385 <conditional name="input_filters">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
386 <param name="input_filters_selector" type="boolean" truevalue="set" falsevalue="do_not_set" label="Set input filters?" help="Sets -4, -m, -q, -R, -Y, -Q, -U, -z, -&#36;, -e, -0, -F, -C, -3, -G, and -&#33; options " />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
387 <when value="set">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
388 <param name="use_duplicate_reads" type="boolean" truevalue="--use-duplicate-reads" falsevalue="" checked="False" label="Include duplicate-marked alignments in the analysis." help="-4 --use-duplicate-reads; default=False (exclude duplicates marked as such in alignments)." />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
389 <param name="m" type="integer" value="1" label="Exclude alignments from analysis if they have a mapping quality less than" help="-m --min-mapping-quality; default=1" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
390 <param name="q" type="integer" value="0" label="Exclude alleles from analysis if their supporting base quality less than" help="-q --min-base-quality; default=0" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
391 <param name="R" type="integer" value="0" label="Consider any allele in which the sum of qualities of supporting observations is at least" help="-R --min-supporting-allele-qsum; default=0" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
392 <param name="Y" type="integer" value="0" label="Consider any allele in which and the sum of mapping qualities of supporting reads is at least" help="-Y --min-supporting-mapping-qsum; default=0" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
393 <conditional name="mismatch_filters">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
394 <param name="mismatch_filters_selector" type="boolean" truevalue="set" falsevalue="do_not_set" label="Perform mismatch filtering?" help="Sets -Q, -U, -z, and &#36; options" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
395 <when value="set">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
396 <param name="Q" type="integer" value="10" label="Count mismatches toward -U (option below) if the base quality of the mismatch is >=" help="-Q --mismatch-base-quality-threshold; default=10" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
397 <param name="U" type="integer" value="1000" optional="True" label="Exclude reads with more than N mismatches where each mismatch has base quality >= Q (option above)" help="-U --read-mismatch-limit; default=~unbound" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
398 <param name="z" type="float" value="1.0" min="0.0" max="1.0" label="Exclude reads with more than N [0,1] fraction of mismatches where each mismatch has base quality >= Q (second option above)" help="-z --read-max-mismatch-fraction; default=1.0" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
399 <param name="read_snp_limit" type="integer" value="1000" label="Exclude reads with more than N base mismatches, ignoring gaps with quality >= Q (third option abobe)" help="-$amp; --read-snp-limit N " />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
400 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
401 <when value="do_not_set">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
402 <!-- do nothing -->
2dd40b601766 Uploaded
devteam
parents:
diff changeset
403 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
404 </conditional>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
405 <param name="e" type="integer" value="1000" label="Exclude reads with more than this number of separate gaps" help="-e --read-snp-limit; default=~unbounded" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
406 <param name="standard_filters" type="boolean" truevalue="-0" falsevalue="" checked="False" label="Use stringent input base and mapping quality filters" help="-0 --standard-filters; default=False. Equivalent to -m 30 -q 20 -R 0 -S 0" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
407 <param name="F" type="float" value="0.2" label="Require at least this fraction of observations supporting an alternate allele within a single individual in the in order to evaluate the position" help="-F --min-alternate-fraction; default=0.2" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
408 <param name="C" type="integer" value="2" label="Require at least this count of observations supporting an alternate allele within a single individual in order to evaluate the position" help="-C --min-alternate-count; default=2" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
409 <param name="min_alternate_qsum" type="integer" value="0" label="Require at least this sum of quality of observations supporting an alternate allele within a single individual in order to evaluate the position" help="-3 --min-alternate-qsum; default=0" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
410 <param name="G" type="integer" value="1" label="Require at least this count of observations supporting an alternate allele within the total population in order to use the allele in analysis" help="-G --min-alternate-total N; default=1" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
411 <param name="min_coverage" type="integer" value="0" label="Require at least this coverage to process a site" help="-! --min-coverage; default=0 " />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
412 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
413 <when value="do_not_set">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
414 <!-- do nothing -->
2dd40b601766 Uploaded
devteam
parents:
diff changeset
415 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
416 </conditional>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
417
2dd40b601766 Uploaded
devteam
parents:
diff changeset
418 <!-- population and mappability priors -->
2dd40b601766 Uploaded
devteam
parents:
diff changeset
419
2dd40b601766 Uploaded
devteam
parents:
diff changeset
420 <conditional name="population_mappability_priors">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
421 <param name="population_mappability_priors_selector" type="boolean" truevalue="set" falsevalue="do_not_set" label="Set population and mappability priors?" help="Sets -k, -w, -V, and -a options " />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
422 <when value="set">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
423 <param name="k" type="boolean" truevalue="-k" falsevalue="" checked="False" label="No population priors" help="-k --no-population-priors; default=False. Equivalent to --pooled-discrete --hwe-priors-off and removal of Ewens Sampling Formula component of priors." />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
424 <param name="w" type="boolean" truevalue="-w" falsevalue="" checked="False" label="Disable estimation of the probability of the combination arising under HWE given the allele frequency as estimated by observation frequency" help="-w --hwe-priors-off; default=False" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
425 <param name="V" type="boolean" truevalue="-V" falsevalue="" checked="False" label="Disable incorporation of prior expectations about observations" help="-V --binomial-obs-priors-off; default=False. Uses read placement probability, strand balance probability, and read position (5&#39;'-3&#39;') probability." />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
426 <param name="a" type="boolean" truevalue="-a" falsevalue="" checked="False" label="isable use of aggregate probability of observation balance between alleles as a component of the priors" help="-a --allele-balance-priors-off; default=False " />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
427 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
428 <when value="do_not_set">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
429 <!-- do nothing -->
2dd40b601766 Uploaded
devteam
parents:
diff changeset
430 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
431 </conditional>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
432
2dd40b601766 Uploaded
devteam
parents:
diff changeset
433 <!-- genotype likelihoods -->
2dd40b601766 Uploaded
devteam
parents:
diff changeset
434
2dd40b601766 Uploaded
devteam
parents:
diff changeset
435 <conditional name="genotype_likelihoods">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
436 <param name="genotype_likelihoods_selector" type="boolean" truevalue="set" falsevalue="do_not_set" label="Tweak genotype likelihoods?" help="Sets --base-quality-cap, --experimental-gls, and --prob-contamination options. " />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
437 <when value="set">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
438 <param name="base_quality_cap" type="integer" value="0" label="Limit estimated observation quality by capping base quality at" help="--base-quality-cap" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
439 <param name="experimental_gls" type="boolean" truevalue="--experimental-gls" falsevalue="" checked="False" label="Generate genotype likelihoods using 'effective base depth' metric qual = 1-BaseQual * 1-MapQual" help="--experimental-gls; Incorporate partial observations. This is the default when contamination estimates are provided. Optimized for diploid samples." />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
440 <param name="prob_contamination" type="float" value="10e-9" label="An estimate of contamination to use for all samples. " help="--prob-contamination; default=10e-9." />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
441 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
442 <when value="do_not_set">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
443 <!-- do nothing -->
2dd40b601766 Uploaded
devteam
parents:
diff changeset
444 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
445 </conditional>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
446
2dd40b601766 Uploaded
devteam
parents:
diff changeset
447 <!-- algorithmic features -->
2dd40b601766 Uploaded
devteam
parents:
diff changeset
448
2dd40b601766 Uploaded
devteam
parents:
diff changeset
449 <conditional name="algorithmic_features">
15
59731e950e23 Fix some options.
soranzo
parents: 13
diff changeset
450 <param name="algorithmic_features_selector" type="boolean" truevalue="set" falsevalue="do_not_set" label="Tweak algorithmic features?" help="Sets --report-genotypes-likelihood-max, -B, --genotyping-max-banddepth, -W, -N, S, -j, -H, -D, -= options " />
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
451 <when value="set">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
452 <param name="report_genotype_likelihood_max" type="boolean" truevalue="--report-genotype-likelihood-max" falsevalue="" checked="False" label="Report genotypes using the maximum-likelihood estimate provided from genotype likelihoods." help="--report-genotype-likelihood-max; default=False" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
453 <param name="B" type="integer" value="1000" label="Iterate no more than N times during genotyping step" help="-B --genotyping-max-iterations; default=1000." />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
454 <param name="genotyping_max_banddepth" type="integer" value="6" label="Integrate no deeper than the Nth best genotype by likelihood when genotyping" help="--genotyping-max-banddepth; default=6" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
455 <param name="W" type="text" size="8" value="1,3" label="Integrate all genotype combinations in our posterior space which include no more than N (1) samples with their Mth (3) best data likelihood" help="-W --posterior-integration-limits; default=1,3" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
456 <param name="N" type="boolean" truevalue="--exclude-unobserved-genotypes" falsevalue="" checked="False" label="Skip sample genotypings for which the sample has no supporting reads" help="-N --exclude-unobserved-genotypes; default=False" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
457 <conditional name="genotype_variant_threshold">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
458 <param name="genotype_variant_threshold_selector" type="boolean" truevalue="set" falsevalue="do_not_set" label="Do you want to to limit posterior integration" help="-S --genotype-variant-threshold" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
459 <when value="do_not_set">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
460 <!-- do nothing -->
2dd40b601766 Uploaded
devteam
parents:
diff changeset
461 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
462 <when value="set">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
463 <param name="S" value="" type="integer" label="Limit posterior integration to samples where the second-best genotype likelihood is no more than log(N) from the highest genotype likelihood for the sample." help="-S --genotype-variant-threshold; default=~unbounded" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
464 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
465 </conditional>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
466 <param name="j" type="boolean" truevalue="-j" falsevalue="" checked="False" label="Use mapping quality of alleles when calculating data likelihoods" help="-j --use-mapping-quality; default=False" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
467 <param name="H" type="boolean" truevalue="-H" falsevalue="" checked="False" label="Use a weighted sum of base qualities around an indel, scaled by the distance from the indel" help="-H --harmonic-indel-quality; default=use a minimum Base Quality in flanking sequence." />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
468 <param name="D" type="float" value="0.9" label="Incorporate non-independence of reads by scaling successive observations by this factor during data likelihood calculations" help="-D --read-dependence-factor; default=0.9." />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
469 <param name="genotype_qualities" type="boolean" truevalue="--genotype-qualities" falsevalue="" checked="False" label="Calculate the marginal probability of genotypes and report as GQ in each sample field in the VCF output" help="-= --genotype-qualities; default=False " />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
470 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
471 <when value="do_not_set">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
472 <!-- do nothing -->
2dd40b601766 Uploaded
devteam
parents:
diff changeset
473 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
474 </conditional>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
475 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
476 <when value="simple">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
477 <!-- do nothing -->
2dd40b601766 Uploaded
devteam
parents:
diff changeset
478 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
479 <when value="simple_w_filters">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
480 <!-- add standard-filters to command line -->
2dd40b601766 Uploaded
devteam
parents:
diff changeset
481 <param name="min_coverage" type="integer" value="0" label="Require at least this coverage to process a site" help="-! --min-coverage; default=0 " />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
482 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
483 <when value="naive">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
484 <!-- do nothing build command line using haplotype-length 0 min-alternate-count 1 min-alternate-fraction 0 pooled-continuous report-monomorphic -->
2dd40b601766 Uploaded
devteam
parents:
diff changeset
485 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
486 <when value="naive_w_filters">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
487 <!-- do nothing build command line using haplotype-length 0 min-alternate-count 1 min-alternate-fraction 0 pooled-continuous report-monomorphic standard-filters-->
2dd40b601766 Uploaded
devteam
parents:
diff changeset
488 <param name="min_coverage" type="integer" value="0" label="Require at least this coverage to process a site" help="-! --min-coverage; default=0 " />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
489 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
490 </conditional>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
491
2dd40b601766 Uploaded
devteam
parents:
diff changeset
492 </inputs>
17
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
493
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
494 <outputs>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
495 <data format="vcf" name="output_vcf" label="${tool.name} on ${on_string} (variants)" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
496 <data format="bed" name="output_failed_alleles_bed" label="${tool.name} on ${on_string} (failed alleles)">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
497 <filter>( options_type['options_type_selector'] == 'cline' or options_type['options_type_selector'] == 'full' ) and options_type['optional_inputs']['optional_inputs_selector'] is True and options_type['optional_inputs']['output_failed_alleles_option'] is True</filter>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
498 </data>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
499 <data format="txt" name="output_trace" label="${tool.name} on ${on_string} (trace)">
2dd40b601766 Uploaded
devteam
parents:
diff changeset
500 <filter>( options_type['options_type_selector'] == 'cline' or options_type['options_type_selector'] == 'full' ) and options_type['optional_inputs']['optional_inputs_selector'] is True and options_type['optional_inputs']['output_trace_option'] is True</filter>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
501 </data>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
502 </outputs>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
503 <tests>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
504 <test>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
505 <param name="reference_source_selector" value="history" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
506 <param name="ref_file" ftype="fasta" value="freebayes-phix174.fasta"/>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
507 <param name="input_bam" ftype="bam" value="freebayes-phix174.bam"/>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
508 <param name="options_type_selector" value="simple"/>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
509 <output name="output_vcf" file="freebayes-phix174-test1.vcf" compare="contains"/>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
510 </test>
17
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
511 <test>
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
512 <param name="reference_source_selector" value="history" />
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
513 <param name="ref_file" ftype="fasta" value="freebayes-phix174.fasta"/>
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
514 <param name="input_bam" ftype="bam" value="freebayes-phix174.bam"/>
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
515 <param name="options_type_selector" value="naive_w_filters"/>
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
516 <param name="min_coverage" value="14"/>
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
517 <output name="output_vcf" file="freebayes-phix174-test2.vcf" compare="contains"/>
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
518 </test>
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
519 </tests>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
520 <stdio>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
521 <exit_code range="1:" />
2dd40b601766 Uploaded
devteam
parents:
diff changeset
522 </stdio>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
523 <help>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
524 **What it does**
2dd40b601766 Uploaded
devteam
parents:
diff changeset
525
2dd40b601766 Uploaded
devteam
parents:
diff changeset
526 FreeBayes is a Bayesian genetic variant detector designed to find small polymorphisms, specifically SNPs (single-nucleotide polymorphisms), indels (insertions and deletions), MNPs (multi-nucleotide polymorphisms), and complex events (composite insertion and substitution events) smaller than the length of a short-read sequencing alignment.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
527
2dd40b601766 Uploaded
devteam
parents:
diff changeset
528 See https://github.com/ekg/freebayes for details on FreeBayes.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
529
17
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
530 This Galaxy instance of FreeBayes corresponds to release 0.9.20
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
531
2dd40b601766 Uploaded
devteam
parents:
diff changeset
532 ------
2dd40b601766 Uploaded
devteam
parents:
diff changeset
533
2dd40b601766 Uploaded
devteam
parents:
diff changeset
534 **Description**
2dd40b601766 Uploaded
devteam
parents:
diff changeset
535
2dd40b601766 Uploaded
devteam
parents:
diff changeset
536 Privided BAM file(s) and a reference. FreeBayes will provide VCF output on standard out describing SNPs, indels, and complex variants in samples in the input alignments.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
537
2dd40b601766 Uploaded
devteam
parents:
diff changeset
538 By default, FreeBayes will consider variants supported by at least 2 observations in a single sample (-C) and also by at least 20% of the reads from a single sample (-F). These settings are suitable to low to high depth sequencing in haploid and diploid samples, but users working with polyploid or pooled samples may wish to adjust them depending on the characteristics of their sequencing data.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
539
2dd40b601766 Uploaded
devteam
parents:
diff changeset
540 FreeBayes is capable of calling variant haplotypes shorter than a read length where multiple polymorphisms segregate on the same read. The maximum distance between polymorphisms phased in this way is determined by the --max-complex-gap, which defaults to 3bp. In practice, this can comfortably be set to half the read length.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
541
2dd40b601766 Uploaded
devteam
parents:
diff changeset
542 Ploidy may be set to any level (-p), but by default all samples are assumed to be diploid. FreeBayes can model per-sample and per-region variation in copy-number (-A) using a copy-number variation map.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
543
2dd40b601766 Uploaded
devteam
parents:
diff changeset
544 FreeBayes can act as a frequency-based pooled caller and describe variants and haplotypes in terms of observation frequency rather than called genotypes. To do so, use --pooled-continuous and set input filters to a suitable level. Allele observation counts will be described by AO and RO fields in the VCF output.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
545
2dd40b601766 Uploaded
devteam
parents:
diff changeset
546 -------
2dd40b601766 Uploaded
devteam
parents:
diff changeset
547
2dd40b601766 Uploaded
devteam
parents:
diff changeset
548 **Galaxy-specific options**
2dd40b601766 Uploaded
devteam
parents:
diff changeset
549
2dd40b601766 Uploaded
devteam
parents:
diff changeset
550 Galaxy allows six levels of control over FreeBayes options provided by **Choose parameter selection level** menu option. These are:
2dd40b601766 Uploaded
devteam
parents:
diff changeset
551
2dd40b601766 Uploaded
devteam
parents:
diff changeset
552 1. *Simple diploid calling*: The simples possible FreeBayes application. Equvalent of using FreeBayes with only a BAM input and no other parameter options.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
553 2. *Simple diploid calling with filtering and coverage*: Same as #1 plus two additional options: -0 (standard filters: --min-mapping-quality 30 --min-base-quality 20 --min-supporting-allele-qsum 0 --genotype-varinat-threshold 0) and --min-coverage.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
554 3. *Frequency-based pooled calling*: This is equivalent to using FreeBayes with the following options: --haplotype-length 0 --min-alternate-count 1 --min-alternate-fraction 0 --pooled-continuous --report-monomorphic. This is the best choice for calling varinats in mixtures such as viral, bacterial, or organellar genomes.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
555 4. *Frequency-based pooled calling with filtering and coverage*: Same as #3 but adds -0 and --min-coverage like in #2.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
556 5. *Complete list of all options*: Gives you full control by exposing all FreeBayes options as Galaxy widgets.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
557
2dd40b601766 Uploaded
devteam
parents:
diff changeset
558 -----
2dd40b601766 Uploaded
devteam
parents:
diff changeset
559
2dd40b601766 Uploaded
devteam
parents:
diff changeset
560 **FreeBayes options**
2dd40b601766 Uploaded
devteam
parents:
diff changeset
561
2dd40b601766 Uploaded
devteam
parents:
diff changeset
562 .. class:: infomark
2dd40b601766 Uploaded
devteam
parents:
diff changeset
563
2dd40b601766 Uploaded
devteam
parents:
diff changeset
564 Note that each Galaxy parameter widget corresponding to command line flags listed below:
2dd40b601766 Uploaded
devteam
parents:
diff changeset
565
2dd40b601766 Uploaded
devteam
parents:
diff changeset
566 Input and output::
2dd40b601766 Uploaded
devteam
parents:
diff changeset
567
2dd40b601766 Uploaded
devteam
parents:
diff changeset
568 -t --targets FILE
2dd40b601766 Uploaded
devteam
parents:
diff changeset
569 Limit analysis to targets listed in the BED-format FILE.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
570 -r --region chrom:start_position-end_position
2dd40b601766 Uploaded
devteam
parents:
diff changeset
571 Limit analysis to the specified region, 0-base coordinates,
2dd40b601766 Uploaded
devteam
parents:
diff changeset
572 end_position included. Either '-' or '..' maybe used as a separator.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
573 -s --samples FILE
2dd40b601766 Uploaded
devteam
parents:
diff changeset
574 Limit analysis to samples listed (one per line) in the FILE.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
575 By default FreeBayes will analyze all samples in its input
2dd40b601766 Uploaded
devteam
parents:
diff changeset
576 BAM files.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
577 --populations FILE
2dd40b601766 Uploaded
devteam
parents:
diff changeset
578 Each line of FILE should list a sample and a population which
2dd40b601766 Uploaded
devteam
parents:
diff changeset
579 it is part of. The population-based bayesian inference model
2dd40b601766 Uploaded
devteam
parents:
diff changeset
580 will then be partitioned on the basis of the populations.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
581 -A --cnv-map FILE
2dd40b601766 Uploaded
devteam
parents:
diff changeset
582 Read a copy number map from the BED file FILE, which has
2dd40b601766 Uploaded
devteam
parents:
diff changeset
583 the format:
2dd40b601766 Uploaded
devteam
parents:
diff changeset
584 reference sequence, start, end, sample name, copy number
2dd40b601766 Uploaded
devteam
parents:
diff changeset
585 ... for each region in each sample which does not have the
2dd40b601766 Uploaded
devteam
parents:
diff changeset
586 default copy number as set by --ploidy.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
587 --trace FILE Output an algorithmic trace to FILE.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
588 --failed-alleles FILE
2dd40b601766 Uploaded
devteam
parents:
diff changeset
589 Write a BED file of the analyzed positions which do not
2dd40b601766 Uploaded
devteam
parents:
diff changeset
590 pass --pvar to FILE.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
591 -@ --variant-input VCF
2dd40b601766 Uploaded
devteam
parents:
diff changeset
592 Use variants reported in VCF file as input to the algorithm.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
593 Variants in this file will be treated as putative variants
2dd40b601766 Uploaded
devteam
parents:
diff changeset
594 even if there is not enough support in the data to pass
2dd40b601766 Uploaded
devteam
parents:
diff changeset
595 input filters.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
596 -l --only-use-input-alleles
2dd40b601766 Uploaded
devteam
parents:
diff changeset
597 Only provide variant calls and genotype likelihoods for sites
2dd40b601766 Uploaded
devteam
parents:
diff changeset
598 and alleles which are provided in the VCF input, and provide
2dd40b601766 Uploaded
devteam
parents:
diff changeset
599 output in the VCF for all input alleles, not just those which
2dd40b601766 Uploaded
devteam
parents:
diff changeset
600 have support in the data.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
601 --haplotype-basis-alleles VCF
2dd40b601766 Uploaded
devteam
parents:
diff changeset
602 When specified, only variant alleles provided in this input
2dd40b601766 Uploaded
devteam
parents:
diff changeset
603 VCF will be used for the construction of complex or haplotype
2dd40b601766 Uploaded
devteam
parents:
diff changeset
604 alleles.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
605 --report-all-haplotype-alleles
2dd40b601766 Uploaded
devteam
parents:
diff changeset
606 At sites where genotypes are made over haplotype alleles,
2dd40b601766 Uploaded
devteam
parents:
diff changeset
607 provide information about all alleles in output, not only
2dd40b601766 Uploaded
devteam
parents:
diff changeset
608 those which are called.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
609 --report-monomorphic
2dd40b601766 Uploaded
devteam
parents:
diff changeset
610 Report even loci which appear to be monomorphic, and report all
2dd40b601766 Uploaded
devteam
parents:
diff changeset
611 considered alleles, even those which are not in called genotypes.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
612 Loci which do not have any potential alternates have '.' for ALT.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
613
2dd40b601766 Uploaded
devteam
parents:
diff changeset
614 Reporting::
2dd40b601766 Uploaded
devteam
parents:
diff changeset
615
2dd40b601766 Uploaded
devteam
parents:
diff changeset
616 -P --pvar N Report sites if the probability that there is a polymorphism
2dd40b601766 Uploaded
devteam
parents:
diff changeset
617 at the site is greater than N. default: 0.0. Note that post-
2dd40b601766 Uploaded
devteam
parents:
diff changeset
618 filtering is generally recommended over the use of this parameter.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
619
2dd40b601766 Uploaded
devteam
parents:
diff changeset
620 Population model::
2dd40b601766 Uploaded
devteam
parents:
diff changeset
621
2dd40b601766 Uploaded
devteam
parents:
diff changeset
622 -T --theta N The expected mutation rate or pairwise nucleotide diversity
2dd40b601766 Uploaded
devteam
parents:
diff changeset
623 among the population under analysis. This serves as the
2dd40b601766 Uploaded
devteam
parents:
diff changeset
624 single parameter to the Ewens Sampling Formula prior model
2dd40b601766 Uploaded
devteam
parents:
diff changeset
625 default: 0.001
2dd40b601766 Uploaded
devteam
parents:
diff changeset
626 -p --ploidy N Sets the default ploidy for the analysis to N. default: 2
2dd40b601766 Uploaded
devteam
parents:
diff changeset
627 -J --pooled-discrete
2dd40b601766 Uploaded
devteam
parents:
diff changeset
628 Assume that samples result from pooled sequencing.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
629 Model pooled samples using discrete genotypes across pools.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
630 When using this flag, set --ploidy to the number of
2dd40b601766 Uploaded
devteam
parents:
diff changeset
631 alleles in each sample or use the --cnv-map to define
2dd40b601766 Uploaded
devteam
parents:
diff changeset
632 per-sample ploidy.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
633 -K --pooled-continuous
2dd40b601766 Uploaded
devteam
parents:
diff changeset
634 Output all alleles which pass input filters, regardles of
2dd40b601766 Uploaded
devteam
parents:
diff changeset
635 genotyping outcome or model.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
636
2dd40b601766 Uploaded
devteam
parents:
diff changeset
637 Reference allele::
2dd40b601766 Uploaded
devteam
parents:
diff changeset
638
2dd40b601766 Uploaded
devteam
parents:
diff changeset
639 -Z --use-reference-allele
2dd40b601766 Uploaded
devteam
parents:
diff changeset
640 This flag includes the reference allele in the analysis as
2dd40b601766 Uploaded
devteam
parents:
diff changeset
641 if it is another sample from the same population.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
642 --reference-quality MQ,BQ
2dd40b601766 Uploaded
devteam
parents:
diff changeset
643 Assign mapping quality of MQ to the reference allele at each
2dd40b601766 Uploaded
devteam
parents:
diff changeset
644 site and base quality of BQ. default: 100,60
2dd40b601766 Uploaded
devteam
parents:
diff changeset
645
2dd40b601766 Uploaded
devteam
parents:
diff changeset
646 Allele scope::
2dd40b601766 Uploaded
devteam
parents:
diff changeset
647
2dd40b601766 Uploaded
devteam
parents:
diff changeset
648 -I --no-snps Ignore SNP alleles.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
649 -i --no-indels Ignore insertion and deletion alleles.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
650 -X --no-mnps Ignore multi-nuceotide polymorphisms, MNPs.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
651 -u --no-complex Ignore complex events (composites of other classes).
2dd40b601766 Uploaded
devteam
parents:
diff changeset
652 -n --use-best-n-alleles N
2dd40b601766 Uploaded
devteam
parents:
diff changeset
653 Evaluate only the best N SNP alleles, ranked by sum of
2dd40b601766 Uploaded
devteam
parents:
diff changeset
654 supporting quality scores. (Set to 0 to use all; default: all)
2dd40b601766 Uploaded
devteam
parents:
diff changeset
655 -E --max-complex-gap N
2dd40b601766 Uploaded
devteam
parents:
diff changeset
656 --haplotype-length N
2dd40b601766 Uploaded
devteam
parents:
diff changeset
657 Allow haplotype calls with contiguous embedded matches of up
2dd40b601766 Uploaded
devteam
parents:
diff changeset
658 to this length. (default: 3)
15
59731e950e23 Fix some options.
soranzo
parents: 13
diff changeset
659 --min-repeat-size N
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
660 When assembling observations across repeats, require the total repeat
2dd40b601766 Uploaded
devteam
parents:
diff changeset
661 length at least this many bp. (default: 5)
2dd40b601766 Uploaded
devteam
parents:
diff changeset
662 --min-repeat-entropy N
2dd40b601766 Uploaded
devteam
parents:
diff changeset
663 To detect interrupted repeats, build across sequence until it has
2dd40b601766 Uploaded
devteam
parents:
diff changeset
664 entropy > N bits per bp. (default: 0, off)
2dd40b601766 Uploaded
devteam
parents:
diff changeset
665 --no-partial-observations
2dd40b601766 Uploaded
devteam
parents:
diff changeset
666 Exclude observations which do not fully span the dynamically-determined
2dd40b601766 Uploaded
devteam
parents:
diff changeset
667 detection window. (default, use all observations, dividing partial
2dd40b601766 Uploaded
devteam
parents:
diff changeset
668 support across matching haplotypes when generating haplotypes.)
2dd40b601766 Uploaded
devteam
parents:
diff changeset
669
2dd40b601766 Uploaded
devteam
parents:
diff changeset
670 Indel realignment::
2dd40b601766 Uploaded
devteam
parents:
diff changeset
671
2dd40b601766 Uploaded
devteam
parents:
diff changeset
672 -O --dont-left-align-indels
2dd40b601766 Uploaded
devteam
parents:
diff changeset
673 Turn off left-alignment of indels, which is enabled by default.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
674
2dd40b601766 Uploaded
devteam
parents:
diff changeset
675 Input filters::
2dd40b601766 Uploaded
devteam
parents:
diff changeset
676
2dd40b601766 Uploaded
devteam
parents:
diff changeset
677 -4 --use-duplicate-reads
2dd40b601766 Uploaded
devteam
parents:
diff changeset
678 Include duplicate-marked alignments in the analysis.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
679 default: exclude duplicates marked as such in alignments
2dd40b601766 Uploaded
devteam
parents:
diff changeset
680 -m --min-mapping-quality Q
2dd40b601766 Uploaded
devteam
parents:
diff changeset
681 Exclude alignments from analysis if they have a mapping
2dd40b601766 Uploaded
devteam
parents:
diff changeset
682 quality less than Q. default: 1
2dd40b601766 Uploaded
devteam
parents:
diff changeset
683 -q --min-base-quality Q
2dd40b601766 Uploaded
devteam
parents:
diff changeset
684 Exclude alleles from analysis if their supporting base
2dd40b601766 Uploaded
devteam
parents:
diff changeset
685 quality is less than Q. default: 0
2dd40b601766 Uploaded
devteam
parents:
diff changeset
686 -R --min-supporting-allele-qsum Q
2dd40b601766 Uploaded
devteam
parents:
diff changeset
687 Consider any allele in which the sum of qualities of supporting
2dd40b601766 Uploaded
devteam
parents:
diff changeset
688 observations is at least Q. default: 0
2dd40b601766 Uploaded
devteam
parents:
diff changeset
689 -Y --min-supporting-mapping-qsum Q
2dd40b601766 Uploaded
devteam
parents:
diff changeset
690 Consider any allele in which and the sum of mapping qualities of
2dd40b601766 Uploaded
devteam
parents:
diff changeset
691 supporting reads is at least Q. default: 0
2dd40b601766 Uploaded
devteam
parents:
diff changeset
692 -Q --mismatch-base-quality-threshold Q
2dd40b601766 Uploaded
devteam
parents:
diff changeset
693 Count mismatches toward --read-mismatch-limit if the base
2dd40b601766 Uploaded
devteam
parents:
diff changeset
694 quality of the mismatch is >= Q. default: 10
2dd40b601766 Uploaded
devteam
parents:
diff changeset
695 -U --read-mismatch-limit N
2dd40b601766 Uploaded
devteam
parents:
diff changeset
696 Exclude reads with more than N mismatches where each mismatch
2dd40b601766 Uploaded
devteam
parents:
diff changeset
697 has base quality >= mismatch-base-quality-threshold.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
698 default: ~unbounded
2dd40b601766 Uploaded
devteam
parents:
diff changeset
699 -z --read-max-mismatch-fraction N
2dd40b601766 Uploaded
devteam
parents:
diff changeset
700 Exclude reads with more than N [0,1] fraction of mismatches where
2dd40b601766 Uploaded
devteam
parents:
diff changeset
701 each mismatch has base quality >= mismatch-base-quality-threshold
2dd40b601766 Uploaded
devteam
parents:
diff changeset
702 default: 1.0
2dd40b601766 Uploaded
devteam
parents:
diff changeset
703 -$ --read-snp-limit N
2dd40b601766 Uploaded
devteam
parents:
diff changeset
704 Exclude reads with more than N base mismatches, ignoring gaps
2dd40b601766 Uploaded
devteam
parents:
diff changeset
705 with quality >= mismatch-base-quality-threshold.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
706 default: ~unbounded
2dd40b601766 Uploaded
devteam
parents:
diff changeset
707 -e --read-indel-limit N
2dd40b601766 Uploaded
devteam
parents:
diff changeset
708 Exclude reads with more than N separate gaps.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
709 default: ~unbounded
2dd40b601766 Uploaded
devteam
parents:
diff changeset
710 -0 --standard-filters Use stringent input base and mapping quality filters
2dd40b601766 Uploaded
devteam
parents:
diff changeset
711 Equivalent to -m 30 -q 20 -R 0 -S 0
2dd40b601766 Uploaded
devteam
parents:
diff changeset
712 -F --min-alternate-fraction N
2dd40b601766 Uploaded
devteam
parents:
diff changeset
713 Require at least this fraction of observations supporting
2dd40b601766 Uploaded
devteam
parents:
diff changeset
714 an alternate allele within a single individual in the
2dd40b601766 Uploaded
devteam
parents:
diff changeset
715 in order to evaluate the position. default: 0.2
2dd40b601766 Uploaded
devteam
parents:
diff changeset
716 -C --min-alternate-count N
2dd40b601766 Uploaded
devteam
parents:
diff changeset
717 Require at least this count of observations supporting
2dd40b601766 Uploaded
devteam
parents:
diff changeset
718 an alternate allele within a single individual in order
2dd40b601766 Uploaded
devteam
parents:
diff changeset
719 to evaluate the position. default: 2
2dd40b601766 Uploaded
devteam
parents:
diff changeset
720 -3 --min-alternate-qsum N
2dd40b601766 Uploaded
devteam
parents:
diff changeset
721 Require at least this sum of quality of observations supporting
2dd40b601766 Uploaded
devteam
parents:
diff changeset
722 an alternate allele within a single individual in order
2dd40b601766 Uploaded
devteam
parents:
diff changeset
723 to evaluate the position. default: 0
2dd40b601766 Uploaded
devteam
parents:
diff changeset
724 -G --min-alternate-total N
2dd40b601766 Uploaded
devteam
parents:
diff changeset
725 Require at least this count of observations supporting
2dd40b601766 Uploaded
devteam
parents:
diff changeset
726 an alternate allele within the total population in order
2dd40b601766 Uploaded
devteam
parents:
diff changeset
727 to use the allele in analysis. default: 1
2dd40b601766 Uploaded
devteam
parents:
diff changeset
728 -! --min-coverage N
2dd40b601766 Uploaded
devteam
parents:
diff changeset
729 Require at least this coverage to process a site. default: 0
2dd40b601766 Uploaded
devteam
parents:
diff changeset
730
2dd40b601766 Uploaded
devteam
parents:
diff changeset
731 Population priors::
2dd40b601766 Uploaded
devteam
parents:
diff changeset
732
2dd40b601766 Uploaded
devteam
parents:
diff changeset
733 -k --no-population-priors
2dd40b601766 Uploaded
devteam
parents:
diff changeset
734 Equivalent to --pooled-discrete --hwe-priors-off and removal of
2dd40b601766 Uploaded
devteam
parents:
diff changeset
735 Ewens Sampling Formula component of priors.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
736
2dd40b601766 Uploaded
devteam
parents:
diff changeset
737 Mappability priors::
2dd40b601766 Uploaded
devteam
parents:
diff changeset
738
2dd40b601766 Uploaded
devteam
parents:
diff changeset
739 -w --hwe-priors-off
2dd40b601766 Uploaded
devteam
parents:
diff changeset
740 Disable estimation of the probability of the combination
2dd40b601766 Uploaded
devteam
parents:
diff changeset
741 arising under HWE given the allele frequency as estimated
2dd40b601766 Uploaded
devteam
parents:
diff changeset
742 by observation frequency.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
743 -V --binomial-obs-priors-off
2dd40b601766 Uploaded
devteam
parents:
diff changeset
744 Disable incorporation of prior expectations about observations.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
745 Uses read placement probability, strand balance probability,
2dd40b601766 Uploaded
devteam
parents:
diff changeset
746 and read position (5'-3') probability.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
747 -a --allele-balance-priors-off
2dd40b601766 Uploaded
devteam
parents:
diff changeset
748 Disable use of aggregate probability of observation balance between alleles
2dd40b601766 Uploaded
devteam
parents:
diff changeset
749 as a component of the priors.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
750
2dd40b601766 Uploaded
devteam
parents:
diff changeset
751 Genotype likelihoods::
2dd40b601766 Uploaded
devteam
parents:
diff changeset
752
2dd40b601766 Uploaded
devteam
parents:
diff changeset
753 --observation-bias FILE
2dd40b601766 Uploaded
devteam
parents:
diff changeset
754 Read length-dependent allele observation biases from FILE.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
755 The format is [length] [alignment efficiency relative to reference]
2dd40b601766 Uploaded
devteam
parents:
diff changeset
756 where the efficiency is 1 if there is no relative observation bias.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
757 --base-quality-cap Q
2dd40b601766 Uploaded
devteam
parents:
diff changeset
758 Limit estimated observation quality by capping base quality at Q.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
759 --experimental-gls
2dd40b601766 Uploaded
devteam
parents:
diff changeset
760 Generate genotype likelihoods using 'effective base depth' metric
2dd40b601766 Uploaded
devteam
parents:
diff changeset
761 qual = 1-BaseQual * 1-MapQual. Incorporate partial observations.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
762 This is the default when contamination estimates are provided.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
763 Optimized for diploid samples.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
764 --prob-contamination F
2dd40b601766 Uploaded
devteam
parents:
diff changeset
765 An estimate of contamination to use for all samples. default: 10e-9
2dd40b601766 Uploaded
devteam
parents:
diff changeset
766 --contamination-estimates FILE
2dd40b601766 Uploaded
devteam
parents:
diff changeset
767 A file containing per-sample estimates of contamination, such as
2dd40b601766 Uploaded
devteam
parents:
diff changeset
768 those generated by VerifyBamID. The format should be:
2dd40b601766 Uploaded
devteam
parents:
diff changeset
769 sample p(read=R|genotype=AR) p(read=A|genotype=AA)
2dd40b601766 Uploaded
devteam
parents:
diff changeset
770 Sample '*' can be used to set default contamination estimates.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
771
2dd40b601766 Uploaded
devteam
parents:
diff changeset
772 Algorithmic features::
2dd40b601766 Uploaded
devteam
parents:
diff changeset
773
2dd40b601766 Uploaded
devteam
parents:
diff changeset
774 --report-genotype-likelihood-max
2dd40b601766 Uploaded
devteam
parents:
diff changeset
775 Report genotypes using the maximum-likelihood estimate provided
2dd40b601766 Uploaded
devteam
parents:
diff changeset
776 from genotype likelihoods.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
777 -B --genotyping-max-iterations N
2dd40b601766 Uploaded
devteam
parents:
diff changeset
778 Iterate no more than N times during genotyping step. default: 1000.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
779 --genotyping-max-banddepth N
2dd40b601766 Uploaded
devteam
parents:
diff changeset
780 Integrate no deeper than the Nth best genotype by likelihood when
2dd40b601766 Uploaded
devteam
parents:
diff changeset
781 genotyping. default: 6.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
782 -W --posterior-integration-limits N,M
2dd40b601766 Uploaded
devteam
parents:
diff changeset
783 Integrate all genotype combinations in our posterior space
2dd40b601766 Uploaded
devteam
parents:
diff changeset
784 which include no more than N samples with their Mth best
2dd40b601766 Uploaded
devteam
parents:
diff changeset
785 data likelihood. default: 1,3.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
786 -N --exclude-unobserved-genotypes
2dd40b601766 Uploaded
devteam
parents:
diff changeset
787 Skip sample genotypings for which the sample has no supporting reads.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
788 -S --genotype-variant-threshold N
2dd40b601766 Uploaded
devteam
parents:
diff changeset
789 Limit posterior integration to samples where the second-best
2dd40b601766 Uploaded
devteam
parents:
diff changeset
790 genotype likelihood is no more than log(N) from the highest
2dd40b601766 Uploaded
devteam
parents:
diff changeset
791 genotype likelihood for the sample. default: ~unbounded
2dd40b601766 Uploaded
devteam
parents:
diff changeset
792 -j --use-mapping-quality
2dd40b601766 Uploaded
devteam
parents:
diff changeset
793 Use mapping quality of alleles when calculating data likelihoods.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
794 -H --harmonic-indel-quality
2dd40b601766 Uploaded
devteam
parents:
diff changeset
795 Use a weighted sum of base qualities around an indel, scaled by the
2dd40b601766 Uploaded
devteam
parents:
diff changeset
796 distance from the indel. By default use a minimum BQ in flanking sequence.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
797 -D --read-dependence-factor N
2dd40b601766 Uploaded
devteam
parents:
diff changeset
798 Incorporate non-independence of reads by scaling successive
2dd40b601766 Uploaded
devteam
parents:
diff changeset
799 observations by this factor during data likelihood
2dd40b601766 Uploaded
devteam
parents:
diff changeset
800 calculations. default: 0.9
2dd40b601766 Uploaded
devteam
parents:
diff changeset
801 -= --genotype-qualities
2dd40b601766 Uploaded
devteam
parents:
diff changeset
802 Calculate the marginal probability of genotypes and report as GQ in
2dd40b601766 Uploaded
devteam
parents:
diff changeset
803 each sample field in the VCF output.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
804
2dd40b601766 Uploaded
devteam
parents:
diff changeset
805
2dd40b601766 Uploaded
devteam
parents:
diff changeset
806 ------
2dd40b601766 Uploaded
devteam
parents:
diff changeset
807
2dd40b601766 Uploaded
devteam
parents:
diff changeset
808 **Citation**
2dd40b601766 Uploaded
devteam
parents:
diff changeset
809
2dd40b601766 Uploaded
devteam
parents:
diff changeset
810 For the underlying tool, please cite `Erik Garrison and Gabor Marth. Haplotype-based variant detection from short-read sequencing &lt;http://arxiv.org/abs/1207.3907&gt;`_.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
811
2dd40b601766 Uploaded
devteam
parents:
diff changeset
812 The initial version of the wrapper was produced by Dan Blankenberg and upgraded by Anton Nekrutenko.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
813
2dd40b601766 Uploaded
devteam
parents:
diff changeset
814 </help>
16
6d9407020066 Uploaded
devteam
parents: 15
diff changeset
815
6d9407020066 Uploaded
devteam
parents: 15
diff changeset
816 <citations>
6d9407020066 Uploaded
devteam
parents: 15
diff changeset
817 <citation type="bibtex">@misc{1207.3907,
6d9407020066 Uploaded
devteam
parents: 15
diff changeset
818 Author = {Erik Garrison},
6d9407020066 Uploaded
devteam
parents: 15
diff changeset
819 Title = {Haplotype-based variant detection from short-read sequencing},
6d9407020066 Uploaded
devteam
parents: 15
diff changeset
820 Year = {2012},
6d9407020066 Uploaded
devteam
parents: 15
diff changeset
821 Eprint = {arXiv:1207.3907},
6d9407020066 Uploaded
devteam
parents: 15
diff changeset
822 url = {http://arxiv.org/abs/1207.3907},
6d9407020066 Uploaded
devteam
parents: 15
diff changeset
823 }</citation>
6d9407020066 Uploaded
devteam
parents: 15
diff changeset
824 </citations>
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
825 </tool>