annotate obo_scripts.xml @ 1:569830319099 draft

adding test files
author jorrit <jhpoelen@xs4all.nl>
date Thu, 07 Feb 2013 13:32:43 -0800
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
1 <?xml version="1.0"?>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
2 <tool id="fetch_obo_ontology2" name="FetchOboOntology2" version="0.0.8">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
3 <requirements>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
4 <requirement type="package" version="0.9.6_9608597d12e127c847ae03aa03440ab63992fedf">freebayes</requirement>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
5 <requirement type="package" version="0.1.18">samtools</requirement>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
6 </requirements>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
7 <description> - obo scripts</description>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
8 <command>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
9 ##set up input files
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
10 #set $reference_fasta_filename = "localref.fa"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
11 #if str( $reference_source.reference_source_selector ) == "history":
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
12 ln -s "${reference_source.ref_file}" "${reference_fasta_filename}" &amp;&amp;
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
13 samtools faidx "${reference_fasta_filename}" 2&gt;&amp;1 || echo "Error running samtools faidx for FreeBayes" &gt;&amp;2 &amp;&amp;
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
14 #else:
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
15 #set $reference_fasta_filename = str( $reference_source.ref_file.fields.path )
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
16 #end if
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
17 #for $bam_count, $input_bam in enumerate( $reference_source.input_bams ):
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
18 ln -s "${input_bam.input_bam}" "localbam_${bam_count}.bam" &amp;&amp;
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
19 ln -s "${input_bam.input_bam.metadata.bam_index}" "localbam_${bam_count}.bam.bai" &amp;&amp;
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
20 #end for
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
21 ##finished setting up inputs
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
22
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
23 ##start FreeBayes commandline
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
24 freebayes
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
25 #for $bam_count, $input_bam in enumerate( $reference_source.input_bams ):
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
26 --bam "localbam_${bam_count}.bam"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
27 #end for
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
28 --fasta-reference "${reference_fasta_filename}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
29
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
30 ##outputs
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
31 --vcf "${output_vcf}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
32
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
33 ##advanced options
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
34 #if str( $options_type.options_type_selector ) == "advanced":
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
35 ##additional outputs
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
36 #if $options_type.output_trace_option:
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
37 --trace "${output_trace}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
38 #end if
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
39 #if $options_type.output_failed_alleles_option:
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
40 --failed-alleles "${output_failed_alleles_bed}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
41 #end if
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
42
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
43 ##additional inputs
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
44 #if str( $options_type.target_limit_type.target_limit_type_selector ) == "limit_by_target_file":
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
45 --targets "${options_type.target_limit_type.input_target_bed}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
46 #elif str( $options_type.target_limit_type.target_limit_type_selector ) == "limit_by_region":
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
47 --region "${options_type.target_limit_type.region_chromosome}:${options_type.target_limit_type.region_start}..${options_type.target_limit_type.region_end}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
48 #end if
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
49 #if $options_type.input_sample_file:
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
50 --samples "${options_type.input_sample_file}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
51 #end if
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
52 #if $options_type.input_populations_file:
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
53 --populations "${options_type.input_populations_file}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
54 #end if
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
55 #if $options_type.input_cnv_map_bed:
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
56 --cnv-map "${options_type.input_cnv_map_bed}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
57 #end if
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
58 #if str( $options_type.input_variant_type.input_variant_type_selector ) == "provide_vcf":
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
59 --variant-input "${options_type.input_variant_type.input_variant_vcf}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
60 ${options_type.input_variant_type.only_use_input_alleles}
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
61 #end if
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
62 #if $options_type.haplotype_basis_alleles:
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
63 --haplotype-basis-alleles "${options_type.haplotype_basis_alleles}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
64 #end if
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
65
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
66
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
67 ##reporting
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
68 #if str( $options_type.section_reporting_type.section_reporting_type_selector ) == "set":
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
69 --pvar "${options_type.section_reporting_type.pvar}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
70 ${options_type.section_reporting_type.show_reference_repeats}
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
71 #end if
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
72
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
73 ##population model
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
74 #if str( $options_type.section_population_model_type.section_population_model_type_selector ) == "set":
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
75 --theta "${options_type.section_population_model_type.theta}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
76 --ploidy "${options_type.section_population_model_type.ploidy}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
77 ${options_type.section_population_model_type.pooled}
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
78 #end if
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
79
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
80 ##reference allele
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
81 #if str( $options_type.use_reference_allele_type.use_reference_allele_type_selector ) == "include_reference_allele":
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
82 --use-reference-allele
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
83 ${options_type.use_reference_allele_type.diploid_reference}
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
84 --reference-quality "${options_type.use_reference_allele_type.reference_quality_mq},${options_type.use_reference_allele_type.reference_quality_bq}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
85 #end if
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
86
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
87 ##allele scope
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
88 #if str( $options_type.section_allele_scope_type.section_allele_scope_type_selector ) == "set":
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
89 ${options_type.section_allele_scope_type.no_snps}
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
90 ${options_type.section_allele_scope_type.no_indels}
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
91 ${options_type.section_allele_scope_type.no_mnps}
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
92 ${options_type.section_allele_scope_type.no_complex}
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
93 --use-best-n-alleles "${options_type.section_allele_scope_type.use_best_n_alleles}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
94 #if $options_type.section_allele_scope_type.max_complex_gap:
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
95 --max-complex-gap "${options_type.section_allele_scope_type.max_complex_gap}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
96 #end if
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
97 #end if
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
98
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
99 ##indel realignment
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
100 ${options_type.left_align_indels}
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
101
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
102 ##input filters
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
103 #if str( $options_type.section_input_filters_type.section_input_filters_type_selector ) == "set":
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
104 ${options_type.section_input_filters_type.use_duplicate_reads}
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
105 #if str( $options_type.section_input_filters_type.quality_filter_type.quality_filter_type_selector ) == "apply_filters":
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
106 --min-mapping-quality "${options_type.section_input_filters_type.quality_filter_type.min_mapping_quality}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
107 --min-base-quality "${options_type.section_input_filters_type.quality_filter_type.min_base_quality}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
108 --min-supporting-quality "${options_type.section_input_filters_type.quality_filter_type.min_supporting_quality_mq},${options_type.section_input_filters_type.quality_filter_type.min_supporting_quality_bq}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
109 #elif str( $options_type.section_input_filters_type.quality_filter_type.quality_filter_type_selector ) == "standard_filters":
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
110 --standard-filters
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
111 #end if
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
112 --mismatch-base-quality-threshold "${options_type.section_input_filters_type.mismatch_base_quality_threshold}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
113 #if $options_type.section_input_filters_type.read_mismatch_limit:
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
114 --read-mismatch-limit "${options_type.section_input_filters_type.read_mismatch_limit}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
115 #end if
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
116 --read-max-mismatch-fraction "${options_type.section_input_filters_type.read_max_mismatch_fraction}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
117 #if $options_type.section_input_filters_type.read_snp_limit:
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
118 --read-snp-limit "${options_type.section_input_filters_type.read_snp_limit}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
119 #end if
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
120 #if $options_type.section_input_filters_type.read_indel_limit:
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
121 --read-indel-limit "${options_type.section_input_filters_type.read_indel_limit}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
122 #end if
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
123 --indel-exclusion-window "${options_type.section_input_filters_type.indel_exclusion_window}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
124 --min-alternate-fraction "${options_type.section_input_filters_type.min_alternate_fraction}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
125 --min-alternate-count "${options_type.section_input_filters_type.min_alternate_count}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
126 --min-alternate-qsum "${options_type.section_input_filters_type.min_alternate_qsum}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
127 --min-alternate-total "${options_type.section_input_filters_type.min_alternate_total}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
128 --min-coverage "${options_type.section_input_filters_type.min_coverage}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
129 #end if
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
130
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
131 ##bayesian priors
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
132 #if str( $options_type.section_bayesian_priors_type.section_bayesian_priors_type_selector ) == "set":
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
133 ${options_type.section_bayesian_priors_type.no_ewens_priors}
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
134 ${options_type.section_bayesian_priors_type.no_population_priors}
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
135 ${options_type.section_bayesian_priors_type.hwe_priors}
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
136 #end if
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
137
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
138 ##observation prior expectations
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
139 #if str( $options_type.section_observation_prior_expectations_type.section_observation_prior_expectations_type_selector ) == "set":
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
140 ${options_type.section_observation_prior_expectations_type.binomial_obs_priors}
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
141 ${options_type.section_observation_prior_expectations_type.allele_balance_priors}
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
142 #end if
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
143
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
144 ##algorithmic features
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
145 #if str( $options_type.section_algorithmic_features_type.section_algorithmic_features_type_selector ) == "set":
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
146 --site-selection-max-iterations "${options_type.section_algorithmic_features_type.site_selection_max_iterations}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
147 --genotyping-max-iterations "${options_type.section_algorithmic_features_type.genotyping_max_iterations}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
148 --genotyping-max-banddepth "${options_type.section_algorithmic_features_type.genotyping_max_banddepth}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
149 --posterior-integration-limits "${options_type.section_algorithmic_features_type.posterior_integration_limits_n},${options_type.section_algorithmic_features_type.posterior_integration_limits_m}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
150 ${options_type.section_algorithmic_features_type.no_permute}
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
151 ${options_type.section_algorithmic_features_type.exclude_unobserved_genotypes}
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
152 #if $options_type.section_algorithmic_features_type.genotype_variant_threshold:
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
153 --genotype-variant-threshold "${options_type.section_algorithmic_features_type.genotype_variant_threshold}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
154 #end if
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
155 ${options_type.section_algorithmic_features_type.use_mapping_quality}
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
156 --read-dependence-factor "${options_type.section_algorithmic_features_type.read_dependence_factor}"
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
157 ${options_type.section_algorithmic_features_type.no_marginals}
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
158 #end if
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
159
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
160 #end if
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
161 </command>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
162 <inputs>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
163 <conditional name="reference_source">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
164 <param name="reference_source_selector" type="select" label="Choose the source for the reference list">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
165 <option value="cached">Locally cached</option>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
166 <option value="history">History</option>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
167 </param>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
168 <when value="cached">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
169 <repeat name="input_bams" title="Sample BAM file" min="1">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
170 <param name="input_bam" type="data" format="bam" label="BAM file">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
171 <validator type="unspecified_build" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
172 <validator type="dataset_metadata_in_data_table" table_name="sam_fa_indexes" metadata_name="dbkey" metadata_column="value" message="Sequences are not currently available for the specified build." />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
173 </param>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
174 </repeat>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
175 <param name="ref_file" type="select" label="Using reference genome">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
176 <options from_data_table="sam_fa_indexes">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
177 <!-- <filter type="sam_fa_indexes" key="dbkey" ref="input_bam" column="value"/> does not yet work in a repeat...-->
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
178 </options>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
179 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
180 </param>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
181 </when>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
182 <when value="history"> <!-- FIX ME!!!! -->
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
183 <repeat name="input_bams" title="Sample BAM file" min="1">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
184 <param name="input_bam" type="data" format="bam" label="BAM file" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
185 </repeat>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
186 <param name="ref_file" type="data" format="fasta" label="Using reference file" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
187 </when>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
188 </conditional>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
189
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
190 <conditional name="options_type">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
191 <param name="options_type_selector" type="select" label="Basic or Advanced options">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
192 <option value="basic" selected="True">Basic</option>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
193 <option value="advanced">Advanced</option>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
194 </param>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
195 <when value="basic">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
196 <!-- Do nothing here -->
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
197 </when>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
198 <when value="advanced">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
199
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
200 <!-- output -->
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
201 <param name="output_failed_alleles_option" type="boolean" truevalue="--failed-alleles" falsevalue="" checked="False" label="Write out failed alleles file" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
202 <param name="output_trace_option" type="boolean" truevalue="--trace" falsevalue="" checked="False" label="Write out algorithm trace file" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
203
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
204
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
205 <!-- input -->
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
206 <conditional name="target_limit_type">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
207 <param name="target_limit_type_selector" type="select" label="Limit analysis to listed targets">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
208 <option value="do_not_limit" selected="True">Do not limit</option>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
209 <option value="limit_by_target_file">Limit by target file</option>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
210 <option value="limit_by_region">Limit to region</option>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
211 </param>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
212 <when value="do_not_limit">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
213 <!-- Do nothing here -->
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
214 </when>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
215 <when value="limit_by_target_file">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
216 <param name="input_target_bed" type="data" format="bed" label="Limit analysis to targets listed in the BED-format FILE." />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
217 </when>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
218 <when value="limit_by_region">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
219 <param name="region_chromosome" type="text" label="Region Chromosome" value="" /> <!--only once? -->
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
220 <param name="region_start" type="integer" label="Region Start" value="" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
221 <param name="region_end" type="integer" label="Region End" value="" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
222 </when>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
223 </conditional>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
224 <param name="input_sample_file" type="data" format="txt" label="Limit analysis to samples listed (one per line) in the FILE" optional="True" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
225 <param name="input_populations_file" type="data" format="txt" label="Populations File" optional="True" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
226 <param name="input_cnv_map_bed" type="data" format="bed" label="Read a copy number map from the BED file FILE" optional="True" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
227 <conditional name="input_variant_type">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
228 <param name="input_variant_type_selector" type="select" label="Provide variants file">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
229 <option value="do_not_provide" selected="True">Do not provide</option>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
230 <option value="provide_vcf">Provide VCF file</option>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
231 </param>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
232 <when value="do_not_provide">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
233 <!-- Do nothing here -->
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
234 </when>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
235 <when value="provide_vcf">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
236 <param name="input_variant_vcf" type="data" format="vcf" label="Use variants reported in VCF file as input to the algorithm" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
237 <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" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
238 </when>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
239 </conditional>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
240 <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" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
241
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
242 <!-- reporting -->
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
243 <conditional name="section_reporting_type">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
244 <param name="section_reporting_type_selector" type="select" label="Set Reporting options">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
245 <option value="do_not_set" selected="True">Do not set</option>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
246 <option value="set">Set</option>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
247 </param>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
248 <when value="do_not_set">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
249 <!-- do nothing here -->
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
250 </when>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
251 <when value="set">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
252 <param name="pvar" type="float" label="Report sites if the probability that there is a polymorphism at the site is greater" value="0.0001" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
253 <param name="show_reference_repeats" type="boolean" truevalue="--show-reference-repeats" falsevalue="" checked="False" label="Calculate and show information about reference repeats" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
254 </when>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
255 </conditional>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
256
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
257
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
258 <!-- population model -->
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
259 <conditional name="section_population_model_type">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
260 <param name="section_population_model_type_selector" type="select" label="Set population model options">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
261 <option value="do_not_set" selected="True">Do not set</option>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
262 <option value="set">Set</option>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
263 </param>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
264 <when value="do_not_set">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
265 <!-- do nothing here -->
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
266 </when>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
267 <when value="set">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
268 <param name="theta" type="float" label="expected mutation rate or pairwise nucleotide diversity among the population" value="0.001" help="This serves as the single parameter to the Ewens Sampling Formula prior model"/>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
269 <param name="ploidy" type="integer" label="default ploidy for the analysis" value="2" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
270 <param name="pooled" type="boolean" truevalue="--pooled" falsevalue="" checked="False" label="Assume that samples result from pooled sequencing" help="When using this flag, set --ploidy to the number of alleles in each sample." />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
271 </when>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
272 </conditional>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
273
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
274 <!-- reference allele -->
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
275 <conditional name="use_reference_allele_type">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
276 <param name="use_reference_allele_type_selector" type="select" label="Include the reference allele in the analysis">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
277 <option value="do_not_include_reference_allele" selected="True">Do not include</option>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
278 <option value="include_reference_allele">Include</option>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
279 </param>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
280 <when value="do_not_include_reference_allele">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
281 <!-- Do nothing here -->
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
282 </when>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
283 <when value="include_reference_allele">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
284 <param name="diploid_reference" type="boolean" truevalue="--diploid-reference" falsevalue="" checked="False" label="Treat reference as diploid" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
285 <param name="reference_quality_mq" type="integer" label="Assign mapping quality" value="100" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
286 <param name="reference_quality_bq" type="integer" label="Assign base quality" value="60" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
287 </when>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
288 </conditional>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
289
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
290 <!-- allele scope -->
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
291 <conditional name="section_allele_scope_type">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
292 <param name="section_allele_scope_type_selector" type="select" label="Set allele scope options">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
293 <option value="do_not_set" selected="True">Do not set</option>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
294 <option value="set">Set</option>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
295 </param>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
296 <when value="do_not_set">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
297 <!-- do nothing here -->
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
298 </when>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
299 <when value="set">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
300 <param name="no_snps" type="boolean" truevalue="--no-snps" falsevalue="" checked="False" label="Ignore SNP alleles" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
301 <param name="no_indels" type="boolean" truevalue="--no-indels" falsevalue="" checked="False" label="Ignore insertion and deletion alleles" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
302 <param name="no_mnps" type="boolean" truevalue="--no-mnps" falsevalue="" checked="False" label="Ignore multi-nuceotide polymorphisms, MNPs" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
303 <param name="no_complex" type="boolean" truevalue="--no-complex" falsevalue="" checked="False" label="Ignore complex events (composites of other classes)" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
304 <param name="use_best_n_alleles" type="integer" label="Evaluate only the best N SNP alleles" value="0" min="0" help="Ranked by sum of supporting quality scores; Set to 0 to use all" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
305 <param name="max_complex_gap" type="integer" label="Allow complex alleles with contiguous embedded matches of up to this length" value="" optional="True"/>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
306 </when>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
307 </conditional>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
308
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
309 <!-- indel realignment -->
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
310 <param name="left_align_indels" type="boolean" truevalue="--left-align-indels" falsevalue="" checked="False" label="Left-realign and merge gaps embedded in reads" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
311
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
312 <!-- input filters -->
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
313 <conditional name="section_input_filters_type">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
314 <param name="section_input_filters_type_selector" type="select" label="Set input filters options">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
315 <option value="do_not_set" selected="True">Do not set</option>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
316 <option value="set">Set</option>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
317 </param>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
318 <when value="do_not_set">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
319 <!-- do nothing here -->
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
320 </when>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
321 <when value="set">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
322 <param name="use_duplicate_reads" type="boolean" truevalue="--use-duplicate-reads" falsevalue="" checked="False" label="Include duplicate-marked alignments in the analysis" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
323 <conditional name="quality_filter_type">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
324 <param name="quality_filter_type_selector" type="select" label="Apply Quality filters">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
325 <option value="standard_filters" selected="True">Apply standard</option>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
326 <option value="apply_filters">Apply specified</option>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
327 </param>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
328 <when value="standard_filters">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
329 <!-- Do nothing here --> <!-- standard-filters -->
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
330 </when>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
331 <when value="apply_filters">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
332 <param name="min_mapping_quality" type="integer" label="Exclude alignments from analysis if they have a mapping quality less than" value="0" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
333 <param name="min_base_quality" type="integer" label="Exclude alleles from analysis if their supporting base quality less than" value="0" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
334 <param name="min_supporting_quality_mq" type="integer" label="In order to consider an alternate allele, at least one supporting alignment must have mapping quality" value="0" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
335 <param name="min_supporting_quality_bq" type="integer" label="In order to consider an alternate allele, at least one supporting alignment must have base quality" value="0" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
336 </when>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
337 </conditional>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
338 <param name="mismatch_base_quality_threshold" type="integer" label="Count mismatches toward read-mismatch-limit if the base quality of the mismatch is &gt;=" value="10" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
339 <param name="read_mismatch_limit" type="integer" label="Exclude reads with more than N mismatches where each mismatch has base quality &gt;= mismatch-base-quality-threshold" value="" optional="True" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
340 <param name="read_max_mismatch_fraction" type="float" label="Exclude reads with more than N [0,1] fraction of mismatches where each mismatch has base quality &gt;= mismatch-base-quality-threshold" value="1.0" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
341 <param name="read_snp_limit" type="integer" label="Exclude reads with more than N base mismatches, ignoring gaps with quality &gt;= mismatch-base-quality-threshold" value="" optional="True" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
342 <param name="read_indel_limit" type="integer" label="Exclude reads with more than N separate gaps" value="" optional="True" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
343 <param name="indel_exclusion_window" type="integer" label="Ignore portions of alignments this many bases from a putative insertion or deletion allele" value="0" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
344 <param name="min_alternate_fraction" type="float" label="Require at least this fraction of observations supporting an alternate allele within a single individual in the in order to evaluate the position" value="0" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
345 <param name="min_alternate_count" type="integer" label="Require at least this count of observations supporting an alternate allele within a single individual in order to evaluate the position" value="1" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
346 <param name="min_alternate_qsum" type="integer" label="Require at least this sum of quality of observations supporting an alternate allele within a single individual in order to evaluate the position" value="0" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
347 <param name="min_alternate_total" type="integer" label="Require at least this count of observations supporting an alternate allele within the total population in order to use the allele in analysis" value="1" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
348 <param name="min_coverage" type="integer" label="Require at least this coverage to process a site" value="0" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
349 </when>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
350 </conditional>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
351
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
352
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
353 <!-- bayesian priors -->
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
354 <conditional name="section_bayesian_priors_type">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
355 <param name="section_bayesian_priors_type_selector" type="select" label="Set bayesian priors options">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
356 <option value="do_not_set" selected="True">Do not set</option>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
357 <option value="set">Set</option>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
358 </param>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
359 <when value="do_not_set">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
360 <!-- do nothing here -->
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
361 </when>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
362 <when value="set">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
363 <param name="no_ewens_priors" type="boolean" truevalue="--no-ewens-priors" falsevalue="" checked="False" label="Turns off the Ewens' Sampling Formula component of the priors" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
364 <param name="no_population_priors" type="boolean" truevalue="--no-population-priors" falsevalue="" checked="False" label="No population priors" help="Equivalent to --pooled --no-ewens-priors" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
365 <param name="hwe_priors" type="boolean" truevalue="--hwe-priors" falsevalue="" checked="False" label="Use the probability of the combination arising under HWE given the allele frequency as estimated by observation frequency" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
366 </when>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
367 </conditional>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
368
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
369 <!-- observation prior expectations -->
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
370 <conditional name="section_observation_prior_expectations_type">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
371 <param name="section_observation_prior_expectations_type_selector" type="select" label="Set observation prior expectations options">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
372 <option value="do_not_set" selected="True">Do not set</option>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
373 <option value="set">Set</option>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
374 </param>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
375 <when value="do_not_set">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
376 <!-- do nothing here -->
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
377 </when>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
378 <when value="set">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
379 <param name="binomial_obs_priors" type="boolean" truevalue="--binomial-obs-priors" falsevalue="" checked="False" label="Incorporate expectations about osbervations into the priors, Uses read placement probability, strand balance probability, and read position (5'-3') probability" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
380 <param name="allele_balance_priors" type="boolean" truevalue="--allele-balance-priors" falsevalue="" checked="False" label="Use aggregate probability of observation balance between alleles as a component of the priors. Best for observations with minimal inherent reference bias" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
381 </when>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
382 </conditional>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
383
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
384
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
385 <!-- algorithmic features -->
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
386 <conditional name="section_algorithmic_features_type">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
387 <param name="section_algorithmic_features_type_selector" type="select" label="Set algorithmic features options">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
388 <option value="do_not_set" selected="True">Do not set</option>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
389 <option value="set">Set</option>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
390 </param>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
391 <when value="do_not_set">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
392 <!-- do nothing here -->
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
393 </when>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
394 <when value="set">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
395 <param name="site_selection_max_iterations" type="integer" label="Uses hill-climbing algorithm to search posterior space for N iterations to determine if the site should be evaluated." value="5" help="Set to 0 to prevent use of this algorithm for site selection, and to a low integer for improvide site selection at a slight performance penalty" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
396 <param name="genotyping_max_iterations" type="integer" label="Iterate no more than N times during genotyping step" value="25" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
397 <param name="genotyping_max_banddepth" type="integer" label="Integrate no deeper than the Nth best genotype by likelihood when genotyping" value="6" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
398 <param name="posterior_integration_limits_n" type="integer" label="Posteriror integration limit N" help="Integrate all genotype combinations in our posterior space which include no more than N samples with their Mth best data likelihood." value="1" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
399 <param name="posterior_integration_limits_m" type="integer" label="Posteriror integration limit M" help="Integrate all genotype combinations in our posterior space which include no more than N samples with their Mth best data likelihood." value="3" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
400 <param name="no_permute" type="boolean" truevalue="--no-permute" falsevalue="" checked="False" label="Do not scale prior probability of genotype combination given allele frequency by the number of permutations of included genotypes" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
401 <param name="exclude_unobserved_genotypes" type="boolean" truevalue="--exclude-unobserved-genotypes" falsevalue="" checked="False" label="Skip sample genotypings for which the sample has no supporting reads" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
402 <param name="genotype_variant_threshold" 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" value="" optional="True" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
403 <param name="use_mapping_quality" type="boolean" truevalue="--use-mapping-quality" falsevalue="" checked="False" label="Use mapping quality of alleles when calculating data likelihoods" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
404 <param name="read_dependence_factor" type="float" label="Incorporate non-independence of reads by scaling successive observations by this factor during data likelihood calculations" value="0.9" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
405 <param name="no_marginals" type="boolean" truevalue="--no-marginals" falsevalue="" checked="False" label="Do not calculate the marginal probability of genotypes. Saves time and improves scaling performance in large populations" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
406 </when>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
407 </conditional>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
408
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
409
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
410 </when>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
411 </conditional>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
412
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
413 </inputs>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
414 <outputs>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
415 <data format="vcf" name="output_vcf" label="${tool.name} on ${on_string} (variants)" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
416 <data format="bed" name="output_failed_alleles_bed" label="${tool.name} on ${on_string} (failed alleles)">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
417 <filter>options_type['options_type_selector'] == "advanced" and options_type['output_failed_alleles_option'] is True</filter>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
418 </data>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
419 <data format="txt" name="output_trace" label="${tool.name} on ${on_string} (trace)">
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
420 <filter>options_type['options_type_selector'] == "advanced" and options_type['output_trace_option'] is True</filter>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
421 </data>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
422 </outputs>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
423 <tests>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
424 <test>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
425 <param name="reference_source_selector" value="history" />
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
426 <param name="ref_file" ftype="fasta" value="phiX.fasta"/>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
427 <param name="input_bam" ftype="bam" value="fake_phiX_reads_1.bam"/>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
428 <param name="options_type_selector" value="basic"/>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
429 <output name="output_vcf" file="freebayes_out_1.vcf.contains" compare="contains"/>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
430 </test>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
431 </tests>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
432 <help>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
433 **What it does**
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
434
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
435 This tool uses FreeBayes to call SNPS given a reference sequence and a BAM alignment file.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
436
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
437 FreeBayes is a high-performance, flexible, and open-source Bayesian genetic variant detector. It operates on BAM alignment files, which are produced by most contemporary short-read aligners.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
438
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
439 In addition to substantial performance improvements over its predecessors (PolyBayes, GigaBayes, and BamBayes), it expands the scope of SNP and small-indel variant calling to populations of individuals with heterogeneous copy number. FreeBayes is currently under active development.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
440
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
441 Go `here &lt;http://bioinformatics.bc.edu/marthlab/FreeBayes&gt;`_ for details on FreeBayes.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
442
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
443 ------
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
444
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
445 **Inputs**
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
446
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
447 FreeBayes accepts an input aligned BAM file.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
448
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
449
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
450 **Outputs**
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
451
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
452 The output is in the VCF format.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
453
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
454 -------
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
455
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
456 **Settings**::
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
457
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
458 input and output:
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
459
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
460 -b --bam FILE Add FILE to the set of BAM files to be analyzed.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
461 -c --stdin Read BAM input on stdin.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
462 -v --vcf FILE Output VCF-format results to FILE.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
463 -f --fasta-reference FILE
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
464 Use FILE as the reference sequence for analysis.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
465 An index file (FILE.fai) will be created if none exists.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
466 If neither --targets nor --region are specified, FreeBayes
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
467 will analyze every position in this reference.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
468 -t --targets FILE
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
469 Limit analysis to targets listed in the BED-format FILE.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
470 -r --region &lt;chrom&gt;:&lt;start_position&gt;..&lt;end_position&gt;
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
471 Limit analysis to the specified region, 0-base coordinates,
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
472 end_position not included (same as BED format).
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
473 -s --samples FILE
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
474 Limit analysis to samples listed (one per line) in the FILE.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
475 By default FreeBayes will analyze all samples in its input
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
476 BAM files.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
477 --populations FILE
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
478 Each line of FILE should list a sample and a population which
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
479 it is part of. The population-based bayesian inference model
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
480 will then be partitioned on the basis of the populations.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
481 -A --cnv-map FILE
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
482 Read a copy number map from the BED file FILE, which has
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
483 the format:
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
484 reference sequence, start, end, sample name, copy number
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
485 ... for each region in each sample which does not have the
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
486 default copy number as set by --ploidy.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
487 -L --trace FILE Output an algorithmic trace to FILE.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
488 --failed-alleles FILE
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
489 Write a BED file of the analyzed positions which do not
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
490 pass --pvar to FILE.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
491 -@ --variant-input VCF
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
492 Use variants reported in VCF file as input to the algorithm.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
493 A report will be generated for every record in the VCF file.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
494 -l --only-use-input-alleles
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
495 Only provide variant calls and genotype likelihoods for sites
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
496 and alleles which are provided in the VCF input, and provide
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
497 output in the VCF for all input alleles, not just those which
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
498 have support in the data.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
499 --haplotype-basis-alleles VCF
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
500 When specified, only variant alleles provided in this input
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
501 VCF will be used for the construction of complex or haplotype
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
502 alleles.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
503
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
504 reporting:
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
505
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
506 -P --pvar N Report sites if the probability that there is a polymorphism
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
507 at the site is greater than N. default: 0.0001
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
508 -_ --show-reference-repeats
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
509 Calculate and show information about reference repeats in
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
510 the VCF output.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
511
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
512 population model:
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
513
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
514 -T --theta N The expected mutation rate or pairwise nucleotide diversity
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
515 among the population under analysis. This serves as the
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
516 single parameter to the Ewens Sampling Formula prior model
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
517 default: 0.001
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
518 -p --ploidy N Sets the default ploidy for the analysis to N. default: 2
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
519 -J --pooled Assume that samples result from pooled sequencing.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
520 When using this flag, set --ploidy to the number of
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
521 alleles in each sample.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
522
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
523 reference allele:
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
524
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
525 -Z --use-reference-allele
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
526 This flag includes the reference allele in the analysis as
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
527 if it is another sample from the same population.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
528 -H --diploid-reference
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
529 If using the reference sequence as a sample (-Z),
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
530 treat it as diploid. default: false (reference is haploid)
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
531 --reference-quality MQ,BQ
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
532 Assign mapping quality of MQ to the reference allele at each
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
533 site and base quality of BQ. default: 100,60
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
534
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
535 allele scope:
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
536
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
537 -I --no-snps Ignore SNP alleles.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
538 -i --no-indels Ignore insertion and deletion alleles.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
539 -X --no-mnps Ignore multi-nuceotide polymorphisms, MNPs.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
540 -u --no-complex Ignore complex events (composites of other classes).
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
541 -n --use-best-n-alleles N
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
542 Evaluate only the best N SNP alleles, ranked by sum of
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
543 supporting quality scores. (Set to 0 to use all; default: all)
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
544 -E --max-complex-gap N
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
545 Allow complex alleles with contiguous embedded matches of up
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
546 to this length.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
547
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
548 indel realignment:
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
549
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
550 -O --left-align-indels
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
551 Left-realign and merge gaps embedded in reads. default: false
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
552
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
553 input filters:
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
554
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
555 -4 --use-duplicate-reads
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
556 Include duplicate-marked alignments in the analysis.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
557 default: exclude duplicates
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
558 -m --min-mapping-quality Q
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
559 Exclude alignments from analysis if they have a mapping
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
560 quality less than Q. default: 30
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
561 -q --min-base-quality Q
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
562 Exclude alleles from analysis if their supporting base
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
563 quality is less than Q. default: 20
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
564 -R --min-supporting-quality MQ,BQ
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
565 In order to consider an alternate allele, at least one supporting
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
566 alignment must have mapping quality MQ, and one supporting
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
567 allele must have base quality BQ. default: 0,0, unset
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
568 -Q --mismatch-base-quality-threshold Q
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
569 Count mismatches toward --read-mismatch-limit if the base
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
570 quality of the mismatch is &gt;= Q. default: 10
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
571 -U --read-mismatch-limit N
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
572 Exclude reads with more than N mismatches where each mismatch
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
573 has base quality &gt;= mismatch-base-quality-threshold.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
574 default: ~unbounded
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
575 -z --read-max-mismatch-fraction N
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
576 Exclude reads with more than N [0,1] fraction of mismatches where
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
577 each mismatch has base quality &gt;= mismatch-base-quality-threshold
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
578 default: 1.0
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
579 -$ --read-snp-limit N
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
580 Exclude reads with more than N base mismatches, ignoring gaps
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
581 with quality &gt;= mismatch-base-quality-threshold.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
582 default: ~unbounded
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
583 -e --read-indel-limit N
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
584 Exclude reads with more than N separate gaps.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
585 default: ~unbounded
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
586 -0 --standard-filters Use stringent input base and mapping quality filters
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
587 Equivalent to -m 30 -q 20 -R 0 -S 0
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
588 -x --indel-exclusion-window
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
589 Ignore portions of alignments this many bases from a
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
590 putative insertion or deletion allele. default: 0
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
591 -F --min-alternate-fraction N
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
592 Require at least this fraction of observations supporting
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
593 an alternate allele within a single individual in the
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
594 in order to evaluate the position. default: 0.0
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
595 -C --min-alternate-count N
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
596 Require at least this count of observations supporting
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
597 an alternate allele within a single individual in order
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
598 to evaluate the position. default: 1
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
599 -3 --min-alternate-qsum N
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
600 Require at least this sum of quality of observations supporting
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
601 an alternate allele within a single individual in order
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
602 to evaluate the position. default: 0
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
603 -G --min-alternate-total N
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
604 Require at least this count of observations supporting
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
605 an alternate allele within the total population in order
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
606 to use the allele in analysis. default: 1
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
607 -! --min-coverage N
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
608 Require at least this coverage to process a site. default: 0
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
609
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
610 bayesian priors:
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
611
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
612 -Y --no-ewens-priors
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
613 Turns off the Ewens' Sampling Formula component of the priors.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
614 -k --no-population-priors
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
615 Equivalent to --pooled --no-ewens-priors
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
616 -w --hwe-priors Use the probability of the combination arising under HWE given
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
617 the allele frequency as estimated by observation frequency.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
618
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
619 observation prior expectations:
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
620
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
621 -V --binomial-obs-priors
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
622 Incorporate expectations about osbervations into the priors,
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
623 Uses read placement probability, strand balance probability,
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
624 and read position (5'-3') probability.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
625 -a --allele-balance-priors
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
626 Use aggregate probability of observation balance between alleles
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
627 as a component of the priors. Best for observations with minimal
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
628 inherent reference bias.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
629
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
630 algorithmic features:
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
631
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
632 -M --site-selection-max-iterations N
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
633 Uses hill-climbing algorithm to search posterior space for N
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
634 iterations to determine if the site should be evaluated. Set to 0
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
635 to prevent use of this algorithm for site selection, and
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
636 to a low integer for improvide site selection at a slight
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
637 performance penalty. default: 5.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
638 -B --genotyping-max-iterations N
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
639 Iterate no more than N times during genotyping step. default: 25.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
640 --genotyping-max-banddepth N
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
641 Integrate no deeper than the Nth best genotype by likelihood when
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
642 genotyping. default: 6.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
643 -W --posterior-integration-limits N,M
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
644 Integrate all genotype combinations in our posterior space
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
645 which include no more than N samples with their Mth best
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
646 data likelihood. default: 1,3.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
647 -K --no-permute
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
648 Do not scale prior probability of genotype combination given allele
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
649 frequency by the number of permutations of included genotypes.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
650 -N --exclude-unobserved-genotypes
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
651 Skip sample genotypings for which the sample has no supporting reads.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
652 -S --genotype-variant-threshold N
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
653 Limit posterior integration to samples where the second-best
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
654 genotype likelihood is no more than log(N) from the highest
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
655 genotype likelihood for the sample. default: ~unbounded
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
656 -j --use-mapping-quality
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
657 Use mapping quality of alleles when calculating data likelihoods.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
658 -D --read-dependence-factor N
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
659 Incorporate non-independence of reads by scaling successive
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
660 observations by this factor during data likelihood
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
661 calculations. default: 0.9
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
662 -= --no-marginals
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
663 Do not calculate the marginal probability of genotypes. Saves
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
664 time and improves scaling performance in large populations.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
665
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
666
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
667 ------
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
668
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
669 **Citation**
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
670
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
671 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;`_.
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
672
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
673 If you use this tool in Galaxy, please cite Blankenberg D, et al. *In preparation.*
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
674
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
675 </help>
569830319099 adding test files
jorrit <jhpoelen@xs4all.nl>
parents:
diff changeset
676 </tool>