annotate hypo.xml @ 0:d7c48cf1bf50 draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
author iuc
date Mon, 15 Nov 2021 16:48:46 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
1 <tool id="hypo" name="HyPo" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.05">
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
2 <description>super fast and accurate polisher for long read genome assemblies</description>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
3 <macros>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
4 <import>macros.xml</import>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
5 </macros>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
6 <expand macro='requirements' />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
7 <expand macro='xrefs'/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
9 #for $i, $fastq in enumerate($reads_short):
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
10 #if $fastq.ext.endswith(".gz")
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
11 #set $ext='.fastq.gz'
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
12 #else
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
13 #set $ext='.fastq'
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
14 #end if
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
15 ln -s '$fastq' 'read_$i$ext' &&
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
16 echo 'read_$i$ext' >> short_reads.txt &&
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
17 #end for
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
18 hypo
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
19 --reads-short @short_reads.txt
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
20 --draft '$draft'
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
21 --bam-sr '$bam_sr'
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
22 #if $bam_lr
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
23 --bam-lr '$bam_lr'
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
24 #end if
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
25 --coverage-short $coverage_short
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
26 --size-ref '$size_ref'
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
27 --kind-sr $kind_sr
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
28
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
29 #if $advanced_options.processing_size
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
30 --processing-size $advanced_options.processing_size
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
31 #end if
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
32 --match-sr $advanced_options.match_sr
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
33 --mismatch-sr $advanced_options.mismatch_sr
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
34 --gap-sr $advanced_options.gap_sr
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
35 --match-lr $advanced_options.match_lr
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
36 --mismatch-lr $advanced_options.mismatch_lr
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
37 --gap-lr $advanced_options.gap_lr
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
38 --ned-th $advanced_options.ned_th
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
39 --qual-map-th $advanced_options.qual_map_th
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
40 -o '$out_fasta'
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
41 -t \${GALAXY_SLOTS:-4}
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
42 #if $advanced_options.log == 'true'
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
43 > '$out_log'
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
44 #end if
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
45 ]]></command>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
46 <inputs>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
47 <param argument="--reads-short" type="data" format="fastq,fastq.gz" multiple="true" label="Illumina FASTQ files" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
48 <param argument="--draft" type="data" format="fasta,fasta.gz,fastq,fastq.gz" label="Draft genome assembly"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
49 <param argument="--bam-sr" type="data" format="bam" label="BAM with illumina read alignments"
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
50 help="Input file name containing the alignments of short reads against the draft (must have CIGAR information)"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
51 <param argument="--bam-lr" type="data" format="bam" optional="true" label="BAM with ONT reads aligned"
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
52 help="Input file name containing the alignments of long reads against the draft (must have CIGAR information).
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
53 Optional (only Short reads polishing will be performed if this argument is not given)"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
54 <param argument="--coverage-short" type="integer" value="" min="0" label="Aproximate mean coverage of the short reads"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
55 <param argument="--size-ref" type="text" label="Aproximate size of the genome" help="A number can be followed by units k/m/g; e.g. 10m, 2.3g.">
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
56 <sanitizer invalid_char="">
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
57 <valid initial="string.letters,string.digits">
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
58 <add value="." />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
59 </valid>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
60 </sanitizer>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
61 <validator type="regex">[A-Za-z0-9\.]+</validator>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
62 </param>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
63 <param argument="--kind-sr" type="select" label="Type of short reads">
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
64 <option value="sr" selected="true">Corresponding to NGS reads like Illumina reads (sr)</option>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
65 <option value="ccs">Corresponding to HiFi reads like PacBio CCS reads (ccs)</option>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
66 </param>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
67 <section name="advanced_options" title="Advanced options">
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
68 <param argument="--match-sr" type="integer" value="5" label="Score for matching bases for short reads" help="Default value is 5"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
69 <param argument="--mismatch-sr" type="integer" value="-4" label="Score for mismatching bases for short reads" help="Default value is -4"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
70 <param argument="--gap-sr" type="integer" value="-8" max="0" label="Gap penalty for short reads" help="Default value is -8 (must be negative)"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
71 <param argument="--match-lr" type="integer" min="0" value="3" label="Score for matching bases for long reads" help="Default value is 3"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
72 <param argument="--mismatch-lr" type="integer" value="-5" label="Score for mismatching bases for long reads" help="Default value is -5"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
73 <param argument="--gap-lr" type="integer" value="-4" max="0" label="Gap penalty for long reads" help="Default value is -4 (must be negative)"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
74 <param argument="--ned-th" type="integer" value="20" label="Threshold for NED"
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
75 help="Threshold for Normalised Edit Distance of long arms allowed in a window (in percentage). Higher number means more arms allowed which
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
76 may slow down the execution. Default value is 20" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
77 <param argument="--qual-map-th" type="integer" value="2" label="Threshold for mapping quality of reads"
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
78 help="The reads with mapping quality below this threshold will not be taken into consideration. Default value is 2" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
79 <param argument="--processing-size" type="integer" optional="true" label="Number of contigs to be processed in one batch" help="Lower value means less memory usage but slower speed. By default, all the contigs in the draft"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
80 <param name="log" type="boolean" truevalue="true" falsevalue="false" label="Generate log file"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
81 </section>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
82 </inputs>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
83 <outputs>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
84 <data name="out_fasta" format="fasta" label="${tool.name} on ${on_string}: polished assembly"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
85 <data name="out_log" format="txt" label="${tool.name} on ${on_string}: log file">
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
86 <filter>advanced_options['log']</filter>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
87 </data>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
88 </outputs>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
89 <tests>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
90 <!--Test 01-->
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
91 <test expect_num_outputs="1">
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
92 <param name="draft" value="draft_genome.fasta" ftype="fasta"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
93 <param name="reads_short" value="Illumina_01.fastq.gz,Illumina_02.fastq.gz" ftype="fastq.gz"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
94 <param name="size_ref" value="10k" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
95 <param name="coverage_short" value="35"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
96 <param name="bam_sr" value="short_reads.bam" ftype="bam" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
97 <output name="out_fasta" file="test_01.fasta" ftype="fasta" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
98 </test>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
99 <!--Test 02: test long-reads BAM-->
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
100 <test expect_num_outputs="1">
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
101 <param name="draft" value="draft_genome.fasta" ftype="fasta"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
102 <param name="reads_short" value="Illumina_01.fastq.gz,Illumina_02.fastq.gz" ftype="fastq.gz"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
103 <param name="size_ref" value="10k" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
104 <param name="coverage_short" value="35"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
105 <param name="bam_sr" value="short_reads.bam" ftype="bam" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
106 <param name="bam_lr" value="long_reads.bam" ftype="bam" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
107 <output name="out_fasta" file="test_02.fasta" ftype="fasta" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
108 </test>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
109 <!--Test 03: test css option in type of short reads-->
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
110 <test expect_num_outputs="1">
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
111 <param name="draft" value="draft_genome.fasta" ftype="fasta"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
112 <param name="reads_short" value="Illumina_01.fastq.gz,Illumina_02.fastq.gz" ftype="fastq.gz"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
113 <param name="size_ref" value="10k" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
114 <param name="coverage_short" value="35"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
115 <param name="bam_sr" value="short_reads.bam" ftype="bam" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
116 <param name="bam_lr" value="long_reads.bam" ftype="bam" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
117 <param name="kind-sr" value="css"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
118 <output name="out_fasta" file="test_03.fasta" ftype="fasta" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
119 </test>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
120 <!--Test 04: test processing-size parameter -->
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
121 <test expect_num_outputs="1">
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
122 <param name="draft" value="draft_genome.fasta" ftype="fasta"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
123 <param name="reads_short" value="Illumina_01.fastq.gz,Illumina_02.fastq.gz" ftype="fastq.gz"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
124 <param name="size_ref" value="10k" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
125 <param name="coverage_short" value="35"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
126 <param name="bam_sr" value="short_reads.bam" ftype="bam" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
127 <param name="bam_lr" value="long_reads.bam" ftype="bam" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
128 <section name="advanced_options">
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
129 <param name="processing-size" value="2"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
130 </section>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
131 <output name="out_fasta" file="test_04.fasta" ftype="fasta" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
132 </test>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
133 <!--Test 05: test log option-->
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
134 <test expect_num_outputs="2">
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
135 <param name="draft" value="draft_genome.fasta" ftype="fasta"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
136 <param name="reads_short" value="Illumina_01.fastq.gz,Illumina_02.fastq.gz" ftype="fastq.gz"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
137 <param name="size_ref" value="10k" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
138 <param name="coverage_short" value="35"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
139 <param name="bam_sr" value="short_reads.bam" ftype="bam" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
140 <param name="log" value="true"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
141 <output name="out_fasta" file="test_05.fasta" ftype="fasta" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
142 <output name="out_log" ftype="txt">
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
143 <assert_contents>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
144 <has_text text="No. of k-mers below min. threshold"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
145 <has_text text="Info: Value of K chosen for the given genome size"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
146 </assert_contents>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
147 </output>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
148 </test>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
149 <!--Test 06: advanced all options-->
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
150 <test expect_num_outputs="1">
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
151 <param name="draft" value="draft_genome.fasta" ftype="fasta"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
152 <param name="reads_short" value="Illumina_01.fastq.gz,Illumina_02.fastq.gz" ftype="fastq.gz"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
153 <param name="size_ref" value="10k" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
154 <param name="coverage_short" value="35"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
155 <param name="bam_sr" value="short_reads.bam" ftype="bam" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
156 <param name="bam_lr" value="long_reads.bam" ftype="bam" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
157 <section name="advanced_options">
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
158 <param name="match_sr" value="4"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
159 <param name="mismatch_sr" value="-2"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
160 <param name="gap_sr" value="-10"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
161 <param name="match_lr" value="3"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
162 <param name="mismatch_lr" value="-7"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
163 <param name="gap_lr" value="-15"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
164 <param name="ned_th" value="10"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
165 <param name="qual_map_th" value="4"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
166 </section>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
167 <output name="out_fasta" file="test_06.fasta" ftype="fasta" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
168 </test>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
169 <!--Test 07: test fastq files-->
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
170 <test expect_num_outputs="1">
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
171 <param name="draft" value="draft_genome.fasta" ftype="fasta"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
172 <param name="reads_short" value="Illumina_01.fastq,Illumina_02.fastq" ftype="fastq"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
173 <param name="size_ref" value="10k" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
174 <param name="coverage_short" value="35"/>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
175 <param name="bam_sr" value="short_reads.bam" ftype="bam" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
176 <output name="out_fasta" file="test_07.fasta" ftype="fasta" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
177 </test>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
178 </tests>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
179 <help><![CDATA[
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
180
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
181 .. class:: infomark
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
182
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
183 **Purpose**
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
184
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
185 HyPo - a Hybrid Polisher - utilizes short as well as long reads within a single run to polish a long reads assembly of small and large genomes.
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
186 It exploits unique genomic kmers to selectively polish segments of contigs using partial order alignment of selective read-segments.
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
187 As demonstrated on human genome assemblies, Hypo generates significantly more accurate polished assembly in about one-third time with
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
188 about half the memory requirements in comparison to contemporary widely used polishers like Racon.
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
189
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
190 Please note that "short reads" doesn't necessarily have to be NGS short reads; HiFi genomic reads (e.g. CCS) like those generated from PacBio SequelII
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
191 could also be used instead. The requirement is that those reads should be highly accurate (>98% accuracy).
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
192
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
193 -------------------
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
194
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
195 .. class:: infomark
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
196
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
197 **Input files**
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
198
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
199 Hypo requires the following as input:
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
200 * Short reads/HiFi reads (in FASTA/FASTQ format; can be compressed)
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
201 * Draft contigs (in FASTA/FASTQ format; can be compressed)
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
202 * Alignments between short reads (or HiFi reads) and the draft (hould contain CIGAR). If long reads are also to be used for polishing, then alignments between long reads and the draft.
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
203 * Expected mean coverage of short reads (or HiFi reads) and approximate size of the genome.
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
204
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
205 In what follows, short reads can be replaced with HiFi reads.
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
206
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
207 -------------------
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
208
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
209 .. class:: infomark
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
210
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
211 **How it works**
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
212
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
213 Broadly, we (conceptually) divide a draft (uncorrected) contig into two types of regions (segments): strong and weak.
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
214
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
215 Strong regions are those which have strong evidence (support) of their correctness and
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
216 thus do not need polishing. Weak regions, on the other hand, will be polished using POA. Each weak region will
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
217 be polished using either short reads or long reads; short reads taking precedence over long reads. To identify
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
218 strong regions, we make use of solid kmers (expected unique genomic kmers). Strong regions also play a role in
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
219 selecting the read-segments to polish their neighbouring weak regions. Furthermore, our approach takes into account
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
220 that the long reads and thus the assemblies generated from them are prone to homopolymer errors as mentioned in the beginning.
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
221
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
222 ]]></help>
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
223 <expand macro="citations" />
d7c48cf1bf50 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hypo commit 2151cc2f0b32a242d8a18537f0bdfb92b907548a"
iuc
parents:
diff changeset
224 </tool>