annotate dorado_trimming.xml @ 1:7ff7680fa713 draft default tip

planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
author galaxy-australia
date Mon, 11 Nov 2024 03:05:14 +0000
parents 1957f881bdf4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
1 <tool id="dorado_trimming" name="Dorado adapter and primer trimming" version="@VERSION@+galaxy1" python_template_version="3.5" profile="24.1">
0
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
2 <description>for Oxford Nanopore (ONT) DNA reads</description>
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
3 <macros>
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
4 <import>macros.xml</import>
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
5 </macros>
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
6 <expand macro="xrefs"/>
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
7 <expand macro="requirements"/>
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
9
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
10 ln -s '$reads' ./reads
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
11
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
12 &&
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
13
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
14 dorado trim
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
15 --verbose
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
16 --threads "\${GALAXY_SLOTS}"
1
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
17 #if $trim_primers.no_trim_primers == 'dont_trim'
0
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
18 --no-trim-primers
1
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
19 #else if $trim_primers.primer_sequences
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
20 --primer-sequences '${trim_primers.primer_sequences}'
0
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
21 #end if
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
22 reads
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
23 > trimmed.bam
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
24
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
25 &&
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
26
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
27 dorado summary
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
28 trimmed.bam
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
29 > summary.tsv
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
30
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
31
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
32 ]]></command>
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
33 <inputs>
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
34 <param name="reads" type="data" format="bam,fastqsanger,unsorted.bam" label="Existing, basecalled DNA dataset" help="Note: this tool does not support trimming adaptors from RNA reads. These need to be removed during basecalling."/>
1
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
35 <conditional name="trim_primers">
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
36 <param argument="--no-trim-primers" type="select" label="Enable primer trimming" help="Selecting 'No' prevents the trimming of primer sequences. In this case only adapter sequences will be trimmed.">
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
37 <option value="trim" selected="true">Yes</option>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
38 <option value="dont_trim">No</option>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
39 </param>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
40 <when value="trim">
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
41 <param argument="--primer-sequences" type="data" format="fasta" optional="true" label="Custom primer sequences" help="You can specify an alternative set of primer sequences to search for when trimming by adding a FASTA file containing the primer sequences you want to search for. The record names of the sequences do not matter. Note that if you use this option the normal primer sequences built-in to the dorado software will not be searched for."/>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
42 </when>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
43 <when value="dont_trim"/>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
44 </conditional>
0
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
45 </inputs>
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
46 <outputs>
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
47 <data format="unsorted.bam" name="out_bam" label="Reads from ${on_string} trimmed by the ${tool.name} tool" from_work_dir="trimmed.bam"/>
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
48 <data format="tsv" name="out_tsv" label="${tool.name} sequencing summary for ${on_string}" from_work_dir="summary.tsv"/>
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
49 </outputs>
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
50 <tests>
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
51 <test expect_num_outputs="2">
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
52 <param name="reads" value="FAL00375_473bf0ed_0.ten_reads.bam"/>
1
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
53 <output name="out_bam" ftype="unsorted.bam">
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
54 <assert_contents>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
55 <has_size size="60725" delta="6000"/>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
56 </assert_contents>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
57 </output>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
58 <output name="out_tsv" ftype="tsv">
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
59 <assert_contents>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
60 <has_text text="002f231b-5d37-437f-a027-a2e8b872e73b"/>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
61 </assert_contents>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
62 </output>
0
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
63 </test>
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
64 <test expect_num_outputs="2">
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
65 <param name="reads" value="FAL00375_473bf0ed_0.ten_reads.bam"/>
1
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
66 <param name="no_trim_primers" value="dont_trim"/>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
67 <output name="out_bam" ftype="unsorted.bam">
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
68 <assert_contents>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
69 <has_size size="60628" delta="6000"/>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
70 </assert_contents>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
71 </output>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
72 <output name="out_tsv" ftype="tsv">
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
73 <assert_contents>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
74 <has_text text="00777c4b-cbd6-4a79-8647-bbe5f5f3f3bf"/>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
75 </assert_contents>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
76 </output>
0
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
77 </test>
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
78 <test expect_num_outputs="2">
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
79 <param name="reads" value="lsk109_single_read.fastqsanger.gz" ftype="fastqsanger.gz"/>
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
80 <param name="primer_sequences" value="custom_primers.fasta.gz" ftype="fasta.gz"/>
1
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
81 <output name="out_bam" ftype="unsorted.bam">
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
82 <assert_contents>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
83 <has_size size="798" delta="100"/>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
84 </assert_contents>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
85 </output>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
86 <output name="out_tsv" ftype="tsv">
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
87 <assert_contents>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
88 <has_text text="2f707b6e-0060-4f33-9c92-a1230d26cb21"/>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
89 </assert_contents>
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
90 </output>
0
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
91 </test>
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
92 </tests>
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
93 <help><![CDATA[
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
94 Detect and remove any adapter and/or primer sequences from the beginning
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
95 and end of DNA reads using Oxford Nanopore’s open source
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
96 `Dorado <https://github.com/nanoporetech/dorado/>`__ basecaller.
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
97
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
98 This tool scans existing, basecalled datasets for adapter and/or primer
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
99 sequences at either end, and trims any such found sequences.
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
100
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
101 **If you have raw (un-basecalled) data, you can trim them during
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
102 basecalling with the Dorado tool on Galaxy**.
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
103
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
104 Note that if you intend to demultiplex the reads later, trimming
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
105 adapters and primers may result in some portions of the flanking regions
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
106 of the barcodes being removed, which could interfere with correct
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
107 demultiplexing.
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
108
1
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
109 The **Enable primer trimming** option can be set to 'No' to prevent the
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
110 trimming of primer sequences. If you select 'No', only adapter sequences will
7ff7680fa713 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 42ce963fae778982b4aab4ef3b1e88480dea5053
galaxy-australia
parents: 0
diff changeset
111 be trimmed.
0
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
112
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
113 The output of will always be unaligned records, regardless of whether
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
114 the input is aligned/sorted or not.
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
115
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
116 Custom primer trimming
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
117 ----------------------
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
118
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
119 The software automatically searches for primer sequences used in Oxford
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
120 Nanopore kits. However, you can specify an alternative set of primer
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
121 sequences to search by adding a FASTA file of primer sequences in the
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
122 **Custom primer sequences** option. The record names of the sequences do
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
123 not matter. Note that if you use this option the normal primer sequences
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
124 built-in to the dorado software will not be searched for.
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
125
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
126 RNA adapter trimming
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
127 --------------------
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
128
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
129 Adapters for RNA002 and RNA004 kits are automatically trimmed during
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
130 basecalling. However, unlike in DNA, the RNA adapter cannot be trimmed
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
131 post-basecalling.
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
132 ]]></help>
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
133 <expand macro="citation"/>
1957f881bdf4 planemo upload for repository https://github.com/usegalaxy-au/tools-au/tree/master/tools/dorado commit 8f48f7ee85162eeaa9c0247c7bb7d699f84d6ca7
galaxy-australia
parents:
diff changeset
134 </tool>