Mercurial > repos > elixir-it > covacs_freebayes
view covacs_freebayes.xml @ 1:cbe203c9bc3a draft default tip
Uploaded
author | elixir-it |
---|---|
date | Thu, 15 Nov 2018 15:55:26 -0500 |
parents | 03593410f057 |
children |
line wrap: on
line source
<tool id="covacs_frebayes" name="covacs_freebayes" version="1.2.0"> <description>Bayesian genetic variant detection, freebayes V = 1.2.0 </description> <macros> <import>covacs_macros.xml</import> <import>bed_macros.xml</import> </macros> <requirements> <requirement type="package" version="1.2.0" >freebayes</requirement> </requirements> <command> <![CDATA[ freebayes ##call chose genome from mutect2_indexes.loc and from history #if $reference_source.reference_source_selector == "cached" -f $reference_source.ref_file.fields.path #end if #if $reference_source.reference_source_selector == "history" -f $reference_source.ref_file_h #end if #if $input2 -C $input2 #end if #if $bed_source.bed_source_selector == "history" and $bed_source.bed_history -t $bed_source.bed_history #end if #if $bed_source.bed_source_selector == "cached" -t $bed_source.bed_cached.fields.path #end if $input1 > $output && perl $__tool_directory__/filter.fb.pl $output $output_filtered ]]> </command> <inputs> <expand macro="reference_loc"/> <param format="bam" name="input1" label="bam file" type="data" optional="true" /> <expand macro="bed_loc"/> <param name="input2" label="-C min-alternate-count" type="integer" value="5" optional="true"/> </inputs> <outputs> <data format="vcf" name="output" label="${tool.name} on ${on_string}:vcf"/> <data format="vcf" name="output_filtered" label="freebayes filtered on ${on_string}" /> </outputs> <help> **Currently available options** -f --fasta-reference FILE Use FILE as the reference sequence for analysis. An index file (FILE.fai) will be created if none exists. If neither --targets nor --region are specified, FreeBayes will analyze every position in this reference. -C --min-alternate-count N Require at least this count of observations supporting an alternate allele within a single individual in order to evaluate the position. -t --targets FILE Limit analysis to targets listed in the BED-format FILE. **Two output file are generated** The first output consists in a vcf file containing all the variants detected by Freebayes, the second file contains a subset of the variants filtered according to their QUAL score (QUAL >=20), see the CoVaCS paper for more details. </help> <citations> <citation type="doi">10.1186/s12864-018-4508-1</citation> <citation type="bibtex"> @misc{1207.3907, Author = {Erik Garrison}, Title = {Haplotype-based variant detection from short-read sequencing}, Year = {2012}, Eprint = {arXiv:1207.3907}, url = {http://arxiv.org/abs/1207.3907} } </citation> </citations> </tool>