annotate freebayes.xml @ 29:156b60c1530f draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
author iuc
date Wed, 25 Oct 2017 08:29:45 -0400
parents 977a5301b66d
children ef2c525bd8cd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
29
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
1 <tool id="freebayes" name="FreeBayes" version="@DEPENDENCY_VERSION@-0">
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
2 <description>bayesian genetic variant detector</description>
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
3 <macros>
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
4 <import>macros.xml</import>
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
5 </macros>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
6 <expand macro="requirements">
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
7 <requirement type="package" version="4.1.3">gawk</requirement>
29
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
8 <requirement type="package" version="20170422">parallel</requirement>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
9 </expand>
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
10 <command detect_errors="exit_code"><![CDATA[
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
11 ##set up input files
2dd40b601766 Uploaded
devteam
parents:
diff changeset
12
2dd40b601766 Uploaded
devteam
parents:
diff changeset
13 #set $reference_fasta_filename = "localref.fa"
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
14
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
15 #if str( $reference_source.reference_source_selector ) == "history":
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
16 ln -s -f '${reference_source.ref_file}' '${reference_fasta_filename}' &&
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
17 samtools faidx '${reference_fasta_filename}' 2>&1 || echo "Error running samtools faidx for FreeBayes" >&2 &&
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
18 #else:
2dd40b601766 Uploaded
devteam
parents:
diff changeset
19 #set $reference_fasta_filename = str( $reference_source.ref_file.fields.path )
2dd40b601766 Uploaded
devteam
parents:
diff changeset
20 #end if
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
21
27
9f164587a92f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit d2f9b1728a6525b599e2c014a183b0415b27a870
iuc
parents: 26
diff changeset
22 #if $reference_source.batchmode.processmode == 'merge':
9f164587a92f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit d2f9b1728a6525b599e2c014a183b0415b27a870
iuc
parents: 26
diff changeset
23 #set $input_bamfiles = $reference_source.batchmode.input_bams
9f164587a92f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit d2f9b1728a6525b599e2c014a183b0415b27a870
iuc
parents: 26
diff changeset
24 #else:
9f164587a92f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit d2f9b1728a6525b599e2c014a183b0415b27a870
iuc
parents: 26
diff changeset
25 #set $input_bamfiles = [ $reference_source.batchmode.input_bams ]
9f164587a92f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit d2f9b1728a6525b599e2c014a183b0415b27a870
iuc
parents: 26
diff changeset
26 #end if
9f164587a92f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit d2f9b1728a6525b599e2c014a183b0415b27a870
iuc
parents: 26
diff changeset
27
9f164587a92f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit d2f9b1728a6525b599e2c014a183b0415b27a870
iuc
parents: 26
diff changeset
28 #for $bam_count, $input_bam in enumerate( $input_bamfiles ):
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
29 ln -s -f '${input_bam}' 'b_${bam_count}.bam' &&
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
30 ln -s -f '${input_bam.metadata.bam_index}' 'b_${bam_count}.bam.bai' &&
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
31 #end for
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
32
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
33 ## Tabixize optional input_variant_vcf file (for --variant-input option)
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
34 #if ( str( $options_type.options_type_selector ) == 'cline' or str( $options_type.options_type_selector ) == 'full' ) and str( $options_type.optional_inputs.optional_inputs_selector ) == 'set' and str( $options_type.optional_inputs.input_variant_type.input_variant_type_selector ) == "provide_vcf":
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
35 ln -s -f '${options_type.optional_inputs.input_variant_type.input_variant_vcf}' input_variant_vcf.vcf.gz &&
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
36 ln -s -f '${Tabixized_input}' input_variant_vcf.vcf.gz.tbi &&
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
37 #end if
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
38
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
39 ##if the user has specified a region or target file, just use that instead of calculating a set of unique regions
26
a028d13cd860 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 0c59a0b32e4875120e697951a187b81c662bc39c
iuc
parents: 25
diff changeset
40 #if str( $target_limit_type.target_limit_type_selector ) == "limit_by_target_file":
a028d13cd860 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 0c59a0b32e4875120e697951a187b81c662bc39c
iuc
parents: 25
diff changeset
41 ln -s '${target_limit_type.input_target_bed}' regions_all.bed &&
a028d13cd860 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 0c59a0b32e4875120e697951a187b81c662bc39c
iuc
parents: 25
diff changeset
42 #elif str( $target_limit_type.target_limit_type_selector ) == "limit_by_region":
a028d13cd860 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 0c59a0b32e4875120e697951a187b81c662bc39c
iuc
parents: 25
diff changeset
43 printf '${target_limit_type.region_chromosome}\t${target_limit_type.region_start}\t${target_limit_type.region_end}' > regions_all.bed &&
a028d13cd860 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 0c59a0b32e4875120e697951a187b81c662bc39c
iuc
parents: 25
diff changeset
44 #else
a028d13cd860 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 0c59a0b32e4875120e697951a187b81c662bc39c
iuc
parents: 25
diff changeset
45 ##divide up the regions in the bam file for efficient processing
27
9f164587a92f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit d2f9b1728a6525b599e2c014a183b0415b27a870
iuc
parents: 26
diff changeset
46 #for $bam_count, $input_bam in enumerate( $input_bamfiles ):
26
a028d13cd860 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 0c59a0b32e4875120e697951a187b81c662bc39c
iuc
parents: 25
diff changeset
47 samtools view -H b_${bam_count}.bam |
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
48 grep '^@SQ' |
26
a028d13cd860 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 0c59a0b32e4875120e697951a187b81c662bc39c
iuc
parents: 25
diff changeset
49 cut -f 2- |
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
50 awk '{ gsub("^SN:","",$1); gsub("^LN:","",$2); print $1"\t0\t"$2; }' >> regions_all.bed &&
26
a028d13cd860 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 0c59a0b32e4875120e697951a187b81c662bc39c
iuc
parents: 25
diff changeset
51 #end for
a028d13cd860 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 0c59a0b32e4875120e697951a187b81c662bc39c
iuc
parents: 25
diff changeset
52 #end if
a028d13cd860 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 0c59a0b32e4875120e697951a187b81c662bc39c
iuc
parents: 25
diff changeset
53
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
54 sort -u regions_all.bed > regions_uniq.bed &&
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
55 ## split into even small chunks, this has some disatvantages and will not be used for the moment
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
56 ## bedtools makewindows -b regions_uniq.bed -w 10000000 -s 9990000 > regions.bed &&
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
57
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
58 mkdir vcf_output failed_alleles trace &&
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
59
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
60 ## Finished setting up inputs
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
61
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
62 for i in `cat regions_uniq.bed | awk '{print $1":"$2".."$3}'`;
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
63 do
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
64 echo "
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
65
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
66 ## COMMAND LINE STARTS HERE
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
67
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
68 freebayes
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
69
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
70 --region '\$i'
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
71
27
9f164587a92f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit d2f9b1728a6525b599e2c014a183b0415b27a870
iuc
parents: 26
diff changeset
72 #for $bam_count, $input_bam in enumerate( $input_bamfiles ):
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
73 --bam 'b_${bam_count}.bam'
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
74 #end for
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
75 --fasta-reference '${reference_fasta_filename}'
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
76
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
77 ## Outputs
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
78 --vcf './vcf_output/part_\$i.vcf'
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
79
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
80 ##advanced options
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
81 #if str( $options_type.options_type_selector ) == "simple":
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
82 #pass
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
83 #elif str( $options_type.options_type_selector ) == "simple_w_filters":
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
84 --standard-filters
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
85 --min-coverage ${options_type.min_coverage}
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
86 #elif str( $options_type.options_type_selector ) == "naive":
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
87 --haplotype-length 0
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
88 --min-alternate-count 1
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
89 --min-alternate-fraction 0
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
90 --pooled-continuous
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
91 --report-monomorphic
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
92 #elif str( $options_type.options_type_selector ) == "naive_w_filters":
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
93 --haplotype-length 0
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
94 --min-alternate-count 1
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
95 --min-alternate-fraction 0
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
96 --pooled-continuous
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
97 --report-monomorphic
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
98 --standard-filters
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
99 --min-coverage ${options_type.min_coverage}
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
100 #elif str( $options_type.options_type_selector ) == "full":
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
101 #if str( $options_type.optional_inputs.optional_inputs_selector ) == 'set':
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
102 ${options_type.optional_inputs.report_monomorphic}
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
103
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
104 #if $options_type.optional_inputs.output_trace_option:
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
105 --trace ./trace/part_'\$i'.txt
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
106 #end if
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
107 #if $options_type.optional_inputs.output_failed_alleles_option:
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
108 --failed-alleles ./failed_alleles/part_'\$i'.bed
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
109 #end if
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
110 #if $options_type.optional_inputs.samples:
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
111 --samples '${options_type.optional_inputs.samples}'
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
112 #end if
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
113 #if $options_type.optional_inputs.populations:
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
114 --populations '${options_type.optional_inputs.populations}'
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
115 #end if
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
116 #if $options_type.optional_inputs.A:
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
117 --cnv-map '${options_type.optional_inputs.A}'
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
118 #end if
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
119 #if str( $options_type.optional_inputs.input_variant_type.input_variant_type_selector ) == "provide_vcf":
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
120 --variant-input 'input_variant_vcf.vcf.gz' ## input_variant_vcf.vcf.gz is symlinked to a galaxy-generated dataset in "Tabixize optional input_variant_vcf file" section of the command line above
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
121 ${options_type.optional_inputs.input_variant_type.only_use_input_alleles}
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
122 #end if
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
123 #if $options_type.optional_inputs.haplotype_basis_alleles:
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
124 --haplotype-basis-alleles '${options_type.optional_inputs.haplotype_basis_alleles}'
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
125 #end if
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
126 #if $options_type.optional_inputs.observation_bias:
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
127 --observation-bias '${options_type.optional_inputs.observation_bias}'
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
128 #end if
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
129 #if $options_type.optional_inputs.contamination_estimates:
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
130 --contamination-estimates '${options_type.optional_inputs.contamination_estimates}'
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
131 #end if
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
132 #end if
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
133
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
134 ## REPORTING
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
135 #if str( $options_type.reporting.reporting_selector ) == "set":
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
136 --pvar ${options_type.reporting.pvar}
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
137 #end if
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
138 ## POPULATION MODEL
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
139 #if str( $options_type.population_model.population_model_selector ) == "set":
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
140 --theta ${options_type.population_model.T}
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
141 --ploidy ${options_type.population_model.P}
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
142 ${options_type.population_model.J}
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
143 ${options_type.population_model.K}
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
144 #end if
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
145
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
146 ## REFERENCE ALLELE
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
147 #if str( $options_type.reference_allele.reference_allele_selector ) == "set":
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
148 ${options_type.reference_allele.Z}
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
149 --reference-quality '${options_type.reference_allele.reference_quality}'
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
150 #end if
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
151
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
152 ## ALLELE SCOPE
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
153 #if str( $options_type.allele_scope.allele_scope_selector ) == "set":
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
154 ${options_type.allele_scope.I}
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
155 ${options_type.allele_scope.i}
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
156 ${options_type.allele_scope.X}
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
157 ${options_type.allele_scope.u}
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
158 ${options_type.allele_scope.no_partial_observations}
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
159
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
160 -n ${options_type.allele_scope.n}
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
161
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
162 --haplotype-length ${options_type.allele_scope.haplotype_length}
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
163 --min-repeat-size ${options_type.allele_scope.min_repeat_length}
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
164 --min-repeat-entropy ${options_type.allele_scope.min_repeat_entropy}
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
165 #end if
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
166
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
167 ## REALIGNMENT
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
168 ${options_type.O}
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
169
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
170 ##INPUT FILTERS
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
171 #if str( $options_type.input_filters.input_filters_selector ) == "set":
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
172 ${options_type.input_filters.use_duplicate_reads}
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
173 -m ${options_type.input_filters.m}
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
174 -q ${options_type.input_filters.q}
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
175 -R ${options_type.input_filters.R}
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
176 -Y ${options_type.input_filters.Y}
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
177 -e ${options_type.input_filters.e}
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
178 -F ${options_type.input_filters.F}
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
179 -C ${options_type.input_filters.C}
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
180 -G ${options_type.input_filters.G}
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
181
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
182 #if str( $options_type.input_filters.mismatch_filters.mismatch_filters_selector ) == "set":
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
183 -Q ${options_type.input_filters.mismatch_filters.Q}
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
184 #if str($options_type.input_filters.mismatch_filters.U)
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
185 -U ${options_type.input_filters.mismatch_filters.U}
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
186 #end if
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
187 -z ${options_type.input_filters.mismatch_filters.z}
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
188
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
189 --read-snp-limit ${options_type.input_filters.mismatch_filters.read_snp_limit}
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
190 #end if
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
191
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
192 --min-coverage ${options_type.input_filters.min_coverage}
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
193 --min-alternate-qsum ${options_type.input_filters.min_alternate_qsum}
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
194 #end if
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
195
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
196 ## POPULATION AND MAPPABILITY PRIORS
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
197 #if str( $options_type.population_mappability_priors.population_mappability_priors_selector ) == "set":
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
198 ${options_type.population_mappability_priors.k}
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
199 ${options_type.population_mappability_priors.w}
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
200 ${options_type.population_mappability_priors.V}
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
201 ${options_type.population_mappability_priors.a}
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
202 #end if
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
203
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
204 ## GENOTYPE LIKELIHOODS
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
205 #if str( $options_type.genotype_likelihoods.genotype_likelihoods_selector ) == "set":
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
206 ${$options_type.genotype_likelihoods.experimental_gls}
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
207
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
208 --base-quality-cap ${$options_type.genotype_likelihoods.base_quality_cap}
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
209 --prob-contamination ${$options_type.genotype_likelihoods.prob_contamination}
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
210 #end if
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
211
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
212 ## ALGORITHMIC FEATURES
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
213 #if str( $options_type.algorithmic_features.algorithmic_features_selector ) == "set":
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
214 -B '${options_type.algorithmic_features.B}'
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
215 -W '${options_type.algorithmic_features.W}'
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
216 -D '${options_type.algorithmic_features.D}'
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
217
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
218 #if str($options_type.algorithmic_features.genotype_variant_threshold)
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
219 -S ${options_type.algorithmic_features.genotype_variant_threshold}
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
220 #end if
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
221
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
222 ${options_type.algorithmic_features.N}
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
223 ${options_type.algorithmic_features.j}
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
224 ${options_type.algorithmic_features.H}
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
225 ${options_type.algorithmic_features.genotype_qualities}
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
226 ${options_type.algorithmic_features.report_genotype_likelihood_max}
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
227
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
228 --genotyping-max-banddepth ${options_type.algorithmic_features.genotyping_max_banddepth}
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
229 #end if
17
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
230 #end if
20
8fb829f953d6 planemo upload commit 00a7926c285bc4a339bd7deebf40b28f39c7d947-dirty
devteam
parents: 17
diff changeset
231
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
232 ";
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
233 done > freebayes_commands.sh &&
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
234
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
235 cat freebayes_commands.sh |
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
236 parallel --will-cite -j \${GALAXY_SLOTS:-1} &&
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
237
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
238 ## make VCF header
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
239 grep "^#" "./vcf_output/part_\$i.vcf" > header.txt &&
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
240
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
241 for i in `cat regions_uniq.bed | awk '{print $1":"$2".."$3}'`;
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
242 do
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
243 ## if this fails then it bails out the script
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
244 cat "./vcf_output/part_\$i.vcf" | grep -v "^#" || true
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
245 ;
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
246 done | sort -k1,1 -k2,2n -k5,5 -u | cat header.txt - > '${output_vcf}'
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
247
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
248 #if str( $options_type.options_type_selector ) == "full":
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
249 #if str( $options_type.optional_inputs.optional_inputs_selector ) == 'set':
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
250 #if $options_type.optional_inputs.output_failed_alleles_option:
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
251 &&
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
252 for i in `cat regions.bed | awk '{print $1":"$2".."$3}'`;
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
253 do
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
254 cat "./failed_alleles/part_\$i.bed"
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
255 ;
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
256 done > '${output_failed_alleles_bed}'
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
257 #end if
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
258
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
259 #if $options_type.optional_inputs.output_trace_option:
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
260 &&
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
261 for i in `cat regions.bed | awk '{print $1":"$2".."$3}'`;
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
262 do
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
263 cat './trace/part_\$i.txt'
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
264 ;
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
265 done > '${output_trace}'
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
266 #end if
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
267 #end if
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
268 #end if
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
269 ]]></command>
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
270
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
271 <inputs>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
272 <conditional name="reference_source">
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
273 <param name="reference_source_selector" type="select" label="Choose the source for the reference genome">
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
274 <option value="cached">Locally cached</option>
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
275 <option value="history">History</option>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
276 </param>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
277 <when value="cached">
27
9f164587a92f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit d2f9b1728a6525b599e2c014a183b0415b27a870
iuc
parents: 26
diff changeset
278 <expand macro="input_bam">
9f164587a92f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit d2f9b1728a6525b599e2c014a183b0415b27a870
iuc
parents: 26
diff changeset
279 <expand macro="validation" />
9f164587a92f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit d2f9b1728a6525b599e2c014a183b0415b27a870
iuc
parents: 26
diff changeset
280 </expand>
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
281 <param name="ref_file" type="select" label="Using reference genome">
27
9f164587a92f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit d2f9b1728a6525b599e2c014a183b0415b27a870
iuc
parents: 26
diff changeset
282 <options from_data_table="fasta_indexes" />
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
283 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input dataset"/>
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
284 </param>
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
285 </when>
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
286 <when value="history"> <!-- FIX ME!!!! -->
27
9f164587a92f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit d2f9b1728a6525b599e2c014a183b0415b27a870
iuc
parents: 26
diff changeset
287 <expand macro="input_bam" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
288 <param name="ref_file" type="data" format="fasta" label="Use the following dataset as the reference sequence"
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
289 help="You can upload a FASTA sequence to the history and use it as reference" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
290 </when>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
291 </conditional>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
292 <conditional name="target_limit_type">
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
293 <param name="target_limit_type_selector" type="select" label="Limit variant calling to a set of regions?" help="Sets --targets or --region options">
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
294 <option value="do_not_limit" selected="true">Do not limit</option>
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
295 <option value="limit_by_target_file">Limit by target file</option>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
296 <option value="limit_by_region">Limit to region</option>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
297 </param>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
298 <when value="do_not_limit" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
299 <when value="limit_by_target_file">
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
300 <param name="input_target_bed" argument="--targets" type="data" format="bed" label="Limit analysis to regions in this BED dataset" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
301 </when>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
302 <when value="limit_by_region">
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
303 <param name="region_chromosome" argument="--region" type="text" label="Region Chromosome" value="" /> <!--only once? -->
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
304 <param name="region_start" type="integer" label="Region Start" value="" />
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
305 <param name="region_end" type="integer" label="Region End" value="" />
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
306 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
307 </conditional>
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
308 <conditional name="options_type">
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
309 <param name="options_type_selector" type="select" label="Choose parameter selection level"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
310 help="Select how much control over the freebayes run you need">
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
311 <option value="simple" selected="true">1. Simple diploid calling</option>
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
312 <option value="simple_w_filters">2. Simple diploid calling with filtering and coverage</option>
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
313 <option value="naive">3. Frequency-based pooled calling</option>
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
314 <option value="naive_w_filters">4. Frequency-based pooled calling with filtering and coverage</option>
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
315 <option value="full">5. Full list of options</option>
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
316 </param>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
317 <when value="full">
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
318 <conditional name="optional_inputs">
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
319 <param name="optional_inputs_selector" type="select" label="Additional inputs"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
320 help="Sets --samples, --populations, --cnv-map, --trace, --failed-alleles, --variant-input, --only-use-input-alleles, --haplotype-basis-alleles, --report-all-haplotype-alleles, --report-monomorphic options, --observation-bias, and --contamination-estimates">
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
321 <option value="do_not_set" selected="true">Do not provide additional inputs</option>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
322 <option value="set">Provide additional inputs</option>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
323 </param>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
324 <when value="set">
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
325 <param name="output_failed_alleles_option" argument="--failed-alleles" type="boolean" truevalue="--failed-alleles" falsevalue="" checked="false"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
326 label="Write out failed alleles file" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
327 <param name="output_trace_option" argument="--trace" type="boolean" truevalue="--trace" falsevalue="" checked="false"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
328 label="Write out algorithm trace file" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
329 <param argument="--samples" type="data" format="txt"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
330 label="Limit analysis to samples listed (one per line) in this dataset" optional="true"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
331 help="By default FreeBayes will analyze all samples in its input BAM datasets" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
332 <param argument="--populations" type="data" format="txt" optional="true"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
333 label="Populations dataset"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
334 help="Each line of this dataset should list a sample and a population which it is part of. The population-based bayesian inference model will then be partitioned on the basis of the populations" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
335 <param name="A" argument="--cnv-map" type="data" format="bed" optional="true"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
336 label="Read a copy number map from a BED dataset"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
337 help="The BED dataset should have the format: 'reference sequence, start, end, sample name, copy number' for each region in each sample which does not have the default copy number as set by --ploidy. If not specified, copy number is set to as specified by --ploidy" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
338 <conditional name="input_variant_type">
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
339 <param name="input_variant_type_selector" type="select" label="Provide variants dataset">
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
340 <option value="do_not_provide" selected="true">Do not provide</option>
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
341 <option value="provide_vcf">Provide VCF dataset</option>
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
342 </param>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
343 <when value="do_not_provide" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
344 <when value="provide_vcf">
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
345 <param name="input_variant_vcf" argument="--variant-input" type="data" format="vcf_bgzip"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
346 label="Use variants reported in this VCF dataset as input to the algorithm">
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
347 <conversion name="Tabixized_input" type="tabix" />
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
348 </param>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
349 <param name="only_use_input_alleles" argument="--only-use-input-alleles" type="boolean" truevalue="--only-use-input-alleles" falsevalue="" checked="false"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
350 label="Only provide variant calls and genotype likelihoods for sites in VCF" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
351 </when>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
352 </conditional>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
353 <param name="haplotype_basis_alleles" argument="--haplotype-basis-alleles" type="data" format="vcf" optional="true"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
354 label="Only use variant alleles provided in this input VCF for the construction of complex or haplotype alleles" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
355 <param name="report_monomorphic" argument="--report-monomorphic" type="boolean" truevalue="--report-monomorphic" falsevalue="" checked="false"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
356 label="Report even loci which appear to be monomorphic, and report all considered alleles, even those which are not in called genotypes" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
357 <param name="observation_bias" argument="--observation-bias" type="data" format="tabular" optional="true"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
358 label="Load read length-dependent allele observation biases from"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
359 help="The format is [length] [alignment efficiency relative to reference] where the efficiency is 1 if there is no relative observation bias" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
360 <param name="contamination_estimates" argument="--contamination-estimates" type="data" format="tabular" optional="true"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
361 label="Upload per-sample estimates of contamination from"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
362 help="The format should be: sample p(read=R|genotype=AR) p(read=A|genotype=AA) Sample '*' can be used to set default contamination estimates" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
363 </when>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
364 <when value="do_not_set" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
365 </conditional>
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
366
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
367 <!-- reporting -->
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
368 <conditional name="reporting">
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
369 <param name="reporting_selector" type="select" label="Reporting options" help="Sets -P --pvar option">
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
370 <option value="do_not_set" selected="true">Use defaults</option>
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
371 <option value="set">Set reporting options</option>
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
372 </param>
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
373 <when value="set">
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
374 <param argument="--pvar" type="float" value="0.0"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
375 label="Report sites if the probability that there is a polymorphism at the site is greater than"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
376 help="Note that post-filtering is generally recommended over the use of this parameter" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
377 </when>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
378 <when value="do_not_set" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
379 </conditional>
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
380
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
381 <!-- population model -->
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
382 <conditional name="population_model">
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
383 <param name="population_model_selector" type="select" label="Population model options"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
384 help="Sets --theta, --ploidy, --pooled-discrete, and --pooled-continuous options">
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
385 <option value="do_not_set" selected="true">Use defaults</option>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
386 <option value="set">Set population model options</option>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
387 </param>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
388 <when value="set">
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
389 <param name="T" argument="--theta" type="float" value="0.001"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
390 label="The expected mutation rate or pairwise nucleotide diversity among the population under analysis"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
391 help="This serves as the single parameter to the Ewens Sampling Formula prior model" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
392 <param name="P" argument="--ploidy" type="integer" value="2"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
393 label="Set ploidy for the analysis" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
394 <param name="J" argument="--pooled-discrete" type="boolean" truevalue="-J" falsevalue="" checked="false"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
395 label="Assume that samples result from pooled sequencing"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
396 help="Model pooled samples using discrete genotypes across pools. When using this flag, set --ploidy to the number of alleles in each sample or use the --cnv-map to define per-sample ploidy" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
397 <param name="K" argument="--poled-continuous" type="boolean" truevalue="-K" falsevalue="" checked="false"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
398 label="Output all alleles which pass input filters, regardles of genotyping outcome or model" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
399 </when>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
400 <when value="do_not_set" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
401 </conditional>
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
402
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
403 <!-- reference allele -->
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
404 <conditional name="reference_allele">
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
405 <param name="reference_allele_selector" type="select" label="Reference allele options"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
406 help="Sets --use-reference-allele and --reference-quality options">
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
407 <option value="do_not_set" selected="true">Use defaults</option>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
408 <option value="set">Set reference allele options</option>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
409 </param>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
410 <when value="set">
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
411 <param name="Z" argument="--use-reference-allele" type="boolean" truevalue="-Z" falsevalue="" checked="false"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
412 label="Include the reference allele in the analysis as if it is another sample from the same population" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
413 <param name="reference_quality" argument="--reference-quality" type="text" value="100,60"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
414 label="Assign mapping quality of MQ (100) to the reference allele at each site and base quality of BQ (60)" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
415 </when>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
416 <when value="do_not_set" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
417 </conditional>
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
418
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
419 <!-- allelic scope -->
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
420 <conditional name="allele_scope">
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
421 <param name="allele_scope_selector" type="select" label="Allelic scope options"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
422 help="Sets -I, i, -X, -u, -n, --haplotype-length, --min-repeat-size, --min-repeat-entropy, and --no-partial-observations options">
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
423 <option value="do_not_set" selected="true">Use defaults</option>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
424 <option value="set">Set alleic scope options</option>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
425 </param>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
426 <when value="set">
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
427 <param name="I" argument="--no-snps" type="boolean" truevalue="-I" falsevalue="" checked="false"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
428 label="Ignore SNP alleles" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
429 <param name="i" argument="--no-indels" type="boolean" truevalue="-i" falsevalue="" checked="false"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
430 label="Ignore indels alleles" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
431 <param name="X" argument="--no-mnps" type="boolean" truevalue="-X" falsevalue="" checked="false"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
432 label="Ignore multi-nucleotide polymorphisms, MNPs" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
433 <param name="u" argument="--no-complex" type="boolean" truevalue="-u" falsevalue="" checked="false"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
434 label="Ignore complex events (composites of other classes)" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
435 <param name="n" argument="--use-best-n-alleles" type="integer" value="0"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
436 label="How many best SNP alleles to evaluate"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
437 help="Alleles are ranked by the sum of supporting quality scores. Set to 0 to evaluate all" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
438 <param name="haplotype_length" argument="--haplotype-length" type="integer" value="3"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
439 label="Allow haplotype calls with contiguous embedded matches of up to (nucleotides)" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
440 <param name="min_repeat_length" argument="--min-repeat-size" type="integer" value="5"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
441 label="When assembling observations across repeats, require the total repeat length at least this many bp" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
442 <param name="min_repeat_entropy" argument="--min-repeat-entropy" type="integer" value="0"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
443 label="To detect interrupted repeats, build across sequence until it has entropy > (bits per bp)" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
444 <param name="no_partial_observations" argument="--no-partial-observations" type="boolean" truevalue="--no-partial-observations" falsevalue="" checked="false"
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
445 label="Exclude observations which do not fully span the dynamically-determined detection window"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
446 help="By default, FreeBayes uses all observations, dividing partial support across matching haplotypes when generating haplotypes" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
447 </when>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
448 <when value="do_not_set" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
449 </conditional>
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
450
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
451 <!-- indel realignment -->
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
452 <param name="O" argument="--dont-left-align-indels" type="boolean" truevalue="-O" falsevalue="" checked="false"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
453 label="Turn off left-alignment of indels" />
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
454
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
455 <!-- input filters -->
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
456 <conditional name="input_filters">
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
457 <param name="input_filters_selector" type="select" label="Input filters"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
458 help="Sets -4, -m, -q, -R, -Y, -Q, -U, -z, -&#36;, -e, -0, -F, -C, -3, -G, and -&#33; options">
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
459 <option value="do_not_set" selected="true">No input filters (default)</option>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
460 <option value="set">Set input filters</option>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
461 </param>
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
462 <when value="set">
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
463 <param name="use_duplicate_reads" argument="--use-duplicate-reads" type="boolean" truevalue="--use-duplicate-reads" falsevalue="" checked="false"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
464 label="Include duplicate-marked alignments in the analysis" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
465 <param name="m" argument="--min-mapping-quality" type="integer" value="1"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
466 label="Exclude alignments from analysis if they have a mapping quality less than" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
467 <param name="q" argument="--min-base-quality" type="integer" value="0"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
468 label="Exclude alleles from analysis if their supporting base quality less than" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
469 <param name="R" argument="--min-supporting-allele-qsum" type="integer" value="0"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
470 label="Consider any allele in which the sum of qualities of supporting observations is at least" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
471 <param name="Y" argument="--min-supporting-mapping-qsum" type="integer" value="0"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
472 label="Consider any allele in which and the sum of mapping qualities of supporting reads is at least" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
473 <conditional name="mismatch_filters">
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
474 <param name="mismatch_filters_selector" type="select" label="Mismatch filters"
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
475 help="Sets -Q, -U, -z, and &#36; options">
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
476 <option value="do_not_set" selected="true">No mismatch filters (default)</option>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
477 <option value="set">Set mismatch filters</option>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
478 </param>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
479 <when value="set">
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
480 <param name="Q" argument="--mismatch-base-quality-threshold" type="integer" value="10"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
481 label="Count mismatches toward -U (option below) if the base quality of the mismatch is >=" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
482 <param name="U" type="integer" argument="--read-mismatch-limit" value="1000" optional="true"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
483 label="Exclude reads with more than N mismatches where each mismatch has base quality >= mismatch-base-quality-threshold (option above)"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
484 help="default=~unbounded" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
485 <param name="z" argument="--read-max-mismatch-fraction" type="float" value="1.0" min="0.0" max="1.0"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
486 label="Exclude reads with more than N [0,1] fraction of mismatches where each mismatch has base quality >= mismatch-base-quality-threshold (second option above)" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
487 <param name="read_snp_limit" argument="--read-snp-limit" type="integer" value="1000"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
488 label="Exclude reads with more than N base mismatches, ignoring gaps with quality >= mismatch-base-quality-threshold (third option above)"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
489 help="default=~unbounded" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
490 </when>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
491 <when value="do_not_set" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
492 </conditional>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
493 <param name="e" argument="--read-indel-limit" type="integer" value="1000"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
494 label="Exclude reads with more than this number of separate gaps"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
495 help="default=~unbounded" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
496 <param name="standard_filters" argument="--standard-filters" type="boolean" truevalue="-0" falsevalue="" checked="false"
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
497 label="Use stringent input base and mapping quality filters"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
498 help="Equivalent to -m 30 -q 20 -R 0 -S 0" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
499 <param name="F" argument="--min-alternate-fraction" type="float" value="0.2"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
500 label="Require at least this fraction of observations supporting an alternate allele within a single individual in the in order to evaluate the position" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
501 <param name="C" argument="--min-alternate-count" type="integer" value="2"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
502 label="Require at least this count of observations supporting an alternate allele within a single individual in order to evaluate the position" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
503 <param name="min_alternate_qsum" argument="--min-alternate-qsum" type="integer" value="0"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
504 label="Require at least this sum of quality of observations supporting an alternate allele within a single individual in order to evaluate the position" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
505 <param name="G" argument="--min-alternate-total" type="integer" value="1"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
506 label="Require at least this count of observations supporting an alternate allele within the total population in order to use the allele in analysis" />
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
507 <expand macro="par_min_cov" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
508 </when>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
509 <when value="do_not_set" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
510 </conditional>
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
511
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
512 <!-- population and mappability priors -->
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
513 <conditional name="population_mappability_priors">
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
514 <param name="population_mappability_priors_selector" type="select" label="Population and mappability priors"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
515 help="Sets -k, -w, -V, and -a options">
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
516 <option value="do_not_set" selected="true">Use defaults</option>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
517 <option value="set">Set population and mappability priors</option>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
518 </param>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
519 <when value="set">
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
520 <param name="k" argument="--no-population-priors" type="boolean" truevalue="-k" falsevalue="" checked="false"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
521 label="No population priors"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
522 help="Equivalent to --pooled-discrete --hwe-priors-off and removal of Ewens Sampling Formula component of priors" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
523 <param name="w" argument="--hwe-priors-off" type="boolean" truevalue="-w" falsevalue="" checked="false"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
524 label="Disable estimation of the probability of the combination arising under HWE given the allele frequency as estimated by observation frequency" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
525 <param name="V" argument="--binomial-obs-priors-off" type="boolean" truevalue="-V" falsevalue="" checked="false"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
526 label="Disable incorporation of prior expectations about observations"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
527 help="Uses read placement probability, strand balance probability, and read position (5&#39;'-3&#39;') probability" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
528 <param name="a" argument="--allele-balance-priors-off" type="boolean" truevalue="-a" falsevalue="" checked="false"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
529 label="Disable use of aggregate probability of observation balance between alleles as a component of the priors" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
530 </when>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
531 <when value="do_not_set" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
532 </conditional>
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
533
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
534 <!-- genotype likelihoods -->
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
535 <conditional name="genotype_likelihoods">
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
536 <param name="genotype_likelihoods_selector" type="select" label="Genotype likelihood options"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
537 help="Sets --base-quality-cap, --experimental-gls, and --prob-contamination options">
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
538 <option value="do_not_set" selected="true">Use defaults</option>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
539 <option value="set">Set genotype likelihood options</option>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
540 </param>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
541 <when value="set">
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
542 <param name="base_quality_cap" argument="--base-quality-cap" type="integer" value="0"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
543 label="Limit estimated observation quality by capping base quality at" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
544 <param name="experimental_gls" argument="--experimental-gls" type="boolean" truevalue="--experimental-gls" falsevalue="" checked="false"
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
545 label="Generate genotype likelihoods using 'effective base depth' metric qual = 1-BaseQual * 1-MapQual"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
546 help="Incorporate partial observations. This is the default when contamination estimates are provided. Optimized for diploid samples" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
547 <param name="prob_contamination" argument="--prob-contamination" type="float" value="10e-9"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
548 label="An estimate of contamination to use for all samples" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
549 </when>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
550 <when value="do_not_set" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
551 </conditional>
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
552
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
553 <!-- algorithmic features -->
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
554 <conditional name="algorithmic_features">
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
555 <param name="algorithmic_features_selector" type="select" label="Algorithmic features"
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
556 help="Sets --report-genotypes-likelihood-max, -B, --genotyping-max-banddepth, -W, -N, S, -j, -H, -D, -= options">
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
557 <option value="do_not_set" selected="true">Use defaults</option>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
558 <option value="set">Set algorithmic features</option>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
559 </param>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
560 <when value="set">
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
561 <param name="report_genotype_likelihood_max" argument="--report-genotype-likelihood-max" type="boolean" truevalue="--report-genotype-likelihood-max" falsevalue="" checked="false"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
562 label="Report genotypes using the maximum-likelihood estimate provided from genotype likelihoods" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
563 <param name="B" argument="--genotyping-max-iterations" type="integer" value="1000"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
564 label="Iterate no more than N times during genotyping step" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
565 <param name="genotyping_max_banddepth" argument="--genotyping-max-banddepth" type="integer" value="6"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
566 label="Integrate no deeper than the Nth best genotype by likelihood when genotyping" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
567 <param name="W" argument="--posterior-integration-limits" type="text" value="1,3"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
568 label="Integrate all genotype combinations in our posterior space which include no more than N (1) samples with their Mth (3) best data likelihood" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
569 <param name="N" argument="--exclude-unobserved-genotypes" type="boolean" truevalue="--exclude-unobserved-genotypes" falsevalue="" checked="false"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
570 label="Skip sample genotypings for which the sample has no supporting reads" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
571 <param name="genotype_variant_threshold" argument="--genotype-variant-threshold" type="integer" value="" optional="true"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
572 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"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
573 help="default=~unbounded" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
574 <param name="j" argument="--use-mapping-quality" type="boolean" truevalue="-j" falsevalue="" checked="false"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
575 label="Use mapping quality of alleles when calculating data likelihoods" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
576 <param name="H" argument="--harmonic-indel-quality" type="boolean" truevalue="-H" falsevalue="" checked="false"
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
577 label="Use a weighted sum of base qualities around an indel, scaled by the distance from the indel"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
578 help="By default, FreeBayes uses a minimum Base Quality in flanking sequence" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
579 <param name="D" argument="--read-dependence-factor" type="float" value="0.9"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
580 label="Incorporate non-independence of reads by scaling successive observations by this factor during data likelihood calculations" />
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
581 <param name="genotype_qualities" argument="--genotype-qualities" type="boolean" truevalue="--genotype-qualities" falsevalue="" checked="false"
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
582 label="Calculate the marginal probability of genotypes and report as GQ in each sample field in the VCF output" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
583 </when>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
584 <when value="do_not_set" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
585 </conditional>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
586 </when>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
587 <when value="simple" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
588 <when value="simple_w_filters">
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
589 <!-- add standard-filters to command line -->
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
590 <expand macro="par_min_cov" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
591 </when>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
592 <when value="naive">
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
593 <!-- build command line using haplotype-length 0 min-alternate-count 1 min-alternate-fraction 0 pooled-continuous report-monomorphic -->
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
594 </when>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
595 <when value="naive_w_filters">
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
596 <!-- build command line using haplotype-length 0 min-alternate-count 1 min-alternate-fraction 0 pooled-continuous report-monomorphic standard-filters-->
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
597 <expand macro="par_min_cov" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
598 </when>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
599 </conditional>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
600 </inputs>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
601 <outputs>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
602 <data format="vcf" name="output_vcf" label="${tool.name} on ${on_string} (variants)" />
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
603 <data format="bed" name="output_failed_alleles_bed" label="${tool.name} on ${on_string} (failed alleles)">
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
604 <filter>( options_type['options_type_selector'] == 'cline' or options_type['options_type_selector'] == 'full' ) and options_type['optional_inputs']['optional_inputs_selector'] == 'set' and options_type['optional_inputs']['output_failed_alleles_option'] is True</filter>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
605 </data>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
606 <data format="txt" name="output_trace" label="${tool.name} on ${on_string} (trace)">
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
607 <filter>( options_type['options_type_selector'] == 'cline' or options_type['options_type_selector'] == 'full' ) and options_type['optional_inputs']['optional_inputs_selector'] == 'set' and options_type['optional_inputs']['output_trace_option'] is True</filter>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
608 </data>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
609 </outputs>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
610 <tests>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
611 <test>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
612 <param name="reference_source_selector" value="history" />
27
9f164587a92f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit d2f9b1728a6525b599e2c014a183b0415b27a870
iuc
parents: 26
diff changeset
613 <param name="processmode" value="individual" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
614 <param name="ref_file" ftype="fasta" value="freebayes-phix174.fasta"/>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
615 <param name="input_bams" ftype="bam" value="freebayes-phix174.bam"/>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
616 <param name="options_type_selector" value="simple"/>
29
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
617 <output name="output_vcf" file="freebayes-phix174-test1.vcf" lines_diff="4" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
618 </test>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
619 <test>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
620 <param name="reference_source_selector" value="history" />
27
9f164587a92f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit d2f9b1728a6525b599e2c014a183b0415b27a870
iuc
parents: 26
diff changeset
621 <param name="processmode" value="individual" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
622 <param name="ref_file" ftype="fasta" value="freebayes-phix174.fasta"/>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
623 <param name="input_bams" ftype="bam" value="freebayes-phix174.bam"/>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
624 <param name="options_type_selector" value="naive_w_filters"/>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
625 <param name="min_coverage" value="14"/>
29
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
626 <output name="output_vcf" file="freebayes-phix174-test2.vcf" lines_diff="4" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
627 </test>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
628 <test>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
629 <param name="reference_source_selector" value="history" />
27
9f164587a92f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit d2f9b1728a6525b599e2c014a183b0415b27a870
iuc
parents: 26
diff changeset
630 <param name="processmode" value="individual" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
631 <param name="ref_file" ftype="fasta" value="freebayes-phix174.fasta"/>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
632 <param name="input_bams" ftype="bam" value="freebayes-phix174.bam"/>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
633 <param name="options_type_selector" value="naive_w_filters"/>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
634 <param name="min_coverage" value="14"/>
29
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
635 <output name="output_vcf" file="freebayes-phix174-test3.vcf" lines_diff="4" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
636 </test>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
637 <test>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
638 <param name="reference_source_selector" value="history" />
27
9f164587a92f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit d2f9b1728a6525b599e2c014a183b0415b27a870
iuc
parents: 26
diff changeset
639 <param name="processmode" value="individual" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
640 <param name="ref_file" ftype="fasta" value="freebayes-phix174.fasta"/>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
641 <param name="input_bams" ftype="bam" value="freebayes-phix174.bam"/>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
642 <param name="options_type_selector" value="full"/>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
643 <param name="population_model_selector" value="set"/>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
644 <param name="P" value="1"/>
29
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
645 <output name="output_vcf" file="freebayes-phix174-test4.vcf" lines_diff="4" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
646 </test>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
647 </tests>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
648 <help>
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
649 **What it does**
2dd40b601766 Uploaded
devteam
parents:
diff changeset
650
2dd40b601766 Uploaded
devteam
parents:
diff changeset
651 FreeBayes is a Bayesian genetic variant detector designed to find small polymorphisms, specifically SNPs (single-nucleotide polymorphisms), indels (insertions and deletions), MNPs (multi-nucleotide polymorphisms), and complex events (composite insertion and substitution events) smaller than the length of a short-read sequencing alignment.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
652
2dd40b601766 Uploaded
devteam
parents:
diff changeset
653 See https://github.com/ekg/freebayes for details on FreeBayes.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
654
2dd40b601766 Uploaded
devteam
parents:
diff changeset
655 ------
2dd40b601766 Uploaded
devteam
parents:
diff changeset
656
2dd40b601766 Uploaded
devteam
parents:
diff changeset
657 **Description**
2dd40b601766 Uploaded
devteam
parents:
diff changeset
658
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
659 Provided some BAM dataset(s) and a reference sequence, FreeBayes will produce a VCF dataset describing SNPs, indels, and complex variants in samples in the input alignments.
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
660
2dd40b601766 Uploaded
devteam
parents:
diff changeset
661 By default, FreeBayes will consider variants supported by at least 2 observations in a single sample (-C) and also by at least 20% of the reads from a single sample (-F). These settings are suitable to low to high depth sequencing in haploid and diploid samples, but users working with polyploid or pooled samples may wish to adjust them depending on the characteristics of their sequencing data.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
662
2dd40b601766 Uploaded
devteam
parents:
diff changeset
663 FreeBayes is capable of calling variant haplotypes shorter than a read length where multiple polymorphisms segregate on the same read. The maximum distance between polymorphisms phased in this way is determined by the --max-complex-gap, which defaults to 3bp. In practice, this can comfortably be set to half the read length.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
664
2dd40b601766 Uploaded
devteam
parents:
diff changeset
665 Ploidy may be set to any level (-p), but by default all samples are assumed to be diploid. FreeBayes can model per-sample and per-region variation in copy-number (-A) using a copy-number variation map.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
666
2dd40b601766 Uploaded
devteam
parents:
diff changeset
667 FreeBayes can act as a frequency-based pooled caller and describe variants and haplotypes in terms of observation frequency rather than called genotypes. To do so, use --pooled-continuous and set input filters to a suitable level. Allele observation counts will be described by AO and RO fields in the VCF output.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
668
2dd40b601766 Uploaded
devteam
parents:
diff changeset
669 -------
2dd40b601766 Uploaded
devteam
parents:
diff changeset
670
2dd40b601766 Uploaded
devteam
parents:
diff changeset
671 **Galaxy-specific options**
2dd40b601766 Uploaded
devteam
parents:
diff changeset
672
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
673 Galaxy allows five levels of control over FreeBayes options, provided by the **Choose parameter selection level** menu option. These are:
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
674
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
675 1. *Simple diploid calling*: The simplest possible FreeBayes application. Equivalent to using FreeBayes with only a BAM input and no other parameter options.
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
676 2. *Simple diploid calling with filtering and coverage*: Same as #1 plus two additional options: -0 (standard filters: --min-mapping-quality 30 --min-base-quality 20 --min-supporting-allele-qsum 0 --genotype-variant-threshold 0) and --min-coverage.
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
677 3. *Frequency-based pooled calling*: This is equivalent to using FreeBayes with the following options: --haplotype-length 0 --min-alternate-count 1 --min-alternate-fraction 0 --pooled-continuous --report-monomorphic. This is the best choice for calling variants in mixtures such as viral, bacterial, or organellar genomes.
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
678 4. *Frequency-based pooled calling with filtering and coverage*: Same as #3 but adds -0 and --min-coverage like in #2.
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
679 5. *Complete list of all options*: Gives you full control by exposing all FreeBayes options as Galaxy parameters.
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
680
2dd40b601766 Uploaded
devteam
parents:
diff changeset
681 ------
2dd40b601766 Uploaded
devteam
parents:
diff changeset
682
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
683 **Acknowledgments**
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
684
2dd40b601766 Uploaded
devteam
parents:
diff changeset
685 The initial version of the wrapper was produced by Dan Blankenberg and upgraded by Anton Nekrutenko.
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
686 TNG was developed by Bjoern Gruening.
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
687 </help>
29
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
688 <expand macro="citations">
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
689 <citation type="bibtex">
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
690 @article{Tange2011a,
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
691 title = {GNU Parallel - The Command-Line Power Tool},
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
692 author = {O. Tange},
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
693 address = {Frederiksberg, Denmark},
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
694 journal = {;login: The USENIX Magazine},
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
695 month = {Feb},
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
696 number = {1},
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
697 volume = {36},
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
698 url = {http://www.gnu.org/s/parallel},
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
699 year = {2011},
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
700 pages = {42-47}
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
701 }
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
702 </citation>
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
703 </expand>
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
704 </tool>