Mercurial > repos > bgruening > deeptools
view bamPEFragmentSize.xml @ 56:6249d6d1cef3 draft
Uploaded
author | bgruening |
---|---|
date | Thu, 22 Jan 2015 17:43:13 -0500 |
parents | c0a054f2eff8 |
children |
line wrap: on
line source
<tool id="deeptools_bamPEFragmentSize" name="bamPEFragmentSize" version="@WRAPPER_VERSION@.0"> <description>Given a BAM file it samples several regions to estimate the paird-end fragment length</description> <expand macro="requirements" /> <expand macro="stdio" /> <macros> <token name="@BINARY@">bamPEFragmentSize</token> <import>deepTools_macros.xml</import> </macros> <command> <![CDATA[ bamPEFragmentSize @THREADS@ -bai ${bamInput.metadata.bam_index} #if $histogram: --histogram ./hist.png #end if '$bamInput' > $outfile && mv ./hist.png $histogram_outfile ]]> </command> <inputs> <param name="bamInput" format="bam" type="data" label="BAM file" help="The BAM file must be sorted."/> <param name="histogram" type="boolean" truevalue="--histogram" falsevalue="" label="Get the distribion of fragment length as histogram" help="(--histogram)"/> </inputs> <outputs> <data name="outfile" format="txt"/> <data name="histogram_outfile" 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" /> <output name="outfile" file="bamPEFragmentSize_result1.txt" ftype="txt" /> <output name="histogram_outfile" file="bamPEFragmentSize_histogram_result1.png" ftype="png" /> </test> </tests> <help> <![CDATA[ **What it does** Given a BAM file it samples several regions to estimate the paird-end fragment length. ----- @REFERENCES@ ]]> </help> <expand macro="citations" /> </tool>