annotate freebayes.xml @ 40:0d8581534009 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
author iuc
date Tue, 05 Aug 2025 13:47:58 +0000
parents 85dc96ebc770
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
1 <tool id="freebayes" name="FreeBayes" version="@TOOL_VERSION@+galaxy1" profile="23.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>
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
3 <macros>
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
4 <import>macros.xml</import>
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
5 </macros>
31
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
6 <xrefs>
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
7 <xref type="bio.tools">freebayes</xref>
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
8 </xrefs>
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 macro="requirements">
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
10 <requirement type="package" version="3.11">grep</requirement>
36
3e954e7125bf planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit fe6bd492e3188ec78ef4bc5111c5da40eae05b0a
iuc
parents: 34
diff changeset
11 <requirement type="package" version="5.3.1">gawk</requirement>
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
12 <requirement type="package" version="20250622">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
13 </expand>
34
a7c9782130e8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit be1c2e9e056710ef8b1110a121dc38c6e06dbbee"
iuc
parents: 33
diff changeset
14 <expand macro="version_command" />
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
15 <command detect_errors="exit_code"><![CDATA[
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
16 ##set up input files
2dd40b601766 Uploaded
devteam
parents:
diff changeset
17
2dd40b601766 Uploaded
devteam
parents:
diff changeset
18 #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
19
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
20 #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
21 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
22 samtools faidx '${reference_fasta_filename}' 2>&1 || echo "Error running samtools faidx for FreeBayes" >&2 &&
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
23 #else:
2dd40b601766 Uploaded
devteam
parents:
diff changeset
24 #set $reference_fasta_filename = str( $reference_source.ref_file.fields.path )
2dd40b601766 Uploaded
devteam
parents:
diff changeset
25 #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
26
27
9f164587a92f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit d2f9b1728a6525b599e2c014a183b0415b27a870
iuc
parents: 26
diff changeset
27 #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
28 #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
29 #else:
9f164587a92f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit d2f9b1728a6525b599e2c014a183b0415b27a870
iuc
parents: 26
diff changeset
30 #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
31 #end if
9f164587a92f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit d2f9b1728a6525b599e2c014a183b0415b27a870
iuc
parents: 26
diff changeset
32
9f164587a92f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit d2f9b1728a6525b599e2c014a183b0415b27a870
iuc
parents: 26
diff changeset
33 #for $bam_count, $input_bam in enumerate( $input_bamfiles ):
32
8a7a42541080 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cce7fcdd5e8ba8636c751f9f974bf07a6845ba1c"
iuc
parents: 31
diff changeset
34 #if $input_bam.ext == 'bam':
8a7a42541080 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cce7fcdd5e8ba8636c751f9f974bf07a6845ba1c"
iuc
parents: 31
diff changeset
35 ln -s -f '${input_bam}' 'b_${bam_count}.bam' &&
8a7a42541080 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cce7fcdd5e8ba8636c751f9f974bf07a6845ba1c"
iuc
parents: 31
diff changeset
36 ln -s -f '${input_bam.metadata.bam_index}' 'b_${bam_count}.bam.bai' &&
8a7a42541080 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cce7fcdd5e8ba8636c751f9f974bf07a6845ba1c"
iuc
parents: 31
diff changeset
37 #elif $input_bam.ext == 'cram':
8a7a42541080 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cce7fcdd5e8ba8636c751f9f974bf07a6845ba1c"
iuc
parents: 31
diff changeset
38 ln -s -f '${input_bam}' 'b_${bam_count}.cram' &&
8a7a42541080 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cce7fcdd5e8ba8636c751f9f974bf07a6845ba1c"
iuc
parents: 31
diff changeset
39 ln -s -f '${input_bam.metadata.cram_index}' 'b_${bam_count}.cram.crai' &&
8a7a42541080 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cce7fcdd5e8ba8636c751f9f974bf07a6845ba1c"
iuc
parents: 31
diff changeset
40 #end if
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
41 #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
42
38
e698621cca1f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cdd582adf568e80558740ec7ff51c9447948cf77
iuc
parents: 37
diff changeset
43 ## For --variant-input option, create symlinks to vcf.bgzip input and its accompanying tabix index
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
44 #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
45 ln -s -f '${options_type.optional_inputs.input_variant_type.input_variant_vcf}' input_variant_vcf.vcf.gz &&
38
e698621cca1f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cdd582adf568e80558740ec7ff51c9447948cf77
iuc
parents: 37
diff changeset
46 ln -s '$options_type.optional_inputs.input_variant_type.input_variant_vcf.metadata.tabix_index' input_variant_vcf.vcf.gz.tbi &&
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
47 #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
48
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
49 ##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
50 #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
51 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
52 #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
53 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
54 #else
a028d13cd860 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 0c59a0b32e4875120e697951a187b81c662bc39c
iuc
parents: 25
diff changeset
55 ##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
56 #for $bam_count, $input_bam in enumerate( $input_bamfiles ):
32
8a7a42541080 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cce7fcdd5e8ba8636c751f9f974bf07a6845ba1c"
iuc
parents: 31
diff changeset
57 samtools view -H b_${bam_count}.${input_bam.ext}|
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
58 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
59 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
60 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
61 #end for
a028d13cd860 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 0c59a0b32e4875120e697951a187b81c662bc39c
iuc
parents: 25
diff changeset
62 #end if
a028d13cd860 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 0c59a0b32e4875120e697951a187b81c662bc39c
iuc
parents: 25
diff changeset
63
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
64 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
65 ## 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
66 ## 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
67
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
68 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
69
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
70 ## 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
71
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
72 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
73 do
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
74 echo "
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
75
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
76 ## 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
77
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
78 freebayes
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 --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
81
27
9f164587a92f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit d2f9b1728a6525b599e2c014a183b0415b27a870
iuc
parents: 26
diff changeset
82 #for $bam_count, $input_bam in enumerate( $input_bamfiles ):
32
8a7a42541080 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cce7fcdd5e8ba8636c751f9f974bf07a6845ba1c"
iuc
parents: 31
diff changeset
83 --bam 'b_${bam_count}.${input_bam.ext}'
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
84 #end for
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
85 --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
86
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
87 ## Outputs
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
88 --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
89
30
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
90 ## Coverage
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
91 #if str($coverage_options.coverage_options_selector) == "set":
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
92 @COVERAGE@
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
93 #end if
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
94
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
95 ##advanced options
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
96 #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
97 #pass
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
98 #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
99 --standard-filters
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 ) == "naive":
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
101 --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
102 --min-alternate-count 1
30
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
103 --min-alternate-fraction 0.05
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
104 --pooled-continuous
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
105 --report-monomorphic
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
106 #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
107 --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
108 --min-alternate-count 1
30
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
109 --min-alternate-fraction 0.05
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
110 --pooled-continuous
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
111 --report-monomorphic
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
112 --standard-filters
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
113 #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
114 #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
115 ${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
116
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
117 #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
118 --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
119 #end if
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
120 #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
121 --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
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.samples:
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
124 --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
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.populations:
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
127 --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
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.A:
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
130 --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
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 #if str( $options_type.optional_inputs.input_variant_type.input_variant_type_selector ) == "provide_vcf":
38
e698621cca1f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cdd582adf568e80558740ec7ff51c9447948cf77
iuc
parents: 37
diff changeset
133 --variant-input 'input_variant_vcf.vcf.gz'
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
134 ${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
135 #end if
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
136 #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
137 --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
138 #end if
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
139 #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
140 --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
141 #end if
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
142 #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
143 --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
144 #end if
32
8a7a42541080 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cce7fcdd5e8ba8636c751f9f974bf07a6845ba1c"
iuc
parents: 31
diff changeset
145 $options_type.optional_inputs.trim_complex_tail
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
146 #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
147
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
148 ## REPORTING
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
149 #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
150 --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
151 #end if
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
152 ## POPULATION MODEL
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.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
154 --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
155 --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
156 ${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
157 ${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
158 #end if
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
159
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
160 ## REFERENCE ALLELE
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
161 #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
162 ${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
163 --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
164 #end if
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
165
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
166 ## ALLELE SCOPE
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
167 #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
168 ${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
169 ${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
170 ${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
171 ${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
172 ${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
173
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
174 -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
175
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
176 --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
177 --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
178 --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
179 #end if
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
180
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
181 ## REALIGNMENT
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
182 ${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
183
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
184 ##INPUT FILTERS
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
185 #if str( $options_type.input_filters.input_filters_selector ) == "set":
33
04fa42777df9 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit a89c26123a658a71af5a0a66245b977384ab8867"
iuc
parents: 32
diff changeset
186 ${options_type.input_filters.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
187 ${options_type.input_filters.use_duplicate_reads}
31
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
188 --min-mapping-quality ${options_type.input_filters.min_mapping_quality}
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
189 --min-base-quality ${options_type.input_filters.min_base_quality}
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
190 --min-supporting-allele-qsum ${options_type.input_filters.min_supporting_allele_qsum}
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
191 --min-supporting-mapping-qsum ${options_type.input_filters.min_supporting_mapping_qsum}
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
192 #if str( $options_type.input_filters.mismatch_filters.mismatch_filters_selector ) == "set":
31
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
193 --mismatch-base-quality-threshold ${options_type.input_filters.mismatch_filters.mismatch_base_quality_threshold}
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
194 #if str($options_type.input_filters.mismatch_filters.read_mismatch_limit)
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
195 --read-mismatch-limit ${options_type.input_filters.mismatch_filters.read_mismatch_limit}
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
196 #end if
31
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
197 --read-max-mismatch-fraction ${options_type.input_filters.mismatch_filters.read_max_mismatch_fraction}
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
198 --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
199 #end if
31
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
200 --read-indel-limit ${options_type.input_filters.read_indel_limit}
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
201 --min-alternate-fraction ${options_type.input_filters.min_alternate_fraction}
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
202 --min-alternate-qsum ${options_type.input_filters.min_alternate_qsum}
31
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
203 --min-alternate-count ${options_type.input_filters.min_alternate_count}
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
204 --min-alternate-total ${options_type.input_filters.min_alternate_total}
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
205 #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
206
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
207 ## 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
208 #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
209 ${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
210 ${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
211 ${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
212 ${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
213 #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
214
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
215 ## GENOTYPE LIKELIHOODS
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
216 #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
217 ${$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
218
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
219 --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
220 --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
221 #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
222
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
223 ## ALGORITHMIC FEATURES
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
224 #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
225 -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
226 -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
227 -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
228
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
229 #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
230 -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
231 #end if
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 ${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
234 ${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
235 ${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
236 ${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
237 ${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
238
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
239 --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
240 #end if
17
4c80a1387285 Uploaded
devteam
parents: 16
diff changeset
241 #end if
20
8fb829f953d6 planemo upload commit 00a7926c285bc4a339bd7deebf40b28f39c7d947-dirty
devteam
parents: 17
diff changeset
242
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
243 #if str($output_options.flavor) == "gvcf":
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
244 --gvcf
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
245 #elif str($output_options.flavor) == "gvcf_custom":
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
246 --gvcf
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
247 #if $output_options.gvcf_block_size == 0:
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
248 ## special-casing the 0 case for performance
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
249 --gvcf-dont-use-chunk t
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
250 #else:
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
251 --gvcf-chunk $output_options.gvcf_block_size
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
252 #end if
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
253 #end if
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
254
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
255 ";
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
256 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
257
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
258 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
259 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
260
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
261 ## 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
262 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
263
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
264 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
265 do
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
266 ## 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
267 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
268 ;
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
269 done | sort -k1,1 -k2,2n -k5,5 -u | cat header.txt - > '${output_vcf}'
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 #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
272 #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
273 #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
274 &&
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
275 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
276 do
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
277 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
278 ;
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
279 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
280 #end if
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
281
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
282 #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
283 &&
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
284 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
285 do
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
286 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
287 ;
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
288 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
289 #end if
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
290 #end if
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
291 #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
292 ]]></command>
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
293
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
294 <inputs>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
295 <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
296 <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
297 <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
298 <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
299 </param>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
300 <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
301 <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
302 <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
303 </expand>
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="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
305 <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
306 <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
307 </param>
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
308 </when>
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
309 <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
310 <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
311 <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
312 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
313 </when>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
314 </conditional>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
315 <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
316 <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
317 <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
318 <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
319 <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
320 </param>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
321 <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
322 <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
323 <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
324 </when>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
325 <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
326 <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
327 <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
328 <param name="region_end" type="integer" label="Region End" value="" />
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
329 </when>
2dd40b601766 Uploaded
devteam
parents:
diff changeset
330 </conditional>
30
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
331 <conditional name="coverage_options">
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
332 <param name="coverage_options_selector" type="select" label="Read coverage"
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
333 help="Sets --min-coverage, --limit-coverage, and --skip-coverage">
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
334 <option value="do_not_set" selected="true">Use defaults</option>
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
335 <option value="set">Specify coverage options</option>
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
336 </param>
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
337 <when value="set">
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
338 <expand macro="par_min_cov" />
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
339 </when>
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
340 <when value="do_not_set" />
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
341 </conditional>
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
342 <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
343 <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
344 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
345 <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
346 <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
347 <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
348 <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
349 <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
350 </param>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
351 <when value="full">
30
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
352
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
353 <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
354 <param name="optional_inputs_selector" type="select" label="Additional inputs"
32
8a7a42541080 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cce7fcdd5e8ba8636c751f9f974bf07a6845ba1c"
iuc
parents: 31
diff changeset
355 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, --contamination-estimates and --trim-complex-tail">
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
356 <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
357 <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
358 </param>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
359 <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
360 <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
361 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
362 <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
363 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
364 <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
365 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
366 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
367 <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
368 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
369 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
370 <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
371 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
372 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
373 <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
374 <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
375 <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
376 <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
377 </param>
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_provide" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
379 <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
380 <param name="input_variant_vcf" argument="--variant-input" type="data" format="vcf_bgzip"
38
e698621cca1f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cdd582adf568e80558740ec7ff51c9447948cf77
iuc
parents: 37
diff changeset
381 label="Use variants reported in this VCF dataset as input to the algorithm"/>
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
382 <param argument="--only-use-input-alleles" type="boolean" truevalue="--only-use-input-alleles" falsevalue="" checked="false"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
383 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
384 </when>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
385 </conditional>
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
386 <param argument="--haplotype-basis-alleles" type="data" format="vcf" optional="true"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
387 label="Only use variant alleles provided in this input VCF for the construction of complex or haplotype alleles" />
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
388 <param argument="--report-monomorphic" type="boolean" truevalue="--report-monomorphic" falsevalue="" checked="false"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
389 label="Report even loci which appear to be monomorphic, and report all considered alleles, even those which are not in called genotypes" />
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
390 <param argument="--observation-bias" type="data" format="tabular" optional="true"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
391 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
392 help="The format is [length] [alignment efficiency relative to reference] where the efficiency is 1 if there is no relative observation bias" />
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
393 <param argument="--contamination-estimates" type="data" format="tabular" optional="true"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
394 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
395 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" />
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
396 <param argument="--trim-complex-tail" type="boolean" truevalue="--trim-complex-tail" falsevalue=""
32
8a7a42541080 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cce7fcdd5e8ba8636c751f9f974bf07a6845ba1c"
iuc
parents: 31
diff changeset
397 label="Trim trailing reference matches" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
398 </when>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
399 <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
400 </conditional>
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
401
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
402 <!-- reporting -->
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
403 <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
404 <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
405 <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
406 <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
407 </param>
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
408 <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
409 <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
410 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
411 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
412 </when>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
413 <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
414 </conditional>
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
415
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
416 <!-- population model -->
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
417 <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
418 <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
419 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
420 <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
421 <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
422 </param>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
423 <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
424 <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
425 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
426 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
427 <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
428 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
429 <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
430 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
431 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
432 <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
433 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
434 </when>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
435 <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
436 </conditional>
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
437
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
438 <!-- reference allele -->
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
439 <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
440 <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
441 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
442 <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
443 <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
444 </param>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
445 <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
446 <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
447 label="Include the reference allele in the analysis as if it is another sample from the same population" />
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
448 <param argument="--reference-quality" type="text" value="100,60"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
449 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
450 </when>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
451 <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
452 </conditional>
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
453
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
454 <!-- allelic scope -->
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
455 <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
456 <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
457 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
458 <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
459 <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
460 </param>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
461 <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
462 <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
463 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
464 <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
465 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
466 <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
467 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
468 <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
469 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
470 <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
471 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
472 help="Alleles are ranked by the sum of supporting quality scores. Set to 0 to evaluate all" />
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
473 <param argument="--haplotype-length" type="integer" value="3"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
474 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
475 <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
476 label="When assembling observations across repeats, require the total repeat length at least this many bp" />
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
477 <param argument="--min-repeat-entropy" type="integer" value="1"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
478 label="To detect interrupted repeats, build across sequence until it has entropy > (bits per bp)" />
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
479 <param 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
480 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
481 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
482 </when>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
483 <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
484 </conditional>
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
485
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
486 <!-- 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
487 <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
488 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
489
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
490 <!-- input filters -->
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
491 <conditional name="input_filters">
31
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
492 <param name="input_filters_selector" type="select" label="Input filters">
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
493 <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
494 <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
495 </param>
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
496 <when value="set">
31
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
497 <param argument="--standard-filters" type="boolean" truevalue="--standard-filters" falsevalue="" checked="false"
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
498 label="Use stringent input base and mapping quality filters"
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
499 help="--min-mapping-quality 30 --min-base-quality 20, --min-supporting-allele-qsum 0 --genotype-variant-threshold 0"/>
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
500 <param argument="--use-duplicate-reads" type="boolean" truevalue="--use-duplicate-reads" falsevalue="" checked="false"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
501 label="Include duplicate-marked alignments in the analysis" />
31
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
502 <param argument="--min-mapping-quality" type="integer" value="1"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
503 label="Exclude alignments from analysis if they have a mapping quality less than" />
31
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
504 <param argument="--min-base-quality" type="integer" value="0"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
505 label="Exclude alleles from analysis if their supporting base quality less than" />
31
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
506 <param argument="--min-supporting-allele-qsum" type="integer" value="0"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
507 label="Consider any allele in which the sum of qualities of supporting observations is at least" />
31
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
508 <param argument="--min-supporting-mapping-qsum" type="integer" value="0"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
509 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
510 <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
511 <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
512 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
513 <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
514 <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
515 </param>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
516 <when value="set">
31
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
517 <param argument="--mismatch-base-quality-threshold" type="integer" value="10"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
518 label="Count mismatches toward -U (option below) if the base quality of the mismatch is >=" />
31
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
519 <param argument="--read-mismatch-limit" type="integer" value="1000" optional="true"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
520 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
521 help="default=~unbounded" />
31
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
522 <param argument="--read-max-mismatch-fraction" type="float" value="1.0" min="0.0" max="1.0"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
523 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)" />
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
524 <param argument="--read-snp-limit" type="integer" value="1000"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
525 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
526 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
527 </when>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
528 <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
529 </conditional>
31
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
530 <param argument="--read-indel-limit" type="integer" value="1000"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
531 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
532 help="default=~unbounded" />
31
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
533 <param argument="--min-alternate-fraction" type="float" value="0.05"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
534 label="Require at least this fraction of observations supporting an alternate allele within a single individual in the in order to evaluate the position" />
31
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
535 <param argument="--min-alternate-qsum" type="integer" value="0"
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
536 label="Require at least this sum of quality of observations supporting an alternate allele within a single individual in order to evaluate the position" />
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
537 <param argument="--min-alternate-count" type="integer" value="2"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
538 label="Require at least this count of observations supporting an alternate allele within a single individual in order to evaluate the position" />
31
57def2d7c093 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 3b5abd63372c2806870627e9dc2a2f0f52f2e52a"
iuc
parents: 30
diff changeset
539 <param argument="--min-alternate-total" type="integer" value="1"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
540 label="Require at least this count of observations supporting an alternate allele within the total population in order to use the allele in analysis" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
541 </when>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
542 <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
543 </conditional>
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
544
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
545 <!-- 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
546 <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
547 <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
548 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
549 <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
550 <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
551 </param>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
552 <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
553 <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
554 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
555 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
556 <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
557 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
558 <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
559 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
560 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
561 <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
562 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
563 </when>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
564 <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
565 </conditional>
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
566
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
567 <!-- genotype likelihoods -->
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
568 <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
569 <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
570 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
571 <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
572 <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
573 </param>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
574 <when value="set">
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
575 <param argument="--base-quality-cap" type="integer" value="0"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
576 label="Limit estimated observation quality by capping base quality at" />
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
577 <param 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
578 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
579 help="Incorporate partial observations. This is the default when contamination estimates are provided. Optimized for diploid samples" />
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
580 <param argument="--prob-contamination" type="float" value="10e-9"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
581 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
582 </when>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
583 <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
584 </conditional>
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
585
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
586 <!-- algorithmic features -->
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
587 <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
588 <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
589 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
590 <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
591 <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
592 </param>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
593 <when value="set">
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
594 <param argument="--report-genotype-likelihood-max" type="boolean" truevalue="--report-genotype-likelihood-max" falsevalue="" checked="false"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
595 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
596 <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
597 label="Iterate no more than N times during genotyping step" />
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
598 <param argument="--genotyping-max-banddepth" type="integer" value="6"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
599 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
600 <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
601 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
602 <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
603 label="Skip sample genotypings for which the sample has no supporting reads" />
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
604 <param argument="--genotype-variant-threshold" type="integer" value="" optional="true"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
605 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
606 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
607 <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
608 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
609 <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
610 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
611 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
612 <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
613 label="Incorporate non-independence of reads by scaling successive observations by this factor during data likelihood calculations" />
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
614 <param argument="--genotype-qualities" type="boolean" truevalue="--genotype-qualities" falsevalue="" checked="false"
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
615 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
616 </when>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
617 <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
618 </conditional>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
619 </when>
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
620 <when value="simple" />
30
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
621 <when value="simple_w_filters" />
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
622 <when value="naive" />
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
623 <when value="naive_w_filters" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
624 </conditional>
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
625 <conditional name="output_options">
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
626 <param name="flavor" type="select" label="Type of main output to produce" help="The tool will, by default, produce VCF output with information about sites with called variants. If you want also information (such as depth of coverage) about non-called sites, you can use the gVCF or gVCF with custom block size options. The first collapses the stats of entire blocks of consecutive non-called sites into one non-call record. The second gives you control over how many consecutive non-called sites should be combined into a non-call record.">
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
627 <option value="vcf">VCF (default)</option>
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
628 <option value="gvcf">gVCF (--gvcf)</option>
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
629 <option value="gvcf_custom">gVCF with custom block size</option>
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
630 </param>
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
631 <when value="vcf" />
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
632 <when value="gvcf" />
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
633 <when value="gvcf_custom">
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
634 <param name="gvcf_block_size" type="integer" value="0" min="0" max="2147483647" label="Maximal block size for consecutive non-called sites" help="Consolidate data from any non-called site together with the N next non-called sites into one gVCF record, i.e. produce gVCF block records of maximally N+1 sites. Blocks can be shorter if terminated by the end of a chromosome or a site with a called variant. Setting this parameter to 0 produces a separate record for every non-called site, but can result in very large output." />
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
635 </when>
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
636 </conditional>
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
637 </inputs>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
638 <outputs>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
639 <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
640 <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
641 <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
642 </data>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
643 <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
644 <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
645 </data>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
646 </outputs>
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
647 <tests>
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
648 <test expect_num_outputs="1">
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
649 <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
650 <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
651 <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
652 <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
653 <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
654 <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
655 </test>
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
656 <test expect_num_outputs="1">
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
657 <param name="reference_source_selector" value="history" />
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
658 <param name="processmode" value="individual" />
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
659 <param name="ref_file" ftype="fasta" value="freebayes-phix174.fasta" />
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
660 <param name="input_bams" ftype="bam" value="freebayes-phix174.bam" />
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
661 <param name="options_type_selector" value="simple" />
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
662 <conditional name="output_options">
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
663 <param name="flavor" value="gvcf" />
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
664 </conditional>
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
665 <output name="output_vcf" file="freebayes-phix174.gvcf" lines_diff="4" />
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
666 </test>
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
667 <test expect_num_outputs="1">
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
668 <param name="reference_source_selector" value="history" />
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
669 <param name="processmode" value="individual" />
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
670 <param name="ref_file" ftype="fasta" value="freebayes-phix174.fasta" />
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
671 <param name="input_bams" ftype="bam" value="freebayes-phix174.bam" />
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
672 <param name="options_type_selector" value="simple" />
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
673 <conditional name="output_options">
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
674 <param name="flavor" value="gvcf_custom" />
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
675 </conditional>
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
676 <!-- This test produces one record per reference position
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
677 so the test file only contains the first part of the expected output up to the second variant site -->
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
678 <output name="output_vcf" file="freebayes-phix174.full.sample.gvcf" compare="contains" lines_diff="2" />
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
679 </test>
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
680 <test expect_num_outputs="1">
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
681 <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
682 <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
683 <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
684 <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
685 <param name="options_type_selector" value="naive_w_filters"/>
30
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
686 <param name="coverage_options_selector" value="set" />
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
687 <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
688 <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
689 </test>
38
e698621cca1f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cdd582adf568e80558740ec7ff51c9447948cf77
iuc
parents: 37
diff changeset
690 <!-- Test that user-provided (variant-input option) sites are included in output -->
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
691 <test expect_num_outputs="1">
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
692 <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
693 <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
694 <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
695 <param name="input_bams" ftype="bam" value="freebayes-phix174.bam"/>
38
e698621cca1f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cdd582adf568e80558740ec7ff51c9447948cf77
iuc
parents: 37
diff changeset
696 <param name="options_type_selector" value="full"/>
e698621cca1f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cdd582adf568e80558740ec7ff51c9447948cf77
iuc
parents: 37
diff changeset
697 <conditional name="optional_inputs">
e698621cca1f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cdd582adf568e80558740ec7ff51c9447948cf77
iuc
parents: 37
diff changeset
698 <param name="optional_inputs_selector" value="set" />
e698621cca1f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cdd582adf568e80558740ec7ff51c9447948cf77
iuc
parents: 37
diff changeset
699 <conditional name="input_variant_type">
e698621cca1f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cdd582adf568e80558740ec7ff51c9447948cf77
iuc
parents: 37
diff changeset
700 <param name="input_variant_type_selector" value="provide_vcf" />
e698621cca1f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cdd582adf568e80558740ec7ff51c9447948cf77
iuc
parents: 37
diff changeset
701 <param name="input_variant_vcf" value="freebayes-phix174-input-sites-test3.vcf.bgzip" />
e698621cca1f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cdd582adf568e80558740ec7ff51c9447948cf77
iuc
parents: 37
diff changeset
702 </conditional>
e698621cca1f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cdd582adf568e80558740ec7ff51c9447948cf77
iuc
parents: 37
diff changeset
703 </conditional>
e698621cca1f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cdd582adf568e80558740ec7ff51c9447948cf77
iuc
parents: 37
diff changeset
704 <output name="output_vcf">
e698621cca1f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cdd582adf568e80558740ec7ff51c9447948cf77
iuc
parents: 37
diff changeset
705 <assert_contents>
e698621cca1f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cdd582adf568e80558740ec7ff51c9447948cf77
iuc
parents: 37
diff changeset
706 <has_line_matching expression="phiX174&#009;1134&#009;\.&#009;A&#009;\.&#009;.+"/>
e698621cca1f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cdd582adf568e80558740ec7ff51c9447948cf77
iuc
parents: 37
diff changeset
707 </assert_contents>
e698621cca1f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cdd582adf568e80558740ec7ff51c9447948cf77
iuc
parents: 37
diff changeset
708 </output>
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
709 </test>
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
710 <test expect_num_outputs="1">
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
711 <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
712 <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
713 <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
714 <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
715 <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
716 <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
717 <param name="P" value="1"/>
32
8a7a42541080 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cce7fcdd5e8ba8636c751f9f974bf07a6845ba1c"
iuc
parents: 31
diff changeset
718 <param name="trim_complex_tail" value="--trim-complex-tail"/>
29
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
719 <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
720 </test>
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
721 <test expect_num_outputs="1">
30
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
722 <param name="reference_source_selector" value="history" />
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
723 <param name="processmode" value="individual" />
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
724 <param name="ref_file" ftype="fasta" value="freebayes-hxb2.fasta"/>
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
725 <param name="input_bams" ftype="bam" value="freebayes-hxb2.bam"/>
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
726 <param name="options_type_selector" value="simple"/>
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
727 <param name="coverage_options_selector" value="set" />
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
728 <param name="min_coverage" value="250" />
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
729 <output name="output_vcf" file="freebayes-hxb2-test5.vcf" lines_diff="4" />
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
730 </test>
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
731 <test expect_num_outputs="1">
30
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
732 <param name="reference_source_selector" value="history" />
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
733 <param name="processmode" value="individual" />
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
734 <param name="ref_file" ftype="fasta" value="freebayes-hxb2.fasta"/>
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
735 <param name="input_bams" ftype="bam" value="freebayes-hxb2.bam"/>
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
736 <param name="options_type_selector" value="simple"/>
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
737 <param name="coverage_options_selector" value="set" />
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
738 <param name="limit_coverage" value="400" />
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
739 <output name="output_vcf" file="freebayes-hxb2-test6.vcf" lines_diff="4" />
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
740 </test>
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
741 <test expect_num_outputs="1">
30
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
742 <param name="reference_source_selector" value="history" />
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
743 <param name="processmode" value="individual" />
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
744 <param name="ref_file" ftype="fasta" value="freebayes-hxb2.fasta"/>
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
745 <param name="input_bams" ftype="bam" value="freebayes-hxb2.bam"/>
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
746 <param name="options_type_selector" value="simple"/>
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
747 <param name="coverage_options_selector" value="set" />
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
748 <param name="skip_coverage" value="100" />
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
749 <output name="output_vcf" file="freebayes-hxb2-test7.vcf" lines_diff="4" />
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
750 </test>
40
0d8581534009 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 48700fed491e8056cddd1ee7d8bc9ca08e19fe8d
iuc
parents: 39
diff changeset
751 <test expect_num_outputs="1"> <!-- Test with CRAM -->
32
8a7a42541080 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cce7fcdd5e8ba8636c751f9f974bf07a6845ba1c"
iuc
parents: 31
diff changeset
752 <param name="reference_source_selector" value="history" />
8a7a42541080 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cce7fcdd5e8ba8636c751f9f974bf07a6845ba1c"
iuc
parents: 31
diff changeset
753 <param name="processmode" value="individual" />
8a7a42541080 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cce7fcdd5e8ba8636c751f9f974bf07a6845ba1c"
iuc
parents: 31
diff changeset
754 <param name="ref_file" ftype="fasta" value="freebayes-phix174.fasta"/>
8a7a42541080 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cce7fcdd5e8ba8636c751f9f974bf07a6845ba1c"
iuc
parents: 31
diff changeset
755 <param name="input_bams" ftype="cram" value="freebayes-phix174.cram"/>
8a7a42541080 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cce7fcdd5e8ba8636c751f9f974bf07a6845ba1c"
iuc
parents: 31
diff changeset
756 <param name="options_type_selector" value="simple"/>
34
a7c9782130e8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit be1c2e9e056710ef8b1110a121dc38c6e06dbbee"
iuc
parents: 33
diff changeset
757 <output name="output_vcf" file="freebayes-phix174-test1.vcf" lines_diff="6" />
32
8a7a42541080 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit cce7fcdd5e8ba8636c751f9f974bf07a6845ba1c"
iuc
parents: 31
diff changeset
758 </test>
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
759 </tests>
30
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
760 <help><![CDATA[
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
761 **What it does**
2dd40b601766 Uploaded
devteam
parents:
diff changeset
762
2dd40b601766 Uploaded
devteam
parents:
diff changeset
763 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
764
2dd40b601766 Uploaded
devteam
parents:
diff changeset
765 See https://github.com/ekg/freebayes for details on FreeBayes.
2dd40b601766 Uploaded
devteam
parents:
diff changeset
766
2dd40b601766 Uploaded
devteam
parents:
diff changeset
767 ------
2dd40b601766 Uploaded
devteam
parents:
diff changeset
768
2dd40b601766 Uploaded
devteam
parents:
diff changeset
769 **Description**
2dd40b601766 Uploaded
devteam
parents:
diff changeset
770
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
771 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
772
2dd40b601766 Uploaded
devteam
parents:
diff changeset
773 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
774
2dd40b601766 Uploaded
devteam
parents:
diff changeset
775 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
776
2dd40b601766 Uploaded
devteam
parents:
diff changeset
777 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
778
2dd40b601766 Uploaded
devteam
parents:
diff changeset
779 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
780
2dd40b601766 Uploaded
devteam
parents:
diff changeset
781 -------
2dd40b601766 Uploaded
devteam
parents:
diff changeset
782
2dd40b601766 Uploaded
devteam
parents:
diff changeset
783 **Galaxy-specific options**
2dd40b601766 Uploaded
devteam
parents:
diff changeset
784
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
785 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
786
28
977a5301b66d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 9bbda385129b4bc34f66889d28c2570bf5bb2214
iuc
parents: 27
diff changeset
787 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
788 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
789 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
790 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
791 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
792
2dd40b601766 Uploaded
devteam
parents:
diff changeset
793 ------
2dd40b601766 Uploaded
devteam
parents:
diff changeset
794
30
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
795 **Command-line parameters**
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
796
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
797 **Input**::
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
798
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
799 --bam FILE The file or set of BAM files to be analyzed.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
800 --bam-list FILE A file containing a list of BAM files to be analyzed.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
801
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
802 --stdin Read BAM input on stdin.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
803 --fasta-reference FILE Use FILE as the reference sequence for analysis.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
804 An index file (FILE.fai) will be created if none exists.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
805 If neither --targets nor --region are specified, FreeBayes
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
806 will analyze every position in this reference.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
807 --targets FILE Limit analysis to targets listed in the BED-format FILE.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
808 --region <chrom>:<start>-<end> Limit analysis to the specified region, 0-base coordinates,
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
809 end_position not included (same as BED format).
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
810 Either '-' or '..' maybe used as a separator.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
811 --samples FILE Limit analysis to samples listed (one per line) in the FILE.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
812 By default FreeBayes will analyze all samples in its input
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
813 BAM files.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
814 --populations FILE Each line of FILE should list a sample and a population which
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
815 it is part of. The population-based bayesian inference model
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
816 will then be partitioned on the basis of the populations.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
817 --cnv-map FILE Read a copy number map from the BED file FILE, which has
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
818 either a sample-level ploidy:
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
819 sample_name copy_number
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
820 or a region-specific format:
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
821 seq_name start end sample_name copy_number
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
822 ... for each region in each sample which does not have the
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
823 default copy number as set by --ploidy. These fields can be delimited
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
824 by space or tab.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
825
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
826 **Output**::
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
827
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
828 --vcf FILE Output VCF-format results to FILE. (default: stdout)
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
829 --gvcf Write gVCF output, which indicates coverage in uncalled regions.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
830 --gvcf-chunk NUM When writing gVCF output emit a record for every NUM bases.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
831 --gvcf-dont-use-chunk When writing the gVCF output emit a record for all bases if
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
832 set to "true" , will also route an int to --gvcf-chunk
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
833 similar to --output-mode EMIT_ALL_SITES from GATK
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
834 --variant-input VCF Use variants reported in VCF file as input to the algorithm.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
835 Variants in this file will included in the output even if
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
836 there is not enough support in the data to pass input filters.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
837 --only-use-input-alleles Only provide variant calls and genotype likelihoods for sites
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
838 and alleles which are provided in the VCF input, and provide
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
839 output in the VCF for all input alleles, not just those which
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
840 have support in the data.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
841 --haplotype-basis-alleles VCF When specified, only variant alleles provided in this input
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
842 VCF will be used for the construction of complex or haplotype
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
843 alleles.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
844 --report-all-haplotype-alleles At sites where genotypes are made over haplotype alleles,
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
845 provide information about all alleles in output, not only
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
846 those which are called.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
847 --report-monomorphic Report even loci which appear to be monomorphic, and report all
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
848 considered alleles, even those which are not in called genotypes.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
849 Loci which do not have any potential alternates have '.' for ALT.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
850 --pvar N Report sites if the probability that there is a polymorphism
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
851 at the site is greater than N. default: 0.0. Note that post-
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
852 filtering is generally recommended over the use of this parameter.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
853 --strict-vcf Generate strict VCF format (FORMAT/GQ will be an int)
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
854
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
855 **Population model**::
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
856
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
857 --theta N The expected mutation rate or pairwise nucleotide diversity
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
858 among the population under analysis. This serves as the
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
859 single parameter to the Ewens Sampling Formula prior model
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
860 default: 0.001
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
861 --ploidy N Sets the default ploidy for the analysis to N. default: 2
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
862 --pooled-discrete Assume that samples result from pooled sequencing.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
863 Model pooled samples using discrete genotypes across pools.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
864 When using this flag, set --ploidy to the number of
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
865 alleles in each sample or use the --cnv-map to define
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
866 per-sample ploidy.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
867 --pooled-continuous Output all alleles which pass input filters, regardles of
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
868 genotyping outcome or model.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
869
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
870 **Reference allele**::
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
871
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
872 --use-reference-allele This flag includes the reference allele in the analysis as
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
873 if it is another sample from the same population.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
874 --reference-quality MQ,BQ Assign mapping quality of MQ to the reference allele at each
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
875 site and base quality of BQ. default: 100,60
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
876
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
877 **Allele scope**::
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
878
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
879 --use-best-n-alleles N Evaluate only the best N SNP alleles, ranked by sum of
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
880 supporting quality scores. (Set to 0 to use all; default: all)
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
881 --max-complex-gap
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
882 --haplotype-length N Allow haplotype calls with contiguous embedded matches of up
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
883 to this length. Set N=-1 to disable clumping. (default: 3)
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
884 --min-repeat-size When assembling observations across repeats, require the total repeat
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
885 length at least this many bp. (default: 5)
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
886 --min-repeat-entropy N To detect interrupted repeats, build across sequence until it has
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
887 entropy > N bits per bp. Set to 0 to turn off. (default: 1)
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
888 --no-partial-observations Exclude observations which do not fully span the dynamically-determined
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
889 detection window. (default, use all observations, dividing partial
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
890 support across matching haplotypes when generating haplotypes.)
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
891
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
892 **Indel realignment**::
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
893
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
894 --dont-left-align-indels Turn off left-alignment of indels, which is enabled by default.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
895
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
896 **Input filters**::
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
897
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
898 --use-duplicate-reads Include duplicate-marked alignments in the analysis.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
899 default: exclude duplicates marked as such in alignments
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
900 --min-mapping-quality Q Exclude alignments from analysis if they have a mapping
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
901 quality less than Q. default: 1
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
902 --min-base-quality Q Exclude alleles from analysis if their supporting base
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
903 quality is less than Q. default: 0
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
904 --min-supporting-allele-qsum Q Consider any allele in which the sum of qualities of supporting
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
905 observations is at least Q. default: 0
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
906 --min-supporting-mapping-qsum Q Consider any allele in which and the sum of mapping qualities of
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
907 supporting reads is at least Q. default: 0
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
908 --mismatch-base-quality-threshold Q Count mismatches toward --read-mismatch-limit if the base
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
909 quality of the mismatch is >= Q. default: 10
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
910 --read-mismatch-limit N Exclude reads with more than N mismatches where each mismatch
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
911 has base quality >= mismatch-base-quality-threshold.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
912 default: ~unbounded
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
913 --read-max-mismatch-fraction N Exclude reads with more than N [0,1] fraction of mismatches where
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
914 each mismatch has base quality >= mismatch-base-quality-threshold
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
915 default: 1.0
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
916 --read-snp-limit N Exclude reads with more than N base mismatches, ignoring gaps
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
917 with quality >= mismatch-base-quality-threshold.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
918 default: ~unbounded
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
919 --read-indel-limit N Exclude reads with more than N separate gaps.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
920 default: ~unbounded
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
921 --standard-filters Use stringent input base and mapping quality filters
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
922 Equivalent to -m 30 -q 20 -R 0 -S 0
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
923 --min-alternate-fraction N Require at least this fraction of observations supporting
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
924 an alternate allele within a single individual in the
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
925 in order to evaluate the position. default: 0.05
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
926 --min-alternate-count N Require at least this count of observations supporting
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
927 an alternate allele within a single individual in order
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
928 to evaluate the position. default: 2
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
929 --min-alternate-qsum N Require at least this sum of quality of observations supporting
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
930 an alternate allele within a single individual in order
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
931 to evaluate the position. default: 0
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
932 --min-alternate-total N Require at least this count of observations supporting
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
933 an alternate allele within the total population in order
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
934 to use the allele in analysis. default: 1
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
935 --min-coverage N Require at least this coverage to process a site. default: 0
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
936 --limit-coverage N Downsample per-sample coverage to this level if greater than this coverage.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
937 default: no limit
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
938 --skip-coverage N Skip processing of alignments overlapping positions with coverage >N.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
939 This filters sites above this coverage, but will also reduce data nearby.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
940 default: no limit
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
941
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
942 **Population priors**::
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
943
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
944 --no-population-priors Equivalent to --pooled-discrete --hwe-priors-off and removal of
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
945 Ewens Sampling Formula component of priors.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
946
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
947 **Mappability priors**::
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
948
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
949 --hwe-priors-off Disable estimation of the probability of the combination
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
950 arising under HWE given the allele frequency as estimated
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
951 by observation frequency.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
952 --binomial-obs-priors-off Disable incorporation of prior expectations about observations.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
953 Uses read placement probability, strand balance probability,
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
954 and read position (5'-3') probability.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
955 --allele-balance-priors-off Disable use of aggregate probability of observation balance between alleles
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
956 as a component of the priors.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
957
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
958 **Genotype likelihoods**::
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
959
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
960 --observation-bias FILE Read length-dependent allele observation biases from FILE.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
961 The format is [length] [alignment efficiency relative to reference]
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
962 where the efficiency is 1 if there is no relative observation bias.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
963 --base-quality-cap Q Limit estimated observation quality by capping base quality at Q.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
964 --prob-contamination F An estimate of contamination to use for all samples. default: 10e-9
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
965 --legacy-gls Use legacy (polybayes equivalent) genotype likelihood calculations
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
966 --contamination-estimates FILE A file containing per-sample estimates of contamination, such as
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
967 those generated by VerifyBamID. The format should be:
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
968 sample p(read=R|genotype=AR) p(read=A|genotype=AA)
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
969 Sample '*' can be used to set default contamination estimates.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
970
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
971 **Algorithmic features**::
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
972
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
973 --report-genotype-likelihood-max Report genotypes using the maximum-likelihood estimate provided
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
974 from genotype likelihoods.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
975 --genotyping-max-iterations N Iterate no more than N times during genotyping step. default: 1000.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
976 --genotyping-max-banddepth N Integrate no deeper than the Nth best genotype by likelihood when
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
977 genotyping. default: 6.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
978 --posterior-integration-limits N,M Integrate all genotype combinations in our posterior space
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
979 which include no more than N samples with their Mth best
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
980 data likelihood. default: 1,3.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
981 --exclude-unobserved-genotypes Skip sample genotypings for which the sample has no supporting reads.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
982 --genotype-variant-threshold N Limit posterior integration to samples where the second-best
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
983 genotype likelihood is no more than log(N) from the highest
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
984 genotype likelihood for the sample. default: ~unbounded
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
985 --use-mapping-quality Use mapping quality of alleles when calculating data likelihoods.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
986 --harmonic-indel-quality Use a weighted sum of base qualities around an indel, scaled by the
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
987 distance from the indel. By default use a minimum BQ in flanking sequence.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
988 --read-dependence-factor N Incorporate non-independence of reads by scaling successive
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
989 observations by this factor during data likelihood
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
990 calculations. default: 0.9
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
991 --genotype-qualities Calculate the marginal probability of genotypes and report as GQ in
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
992 each sample field in the VCF output.
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
993
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
994 ------
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
995
25
bf27106652f3 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents: 24
diff changeset
996 **Acknowledgments**
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
997
2dd40b601766 Uploaded
devteam
parents:
diff changeset
998 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
999 TNG was developed by Bjoern Gruening.
30
ef2c525bd8cd "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 24f33bda62a7b6771ad42a39fe8c683e09f6d8b8"
iuc
parents: 29
diff changeset
1000 ]]>
23
52aed7d9ed2b planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents: 22
diff changeset
1001 </help>
29
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
1002 <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
1003 <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
1004 @article{Tange2011a,
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
1005 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
1006 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
1007 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
1008 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
1009 month = {Feb},
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
1010 number = {1},
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
1011 volume = {36},
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
1012 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
1013 year = {2011},
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
1014 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
1015 }
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
1016 </citation>
156b60c1530f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 99e8a87a2993ae644df15756044a40a42aa7a05b
iuc
parents: 28
diff changeset
1017 </expand>
13
2dd40b601766 Uploaded
devteam
parents:
diff changeset
1018 </tool>