annotate canu.xml @ 3:5732f959936a draft

"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
author bgruening
date Mon, 15 Feb 2021 12:31:26 +0000
parents c5b7390290b1
children 86f150c8019d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
1 <tool id="canu" name="Canu assembler" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
2 <description>Assembler optimized for long error-prone reads such as PacBio, Oxford Nanopore</description>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
3 <xrefs>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
4 <xref type="bio.tools">canu</xref>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
5 </xrefs>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
6 <macros>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
7 <token name="@TOOL_VERSION@">2.1.1</token>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
8 <token name="@VERSION_SUFFIX@">0</token>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
9 </macros>
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
10 <requirements>
3
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
11 <requirement type="package" version="@TOOL_VERSION@">canu</requirement>
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
12 </requirements>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
13 <version_command>canu --version</version_command>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
14 <command detect_errors="exit_code">
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
15 <![CDATA[
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
16
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
17 #for $counter, $input in enumerate($inputs):
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
18 #if $input.ext in ['fastq.gz', 'fasta.gz']
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
19 ## linking does not work
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
20 cp '$input' ./input_${counter}.gz &&
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
21 #end if
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
22 #end for
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
23
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
24 canu
1
58346ef3116b planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 21c4301d86a46ba48759ffeb4a0b7f3c269558e4
bgruening
parents: 0
diff changeset
25 #if $stage != 'all':
58346ef3116b planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 21c4301d86a46ba48759ffeb4a0b7f3c269558e4
bgruening
parents: 0
diff changeset
26 $stage
58346ef3116b planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 21c4301d86a46ba48759ffeb4a0b7f3c269558e4
bgruening
parents: 0
diff changeset
27 #end if
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
28 -p canu
3
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
29 -d ./out_dir
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
30 #if $s:
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
31 -s '$s'
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
32 #end if
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
33 #if $rawErrorRate:
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
34 rawErrorRate=$rawErrorRate
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
35 #end if
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
36 #if $correctedErrorRate:
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
37 correctedErrorRate=$correctedErrorRate
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
38 #end if
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
39 minReadLength=$minReadLength
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
40 minOverlapLength=$minOverlapLength
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
41 corOutCoverage=$corOutCoverage
3
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
42 #if $stopOnLowCoverage
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
43 stopOnLowCoverage=$stopOnLowCoverage
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
44 #end if
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
45 #if $minInputCoverage
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
46 minInputCoverage=$minInputCoverage
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
47 #end if
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
48 contigFilter='
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
49 ${contigFilter.minReads}
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
50 ${contigFilter.minLength}
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
51 ${contigFilter.singleReadSpan}
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
52 ${contigFilter.lowCovSpan}
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
53 ${contigFilter.lowCovDepth}
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
54 '
3
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
55
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
56 genomeSize='$genomeSize'
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
57 minThreads=\${GALAXY_SLOTS:-4}
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
58 maxThreads=\${GALAXY_SLOTS:-4}
3
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
59 redMemory=\${GALAXY_MEMORY_MB:-4096}M
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
60 redThreads=\${GALAXY_SLOTS:-4}
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
61 obtovlThreads=\${GALAXY_SLOTS:-4}
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
62 utgovlThreads=\${GALAXY_SLOTS:-4}
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
63 batThreads=\${GALAXY_SLOTS:-4}
2
c5b7390290b1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit ecd77cd558a9b941fd0dfb71c4e534feba3ee7da
bgruening
parents: 1
diff changeset
64 batMemory=\${GALAXY_MEMORY_MB:-4096}M
c5b7390290b1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit ecd77cd558a9b941fd0dfb71c4e534feba3ee7da
bgruening
parents: 1
diff changeset
65 cormhapMemory=\${GALAXY_MEMORY_MB:-4096}M
c5b7390290b1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit ecd77cd558a9b941fd0dfb71c4e534feba3ee7da
bgruening
parents: 1
diff changeset
66 obtovlMemory=\${GALAXY_MEMORY_MB:-4096}M
c5b7390290b1 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit ecd77cd558a9b941fd0dfb71c4e534feba3ee7da
bgruening
parents: 1
diff changeset
67 utgovlMemory=\${GALAXY_MEMORY_MB:-4096}M
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
68 corThreads=\${GALAXY_SLOTS:-4}
3
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
69 corMemory=\${GALAXY_MEMORY_MB:-4096}M
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
70 cnsThreads=\${GALAXY_SLOTS:-4}
3
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
71 cnsMemory=\${GALAXY_MEMORY_MB:-4096}M
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
72 oeaMemory=\${GALAXY_MEMORY_MB:-4096}M
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
73 oeaThreads=\${GALAXY_SLOTS:-4}
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
74 useGrid=false
3
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
75
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
76 #for $haplotype in $haplotypes:
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
77 -haplotype${haplotype.haplotype_name} '${haplotype.haplotype_input}'
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
78 #end for
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
79
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
80 $technology
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
81 #if $processing:
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
82 $processing
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
83 #end if
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
84
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
85 #for $counter, $input in enumerate($inputs):
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
86 #if $input.ext in ['fastq.gz', 'fasta.gz']
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
87 ./input_${counter}.gz
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
88 #else:
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
89 '$input'
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
90 #end if
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
91 #end for
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
92 2>&1
3
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
93
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
94 ]]>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
95 </command>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
96 <inputs>
3
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
97 <param name="inputs" type="data" format="fasta,fasta.gz,fastq,fastq.gz" multiple="true" label="Input reads"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
98 <repeat name="haplotypes" min="0" max="2" title="Haplotypes for Trio Binning Assembly" help="Canu has support for using parental short-read sequencing to classify and bin">
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
99 <param name="haplotype_input" type="data" format="fasta,fastq" multiple="true" label="Haplotype input reads"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
100 <param name="haplotype_name" type="text" label="Shot name to identify your haplotype"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
101 </repeat>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
102 <param name="technology" type="select" label="Technology">
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
103 <option value="-nanopore" selected="true">Nanopore</option>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
104 <option value="-pacbio">PacBio</option>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
105 <option value="-pacbio-hifi">PacBio HiFi</option>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
106 </param>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
107 <param name="processing" type="select" optional="true" label="Processing">
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
108 <option value="-corrected">Corrected</option>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
109 <option value="-trimmed">Trimmed</option>
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
110 </param>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
111 <param name="stage" type="select" label="To restrict canu to only a specific stage, use">
1
58346ef3116b planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 21c4301d86a46ba48759ffeb4a0b7f3c269558e4
bgruening
parents: 0
diff changeset
112 <option value="all" selected="true">all</option>
3
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
113 <option value="-haplotype">generate haplotype-specific reads</option>
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
114 <option value="-correct">generate corrected reads</option>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
115 <option value="-trim">generate trimmed reads</option>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
116 <option value="-assemble">generate an assembly</option>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
117 <option value="-trim-assemble">generate trimmed reads and then assemble them</option>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
118 </param>
3
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
119 <param argument="genomeSize" type="text" label="Estimated genome size (e.g. 8.0m, 15k, 2g)">
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
120 <validator type="empty_field"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
121 <validator type="expression" message="Only values similar to 8.0m, 15k or 2g are allowed.">value.replace('.', '').isalnum() and value[-1] in ['m', 'k', 'g'] and float(value[:-1])</validator>
1
58346ef3116b planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 21c4301d86a46ba48759ffeb4a0b7f3c269558e4
bgruening
parents: 0
diff changeset
122 </param>
3
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
123 <param argument="rawErrorRate" type="float" value="" optional="true" min="0" max="1" label="Maximum raw overlap mismatch" help="The defaults are 0.300 for PacBio reads and 0.500 for Nanopore reads."/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
124 <param argument="correctedErrorRate" type="float" value="" optional="true" min="0" max="1" label="Maximum corrected overlap mismatch" help="The allowed difference in an overlap between two corrected reads. Assemblies of low coverage or data with biological differences will benefit from a slight increase in this. Defaults are 0.045 for PacBio reads and 0.144 for Nanopore reads."/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
125 <param argument="minReadLength" type="integer" value="1000" min="1" label="Minimum read length"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
126 <param argument="minOverlapLength" type="integer" value="500" min="1" label="Minimum overlap"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
127 <param argument="minInputCoverage" type="integer" value="" min="1" optional="true" label="Minimum Input Coverage"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
128 <param argument="corOutCoverage" type="integer" value="40" min="1" label="Target coverage for corrected reads"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
129 <param argument="-s" type="data" format="txt" optional="true" label="Additonal options" help="Additional specifications provided in a canu spec file."/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
130 <param argument="stopOnLowCoverage" type="integer" value="10" min="1" label="Stop the assembly if read coverage is too low to be useful" help="Coverage is checked whene when input sequences are initially loaded into the sequence store, when corrected reads are generated, and when read ends are trimmed off."/>
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
131 <section name="contigFilter" title="Contig Filters">
3
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
132 <param argument="minReads" type="integer" value="2" min="0" label="Minimum reads"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
133 <param argument="minLength" type="integer" value="0" min="0" label="Minimum length"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
134 <param argument="singleReadSpan" type="float" value="1.0" min="0.0" max="1.0" label="Maximum single read span (fraction)"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
135 <param argument="lowCovSpan" type="float" value="0.5" min="0.0" max="1.0" label="Low coverage span (fraction)"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
136 <param argument="lowCovDepth" type="integer" value="5" min="0" label="Low coverage depth"/>
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
137 </section>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
138 </inputs>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
139 <outputs>
3
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
140 <data name="report" format="txt" from_work_dir="out_dir/canu.report" label="${tool.name} on ${on_string} (report)"/>
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
141 <data name="contigs" format="fasta" from_work_dir="out_dir/canu.contigs.fasta" label="${tool.name} on ${on_string} (contigs)">
1
58346ef3116b planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 21c4301d86a46ba48759ffeb4a0b7f3c269558e4
bgruening
parents: 0
diff changeset
142 <filter>stage == 'all'</filter>
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
143 </data>
1
58346ef3116b planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 21c4301d86a46ba48759ffeb4a0b7f3c269558e4
bgruening
parents: 0
diff changeset
144 <data name="unassembled" format="fasta" from_work_dir="out_dir/canu.unassembled.fasta" label="${tool.name} on ${on_string} (unassembled)">
58346ef3116b planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 21c4301d86a46ba48759ffeb4a0b7f3c269558e4
bgruening
parents: 0
diff changeset
145 <filter>stage == 'all'</filter>
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
146 </data>
1
58346ef3116b planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 21c4301d86a46ba48759ffeb4a0b7f3c269558e4
bgruening
parents: 0
diff changeset
147 <data name="corrected_reads" format="fasta.gz" from_work_dir="out_dir/canu.correctedReads.fasta.gz" label="${tool.name} on ${on_string} (corrected reads)">
58346ef3116b planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 21c4301d86a46ba48759ffeb4a0b7f3c269558e4
bgruening
parents: 0
diff changeset
148 <filter>'-correct' in stage or stage == 'all'</filter>
58346ef3116b planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 21c4301d86a46ba48759ffeb4a0b7f3c269558e4
bgruening
parents: 0
diff changeset
149 </data>
58346ef3116b planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 21c4301d86a46ba48759ffeb4a0b7f3c269558e4
bgruening
parents: 0
diff changeset
150 <data name="trimmed_reads" format="fasta.gz" from_work_dir="out_dir/canu.trimmedReads.fasta.gz" label="${tool.name} on ${on_string} (trimmed reads)">
58346ef3116b planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 21c4301d86a46ba48759ffeb4a0b7f3c269558e4
bgruening
parents: 0
diff changeset
151 <filter>'-trim' in stage or stage == 'all'</filter>
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
152 </data>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
153 </outputs>
3
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
154 <tests>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
155 <test expect_num_outputs="5">
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
156 <param name="inputs" ftype="fasta" value="ecoli-reads.fasta"/>
3
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
157 <param name="technology" value="-nanopore"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
158 <param name="genomeSize" value="20k"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
159 <param name="stopOnLowCoverage" value="1"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
160 <param name="minInputCoverage" value="1"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
161 <param name="minReadLength" value="2000"/>
1
58346ef3116b planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 21c4301d86a46ba48759ffeb4a0b7f3c269558e4
bgruening
parents: 0
diff changeset
162 <output name="contigs" ftype="fasta" file="ecoli_canu_contigs_result1.fa"/>
58346ef3116b planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 21c4301d86a46ba48759ffeb4a0b7f3c269558e4
bgruening
parents: 0
diff changeset
163 <output name="unassembled" ftype="fasta" file="ecoli_canu_unassembled_result1.fa"/>
58346ef3116b planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 21c4301d86a46ba48759ffeb4a0b7f3c269558e4
bgruening
parents: 0
diff changeset
164 <output name="corrected_reads" ftype="fasta.gz" decompress="True" file="ecoli_canu_corrected_reads_result1.fa.gz"/>
58346ef3116b planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 21c4301d86a46ba48759ffeb4a0b7f3c269558e4
bgruening
parents: 0
diff changeset
165 <output name="trimmed_reads" ftype="fasta.gz" decompress="True" file="ecoli_canu_trimmed_reads_result1.fa.gz"/>
3
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
166 <output name="report">
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
167 <assert_contents>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
168 <has_n_lines n="488"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
169 <has_text_matching expression="[UNITIGGING/CONTIGS]"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
170 <has_text_matching expression="-- Contig sizes based on genome size 20kbp:"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
171 </assert_contents>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
172 </output>
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
173 </test>
1
58346ef3116b planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 21c4301d86a46ba48759ffeb4a0b7f3c269558e4
bgruening
parents: 0
diff changeset
174 <test expect_num_outputs="5">
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
175 <param name="inputs" ftype="fasta" value="ecoli-reads.fasta"/>
3
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
176 <param name="technology" value="-nanopore"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
177 <param name="genomeSize" value="20k"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
178 <param name="stopOnLowCoverage" value="1"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
179 <param name="minInputCoverage" value="1"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
180 <param name="minReadLength" value="2000"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
181 <param name="minOverlapLength" value="800"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
182 <param name="rawErrorRate" value="0.2"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
183 <param name="correctedErrorRate" value="0.05"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
184 <param name="corOutCoverage" value="2"/>
1
58346ef3116b planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 21c4301d86a46ba48759ffeb4a0b7f3c269558e4
bgruening
parents: 0
diff changeset
185 <output name="contigs" ftype="fasta" file="ecoli_canu_contigs_result2.fa"/>
58346ef3116b planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 21c4301d86a46ba48759ffeb4a0b7f3c269558e4
bgruening
parents: 0
diff changeset
186 <output name="unassembled" ftype="fasta" file="ecoli_canu_unassembled_result2.fa"/>
58346ef3116b planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 21c4301d86a46ba48759ffeb4a0b7f3c269558e4
bgruening
parents: 0
diff changeset
187 <output name="corrected_reads" ftype="fasta.gz" decompress="True" file="ecoli_canu_corrected_reads_result2.fa.gz"/>
58346ef3116b planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 21c4301d86a46ba48759ffeb4a0b7f3c269558e4
bgruening
parents: 0
diff changeset
188 <output name="trimmed_reads" ftype="fasta.gz" decompress="True" file="ecoli_canu_trimmed_reads_result2.fa.gz"/>
3
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
189 <output name="report">
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
190 <assert_contents>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
191 <has_n_lines n="464"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
192 <has_text_matching expression="[UNITIGGING/CONTIGS]"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
193 <has_text_matching expression="-- Contig sizes based on genome size 20kbp:"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
194 </assert_contents>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
195 </output>
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
196 </test>
3
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
197 <test expect_num_outputs="2">
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
198 <param name="inputs" ftype="fasta" value="ecoli-reads.fasta"/>
3
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
199 <param name="technology" value="-nanopore"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
200 <param name="genomeSize" value="20k"/>
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
201 <param name="stage" value="-correct"/>
3
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
202 <param name="stopOnLowCoverage" value="1"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
203 <param name="minReadLength" value="2500"/>
1
58346ef3116b planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 21c4301d86a46ba48759ffeb4a0b7f3c269558e4
bgruening
parents: 0
diff changeset
204 <output name="corrected_reads" ftype="fasta.gz" decompress="True" file="ecoli_canu_corrected_reads_result3.fa.gz"/>
3
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
205 <output name="report">
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
206 <assert_contents>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
207 <has_n_lines n="187"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
208 <has_text_matching expression="[TRIMMING/READS]"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
209 <has_text_matching expression="-- Found 89 reads."/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
210 </assert_contents>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
211 </output>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
212 </test>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
213 <!--trimming test - it does currently not trim anything due to the input data -->
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
214 <test expect_num_outputs="2">
1
58346ef3116b planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 21c4301d86a46ba48759ffeb4a0b7f3c269558e4
bgruening
parents: 0
diff changeset
215 <param name="inputs" ftype="fasta" value="ecoli-reads.fasta"/>
3
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
216 <param name="technology" value="-nanopore"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
217 <param name="genomeSize" value="3.4m"/>
1
58346ef3116b planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 21c4301d86a46ba48759ffeb4a0b7f3c269558e4
bgruening
parents: 0
diff changeset
218 <param name="stage" value="-trim"/>
3
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
219 <param name="minReadLength" value="500"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
220 <output name="report">
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
221 <assert_contents>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
222 <has_text_matching expression="[TRIMMING/READS]"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
223 <has_n_lines n="6"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
224 <has_text_matching expression="Found 0 reads."/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
225 </assert_contents>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
226 </output>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
227 </test>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
228 <!--test expect_num_outputs="5">
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
229 <param name="inputs" ftype="fasta" value="ecoli-reads.fasta"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
230 <param name="technology" value="-pacbio"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
231 <repeat name="haplotypes">
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
232 <param name="haplotype_name" value="K12"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
233 <param name="haplotype_input" ftype="fasta" value="ecoli-reads.fasta"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
234 </repeat>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
235 <repeat name="haplotypes">
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
236 <param name="haplotype_name" value="K13"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
237 <param name="haplotype_input" ftype="fasta" value="ecoli-reads.fasta"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
238 </repeat>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
239 <param name="genomeSize" value="20k"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
240 <param name="stopOnLowCoverage" value="1"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
241 <param name="minInputCoverage" value="1"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
242 <param name="minReadLength" value="2000"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
243 <output name="contigs" ftype="fasta" file="ecoli_canu_contigs_result5.fa"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
244 <output name="unassembled" ftype="fasta" file="ecoli_canu_unassembled_result5.fa"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
245 <output name="corrected_reads" ftype="fasta.gz" decompress="True" file="ecoli_canu_corrected_reads_result5.fa.gz"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
246 <output name="trimmed_reads" ftype="fasta.gz" decompress="True" file="ecoli_canu_trimmed_reads_result5.fa.gz"/>
5732f959936a "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit 7000c7eb839b77a0e7e91874048219bd3a3f5d47"
bgruening
parents: 2
diff changeset
247 </test-->
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
248 </tests>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
249 <help>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
250 <![CDATA[
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
251
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
252 Canu specializes in assembling PacBio or Oxford Nanopore sequences. Canu operates in three phases: correction, trimming and assembly.
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
253 The correction phase will improve the accuracy of bases in reads. The trimming phase will trim reads to the portion that appears to
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
254 be high-quality sequence, removing suspicious regions such as remaining SMRTbell adapter. The assembly phase will order the reads
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
255 into contigs, generate consensus sequences and create graphs of alternate paths.
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
256
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
257 For eukaryotic genomes, coverage more than 20x is enough to outperform current hybrid methods, however, between 30x and 60x
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
258 coverage is the recommended minimum. More coverage will let Canu use longer reads for assembly, which will result in better assemblies.
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
259
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
260 http://canu.readthedocs.io
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
261
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
262 ]]>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
263 </help>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
264 <citations>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
265 <citation type="doi">10.1101/gr.215087.116</citation>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
266 <citation type="doi">10.1093/bioinformatics/btw753</citation>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
267 <citation type="doi">10.1038/nbt.3238</citation>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
268 <citation type="doi">10.1126/science.287.5461.2196</citation>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
269 <citation type="doi">10.1038/nmeth.4035</citation>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
270 <citation type="doi">10.1038/nmeth.2474</citation>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
271 </citations>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
272 </tool>