Mercurial > repos > bgruening > deeptools
diff bamPEFragmentSize.xml @ 30:5231f398d784 draft
planemo upload for repository https://github.com/fidelram/deepTools/tree/master/galaxy/wrapper/ commit 3bc1d1c6f4e28ac7ff8df79fe4e3f00a195938e6-dirty
author | bgruening |
---|---|
date | Tue, 20 Oct 2015 14:43:12 -0400 |
parents | 3a2aab18a217 |
children |
line wrap: on
line diff
--- a/bamPEFragmentSize.xml Tue Sep 16 13:46:05 2014 -0400 +++ b/bamPEFragmentSize.xml Tue Oct 20 14:43:12 2015 -0400 @@ -1,27 +1,22 @@ <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" /> + <description>Given a BAM file it samples several regions to estimate the paired-end fragment length</description> <macros> <token name="@BINARY@">bamPEFragmentSize</token> <import>deepTools_macros.xml</import> </macros> + <expand macro="requirements" /> <command> <![CDATA[ bamPEFragmentSize - - @THREADS@ - - --bam '$bamInput' - --bamIndex ${bamInput.metadata.bam_index} - #if $histogram: - --histogram $histogram_outfile - #end if - > $outfile - + @THREADS@ + -bai ${bamInput.metadata.bam_index} + #if $histogram: + --histogram ./hist.png + #end if + '$bamInput' + > $outfile ]]> </command> - <inputs> <param name="bamInput" format="bam" type="data" label="BAM file" help="The BAM file must be sorted."/> @@ -30,13 +25,21 @@ help="(--histogram)"/> </inputs> <outputs> - <data format="txt" name="outfile" label="${tool.name} on ${on_string}" /> - <data name="histogram_outfile" format="tabular" from_work_dir="quant_bias_corrected.sf" label="${tool.name} on ${on_string} (Bias corrected Quantification)"> - <filter>histogram == '--histogram'</filter> + <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" /> + <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** Given a BAM file it samples several regions to estimate the paird-end fragment length. @@ -44,7 +47,7 @@ ----- @REFERENCES@ - +]]> </help> <expand macro="citations" /> </tool>