annotate freebayes.xml @ 0:afb722f09cc1

Version 0.8.9.a
author lparsons
date Fri, 11 Nov 2011 17:02:45 -0500
parents
children c70c9dc2efb7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
1 <?xml version="1.0"?>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
2 <tool id="freebayes_wrapper_princeton" name="Call SNPS with Freebayes (beta)" version="0.8.9.a">
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
3 <requirements>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
4 <requirement type="binary">freebayes</requirement>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
5 <requirement type="binary">samtools</requirement>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
6 </requirements>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
7 <description>Bayesian genetic variant detector</description>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
8 <version_string>freebayes -h | grep [Vv]ersion</version_string>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
9 <command>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
10 if [ "`freebayes -h | grep [Vv]ersion | awk '{print \$2}'`" != "0.9.0" ]; then
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
11 echo "Freebayes version installed is not compatible with this version of the Galaxy wrapper (requires '0.9.0')." >&amp;2;
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
12 exit 2; fi;
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
13
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
14 #if $genomeSource.refGenomeSource == "history":
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
15 ln -s "$genomeSource.ownFile" localref.fa;
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
16 #else:
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
17 ln -s "${ filter( lambda x: str( x[0] ) == str( $genomeSource.index ), $__app__.tool_data_tables[ 'all_fasta' ].get_fields() )[0][-1] }" localref.fa;
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
18 #end if
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
19 samtools faidx localref.fa;
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
20
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
21 #if ($params.source_select == "full") and (str($params.baqAdjustment) == 'true')
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
22 samtools fillmd -Arb ${bamfile} localref.fa > localbam.bam;
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
23 #else
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
24 ln -s ${bamfile} localbam.bam;
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
25 #end if
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
26 samtools index localbam.bam;
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
27
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
28 #for $i, $b in enumerate($bamfiles)
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
29 #if ($params.source_select == "full") and (str($params.baqAdjustment) == 'true')
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
30 samtools fillmd -Arb ${b.additional_bamfile} localref.fa > localbam_${i}.bam;
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
31 #else
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
32 ln -s ${b.additional_bamfile} localbam_${i}.bam;
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
33 #end if
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
34 samtools index localbam_${i}.bam;
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
35 #end for
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
36
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
37 freebayes localbam*.bam --fasta-reference localref.fa --vcf $output
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
38 #if $params.source_select == "full":
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
39 -T $params.theta
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
40 -p $params.ploidy
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
41 $params.pooled
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
42 --pvar $params.pvar
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
43 $params.showRefRepeats
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
44 $params.nosnps
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
45 $params.noindels
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
46 $params.nomnps
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
47 $params.nocomplex
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
48 -n $params.bestAlleles
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
49 $params.leftAlignIndels
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
50 $params.useRefAllele
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
51 $params.diploidReference
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
52 --reference-quality $params.refMapQuality,$params.refBaseQuality
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
53 $params.duplicateReads
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
54 -m $params.minMapQuality
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
55 -q $params.minBaseQuality
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
56 $params.noFilters
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
57 -x $params.indelExclusionWindow
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
58 -F $params.minAltFraction
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
59 -C $params.minAltCount
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
60 -G $params.minAltTotal
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
61 --min-coverage $params.minCoverage
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
62 -W $params.postIntegLimitN,$params.postIntegLimitM
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
63 #else
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
64 --left-align-indels
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
65 #end if
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
66 </command>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
67 <inputs>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
68 <!-- <param format="fasta" name="reference" type="data" metadata_name="dbkey" label="Reference File"/> -->
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
69 <param format="bam" name="bamfile" type="data" label="Bam Alignment File"
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
70 help="Additional BAM files will be considered to be from the same sample unless they have a different read group assigned. Read groups can be assigned during mapping with BWA (advanced options) or after mapping with Picard tools."/>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
71 <repeat name="bamfiles" title="Additional BAM Files">
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
72 <param format="bam" name="additional_bamfile" type="data" label="Additional Bam Alignment File"/>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
73 </repeat>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
74
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
75 <conditional name="genomeSource">
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
76 <param name="refGenomeSource" type="select" label="Select Reference Genome">
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
77 <option value="default" selected="true">Use the assigned data genome/build</option>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
78 <option value="indexed">Select a different built-in genome</option>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
79 <option value="history">Use a genome (fasta format) from my history</option>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
80 </param>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
81 <when value="default">
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
82 <param name="index" type="select" label="Check the assigned reference genome" help="Galaxy thinks that the reads in you dataset were aligned against this reference. If this is not correct, use the 'Select a build-in reference genome' option of the 'Select Reference Genome' dropdown to select approprtiate Reference.">
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
83 <options from_data_table="all_fasta">
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
84 <filter type="data_meta" ref="bamfile" key="dbkey" column="dbkey" multiple="True" separator="," />
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
85 <validator type="no_options" message="No reference build available for selected input" />
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
86 </options>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
87 </param>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
88 </when>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
89 <when value="indexed">
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
90 <param name="index" type="select" label="Select a built-in reference genome" help="This list contains genomes cached at this Galaxy instance. If your genome of interest is not present here request it by using 'Help' link at the top of Galaxy interface or use the 'Use a genome (fasta format) from my history' option of the 'Select Reference Genome' dropdown.">
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
91 <options from_data_table="all_fasta">
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
92 </options>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
93 </param>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
94 </when>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
95 <when value="history">
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
96 <param name="ownFile" type="data" format="fasta" metadata_name="dbkey" label="Select a reference genome from history" help="This option works best for relatively small genomes. If you are working with large human-sized genomes, send request to Galaxy team for adding your reference to this Galaxy instance by using 'Help' link at the top of Galaxy interface."/>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
97 </when>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
98 </conditional>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
99
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
100 <conditional name="params">
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
101 <param name="source_select" type="select" label="Freebayes Settings to Use" help="Default settings uses freebayes dafults for options (except that left-align-indels is set). The defaults are generally not recommended, however. For best results use Full Parameter List and set options appropriate to your data.">
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
102 <option value="pre_set">Default Settings</option>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
103 <option value="full">Full Parameter List</option>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
104 </param>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
105 <when value="pre_set"/>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
106 <when value="full">
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
107
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
108 <!-- Population Model -->
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
109 <param name="theta" size="5" type="float" value="0.01" label="Theta" help="The expected mutation rate or pairwise nucleotide diversity among the population under analysis. This serves as the single parameter to the Ewens Sampling Formula prior model"/>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
110 <param name="ploidy" size="5" type="integer" value="2" label="Ploidy" help="Sets the default ploidy for the analysis"/>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
111 <param name="pooled" type="boolean" label="Pooled" help="Assume that samples result from pooled sequencing. When using this flag, set 'Ploidy' to the number of alleles in each sample" truevalue="-J" falsevalue="" />
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
112
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
113 <!-- Reporting -->
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
114 <param name="pvar" type="float" value="0.0001" label="Probability of variant threshold" help="Report sites if the probability that there is a polymorphism at the site is greater than N." />
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
115 <param name="showRefRepeats" type="boolean" label="Show Reference Repeats" help="Calculate and show information about reference repeats in the VCF output" truevalue="--show-reference-repeats" falsevalue="" />
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
116
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
117 <!-- Alelle Scope -->
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
118 <param name="nosnps" type="boolean" label="Ignore SNP alleles" truevalue="--no-snps" falsevalue="" />
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
119 <param name="noindels" type="boolean" label="Ignore insertion and deletion alleles" truevalue="--no-indels" falsevalue="" />
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
120 <param name="nomnps" type="boolean" label="Ingnore multi-nuceotide polymorphisms, MNPs" truevalue="--no-mnps" falsevalue="" />
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
121 <param name="nocomplex" type="boolean" label="Ignore complex events (composites of other classes)" truevalue="--no-complex" falsevalue="" />
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
122 <param name="bestAlleles" size="5" type="integer" value="0" label="Use Best N Alleles" help="Evaluate only the best N alleles, ranked by sum of supporting quality scores. Set to 0 to use all." />
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
123
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
124 <!-- Indel realignment -->
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
125 <param name="leftAlignIndels" type="boolean" label="Left align indels" help="Left-realign and merge gaps embedded in reads, recommended when calling indels" checked="true" truevalue="--left-align-indels" falsevalue="" />
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
126 <param name="baqAdjustment" type="boolean" label="Base alignment quality (BAQ) adjustment" help="A quality smoothing filter which applies a hidden markov model of read genesis to each alignment independently. This is currently implemented by samtools fillmd." />
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
127
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
128 <!-- Reference Allele -->
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
129 <param name="useRefAllele" type="boolean" label="Use Reference Allele" help="Include the reference allele in the analsis as if it is another sample from the same population" truevalue="--use-reference-allele" falsevalue=""/>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
130 <param name="diploidReference" type="select" label="Reference Ploidy" help="If using the reference sequence as a sample, it can be treated as haploid (default) or diploid.">
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
131 <option value="">Haploid</option>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
132 <option value="--diploid-reference">Diploid</option>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
133 </param>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
134 <param name="refMapQuality" size="5" type="integer" value="100" label="Assign mapping quality of Q to the reference allele at each site"/>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
135 <param name="refBaseQuality" size="5" type="integer" value="60" label="Reference Base Quality" help="Assign a base quality of Q to the reference allele at each site"/>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
136
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
137 <!-- Input Filters -->
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
138 <param name="duplicateReads" type="boolean" label="Use duplicate reads" help="Include duplicate-marked alignments in the analysis" truevalue="--use-duplicate-reads" falsevalue="" />
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
139 <param name="minMapQuality" size="5" type="integer" value="30" label="Minimum Mapping Quality" help="Exclude alignments from analysis if they have a mapping quality less than Q"/>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
140 <param name="minBaseQuality" size="5" type="integer" value="20" label="Minimum Base Quality" help="Exclude alleles from analysis if their supporting base quality is less than Q"/>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
141 <param name="noFilters" type="boolean" label="No Filters" help="Do not use any input base and mapping quality filters. Equivalent to setting Minimum Mapping Quality, Minimum Base Quality, and Minimum Supporting Quality to 0" truevalue="--no-filters" falsevalue="" />
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
142 <param name="indelExclusionWindow" size="5" type="integer" value="-1" label="Indel Exclusion Window" help="Ignore portions of alignments N bases from a putative insertion or deletion allele"/>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
143 <param name="minAltFraction" size="5" type="float" min="0" max="1" value="0" label="Minimum Alternative Fraction" help="Require at least this fraction of observations supporting an alternate allele within a single individual in the in order to evaluate the position"/>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
144 <param name="minAltCount" size="5" type="integer" value="1" label="Minimum Alternative Count" help="Require at least this count of observations supporting an alternate allele within a single individual in order to evaluate the position"/>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
145 <param name="minAltTotal" size="5" type="integer" value="1" label="Minimum Alternative Total" help="Require at least this count of observations supporting an alternate allele within the total population in order to use the allele in analysis"/>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
146 <param name="minCoverage" size="5" type="integer" value="0" label="Minimum Coverage" help="Require at least this coverage to process a site"/>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
147
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
148 <!-- Algorithmic Features -->
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
149 <!-- <param name="readDependenceFactor" size="5" type="float" value="0.9" label="Read Dependence Factor" help="Incorporate non-independence of reads by scaling successive observations by this factor during data likelihood calculations"/> -->
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
150 <!-- <param name="diffusionPriorScalar" size="5" type="float" value="1" label="Diffusion Prior Scalar" help="Downgrade the significance of P(genotype combo | allele frequency) by taking the Nth root of this component of the prior"/> -->
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
151 <param name="postIntegLimitN" size="5" type="integer" value="1" label="Posterior Integration Limit N" help="See Limit M below."/>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
152 <param name="postIntegLimitM" size="5" type="integer" value="3" label="Posterior Integration Limit M" help="Integrate all genotype combinations in our posterior space which include no more than N samples with their Mth best data likelihood."/>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
153 <!-- <param name="postIntegBandwidth" size="5" type="integer" value="2" label="Posterior Integratoin Bandwidth" help="Integrate all genotype combinations in our posterior space which lie no more than N steps from the most likely combination in terms of data likelihoods, taking the N steps from the most to least likely genotype for each individual"/>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
154 <param name="postIntegBanddepth" size="5" type="integer" value="2" label="Posterior Integratoin Banddepth" help="Generate all genotype combinations for which up to this number of samples have up to their -W'th worst genotype according to data likelihood"/> -->
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
155 </when>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
156 </conditional>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
157 </inputs>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
158 <outputs>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
159 <data format="vcf" name="output" metadata_source="bamfile" />
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
160 </outputs>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
161 <tests>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
162 <test>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
163 <param name="reference" ftype="fasta" value="mosaik_test_ref.fasta"/>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
164 <param name="bamfile" ftype="bam" value="freebayes_in.bam"/>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
165 <param name="source_select" value="pre_set"/>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
166 <output name="output" file="freebayes_out.vcf" lines_diff="4"/>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
167 </test>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
168 </tests>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
169 <help>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
170 This tool uses `Freebayes`__ to call SNPS given a reference sequence and a BAM alignment file.
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
171
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
172 Base alignment quality (BAQ) adjustment is a quality smoothing filter which applies a hidden
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
173 markov model of read genesis to each alignment independently. This is currently implemented
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
174 by samtools fillmd. (See Biological Sequence Analysis Probabilistic Models of Proteins and
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
175 Nucleic Acids by Durbin et. al. for more details.)
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
176
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
177 Requires a coordinate-sorted BAM file. Galaxy currently coordinate-sorts all BAM files.
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
178
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
179 .. __: http://bioinformatics.bc.edu/marthlab/FreeBayes
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
180 </help>
afb722f09cc1 Version 0.8.9.a
lparsons
parents:
diff changeset
181 </tool>