annotate canu.xml @ 0:4c8f32256fa8 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
author bgruening
date Fri, 08 Jun 2018 04:43:41 -0400
parents
children 58346ef3116b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
1 <tool id="canu" name="Canu assembler" version="1.7">
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
2 <description>Assembler optimized for long error-prone reads such as PacBio, Oxford Nanopore </description>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
3 <requirements>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
4 <requirement type="package" version="1.7">canu</requirement>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
5 </requirements>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
6 <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
7 <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
8 <![CDATA[
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
9
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
10 #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
11 #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
12 ## linking does not work
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
13 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
14 #end if
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
15 #end for
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 canu
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
18 $stage
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
19 -p canu
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
20 -d out_dir
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
21 #if $s:
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
22 -s '$s'
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
23 #end if
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
24 genomeSize=$genomeSize
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
25 #if $rawErrorRate:
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
26 rawErrorRate=$rawErrorRate
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
27 #end if
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
28 #if $correctedErrorRate:
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
29 correctedErrorRate=$correctedErrorRate
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
30 #end if
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
31 minReadLength=$minReadLength
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
32 minOverlapLength=$minOverlapLength
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
33 corOutCoverage=$corOutCoverage
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
34 contigFilter='
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
35 ${contigFilter.minReads}
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
36 ${contigFilter.minLength}
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
37 ${contigFilter.singleReadSpan}
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
38 ${contigFilter.lowCovSpan}
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
39 ${contigFilter.lowCovDepth}
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
40 '
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
41 genomeSize=$genomeSize
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
42 stopOnReadQuality=false
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
43 minThreads=\${GALAXY_SLOTS:-4}
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
44 maxThreads=\${GALAXY_SLOTS:-4}
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
45 obtovlThreads=\${GALAXY_SLOTS:-4}
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
46 utgovlThreads=\${GALAXY_SLOTS:-4}
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
47 batThreads=\${GALAXY_SLOTS:-4}
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
48 batMemory=\${GALAXY_MEMORY_MB:-7}
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
49 cormhapMemory=\${GALAXY_MEMORY_MB:-7}
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
50 obtovlMemory=\${GALAXY_MEMORY_MB:-7}
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
51 utgovlMemory=\${GALAXY_MEMORY_MB:-7}
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
52 gfaThreads=\${GALAXY_SLOTS:-4}
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
53 corThreads=\${GALAXY_SLOTS:-4}
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
54 cnsThreads=\${GALAXY_SLOTS:-4}
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
55 gnuplotTested=true
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
56 useGrid=false
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
57 $mode
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
58 #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
59 #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
60 ./input_${counter}.gz
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
61 #else:
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
62 '$input'
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
63 #end if
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
64 #end for
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
65 2>&1
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
66 ]]>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
67 </command>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
68 <inputs>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
69 <param name="inputs" type="data" format="fasta,fasta.gz,fastq,fastq.gz" multiple="true" label="Input reads" />
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
70 <param name="mode" type="select" label="Mode">
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
71 <option value="-nanopore-raw" selected="true">Nanopore raw</option>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
72 <option value="-nanopore-corrected">Nanopore corrected</option>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
73 <option value="-pacbio-raw">PacBio raw</option>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
74 <option value="-pacbio-corrected">PacBio corrected</option>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
75 </param>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
76 <param name="stage" type="select" label="To restrict canu to only a specific stage, use">
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
77 <option value="" selected="true">all</option>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
78 <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
79 <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
80 <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
81 <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
82 </param>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
83 <param argument="genomeSize" type="text" label="Estimated genome size (e.g. 80m, 15k, 2g)" />
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
84 <param argument="rawErrorRate" type="float" value="" optional="true" min="0" max="1"
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
85 label="Maximum raw overlap mismatch" help="The defaults are 0.300 for PacBio reads and 0.500 for Nanopore reads." />
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
86 <param argument="correctedErrorRate" type="float" value="" optional="true" min="0" max="1"
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
87 label="Maximum corrected overlap mismatch" help="The allowed difference in an overlap between two corrected reads. Assemblies of
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
88 low coverage or data with biological differences will benefit from a slight increase
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
89 in this. Defaults are 0.045 for PacBio reads and 0.144 for Nanopore reads." />
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
90 <param argument="minReadLength" type="integer" value="1000" min="1" label="Minimum read length" />
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
91 <param argument="minOverlapLength" type="integer" value="500" min="1" label="Minimum overlap" />
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
92 <param argument="corOutCoverage" type="integer" value="40" min="1" label="Target coverage for corrected reads" />
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
93 <param argument="-s" type="data" format="txt" optional="true" label="Additonal options" help="Additional specifications provided in a canu spec file." />
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 <section name="contigFilter" title="Contig Filters">
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
96 <param argument="minReads" type="integer" value="2" min="0" label="Minimum reads" />
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
97 <param argument="minLength" type="integer" value="0" min="0" label="Minimum length" />
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
98 <param argument="singleReadSpan" type="float" value="1.0" min="0.0" max="1.0" label="Maximum single read span (fraction)" />
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
99 <param argument="lowCovSpan" type="float" value="0.5" min="0.0" max="1.0" label="Low coverage span (fraction)" />
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
100 <param argument="lowCovDepth" type="integer" value="5" min="0" label="Low coverage depth" />
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
101 </section>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
102 </inputs>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
103 <outputs>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
104 <data name="contigs" format="fasta" from_work_dir="out_dir/canu.contigs.fasta" label="${tool.name} on ${on_string} (contigs)">
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
105 </data>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
106 <data name="unassembled" format="fasta" from_work_dir="out_dir/canu.unassembled.fasta" label="${tool.name} on ${on_string} (contigs)">
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
107 </data>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
108 <data name="unitigs" format="fasta" from_work_dir="out_dir/canu.unitigs.fasta" label="${tool.name} on ${on_string} (unitigs)">
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
109 </data>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
110 <data name="corrected_reads" format="fasta.gz" from_work_dir="out_dir/canu.correctedReads.fasta.gz" label="${tool.name} on ${on_string} (unitigs)">
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
111 </data>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
112 </outputs>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
113 <tests>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
114 <test>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
115 <!-- test multiple input -->
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
116 <param name="inputs" ftype="fasta" value="ecoli-reads.fasta"/>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
117 <param name="genomeSize" value="4.6m" />
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
118 <param name="minReadLength" value="2000" />
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
119 <output name="contigs" ftype="fasta" file="ecoli_canu_contigs.fa"/>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
120 <output name="unitigs" ftype="fasta" file="ecoli_canu_unitigs.fa"/>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
121 <output name="unassembled" ftype="fasta" file="ecoli_unassembled.fa"/>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
122 </test>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
123
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
124 <test >
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
125 <!-- test multiple input -->
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
126 <param name="inputs" ftype="fasta" value="ecoli-reads.fasta"/>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
127 <param name="genomeSize" value="4.6m" />
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
128 <param name="minReadLength" value="2000" />
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
129 <param name="minOverlapLength" value="800" />
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
130 <param name="rawErrorRate" value="0.2" />
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
131 <param name="correctedErrorRate" value="0.05" />
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
132 <param name="corOutCoverage" value="2" />
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
133 <output name="contigs" ftype="fasta" file="canu_contigs_result1.fa"/>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
134 <output name="unitigs" ftype="fasta" file="canu_unitigs_result1.fa"/>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
135 <output name="unassembled" ftype="fasta" file="canu_unassembled_result1.fa"/>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
136 </test>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
137 <test>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
138 <!-- test multiple input -->
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
139 <param name="inputs" ftype="fasta" value="ecoli-reads.fasta"/>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
140 <param name="minReadLength" value="2000" />
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
141 <param name="stage" value="-correct"/>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
142 <param name="genomeSize" value="4.6m" />
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
143 <section name="contigFilter">
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
144 <param name="minReads" value="10" />
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
145 </section>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
146 <output name="corrected_reads" ftype="fasta.gz" decompress="True" file="canu_corrected_reads.fa.gz"/>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
147 </test>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
148 </tests>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
149 <help>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
150 <![CDATA[
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
151
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
152 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
153 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
154 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
155 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
156
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
157 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
158 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
159
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
160 http://canu.readthedocs.io
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
161
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
162 ]]>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
163 </help>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
164 <citations>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
165 <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
166 <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
167 <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
168 <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
169 <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
170 <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
171 </citations>
4c8f32256fa8 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/canu commit b7904bf39167833b3d3648e250726615f75f7525
bgruening
parents:
diff changeset
172 </tool>