Mercurial > repos > iuc > deeptools_bam_pe_fragmentsize
view bamPEFragmentSize.xml @ 0:870935826b58 draft default tip
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 0a9265a12a303b54cdaa974e82e87c2ac60962ee-dirty
author | iuc |
---|---|
date | Mon, 25 Jan 2016 20:10:51 -0500 |
parents | |
children |
line wrap: on
line source
<tool id="deeptools_bam_pe_fragmentsize" name="bamPEFragmentSize" version="@WRAPPER_VERSION@.0"> <description>Estimate the paired-end fragment length in a BAM file</description> <macros> <token name="@BINARY@">bamPEFragmentSize</token> <import>deepTools_macros.xml</import> </macros> <expand macro="requirements" /> <command> <![CDATA[ ln -s $bamInput one.bam && ln -s '${bamInput.metadata.bam_index}' one.bam.bai && @BINARY@ @THREADS@ #if $histogram: --histogram ./hist.png #end if --plotTitle "$plotTitle" one.bam > $outfile ]]> </command> <inputs> <param name="bamInput" format="bam" type="data" label="BAM file" help="The BAM file must be sorted."/> <param argument="--histogram" type="boolean" truevalue="--histogram" falsevalue="" label="Get the distribution of fragment lengths as a histogram" help=""/> <expand macro="plotTitle" /> </inputs> <outputs> <data name="outfile" format="txt"/> <data name="histogram_outfile" from_work_dir="hist.png" format="png"> <filter>histogram is True</filter> </data> </outputs> <tests> <test> <param name="bamInput" value="bowtie2-test1.bam" ftype="bam" /> <param name="histogram" value="True" /> <param name="plotTitle" value="Test Plot" /> <output name="outfile" file="bamPEFragmentSize_result1.txt" ftype="txt" /> <output name="histogram_outfile" file="bamPEFragmentSize_histogram_result1.png" ftype="png" compare="sim_size" /> </test> </tests> <help> <![CDATA[ **What it does** This tool samples a BAM file containing paired-end data to estimate the fragment length distribution. Properly paired reads are preferred for computation. The output can be obtained as a histogram. ----- @REFERENCES@ ]]> </help> <expand macro="citations" /> </tool>