comparison poretools_hist.xml @ 0:47936349f3e9 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/poretools commit aee00b3755588862ab34c199c28578706c004a34
author iuc
date Tue, 19 Dec 2017 14:57:21 -0500
parents
children 5a82eb9e1b89
comparison
equal deleted inserted replaced
-1:000000000000 0:47936349f3e9
1 <?xml version="1.0"?>
2 <tool id="poretools_hist" name="Generate histogram" version="@VERSION@.0">
3 <description>of nanopore read lengths</description>
4 <macros>
5 <import>macros.xml</import>
6 </macros>
7 <expand macro="requirements" />
8 <command detect_errors="aggressive">
9 <![CDATA[
10 poretools hist '$input' --saveas histogram.$extension --min-length $min_length
11 --max-length $max_length --num-bins $num_bins $theme_bw && mv histogram.$extension '$output'
12 ]]>
13 </command>
14 <inputs>
15 <param name="input" type="data" format="h5,fast5.tar,fast5.tar.gz,fast5.tar.bz2" label="Input fast5 or archive of fast5 files" />
16 <expand macro="plot_options" />
17 <expand macro="length_options" />
18 <param name="num_bins" argument="--num-bins" type="integer" value="50" label="Number of bins in the histogram" />
19 </inputs>
20 <outputs>
21 <expand macro="image_output" />
22 </outputs>
23 <tests>
24 <test>
25 <expand macro="test_input" />
26 <param name="extension" value="png" />
27 <output name="output" file="poretools-hist-out1.png" ftype="png" lines_diff="73" />
28 </test>
29 <test>
30 <expand macro="test_input" />
31 <param name="extension" value="pdf" />
32 <output name="output" file="poretools-hist-out1.pdf" ftype="pdf" lines_diff="36" />
33 </test>
34 <test>
35 <expand macro="test_input" />
36 <param name="extension" value="svg" />
37 <output name="output" file="poretools-hist-out1.svg" ftype="svg" lines_diff="138" />
38 </test>
39 </tests>
40 <help>
41 Draw a histogram of read lengths in one or more nanopore reads.
42 </help>
43 <expand macro="citations" />
44 </tool>