Mercurial > repos > iuc > ont_fast5_api_compress_fast5
annotate macros.xml @ 0:7147b894702a draft
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
author | iuc |
---|---|
date | Fri, 12 Jun 2020 15:08:47 -0400 |
parents | |
children | 82c6009bc120 |
rev | line source |
---|---|
0
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
2 <macros> |
7147b894702a
"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> |
7147b894702a
"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> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
5 <xml name="requirements"> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
6 <requirements> |
7147b894702a
"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> |
7147b894702a
"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> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
9 </requirements> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
10 </xml> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
11 |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
12 <!-- command --> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
13 <token name="@BATCHSIZE@"><![CDATA[ |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
14 --batch_size $batch_size |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
15 ]]></token> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
16 <token name="@COMPRESSION@"><![CDATA[ |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
17 #if $compression != 'none' |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
18 --compression '$compression' |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
19 #end if |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
20 ]]></token> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
21 <token name="@INITIALIZE@"><![CDATA[ |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
22 mkdir -p './data' && |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
23 tar -xf '$input_path' -C './data' && |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
24 ]]></token> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
25 <token name="@INPUTPATH@"><![CDATA[ |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
26 --input_path './data' |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
27 ]]></token> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
28 <token name="@SAVEPATH@"><![CDATA[ |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
29 --save_path './results' |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
30 ]]></token> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
31 <token name="@TARBALL@"><![CDATA[ |
7147b894702a
"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 |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
33 ]]></token> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
34 <token name="@THREADS@"><![CDATA[ |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
35 --threads \${GALAXY_SLOTS:-4} |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
36 ]]></token> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
37 |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
38 <!-- input --> |
7147b894702a
"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"> |
7147b894702a
"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"/> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
41 </xml> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
42 <xml name="batch_size"> |
7147b894702a
"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"/> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
44 </xml> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
45 <xml name="compression"> |
7147b894702a
"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"> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
47 <yield/> |
7147b894702a
"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> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
49 <option value="gzip">GZIP</option> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
50 </param> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
51 </xml> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
52 |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
53 <!-- output --> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
54 <xml name="output"> |
7147b894702a
"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"/> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
56 </xml> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
57 |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
58 <!-- help --> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
59 <token name="@WID@"><![CDATA[ |
7147b894702a
"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. |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
61 |
7147b894702a
"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 |
7147b894702a
"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 |
7147b894702a
"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 |
7147b894702a
"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 |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
66 ]]></token> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
67 <token name="@REFERENCES@"><![CDATA[ |
7147b894702a
"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>`_. |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
69 ]]></token> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
70 |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
71 <xml name="citations"> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
72 <citations> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
73 <citation type="bibtex"> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
74 @online{ont_fast5_api, |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
75 author = {Oxford Nanopore Technologies }, |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
76 title = {ont_fast5_api}, |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
77 year = 2020, |
7147b894702a
"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}, |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
79 urldate = {2020-06-01} |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
80 }</citation> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
81 </citations> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
82 </xml> |
7147b894702a
"planemo upload for repository https://github.com/nanoporetech/ont_fast5_api/ commit a5d038871ff0e1b133039b59183dee795449b383"
iuc
parents:
diff
changeset
|
83 </macros> |