Mercurial > repos > devteam > samtools_bedcov
view samtools_bedcov.xml @ 4:b7ab754899d5 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_bedcov commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
| author | iuc |
|---|---|
| date | Sun, 28 Jul 2019 14:46:16 -0400 |
| parents | e371922c38e8 |
| children | 540155c5abee |
line wrap: on
line source
<tool id="samtools_bedcov" name="BedCov" version="2.0.2"> <description>calculate read depth for a set of genomic intervals</description> <macros> <import>macros.xml</import> </macros> <expand macro="requirements"/> <expand macro="stdio"/> <expand macro="version_command"/> <command><![CDATA[ @PREPARE_IDX_MULTIPLE@ samtools bedcov #if $mapq: -Q $mapq #end if $countdel '${input_bed}' #for $i in range(len( $input_bams )): '${i}' #end for > '${output}' ]]></command> <inputs> <param name="input_bed" type="data" format="bed" label="Genemic intervals (in BED format)" /> <param name="input_bams" type="data" format="bam" multiple="true" label="BAM file(s)" /> <param name="mapq" argument="-Q" type="integer" value="" optional="true" label="Minimum MAPQ" help="Only count reads with mapping quality greater than this value" /> <param name="countdel" argument="-j" type="boolean" checked="false" truevalue="-j" falsevalue="" label="Exclude deletions and ref skips" help=" Do not include deletions (D) and ref skips (N) in bedcov computation" /> </inputs> <outputs> <data name="output" format="tabular" label="${tool.name} on ${on_string}" /> </outputs> <tests> <test> <param name="input_bed" value="eboVir3.1.bed" ftype="bed" /> <param name="input_bams" value="eboVir3.bam" ftype="bam" /> <output name="output" file="samtools_bedcov_out1.tab" /> </test> <test> <param name="input_bed" value="eboVir3.1.bed" ftype="bed" /> <param name="input_bams" value="eboVir3.bam,eboVir3.2.bam" ftype="bam" /> <output name="output" file="samtools_bedcov_out2.tab" /> </test> <test> <param name="input_bed" value="eboVir3.1.bed" ftype="bed" /> <param name="input_bams" value="eboVir3.bam" ftype="bam" /> <param name="mapq" value="40"/> <output name="output" file="samtools_bedcov_out1.tab" /> </test> <test> <param name="input_bed" value="eboVir3.1.bed" ftype="bed" /> <param name="input_bams" value="eboVir3.bam,eboVir3.2.bam" ftype="bam" /> <param name="countdel" value="-j" /> <output name="output" file="samtools_bedcov_out2.tab" /> </test> </tests> <help> **What it does** Calculates read depth for regions listed in a BED dataset using ``samtools bedcov`` command:: samtools bedcov [INPUT BED] [INPUT BAM1] ... [INPUT BAMn] > [OUTPUT] </help> <expand macro="citations"/> </tool>
