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