Mercurial > repos > devteam > freebayes
annotate freebayes.xml @ 27:9f164587a92f draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit d2f9b1728a6525b599e2c014a183b0415b27a870
author | iuc |
---|---|
date | Tue, 06 Jun 2017 11:44:38 -0400 |
parents | a028d13cd860 |
children | 977a5301b66d |
rev | line source |
---|---|
27
9f164587a92f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit d2f9b1728a6525b599e2c014a183b0415b27a870
iuc
parents:
26
diff
changeset
|
1 <tool id="freebayes" name="FreeBayes" version="@DEPENDENCY_VERSION@-0"> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
2 <description>bayesian genetic variant detector</description> |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
3 <macros> |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
4 <import>macros.xml</import> |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
5 </macros> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
6 <requirements> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
7 <requirement type="package" version="@DEPENDENCY_VERSION@">freebayes</requirement> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
8 <requirement type="package" version="0.1.19">samtools</requirement> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
9 <requirement type="package" version="4.1.3">gawk</requirement> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
10 <requirement type="package" version="20160622">parallel</requirement> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
11 </requirements> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
12 <stdio> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
13 <exit_code range="1:" /> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
14 </stdio> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
15 <command><![CDATA[ |
13 | 16 ##set up input files |
17 | |
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 | 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 | 23 #else: |
24 #set $reference_fasta_filename = str( $reference_source.ref_file.fields.path ) | |
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 ): |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
34 ln -s -f '${input_bam}' 'b_${bam_count}.bam' && |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
35 ln -s -f '${input_bam.metadata.bam_index}' 'b_${bam_count}.bam.bai' && |
13 | 36 #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
|
37 |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
38 ## Tabixize optional input_variant_vcf file (for --variant-input option) |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
39 #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": |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
40 ln -s -f '${options_type.optional_inputs.input_variant_type.input_variant_vcf}' 'input_variant_vcf.vcf.gz' && |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
41 ln -s -f '${Tabixized_input}' 'input_variant_vcf.vcf.gz.tbi' && |
13 | 42 #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
|
43 |
26
a028d13cd860
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 0c59a0b32e4875120e697951a187b81c662bc39c
iuc
parents:
25
diff
changeset
|
44 ##if user has specified a region or target file, just use instead of calculating a set of unique regions |
a028d13cd860
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 0c59a0b32e4875120e697951a187b81c662bc39c
iuc
parents:
25
diff
changeset
|
45 |
a028d13cd860
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 0c59a0b32e4875120e697951a187b81c662bc39c
iuc
parents:
25
diff
changeset
|
46 #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
|
47 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
|
48 #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
|
49 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
|
50 #else |
a028d13cd860
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 0c59a0b32e4875120e697951a187b81c662bc39c
iuc
parents:
25
diff
changeset
|
51 ##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
|
52 #for $bam_count, $input_bam in enumerate( $input_bamfiles ): |
26
a028d13cd860
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 0c59a0b32e4875120e697951a187b81c662bc39c
iuc
parents:
25
diff
changeset
|
53 samtools view -H b_${bam_count}.bam | |
a028d13cd860
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 0c59a0b32e4875120e697951a187b81c662bc39c
iuc
parents:
25
diff
changeset
|
54 grep "^@SQ" | |
a028d13cd860
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 0c59a0b32e4875120e697951a187b81c662bc39c
iuc
parents:
25
diff
changeset
|
55 cut -f 2- | |
a028d13cd860
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 0c59a0b32e4875120e697951a187b81c662bc39c
iuc
parents:
25
diff
changeset
|
56 awk '{ gsub("^SN:","",$1); |
a028d13cd860
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 0c59a0b32e4875120e697951a187b81c662bc39c
iuc
parents:
25
diff
changeset
|
57 gsub("^LN:","",$2); |
a028d13cd860
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 0c59a0b32e4875120e697951a187b81c662bc39c
iuc
parents:
25
diff
changeset
|
58 print $1"\t0\t"$2; }' >> 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
|
59 #end for |
a028d13cd860
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 0c59a0b32e4875120e697951a187b81c662bc39c
iuc
parents:
25
diff
changeset
|
60 #end if |
a028d13cd860
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 0c59a0b32e4875120e697951a187b81c662bc39c
iuc
parents:
25
diff
changeset
|
61 |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
62 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
|
63 ## 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
|
64 ## 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
|
65 |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
66 mkdir vcf_output && |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
67 mkdir failed_alleles && |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
68 mkdir trace && |
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 |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
74 |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
75 echo " |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
76 |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
77 ## 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
|
78 |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
79 freebayes |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
80 |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
81 --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
|
82 |
27
9f164587a92f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit d2f9b1728a6525b599e2c014a183b0415b27a870
iuc
parents:
26
diff
changeset
|
83 #for $bam_count, $input_bam in enumerate( $input_bamfiles ): |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
84 --bam 'b_${bam_count}.bam' |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
85 #end for |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
86 --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
|
87 |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
88 ## Outputs |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
89 --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
|
90 |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
91 ##advanced options |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
92 #if str( $options_type.options_type_selector ) == "simple": |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
93 ##do nothing as command like build up to this point is sufficinet for simple diploid calling |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
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 #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
|
96 --standard-filters |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
97 --min-coverage '${options_type.min_coverage}' |
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 ) == "naive": |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
99 --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
|
100 --min-alternate-count 1 |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
101 --min-alternate-fraction 0 |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
102 --pooled-continuous |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
103 --report-monomorphic |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
104 #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
|
105 --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
|
106 --min-alternate-count 1 |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
107 --min-alternate-fraction 0 |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
108 --pooled-continuous |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
109 --report-monomorphic |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
110 --standard-filters |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
111 --min-coverage '${options_type.min_coverage}' |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
112 |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
113 ## Command line direct text entry is not allowed at this time for security reasons |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
114 #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
|
115 #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
|
116 ${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
|
117 |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
118 #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
|
119 --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
|
120 #end if |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
121 #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
|
122 --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
|
123 #end if |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
124 #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
|
125 --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
|
126 #end if |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
127 #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
|
128 --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
|
129 #end if |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
130 #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
|
131 --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
|
132 #end if |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
133 #if str( $options_type.optional_inputs.input_variant_type.input_variant_type_selector ) == "provide_vcf": |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
134 --variant-input 'input_variant_vcf.vcf.gz' ## input_variant_vcf.vcf.gz is symlinked to a galaxy-generated dataset in "Tabixize optional input_variant_vcf file" section of the command line above |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
135 ${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
|
136 #end if |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
137 #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
|
138 --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
|
139 #end if |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
140 #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
|
141 --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
|
142 #end if |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
143 #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
|
144 --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
|
145 #end if |
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": |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
154 --theta '${options_type.population_model.T}' |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
155 --ploidy '${options_type.population_model.P}' |
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 | 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 |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
174 -n '${options_type.allele_scope.n}' |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
175 |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
176 --haplotype-length '${options_type.allele_scope.haplotype_length}' |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
177 --min-repeat-size '${options_type.allele_scope.min_repeat_length}' |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
178 --min-repeat-entropy '${options_type.allele_scope.min_repeat_entropy}' |
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": |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
186 ${options_type.input_filters.use_duplicate_reads} |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
187 -m '${options_type.input_filters.m}' |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
188 -q '${options_type.input_filters.q}' |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
189 -R '${options_type.input_filters.R}' |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
190 -Y '${options_type.input_filters.Y}' |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
191 -e '${options_type.input_filters.e}' |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
192 -F '${options_type.input_filters.F}' |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
193 -C '${options_type.input_filters.C}' |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
194 -G '${options_type.input_filters.G}' |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
195 |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
196 #if str( $options_type.input_filters.mismatch_filters.mismatch_filters_selector ) == "set": |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
197 -Q '${options_type.input_filters.mismatch_filters.Q}' |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
198 -U '${options_type.input_filters.mismatch_filters.U}' |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
199 -z '${options_type.input_filters.mismatch_filters.z}' |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
200 |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
201 --read-snp-limit '${options_type.input_filters.mismatch_filters.read_snp_limit}' |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
202 #end if |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
203 |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
204 --min-coverage '${options_type.input_filters.min_coverage}' |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
205 --min-alternate-qsum "${options_type.input_filters.min_alternate_qsum}" |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
206 #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
|
207 |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
208 ## 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
|
209 #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
|
210 ${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
|
211 ${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
|
212 ${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
|
213 ${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
|
214 #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
|
215 |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
216 ## GENOTYPE LIKELIHOODS |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
217 #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
|
218 ${$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
|
219 |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
220 --base-quality-cap '${$options_type.genotype_likelihoods.base_quality_cap}' |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
221 --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
|
222 #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
|
223 |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
224 ## ALGORITHMIC FEATURES |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
225 #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
|
226 -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
|
227 -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
|
228 -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
|
229 |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
230 #if str( $options_type.algorithmic_features.genotype_variant_threshold.genotype_variant_threshold_selector ) == "set": |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
231 -S '${options_type.algorithmic_features.genotype_variant_threshold.S}' |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
232 #end if |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
233 |
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.N} |
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.j} |
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.H} |
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.genotype_qualities} |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
238 ${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
|
239 |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
240 --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
|
241 #end if |
17 | 242 #end if |
20
8fb829f953d6
planemo upload commit 00a7926c285bc4a339bd7deebf40b28f39c7d947-dirty
devteam
parents:
17
diff
changeset
|
243 |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
244 "; |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
245 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
|
246 |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
247 cat freebayes_commands.sh | |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
248 parallel --no-notice -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
|
249 |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
250 ## 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
|
251 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
|
252 |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
253 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
|
254 do |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
255 ## 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
|
256 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
|
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 done | sort -k1,1 -k2,2n -k5,5 -u | cat header.txt - > '${output_vcf}' |
13 | 259 |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
260 #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
|
261 #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
|
262 #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
|
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.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 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
|
267 ; |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
268 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
|
269 #end if |
13 | 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 $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
|
272 && |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
273 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
|
274 do |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
275 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
|
276 ; |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
277 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
|
278 #end if |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
279 #end if |
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 |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
281 ]]></command> |
13 | 282 |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
283 <inputs> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
284 <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
|
285 <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
|
286 <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
|
287 <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
|
288 </param> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
289 <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
|
290 <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
|
291 <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
|
292 </expand> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
293 <param name="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
|
294 <options from_data_table="fasta_indexes" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
295 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
296 </param> |
13 | 297 </when> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
298 <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
|
299 <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
|
300 <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
|
301 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
|
302 </when> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
303 </conditional> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
304 <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
|
305 <param name="target_limit_type_selector" type="select" label="Limit variant calling to a set of regions?" help="Sets --targets or --region options"> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
306 <option value="do_not_limit" selected="True">Do not limit</option> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
307 <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
|
308 <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
|
309 </param> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
310 <when value="do_not_limit" /><!-- Do nothing here --> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
311 <when value="limit_by_target_file"> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
312 <param name="input_target_bed" type="data" format="bed" label="Limit analysis to regions in a file (BED-format)." argument="--targets"/> |
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 <when value="limit_by_region"> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
315 <param name="region_chromosome" type="text" label="Region Chromosome" value="" argument="--region"/> <!--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
|
316 <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
|
317 <param name="region_end" type="integer" label="Region End" value="" /> |
13 | 318 </when> |
319 </conditional> | |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
320 <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
|
321 <param name="options_type_selector" type="select" label="Choose parameter selection level" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
322 help="Select how much control over the freebayes run you need" > |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
323 <option value="simple" selected="True">1. Simple diploid calling</option> |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
324 <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
|
325 <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
|
326 <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
|
327 <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
|
328 </param> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
329 <when value="full"> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
330 <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
|
331 <param name="optional_inputs_selector" type="select" label="Additional inputs" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
332 help="Sets --samples, --populations, --cnv-map, --trace, --failed-alleles, --varinat-input, --only-use-input-alleles, --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
|
333 --report-all-haplotype-alleles, --report-monomorphic options, --observation-bias, and --contamination-estimates"> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
334 <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
|
335 <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
|
336 </param> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
337 <when value="set"> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
338 <param name="output_failed_alleles_option" type="boolean" truevalue="--failed-alleles" 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
|
339 label="Write out failed alleles file" argument="--failed-alleles" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
340 <param name="output_trace_option" type="boolean" truevalue="--trace" 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
|
341 label="Write out algorithm trace file" argument="--trace"/> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
342 <param name="samples" type="data" format="txt" label="Limit analysis to samples listed (one per line) in the FILE" optional="True" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
343 help="default=By default FreeBayes will analyze all samples in its input BAM files" argument="--samples"/> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
344 <param name="populations" type="data" format="txt" label="Populations File" optional="True" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
345 help="Each line of FILE should list a sample and a population which it is part of. The population-based bayesian inference model will |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
346 then be partitioned on the basis of the populations. [default=False]" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
347 argument="--populations" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
348 <param name="A" type="data" format="bed" label="Read a copy number map from the BED file FILE" optional="True" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
349 help="default=copy number is set to as specified by --ploidy. Read a copy number map from the BED file FILE, which has the format: |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
350 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." |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
351 argument="--cnv-map" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
352 <conditional name="input_variant_type"> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
353 <param name="input_variant_type_selector" type="select" label="Provide variants file"> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
354 <option value="do_not_provide" selected="True">Do not provide</option> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
355 <option value="provide_vcf">Provide VCF file</option> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
356 </param> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
357 <when value="do_not_provide" /><!-- Do nothing here --> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
358 <when value="provide_vcf"> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
359 <param name="input_variant_vcf" type="data" format="vcf_bgzip" label="Use variants reported in VCF file as input to the algorithm" argument="--variant-input"> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
360 <conversion name="Tabixized_input" type="tabix" /> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
361 </param> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
362 <param name="only_use_input_alleles" type="boolean" truevalue="--only-use-input-alleles" falsevalue="" checked="False" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
363 label="Only provide variant calls and genotype likelihoods for sites in VCF" argument="--only-use-input-alleles" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
364 </when> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
365 </conditional> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
366 <param name="haplotype_basis_alleles" type="data" format="vcf" label="Only use variant alleles provided in this input VCF for the construction of complex or haplotype alleles" optional="True" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
367 argument="--haplotype-basis-alleles" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
368 <param name="report_monomorphic" type="boolean" truevalue="--report-monomorphic" 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
|
369 label="Report even loci which appear to be monomorphic, and report all considered alleles, even those which are not in called genotypes." |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
370 argument="--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
|
371 <param name="observation_bias" optional="True" type="data" format="tabular" label="Load read length-dependent allele observation biases from" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
372 help="The format is [length] [alignment efficiency relative to reference] where the efficiency is 1 if there is no relative observation bias" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
373 argument="--observation-bias" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
374 <param name="contamination_estimates" optional="True" type="data" format="tabular" label="Upload per-sample estimates of contamination from" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
375 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." |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
376 argument="--contamination-estimates" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
377 </when> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
378 <when value="do_not_set" /><!-- do nothing --> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
379 </conditional> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
380 |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
381 <!-- reporting --> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
382 <conditional name="reporting"> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
383 <param name="reporting_selector" type="select" label="Reporting options" help="Sets -P --pvar option"> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
384 <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
|
385 <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
|
386 </param> |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
387 <when value="set"> |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
388 <param name="pvar" type="float" value="0.0" label="Report sites if the probability that there is a polymorphism at the site is greater than" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
389 help="Note that post-filtering is generally recommended over the use of this parameter. [default=0.0]" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
390 argument="--pvar" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
391 </when> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
392 <when value="do_not_set" /><!-- do nothing --> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
393 </conditional> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
394 |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
395 <!-- population model --> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
396 <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
|
397 <param name="population_model_selector" type="select" label="Population model options" |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
398 help="Sets --theta, --ploidy, --pooled-discrete, and --pooled-continuous options " > |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
399 <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
|
400 <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
|
401 </param> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
402 <when value="set"> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
403 <param name="T" type="float" value="0.001" label="The expected mutation rate or pairwise nucleotide diversity among the population under analysis" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
404 help="This serves as the single parameter to the Ewens Sampling Formula prior model. [default = 0.001]" argument='--theta'/> |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
405 <param name="P" type="integer" value="2" label="Set ploidy for the analysis" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
406 help="default=2" argument='--ploidy' /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
407 <param name="J" type="boolean" truevalue="-J" falsevalue="" checked="False" label="Assume that samples result from pooled sequencing" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
408 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. [default=False]" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
409 argument="--pooled-discrete"/> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
410 <param name="K" type="boolean" truevalue="-K" falsevalue="" checked="False" label="Output all alleles which pass input filters, regardles of genotyping outcome or model" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
411 help="default=False." argument="--poled-continuous" /> |
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> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
413 <when value="do_not_set" /><!-- do nothing --> |
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 <!-- reference allele --> |
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="reference_allele"> |
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="reference_allele_selector" type="select" label="Reference allele options" |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
419 help="Sets --use-reference-allele and --reference-quality options."> |
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 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
|
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"> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
424 <param name="Z" type="boolean" truevalue="-Z" falsevalue="" checked="False" label="Include the reference allele in the analysis as if it is another sample from the same population" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
425 help="default=False" argument="--use-reference-allele" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
426 <param name="reference_quality" type="text" value="100,60" label="Assign mapping quality of MQ (100) to the reference allele at each site and base quality of BQ (60)" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
427 help="default=100,60" argument="--reference-quality" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
428 </when> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
429 <when value="do_not_set" /><!-- do nothing --> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
430 </conditional> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
431 |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
432 <!-- allelic scope --> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
433 <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
|
434 <param name="allele_scope_selector" type="select" label="Allelic scope options" |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
435 help="Sets -I, i, -X, -u, -n, --haplotype-length, --min-repeat-size, --min-repeat-entropy, and --no-partial-observations options."> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
436 <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
|
437 <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
|
438 </param> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
439 <when value="set"> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
440 <param name="I" type="boolean" truevalue="-I" falsevalue="" checked="False" label="Ignore SNP alleles" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
441 help="default=False" argument="--no-snps" /> |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
442 <param name="i" type="boolean" truevalue="-i" falsevalue="" checked="False" label="Ignore indels alleles" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
443 help="default=False" argument="--no-indels" /> |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
444 <param name="X" type="boolean" truevalue="-X" falsevalue="" checked="False" label="Ignore multi-nucleotide polymorphisms, MNPs" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
445 help="default=False" argument="--no-mnps" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
446 <param name="u" type="boolean" truevalue="-u" falsevalue="" checked="False" label="Ignore complex events (composites of other classes)." |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
447 help="default=False" argument="--no-complex" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
448 <param name="n" type="integer" value="0" label="How many best SNP alleles to evaluate" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
449 help="Alleles are ranked by the sum of supporting quality scores. Set to 0 to evaluate all. [default=0 (all)]" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
450 argument="--use-best-n-alleles" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
451 <param name="haplotype_length" type="integer" value="3" label="Allow haplotype calls with contiguous embedded matches of up to (nucleotides)" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
452 help="-E --max-complex-gap --haplotype-length; default=3." /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
453 <param name="min_repeat_length" type="integer" value="5" label="When assembling observations across repeats, require the total repeat length at least this many bp" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
454 help="default=5." argument="--min-repeat-size" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
455 <param name="min_repeat_entropy" type="integer" value="0" label="To detect interrupted repeats, build across sequence until it has entropy > (bits per bp)" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
456 help="default=0 (off)." argument="--min-repeat-entropy" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
457 <param name="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
|
458 label="Exclude observations which do not fully span the dynamically-determined detection window" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
459 help="default=use all observations, dividing partial support across matching haplotypes when generating haplotypes." |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
460 argument="--no-partial-observations" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
461 </when> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
462 <when value="do_not_set" /><!-- do nothing --> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
463 </conditional> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
464 |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
465 <!-- indel realignment --> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
466 <param name="O" type="boolean" truevalue="-O" falsevalue="" checked="False" label="Turn off left-alignment of indels" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
467 help="default=False (do left align)." argument="--dont-left-align-indels" /> |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
468 |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
469 <!-- input filters --> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
470 <conditional name="input_filters"> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
471 <param name="input_filters_selector" type="select" label="Input filters" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
472 help="Sets -4, -m, -q, -R, -Y, -Q, -U, -z, -$, -e, -0, -F, -C, -3, -G, and -! options."> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
473 <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
|
474 <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
|
475 </param> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
476 <when 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
|
477 <param name="use_duplicate_reads" type="boolean" truevalue="--use-duplicate-reads" 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
|
478 label="Include duplicate-marked alignments in the analysis." |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
479 help="default=False (exclude duplicates marked as such in alignments)." argument="--use-duplicate-reads" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
480 <param name="m" type="integer" value="1" label="Exclude alignments from analysis if they have a mapping quality less than" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
481 help="default=1" argument="--min-mapping-quality" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
482 <param name="q" type="integer" value="0" label="Exclude alleles from analysis if their supporting base quality less than" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
483 help="default=0" argument="--min-base-quality" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
484 <param name="R" type="integer" value="0" label="Consider any allele in which the sum of qualities of supporting observations is at least" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
485 help="default=0" argument="--min-supporting-allele-qsum" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
486 <param name="Y" type="integer" value="0" label="Consider any allele in which and the sum of mapping qualities of supporting reads is at least" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
487 help="default=0" argument="--min-supporting-mapping-qsum" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
488 <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
|
489 <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
|
490 help="Sets -Q, -U, -z, and $ options"> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
491 <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
|
492 <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
|
493 </param> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
494 <when value="set"> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
495 <param name="Q" type="integer" value="10" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
496 label="Count mismatches toward -U (option below) if the base quality of the mismatch is >=" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
497 help="default=10" argument="--mismatch-base-quality-threshold" /> |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
498 <param name="U" type="integer" value="1000" optional="True" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
499 label="Exclude reads with more than N mismatches where each mismatch has base quality >= Q (option above)" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
500 help="default=~unbound" argument="--read-mismatch-limit" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
501 <param name="z" type="float" value="1.0" min="0.0" max="1.0" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
502 label="Exclude reads with more than N [0,1] fraction of mismatches where each mismatch has base quality >= Q (second option above)" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
503 help="default=1.0" argument="--read-max-mismatch-fraction" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
504 <param name="read_snp_limit" type="integer" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
505 value="1000" label="Exclude reads with more than N base mismatches, ignoring gaps with quality >= Q (third option abobe)" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
506 argument="--read-snp-limit" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
507 </when> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
508 <when value="do_not_set" /><!-- do nothing --> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
509 </conditional> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
510 <param name="e" type="integer" value="1000" label="Exclude reads with more than this number of separate gaps" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
511 help="default=~unbounded" argument="--read-snp-limit" /> |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
512 <param name="standard_filters" type="boolean" truevalue="-0" falsevalue="" checked="False" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
513 label="Use stringent input base and mapping quality filters" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
514 help="default=False. Equivalent to -m 30 -q 20 -R 0 -S 0" argument="--standard-filters"/> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
515 <param name="F" type="float" value="0.2" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
516 label="Require at least this fraction of observations supporting an alternate allele within a single individual in the in order to evaluate the position" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
517 help="default=0.2" argument="--min-alternate-fraction" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
518 <param name="C" type="integer" value="2" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
519 label="Require at least this count of observations supporting an alternate allele within a single individual in order to evaluate the position" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
520 help="default=2" argument="--min-alternate-count" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
521 <param name="min_alternate_qsum" type="integer" value="0" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
522 label="Require at least this sum of quality of observations supporting an alternate allele within a single individual in order to evaluate the position" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
523 help="default=0" argument="--min-alternate-qsum" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
524 <param name="G" type="integer" value="1" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
525 label="Require at least this count of observations supporting an alternate allele within the total population in order to use the allele in analysis" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
526 help="default=1" argument="--min-alternate-total" /> |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
527 <expand macro="par_min_cov" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
528 </when> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
529 <when value="do_not_set" /><!-- do nothing --> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
530 </conditional> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
531 |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
532 <!-- 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
|
533 <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
|
534 <param name="population_mappability_priors_selector" type="select" label="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
|
535 help="Sets -k, -w, -V, and -a options."> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
536 <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
|
537 <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
|
538 </param> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
539 <when value="set"> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
540 <param name="k" type="boolean" truevalue="-k" falsevalue="" checked="False" label="No population priors" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
541 help="default=False. Equivalent to --pooled-discrete --hwe-priors-off and removal of Ewens Sampling Formula component of priors." |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
542 argument="--no-population-priors" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
543 <param name="w" type="boolean" truevalue="-w" 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
|
544 label="Disable estimation of the probability of the combination arising under HWE given the allele frequency as estimated by observation frequency" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
545 help="default=False" argument="--hwe-priors-off" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
546 <param name="V" type="boolean" truevalue="-V" falsevalue="" checked="False" label="Disable incorporation of prior expectations about observations" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
547 help="default=False. Uses read placement probability, strand balance probability, and read position (5''-3'') probability." |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
548 argument="--binomial-obs-priors-off" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
549 <param name="a" type="boolean" truevalue="-a" 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
|
550 label="Disable use of aggregate probability of observation balance between alleles as a component of the priors" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
551 help="default=False" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
552 argument="--allele-balance-priors-off" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
553 </when> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
554 <when value="do_not_set" /><!-- do nothing --> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
555 </conditional> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
556 |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
557 <!-- genotype likelihoods --> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
558 <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
|
559 <param name="genotype_likelihoods_selector" type="select" label="Genotype likelihood options" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
560 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
|
561 <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
|
562 <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
|
563 </param> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
564 <when value="set"> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
565 <param name="base_quality_cap" type="integer" value="0" label="Limit estimated observation quality by capping base quality at" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
566 argument="--base-quality-cap" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
567 <param name="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
|
568 label="Generate genotype likelihoods using 'effective base depth' metric qual = 1-BaseQual * 1-MapQual" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
569 help="Incorporate partial observations. This is the default when contamination estimates are provided. Optimized for diploid samples." |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
570 argument="--experimental-gls" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
571 <param name="prob_contamination" type="float" value="10e-9" label="An estimate of contamination to use for all samples" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
572 help="default=10e-9." argument="--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
|
573 </when> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
574 <when value="do_not_set" /><!-- do nothing --> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
575 </conditional> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
576 |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
577 <!-- algorithmic features --> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
578 <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
|
579 <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
|
580 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
|
581 <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
|
582 <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
|
583 </param> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
584 <when value="set"> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
585 <param name="report_genotype_likelihood_max" type="boolean" truevalue="--report-genotype-likelihood-max" 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
|
586 label="Report genotypes using the maximum-likelihood estimate provided from genotype likelihoods." |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
587 help="default=False" argument="--report-genotype-likelihood-max" /> |
23
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="B" type="integer" value="1000" label="Iterate no more than N times during genotyping step" |
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="default=1000." argument="--genotyping-max-iterations" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
590 <param name="genotyping_max_banddepth" type="integer" value="6" label="Integrate no deeper than the Nth best genotype by likelihood when genotyping" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
591 help="default=6" argument="--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
|
592 <param name="W" type="text" value="1,3" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
593 label="Integrate all genotype combinations in our posterior space which include no more than N (1) samples with their Mth (3) best data likelihood" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
594 help="default=1,3" argument="--posterior-integration-limits" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
595 <param name="N" type="boolean" truevalue="--exclude-unobserved-genotypes" 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
|
596 label="Skip sample genotypings for which the sample has no supporting reads" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
597 help="default=False" argument="--exclude-unobserved-genotypes" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
598 <conditional name="genotype_variant_threshold"> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
599 <param name="genotype_variant_threshold_selector" type="select" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
600 label="Limit posterior integration" argument="--genotype-variant-threshold"> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
601 <option value="do_not_set" selected="true">Do not limit posterior integration</option> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
602 <option value="set">Set posterior integration limit</option> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
603 </param> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
604 <when value="do_not_set" /><!-- do nothing --> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
605 <when value="set"> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
606 <param name="S" value="" type="integer" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
607 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." |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
608 help="default=~unbounded" argument="--genotype-variant-threshold" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
609 </when> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
610 </conditional> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
611 <param name="j" type="boolean" truevalue="-j" falsevalue="" checked="False" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
612 label="Use mapping quality of alleles when calculating data likelihoods" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
613 help="default=False" argument="--use-mapping-quality" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
614 <param name="H" 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
|
615 label="Use a weighted sum of base qualities around an indel, scaled by the distance from the indel" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
616 help="default=use a minimum Base Quality in flanking sequence." argument="--harmonic-indel-quality" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
617 <param name="D" type="float" value="0.9" label="Incorporate non-independence of reads by scaling successive observations by this factor during data likelihood calculations" |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
618 help="default=0.9." argument="--read-dependence-factor" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
619 <param name="genotype_qualities" type="boolean" truevalue="--genotype-qualities" 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
|
620 label="Calculate the marginal probability of genotypes and report as GQ in each sample field in the VCF output" |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
621 help="-= --genotype-qualities; default=False " /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
622 </when> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
623 <when value="do_not_set" /><!-- do nothing --> |
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> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
625 </when> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
626 <when value="simple" /><!-- do nothing --> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
627 <when value="simple_w_filters"> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
628 <!-- add standard-filters to command line --> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
629 <expand macro="par_min_cov" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
630 </when> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
631 <when value="naive"> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
632 <!-- do nothing build command line using haplotype-length 0 min-alternate-count 1 min-alternate-fraction 0 pooled-continuous report-monomorphic --> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
633 </when> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
634 <when value="naive_w_filters"> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
635 <!-- do nothing build command line using haplotype-length 0 min-alternate-count 1 min-alternate-fraction 0 pooled-continuous report-monomorphic standard-filters--> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
636 <expand macro="par_min_cov" /> |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
637 </when> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
638 </conditional> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
639 </inputs> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
640 <outputs> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
641 <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
|
642 <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
|
643 <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
|
644 </data> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
645 <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
|
646 <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
|
647 </data> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
648 </outputs> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
649 <tests> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
650 <test> |
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="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
|
652 <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
|
653 <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
|
654 <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
|
655 <param name="options_type_selector" value="simple"/> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
656 <output name="output_vcf" file="freebayes-phix174-test1.vcf" compare="contains"/> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
657 </test> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
658 <test> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
659 <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
|
660 <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
|
661 <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
|
662 <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
|
663 <param name="options_type_selector" value="naive_w_filters"/> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
664 <param name="min_coverage" value="14"/> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
665 <output name="output_vcf" file="freebayes-phix174-test2.vcf" compare="contains"/> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
666 </test> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
667 <test> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
668 <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
|
669 <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
|
670 <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
|
671 <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
|
672 <param name="options_type_selector" value="naive_w_filters"/> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
673 <param name="min_coverage" value="14"/> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
674 <output name="output_vcf" file="freebayes-phix174-test3.vcf" compare="contains"/> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
675 </test> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
676 <test> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
677 <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
|
678 <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
|
679 <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
|
680 <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
|
681 <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
|
682 <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
|
683 <param name="P" value="1"/> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
684 <output name="output_vcf" file="freebayes-phix174-test4.vcf" compare="contains"/> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
685 </test> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
686 </tests> |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
687 <help> |
13 | 688 **What it does** |
689 | |
690 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. | |
691 | |
692 See https://github.com/ekg/freebayes for details on FreeBayes. | |
693 | |
694 ------ | |
695 | |
696 **Description** | |
697 | |
698 Privided BAM file(s) and a reference. FreeBayes will provide VCF output on standard out describing SNPs, indels, and complex variants in samples in the input alignments. | |
699 | |
700 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. | |
701 | |
702 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. | |
703 | |
704 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. | |
705 | |
706 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. | |
707 | |
708 ------- | |
709 | |
710 **Galaxy-specific options** | |
711 | |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
712 Galaxy allows five levels of control over FreeBayes options provided by **Choose parameter selection level** menu option. These are: |
13 | 713 |
714 1. *Simple diploid calling*: The simples possible FreeBayes application. Equvalent of using FreeBayes with only a BAM input and no other parameter options. | |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
715 2. *Simple diploid calling with filtering and coverage*: Same as #1 plus two additional options: -0 (standard filters: --min-mapping-quality 30 --min-base-quality 20 --min-supporting-allele-qsum 0 --genotype-varinat-threshold 0) and --min-coverage. |
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
716 3. *Frequency-based pooled calling*: This is equivalent to using FreeBayes with the following options: --haplotype-length 0 --min-alternate-count 1 --min-alternate-fraction 0 --pooled-continuous --report-monomorphic. This is the best choice for calling varinats in mixtures such as viral, bacterial, or organellar genomes. |
13 | 717 4. *Frequency-based pooled calling with filtering and coverage*: Same as #3 but adds -0 and --min-coverage like in #2. |
718 5. *Complete list of all options*: Gives you full control by exposing all FreeBayes options as Galaxy widgets. | |
719 | |
720 ----- | |
721 | |
722 **FreeBayes options** | |
723 | |
724 .. class:: infomark | |
725 | |
726 Note that each Galaxy parameter widget corresponding to command line flags listed below: | |
727 | |
728 Input and output:: | |
729 | |
730 -t --targets FILE | |
731 Limit analysis to targets listed in the BED-format FILE. | |
732 -r --region chrom:start_position-end_position | |
733 Limit analysis to the specified region, 0-base coordinates, | |
734 end_position included. Either '-' or '..' maybe used as a separator. | |
735 -s --samples FILE | |
736 Limit analysis to samples listed (one per line) in the FILE. | |
737 By default FreeBayes will analyze all samples in its input | |
738 BAM files. | |
739 --populations FILE | |
740 Each line of FILE should list a sample and a population which | |
741 it is part of. The population-based bayesian inference model | |
742 will then be partitioned on the basis of the populations. | |
743 -A --cnv-map FILE | |
744 Read a copy number map from the BED file FILE, which has | |
745 the format: | |
746 reference sequence, start, end, sample name, copy number | |
747 ... for each region in each sample which does not have the | |
748 default copy number as set by --ploidy. | |
749 --trace FILE Output an algorithmic trace to FILE. | |
750 --failed-alleles FILE | |
751 Write a BED file of the analyzed positions which do not | |
752 pass --pvar to FILE. | |
753 -@ --variant-input VCF | |
754 Use variants reported in VCF file as input to the algorithm. | |
755 Variants in this file will be treated as putative variants | |
756 even if there is not enough support in the data to pass | |
757 input filters. | |
758 -l --only-use-input-alleles | |
759 Only provide variant calls and genotype likelihoods for sites | |
760 and alleles which are provided in the VCF input, and provide | |
761 output in the VCF for all input alleles, not just those which | |
762 have support in the data. | |
763 --haplotype-basis-alleles VCF | |
764 When specified, only variant alleles provided in this input | |
765 VCF will be used for the construction of complex or haplotype | |
766 alleles. | |
767 --report-all-haplotype-alleles | |
768 At sites where genotypes are made over haplotype alleles, | |
769 provide information about all alleles in output, not only | |
770 those which are called. | |
771 --report-monomorphic | |
772 Report even loci which appear to be monomorphic, and report all | |
773 considered alleles, even those which are not in called genotypes. | |
774 Loci which do not have any potential alternates have '.' for ALT. | |
775 | |
776 Reporting:: | |
777 | |
778 -P --pvar N Report sites if the probability that there is a polymorphism | |
779 at the site is greater than N. default: 0.0. Note that post- | |
780 filtering is generally recommended over the use of this parameter. | |
781 | |
782 Population model:: | |
783 | |
784 -T --theta N The expected mutation rate or pairwise nucleotide diversity | |
785 among the population under analysis. This serves as the | |
786 single parameter to the Ewens Sampling Formula prior model | |
787 default: 0.001 | |
788 -p --ploidy N Sets the default ploidy for the analysis to N. default: 2 | |
789 -J --pooled-discrete | |
790 Assume that samples result from pooled sequencing. | |
791 Model pooled samples using discrete genotypes across pools. | |
792 When using this flag, set --ploidy to the number of | |
793 alleles in each sample or use the --cnv-map to define | |
794 per-sample ploidy. | |
795 -K --pooled-continuous | |
796 Output all alleles which pass input filters, regardles of | |
797 genotyping outcome or model. | |
798 | |
799 Reference allele:: | |
800 | |
801 -Z --use-reference-allele | |
802 This flag includes the reference allele in the analysis as | |
803 if it is another sample from the same population. | |
804 --reference-quality MQ,BQ | |
805 Assign mapping quality of MQ to the reference allele at each | |
806 site and base quality of BQ. default: 100,60 | |
807 | |
808 Allele scope:: | |
809 | |
810 -I --no-snps Ignore SNP alleles. | |
811 -i --no-indels Ignore insertion and deletion alleles. | |
812 -X --no-mnps Ignore multi-nuceotide polymorphisms, MNPs. | |
813 -u --no-complex Ignore complex events (composites of other classes). | |
814 -n --use-best-n-alleles N | |
815 Evaluate only the best N SNP alleles, ranked by sum of | |
816 supporting quality scores. (Set to 0 to use all; default: all) | |
817 -E --max-complex-gap N | |
818 --haplotype-length N | |
819 Allow haplotype calls with contiguous embedded matches of up | |
820 to this length. (default: 3) | |
15 | 821 --min-repeat-size N |
13 | 822 When assembling observations across repeats, require the total repeat |
823 length at least this many bp. (default: 5) | |
824 --min-repeat-entropy N | |
825 To detect interrupted repeats, build across sequence until it has | |
826 entropy > N bits per bp. (default: 0, off) | |
827 --no-partial-observations | |
828 Exclude observations which do not fully span the dynamically-determined | |
829 detection window. (default, use all observations, dividing partial | |
830 support across matching haplotypes when generating haplotypes.) | |
831 | |
832 Indel realignment:: | |
833 | |
834 -O --dont-left-align-indels | |
835 Turn off left-alignment of indels, which is enabled by default. | |
836 | |
837 Input filters:: | |
838 | |
839 -4 --use-duplicate-reads | |
840 Include duplicate-marked alignments in the analysis. | |
841 default: exclude duplicates marked as such in alignments | |
842 -m --min-mapping-quality Q | |
843 Exclude alignments from analysis if they have a mapping | |
844 quality less than Q. default: 1 | |
845 -q --min-base-quality Q | |
846 Exclude alleles from analysis if their supporting base | |
847 quality is less than Q. default: 0 | |
848 -R --min-supporting-allele-qsum Q | |
849 Consider any allele in which the sum of qualities of supporting | |
850 observations is at least Q. default: 0 | |
851 -Y --min-supporting-mapping-qsum Q | |
852 Consider any allele in which and the sum of mapping qualities of | |
853 supporting reads is at least Q. default: 0 | |
854 -Q --mismatch-base-quality-threshold Q | |
855 Count mismatches toward --read-mismatch-limit if the base | |
856 quality of the mismatch is >= Q. default: 10 | |
857 -U --read-mismatch-limit N | |
858 Exclude reads with more than N mismatches where each mismatch | |
859 has base quality >= mismatch-base-quality-threshold. | |
860 default: ~unbounded | |
861 -z --read-max-mismatch-fraction N | |
862 Exclude reads with more than N [0,1] fraction of mismatches where | |
863 each mismatch has base quality >= mismatch-base-quality-threshold | |
864 default: 1.0 | |
865 -$ --read-snp-limit N | |
866 Exclude reads with more than N base mismatches, ignoring gaps | |
867 with quality >= mismatch-base-quality-threshold. | |
868 default: ~unbounded | |
869 -e --read-indel-limit N | |
870 Exclude reads with more than N separate gaps. | |
871 default: ~unbounded | |
872 -0 --standard-filters Use stringent input base and mapping quality filters | |
873 Equivalent to -m 30 -q 20 -R 0 -S 0 | |
874 -F --min-alternate-fraction N | |
875 Require at least this fraction of observations supporting | |
876 an alternate allele within a single individual in the | |
877 in order to evaluate the position. default: 0.2 | |
878 -C --min-alternate-count N | |
879 Require at least this count of observations supporting | |
880 an alternate allele within a single individual in order | |
881 to evaluate the position. default: 2 | |
882 -3 --min-alternate-qsum N | |
883 Require at least this sum of quality of observations supporting | |
884 an alternate allele within a single individual in order | |
885 to evaluate the position. default: 0 | |
886 -G --min-alternate-total N | |
887 Require at least this count of observations supporting | |
888 an alternate allele within the total population in order | |
889 to use the allele in analysis. default: 1 | |
890 -! --min-coverage N | |
891 Require at least this coverage to process a site. default: 0 | |
892 | |
893 Population priors:: | |
894 | |
895 -k --no-population-priors | |
896 Equivalent to --pooled-discrete --hwe-priors-off and removal of | |
897 Ewens Sampling Formula component of priors. | |
898 | |
899 Mappability priors:: | |
900 | |
901 -w --hwe-priors-off | |
902 Disable estimation of the probability of the combination | |
903 arising under HWE given the allele frequency as estimated | |
904 by observation frequency. | |
905 -V --binomial-obs-priors-off | |
906 Disable incorporation of prior expectations about observations. | |
907 Uses read placement probability, strand balance probability, | |
908 and read position (5'-3') probability. | |
909 -a --allele-balance-priors-off | |
910 Disable use of aggregate probability of observation balance between alleles | |
911 as a component of the priors. | |
912 | |
913 Genotype likelihoods:: | |
914 | |
915 --observation-bias FILE | |
916 Read length-dependent allele observation biases from FILE. | |
917 The format is [length] [alignment efficiency relative to reference] | |
918 where the efficiency is 1 if there is no relative observation bias. | |
919 --base-quality-cap Q | |
920 Limit estimated observation quality by capping base quality at Q. | |
921 --experimental-gls | |
922 Generate genotype likelihoods using 'effective base depth' metric | |
923 qual = 1-BaseQual * 1-MapQual. Incorporate partial observations. | |
924 This is the default when contamination estimates are provided. | |
925 Optimized for diploid samples. | |
926 --prob-contamination F | |
927 An estimate of contamination to use for all samples. default: 10e-9 | |
928 --contamination-estimates FILE | |
929 A file containing per-sample estimates of contamination, such as | |
930 those generated by VerifyBamID. The format should be: | |
931 sample p(read=R|genotype=AR) p(read=A|genotype=AA) | |
932 Sample '*' can be used to set default contamination estimates. | |
933 | |
934 Algorithmic features:: | |
935 | |
936 --report-genotype-likelihood-max | |
937 Report genotypes using the maximum-likelihood estimate provided | |
938 from genotype likelihoods. | |
939 -B --genotyping-max-iterations N | |
940 Iterate no more than N times during genotyping step. default: 1000. | |
941 --genotyping-max-banddepth N | |
942 Integrate no deeper than the Nth best genotype by likelihood when | |
943 genotyping. default: 6. | |
944 -W --posterior-integration-limits N,M | |
945 Integrate all genotype combinations in our posterior space | |
946 which include no more than N samples with their Mth best | |
947 data likelihood. default: 1,3. | |
948 -N --exclude-unobserved-genotypes | |
949 Skip sample genotypings for which the sample has no supporting reads. | |
950 -S --genotype-variant-threshold N | |
951 Limit posterior integration to samples where the second-best | |
952 genotype likelihood is no more than log(N) from the highest | |
953 genotype likelihood for the sample. default: ~unbounded | |
954 -j --use-mapping-quality | |
955 Use mapping quality of alleles when calculating data likelihoods. | |
956 -H --harmonic-indel-quality | |
957 Use a weighted sum of base qualities around an indel, scaled by the | |
958 distance from the indel. By default use a minimum BQ in flanking sequence. | |
959 -D --read-dependence-factor N | |
960 Incorporate non-independence of reads by scaling successive | |
961 observations by this factor during data likelihood | |
962 calculations. default: 0.9 | |
963 -= --genotype-qualities | |
964 Calculate the marginal probability of genotypes and report as GQ in | |
965 each sample field in the VCF output. | |
966 | |
967 | |
968 ------ | |
969 | |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
970 **Acknowledgments** |
13 | 971 |
972 The initial version of the wrapper was produced by Dan Blankenberg and upgraded by Anton Nekrutenko. | |
23
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
973 TNG was developed by Bjoern Gruening |
52aed7d9ed2b
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/freebayes commit cf4a70e780f104bc724323912b3b87fb37f887dd
devteam
parents:
22
diff
changeset
|
974 </help> |
25
bf27106652f3
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/freebayes commit 2bfbb5ae6b801e43355fdc3f964a5111fe3fe3a1
iuc
parents:
24
diff
changeset
|
975 <expand macro="citations" /> |
13 | 976 </tool> |