Mercurial > repos > iuc > bedtools
view bedToBam.xml @ 12:7b3aaff0d78c draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit e5664837d1ea4575f87a9e963f5d4e18a82d51d5
author | iuc |
---|---|
date | Fri, 28 Oct 2016 12:54:40 -0400 |
parents | 607c0576c6ab |
children | 44867b59dbf2 |
line wrap: on
line source
<tool id="bedtools_bedtobam" name="BED to BAM" version="@WRAPPER_VERSION@.0"> <description>converter</description> <macros> <import>macros.xml</import> </macros> <expand macro="requirements" /> <expand macro="stdio" /> <command> <![CDATA[ bedtools bedtobam $bed12 -mapq $mapq -g $genome -i '$input' > '$output' ]]> </command> <inputs> <param format="bed" name="input" type="data" label="Convert the following BED file to BAM"/> <param name="bed12" type="boolean" truevalue="-bed12" falsevalue="" checked="false" label="Indicate that the input BED file is in BED12 (a.k.a 'blocked' BED) format" help="If Selected, bedToBam will convert blocked BED features (e.g., gene annotaions) into 'spliced' BAM alignments by creating an appropriate CIGAR string. (-bed12)"/> <expand macro="genome" /> <param name="mapq" type="integer" value="255" label="Set a mapping quality (SAM MAPQ field) value for all BED entries" help="(-mapq)"/> </inputs> <outputs> <data format="bam" name="output" metadata_source="input" label="${input.name} (as BAM)"/> </outputs> <tests> <test> <param name="input" value="bedToBam1.bed" ftype="bed" /> <param name="genome" value="mm9_chr1.len" ftype="tabular" /> <output name="output" file="bedToBam_result.bam" lines_diff="4" ftype="bam" /> </test> </tests> <help> <![CDATA[ **What it does** bedToBam converts features in a feature file to BAM format. This is useful as an efficient means of storing large genome annotations in a compact, indexed format for visualization purposes. @REFERENCES@ ]]> </help> <expand macro="citations" /> </tool>