annotate macros.xml @ 0:1a37f742e7d7 draft

"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
author iuc
date Fri, 12 Jun 2020 15:07:40 -0400
parents
children f98c015cebd8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
1 <?xml version="1.0"?>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
2 <macros>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
3 <token name="@TOOL_VERSION@">3.1.3</token>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
4 <token name="@TOOL_NAME@">ont_fast5_api:</token>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
5 <xml name="requirements">
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
6 <requirements>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
7 <requirement type="package" version="@TOOL_VERSION@">ont-fast5-api</requirement>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
8 <requirement type="package" version="1.10.5">hdf5</requirement>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
9 </requirements>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
10 </xml>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
11
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
12 <!-- command -->
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
13 <token name="@BATCHSIZE@"><![CDATA[
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
14 --batch_size $batch_size
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
15 ]]></token>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
16 <token name="@COMPRESSION@"><![CDATA[
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
17 #if $compression != 'none'
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
18 --compression '$compression'
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
19 #end if
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
20 ]]></token>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
21 <token name="@INITIALIZE@"><![CDATA[
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
22 mkdir -p './data' &&
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
23 tar -xf '$input_path' -C './data' &&
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
24 ]]></token>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
25 <token name="@INPUTPATH@"><![CDATA[
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
26 --input_path './data'
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
27 ]]></token>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
28 <token name="@SAVEPATH@"><![CDATA[
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
29 --save_path './results'
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
30 ]]></token>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
31 <token name="@TARBALL@"><![CDATA[
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
32 && find './results' -type f -name '*.fast5' | tar --transform 's/.*\///g' -cvf './results.fast5.tar' --files-from=/dev/stdin
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
33 ]]></token>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
34 <token name="@THREADS@"><![CDATA[
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
35 --threads \${GALAXY_SLOTS:-4}
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
36 ]]></token>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
37
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
38 <!-- input -->
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
39 <xml name="input" token_argument="--input_path" token_label="multi">
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
40 <param argument="@ARGUMENT@" type="data" format="fast5.tar" label="Select @LABEL@ read input file"/>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
41 </xml>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
42 <xml name="batch_size">
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
43 <param argument="--batch_size" type="integer" value="4000" min="1" label="Set batch size" help="Number of single reads to include in each multi read file"/>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
44 </xml>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
45 <xml name="compression">
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
46 <param argument="compression" type="select" label="Select output compression type">
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
47 <yield/>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
48 <option value="vbz_legacy_v0">VBZ legacy v0</option>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
49 <option value="gzip">GZIP</option>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
50 </param>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
51 </xml>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
52
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
53 <!-- output -->
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
54 <xml name="output">
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
55 <data name="out_results" format="fast5.tar" from_work_dir="results.fast5.tar" label="${tool.name} on ${on_string}: Results"/>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
56 </xml>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
57
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
58 <!-- help -->
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
59 <token name="@WID@"><![CDATA[
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
60 *ont_fast5_api* is a simple interface to HDF5 files of the Oxford Nanopore FAST5 file format.
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
61
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
62 - concrete implementation of the FAST5 file schema using the generic h5py library
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
63 - plain-english-named methods to interact with and reflect the FAST5 file schema
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
64 - tools to convert between multi_read and single_read formats
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
65 - tools to compress/decompress raw data in files
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
66 ]]></token>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
67 <token name="@REFERENCES@"><![CDATA[
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
68 More information are available on `github <https://github.com/nanoporetech/ont_fast5_api>`_.
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
69 ]]></token>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
70
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
71 <xml name="citations">
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
72 <citations>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
73 <citation type="bibtex">
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
74 @online{ont_fast5_api,
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
75 author = {Oxford Nanopore Technologies },
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
76 title = {ont_fast5_api},
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
77 year = 2020,
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
78 url = {https://github.com/nanoporetech/ont_fast5_api},
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
79 urldate = {2020-06-01}
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
80 }</citation>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
81 </citations>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
82 </xml>
1a37f742e7d7 "planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff changeset
83 </macros>