Mercurial > repos > galaxy-australia > dorado_pod5_convert
annotate dorado_pod5_convert.xml @ 4:3479b06460a4 draft
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
author | galaxy-australia |
---|---|
date | Mon, 04 Nov 2024 03:26:04 +0000 |
parents | 1145758d2f0b |
children |
rev | line source |
---|---|
1
28928576e1ea
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit c42b6e3fd2cf6d26e231645a9e8a2986503279e2
galaxy-australia
parents:
0
diff
changeset
|
1 <tool id="dorado_pod5_convert" name="fast5 to pod5" version="@VERSION@+galaxy0" python_template_version="3.5" profile="24.1"> |
0
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
2 <description>converter for raw Oxford Nanopore data</description> |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
3 <macros> |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
4 <import>macros.xml</import> |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
5 </macros> |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
6 <expand macro="xrefs"/> |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
7 <expand macro="requirements"/> |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
8 <command><![CDATA[ |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
9 |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
10 mkdir input_fast5 |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
11 |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
12 && |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
13 |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
14 tar -xf '$fast5_in' -C input_fast5 |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
15 |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
16 && |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
17 |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
18 pod5 convert fast5 |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
19 --threads \${GALAXY_SLOTS:-4} |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
20 --recursive |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
21 --output output.pod5 |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
22 input_fast5 |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
23 |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
24 ]]> |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
25 </command> |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
26 <inputs> |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
27 <param name="fast5_in" type="data" format="fast5.tar" label="Oxford Nanopore raw data in fast5 format in a tar archive."/> |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
28 </inputs> |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
29 <outputs> |
1
28928576e1ea
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit c42b6e3fd2cf6d26e231645a9e8a2986503279e2
galaxy-australia
parents:
0
diff
changeset
|
30 <data format="pod5" name="pod5_out" label="${on_string} converted to pod5 from fast5" from_work_dir="output.pod5"/> |
0
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
31 </outputs> |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
32 <tests> |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
33 <test expect_num_outputs="1"> |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
34 <param name="fast5_in" ftype="fast5.tar" value="FAL00375_473bf0ed_0.ten_reads.0_0.fast5.tar"/> |
1
28928576e1ea
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit c42b6e3fd2cf6d26e231645a9e8a2986503279e2
galaxy-australia
parents:
0
diff
changeset
|
35 <output name="pod5_out" ftype="pod5"> |
0
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
36 <assert_contents> |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
37 <has_size value="519736" delta="50000"/> |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
38 </assert_contents> |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
39 </output> |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
40 </test> |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
41 <test expect_num_outputs="1"> |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
42 <param name="fast5_in" ftype="fast5.tar.gz" value="reads_in_directories.tar.gz"/> |
1
28928576e1ea
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit c42b6e3fd2cf6d26e231645a9e8a2986503279e2
galaxy-australia
parents:
0
diff
changeset
|
43 <output name="pod5_out" ftype="pod5"> |
0
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
44 <assert_contents> |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
45 <has_size value="950136" delta="90000"/> |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
46 </assert_contents> |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
47 </output> |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
48 </test> |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
49 </tests> |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
50 <help><![CDATA[ |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
51 Convert fast5 to `pod5 <https://github.com/nanoporetech/pod5-file-format>`__ for basecalling with Dorado. |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
52 |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
53 Combine all your fast5 files into a single tar archive, and optionally |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
54 compress the archive with Gzip, Bzip2 or XZ, before uploading it to |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
55 Galaxy. |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
56 |
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
57 ]]></help> |
3
1145758d2f0b
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 6961f310fe940d649523c4468ea35323b3eff257
galaxy-australia
parents:
1
diff
changeset
|
58 <expand macro="citation"/> |
0
18a8d140ec6f
planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/main/tools/dorado commit 0e768f088307f927787041b98504c594c6bcbe0f
galaxy-australia
parents:
diff
changeset
|
59 </tool> |