Mercurial > repos > iuc > quast
comparison quast.xml @ 9:45924fa8d8c5 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/quast commit 9e4867db42282a980f1149711159fa811b2d8414"
author | iuc |
---|---|
date | Mon, 08 Nov 2021 09:03:00 +0000 |
parents | ebb0dcdb621a |
children | 342a1d1fed7b |
comparison
equal
deleted
inserted
replaced
8:ebb0dcdb621a | 9:45924fa8d8c5 |
---|---|
1 <tool id="quast" name="Quast" version="@TOOL_VERSION@+galaxy1" profile="18.01"> | 1 <tool id="quast" name="Quast" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01"> |
2 <description>Genome assembly Quality</description> | 2 <description>Genome assembly Quality</description> |
3 <macros> | 3 <macros> |
4 <token name="@TOOL_VERSION@">5.0.2</token> | 4 <import>macros.xml</import> |
5 <xml name="gene_thresholds"> | |
6 <param name="gene_thresholds" argument="--gene-thresholds" type="text" value="0,300,1500,3000" label="Comma-separated list of thresholds (in bp) for gene lengths to find with a finding tool"/> | |
7 </xml> | |
8 </macros> | 5 </macros> |
9 <requirements> | 6 <expand macro="bio_tools"/> |
10 <requirement type="package" version="@TOOL_VERSION@">quast</requirement> | 7 <expand macro='requirements' /> |
11 </requirements> | |
12 <command detect_errors="exit_code"> | 8 <command detect_errors="exit_code"> |
13 <![CDATA[ | 9 <![CDATA[ |
14 #import re | 10 #import re |
15 | 11 |
16 #if str($in.custom) == 'false' | 12 #if str($in.custom) == 'false' |
17 #set $labels = ','.join( [re.sub('[^\w\-_]', '_', str($x.element_identifier)) for $x in $in.inputs ]) | 13 #set $labels = ','.join( [re.sub('[^\w\-_]', '_', str($x.element_identifier)) for $x in $in.inputs]) |
14 echo $labels && | |
18 #else | 15 #else |
19 #set $labels = [] | 16 #set $labels = [] |
20 #for $x in $in.inputs | 17 #for $x in $in.inputs |
21 #if str($x.labels) != '' | 18 #if str($x.labels) != '' |
22 #silent $labels.append(re.sub('[^\w\-_]', '_', str($x.labels))) | 19 #silent $labels.append(re.sub('[^\w\-_]', '_', str($x.labels))) |
33 #silent $temp_ref_list_f.write('\n'.join([x.strip() for x in $assembly.ref.references_list.split(',')])) | 30 #silent $temp_ref_list_f.write('\n'.join([x.strip() for x in $assembly.ref.references_list.split(',')])) |
34 #silent $temp_ref_list_f.close() | 31 #silent $temp_ref_list_f.close() |
35 #end if | 32 #end if |
36 | 33 |
37 #if $assembly.type == 'genome' | 34 #if $assembly.type == 'genome' |
38 quast | 35 quast |
39 #else | 36 #else |
40 metaquast | 37 metaquast |
41 #end if | 38 #end if |
42 -o outputdir | 39 |
40 #if $reads.reads_option == 'single' | |
41 #for $read in $reads.input_1 | |
42 --single '$read' | |
43 #end for | |
44 #else if $reads.reads_option == 'paired' | |
45 #for $read in $reads.input_1 | |
46 --pe1 '$read' | |
47 #end for | |
48 #for $read in $reads.input_2 | |
49 --pe2 '$read' | |
50 #end for | |
51 #else if $reads.reads_option == 'paired_interlaced' | |
52 #for $read in $reads.input_1 | |
53 --pe12 '$read' | |
54 #end for | |
55 #else if $reads.reads_option == 'mate_paired' | |
56 #for $read in $reads.input_1 | |
57 --mp1 '$read' | |
58 #end for | |
59 #for $read in $reads.input_2 | |
60 --mp2 '$read' | |
61 #end for | |
62 #else if $reads.reads_option == 'pacbio' | |
63 #for $read in $reads.input_1 | |
64 --pacbio '$read' | |
65 #end for | |
66 #else if $reads.reads_option == 'nanopore' | |
67 #for $read in $reads.input_1 | |
68 --nanopore '$read' | |
69 #end for | |
70 #end if | |
71 | |
72 --labels $labels | |
73 -o outputdir | |
43 | 74 |
44 #if $assembly.type == 'genome' | 75 #if $assembly.type == 'genome' |
45 #if $assembly.ref.use_ref == 'true' | 76 #if $assembly.ref.use_ref == 'true' |
46 -r '$assembly.ref.r' | 77 -r '$assembly.ref.r' |
47 #if $assembly.ref.features | 78 #if $assembly.ref.features |
48 --features '$assembly.ref.features' | 79 --features '$assembly.ref.features' |
49 #end if | 80 #end if |
50 #if $assembly.ref.operons | 81 #if $assembly.ref.operons |
51 --operons '$assembly.ref.operons' | 82 --operons '$assembly.ref.operons' |
83 #end if | |
84 $assembly.ref.circos | |
85 $assembly.ref.k_mer.k_mer_stats | |
86 #if str($assembly.ref.k_mer.k_mer_stats) != '' | |
87 --k-mer-size $assembly.ref.k_mer.k_mer_size | |
52 #end if | 88 #end if |
53 #else if $assembly.ref.est_ref_size | 89 #else if $assembly.ref.est_ref_size |
54 --est-ref-size $assembly.ref.est_ref_size | 90 --est-ref-size $assembly.ref.est_ref_size |
55 #end if | 91 #end if |
56 $assembly.orga_type | 92 $assembly.orga_type |
57 #else | 93 #else |
58 #if $assembly.ref.origin == 'history' | 94 #if $assembly.ref.origin == 'history' |
59 -r '$assembly.ref.r' | 95 -r '$assembly.ref.r' |
60 #else if $assembly.ref.origin == 'list' | 96 #else if $assembly.ref.origin == 'list' |
61 --references-list '$temp_ref_list_fp' | 97 --references-list '$temp_ref_list_fp' |
62 #else if $assembly.ref.origin == 'silva' | 98 #else if $assembly.ref.origin == 'silva' |
63 --test-no-ref | 99 --test-no-ref |
64 --max-ref-num '$assembly.ref.max_ref_num' | 100 --max-ref-num '$assembly.ref.max_ref_num' |
65 #end if | 101 #end if |
66 #end if | 102 #end if |
67 --min-contig $min_contig | 103 |
68 --threads \${GALAXY_SLOTS:-1} | 104 --min-contig $min_contig |
69 $split_scaffolds | 105 $split_scaffolds |
70 --labels $labels | 106 $large |
71 $large | 107 |
72 $k_mer.k_mer_stats | |
73 #if str($k_mer.k_mer_stats) != '' | |
74 --k-mer-size $k_mer.k_mer_size | |
75 #end if | |
76 $circos | |
77 #if str($genes.gene_finding.tool) != 'none' | 108 #if str($genes.gene_finding.tool) != 'none' |
78 $genes.gene_finding.tool | 109 $genes.gene_finding.tool |
79 #if $genes.gene_finding.tool == '--gene_finding' or $genes.gene_finding.tool == '--glimmer' | 110 #if $genes.gene_finding.tool == '--gene_finding' or $genes.gene_finding.tool == '--glimmer' |
80 #set $gene_threshold = ','.join([x.strip() for x in str($genes.gene_finding.gene_thresholds).split(',')]) | 111 #set $gene_threshold = ','.join([x.strip() for x in str($genes.gene_finding.gene_thresholds).split(',')]) |
81 --gene-thresholds '$gene_threshold' | 112 --gene-thresholds '$gene_threshold' |
82 #end if | 113 #end if |
83 #end if | 114 #end if |
84 $genes.rna_finding | 115 |
85 $genes.conserved_genes_finding | 116 $genes.rna_finding |
86 $al.use_all_alignments | 117 $genes.conserved_genes_finding |
87 --min-alignment $al.min_alignment | 118 $alignments.use_all_alignments |
88 --min-identity $al.min_identity | 119 --min-alignment $alignments.min_alignment |
89 --ambiguity-usage '$al.ambiguity_usage' | 120 --min-identity $alignments.min_identity |
90 $al.fragmented | 121 --ambiguity-usage '$alignments.ambiguity_usage' |
91 #set $contig_thresholds = ','.join([x.strip() for x in str($contig_thresholds).split(',')]) | 122 $alignments.fragmented |
92 --contig-thresholds '$contig_thresholds' | 123 $alignments.upper_bound_assembly |
93 $strict_NA | 124 #if $alignments.upper_bound_min_con |
94 --extensive-mis-size $extensive_mis_size | 125 --upper-bound-min-con $alignments.upper_bound_min_con |
95 --scaffold-gap-max-size $scaffold_gap_max_size | 126 #end if |
96 --unaligned-part-size $unaligned_part_size | 127 |
97 $skip_unaligned_mis_contigs | 128 #if $alignments.fragmented |
129 #if $advanced.fragmented_max_indent != '' | |
130 --fragmented-max-indent $advanced.fragmented_max_indent | |
131 #end if | |
132 #end if | |
133 | |
134 #set $contig_thresholds = ','.join([x.strip() for x in str($advanced.contig_thresholds).split(',')]) | |
135 --contig-thresholds '$contig_thresholds' | |
136 $advanced.strict_NA | |
137 --extensive-mis-size $advanced.extensive_mis_size | |
138 --scaffold-gap-max-size $advanced.scaffold_gap_max_size | |
139 --unaligned-part-size $advanced.unaligned_part_size | |
140 $advanced.skip_unaligned_mis_contigs | |
98 | 141 |
99 #if str($in.custom) == 'false' | 142 #if str($in.custom) == 'false' |
100 #for $k in $in.inputs | 143 #for $k in $in.inputs |
101 '$k' | 144 '$k' |
102 #end for | 145 #end for |
103 #else | 146 #else |
104 #for $k in $in.inputs | 147 #for $k in $in.inputs |
105 '$k.input' | 148 '$k.input' |
106 #end for | 149 #end for |
107 #end if | 150 #end if |
151 | |
152 --threads \${GALAXY_SLOTS:-1} | |
108 | 153 |
109 && mkdir -p '$report_html.files_path' | 154 && mkdir -p '$report_html.files_path' |
110 && cp outputdir/*.html '$report_html.files_path' | 155 && cp outputdir/*.html '$report_html.files_path' |
156 | |
111 #if ($assembly.type == 'genome' and $assembly.ref.use_ref) or ($assembly.type == 'metagenome' and $assembly.ref.origin != 'none') | 157 #if ($assembly.type == 'genome' and $assembly.ref.use_ref) or ($assembly.type == 'metagenome' and $assembly.ref.origin != 'none') |
112 && cp -R outputdir/icarus_viewers '$report_html.files_path' | 158 && cp -R outputdir/icarus_viewers '$report_html.files_path' |
113 #end if | 159 #end if |
160 | |
114 ]]> | 161 ]]> |
115 </command> | 162 </command> |
116 <inputs> | 163 <inputs> |
117 <conditional name="in"> | 164 <conditional name="in"> |
118 <param name="custom" type="select" label="Use customized names for the input files?" help="They will be used in reports, plots and logs"> | 165 <param name="custom" type="select" label="Use customized names for the input files?" help="They will be used in reports, plots and logs"> |
127 </when> | 174 </when> |
128 <when value="false"> | 175 <when value="false"> |
129 <param name="inputs" type="data" format="fasta" multiple="true" label="Contigs/scaffolds file"/> | 176 <param name="inputs" type="data" format="fasta" multiple="true" label="Contigs/scaffolds file"/> |
130 </when> | 177 </when> |
131 </conditional> | 178 </conditional> |
179 <conditional name="reads"> | |
180 <param name="reads_option" type="select" label="Reads options" help="Currently, the supported read types are Illumina unpaired, paired-end and mate-pair reads, PacBio SMRT, and Oxford Nanopore long reads."> | |
181 <option value="disabled">Disabled</option> | |
182 <option value="single">Illumina single-end reads</option> | |
183 <option value="paired">Illumina paired-end reads</option> | |
184 <option value="paired_interlaced">Illumina interlaced paired-end reads</option> | |
185 <option value="mate_paired">Illumina mate-pair reads</option> | |
186 <option value="pacbio">Pacbio SMRT reads</option> | |
187 <option value="nanopore">Nanopore reads</option> | |
188 </param> | |
189 <when value="disabled"/> | |
190 | |
191 <when value="single"> | |
192 <param name="input_1" format="fastq,fastq.gz" type="data" multiple="true" label="FASTQ file" /> | |
193 </when> | |
194 | |
195 <when value="paired"> | |
196 <param name="input_1" format="fastq,fastq.gz" type="data" multiple="true" label="FASTQ file #1" /> | |
197 <param name="input_2" format="fastq,fastq.gz" type="data" multiple="true" label="FASTQ file #2" /> | |
198 </when> | |
199 | |
200 <when value="paired_interlaced"> | |
201 <param name="input_1" format="fastq,fastq.gz" type="data" multiple="true" label="FASTQ file" /> | |
202 </when> | |
203 | |
204 <when value="mate_paired"> | |
205 <param name="input_1" format="fastq,fastq.gz" type="data" multiple="true" label="FASTQ file #1" /> | |
206 <param name="input_2" format="fastq,fastq.gz" type="data" multiple="true" label="FASTQ file #2" /> | |
207 </when> | |
208 | |
209 <when value="pacbio"> | |
210 <param name="input_1" format="fastq,fastq.gz" type="data" multiple="true" label="FASTQ file" /> | |
211 </when> | |
212 | |
213 <when value="nanopore"> | |
214 <param name="input_1" format="fastq,fastq.gz" type="data" multiple="true" label="FASTQ file" /> | |
215 </when> | |
216 </conditional> | |
217 | |
132 <conditional name="assembly"> | 218 <conditional name="assembly"> |
133 <param name="type" type="select" label="Type of assembly"> | 219 <param name="type" type="select" label="Type of assembly"> |
134 <option value="genome">Genome</option> | 220 <option value="genome">Genome</option> |
135 <option value="metagenome">Metagenome</option> | 221 <option value="metagenome">Metagenome</option> |
136 </param> | 222 </param> |
142 </param> | 228 </param> |
143 <when value="true"> | 229 <when value="true"> |
144 <param argument="-r" type="data" format="fasta" multiple="true" label="Reference genome" /> | 230 <param argument="-r" type="data" format="fasta" multiple="true" label="Reference genome" /> |
145 <param argument="--features" type="data" format="gff, gff3, bed" optional="true" label="Genomic feature positions in the reference genome" help="Gene coordinates for the reference genome"/> | 231 <param argument="--features" type="data" format="gff, gff3, bed" optional="true" label="Genomic feature positions in the reference genome" help="Gene coordinates for the reference genome"/> |
146 <param argument="--operons" type="data" format="gff, gff3, bed" optional="true" label="Operon positions in the reference genome" help="Operon coordinates for the reference genome"/> | 232 <param argument="--operons" type="data" format="gff, gff3, bed" optional="true" label="Operon positions in the reference genome" help="Operon coordinates for the reference genome"/> |
233 <conditional name="k_mer"> | |
234 <param argument="--k-mer-stats" type="select" label="Compute k-mer-based quality metrics?" help="It is recommended for large genomes. This may significantly increase memory and time consumption on large genomes"> | |
235 <option value="--k-mer-stats">Yes</option> | |
236 <option value="" selected="true">No</option> | |
237 </param> | |
238 <when value="--k-mer-stats"> | |
239 <param name="k_mer_size" argument="--k-mer-size" type="integer" value="101" label="Size of k" /> | |
240 </when> | |
241 <when value=""/> | |
242 </conditional> | |
243 <param argument="--circos" type="boolean" truevalue="--circos" falsevalue="" checked="false" label="Generage Circos plot" help="Plot Circos version of Icarus contig alignment viewer"/> | |
147 </when> | 244 </when> |
148 <when value="false"> | 245 <when value="false"> |
149 <param name="est_ref_size" argument="--est-ref-size" type="integer" optional="true" label="Estimated reference genome size (in bp) for computing NGx statistics" help=""/> | 246 <param argument="--est-ref-size" type="integer" optional="true" label="Estimated reference genome size (in bp) for computing NGx statistics" help=""/> |
150 </when> | 247 </when> |
151 </conditional> | 248 </conditional> |
152 <param name="orga_type" type="select" label="Type of organism"> | 249 <param name="orga_type" type="select" label="Type of organism"> |
153 <option value="">Prokaryotes: use of GeneMarkS for gene finding</option> | 250 <option value="">Prokaryotes: use of GeneMarkS for gene finding (default)</option> |
154 <option value="--eukaryote">Eukaryote (--eukaryote): use of GeneMark-ES for gene finding, Barrnap for ribosomal RNA genes prediction, BUSCO for conserved orthologs finding</option> | 251 <option value="--eukaryote">Eukaryote: use of GeneMark-ES for gene finding, Barrnap for ribosomal RNA genes prediction, BUSCO for conserved orthologs finding (--eukaryote)</option> |
155 <option value="--fungus">Fungus (--fungus): use of GeneMark-ES for gene finding, Barrnap for ribosomal RNA genes prediction, BUSCO for conserved orthologs finding</option> | 252 <option value="--fungus">Fungus: use of GeneMark-ES for gene finding, Barrnap for ribosomal RNA genes prediction, BUSCO for conserved orthologs finding (--fungus)</option> |
156 </param> | 253 </param> |
157 </when> | 254 </when> |
158 <when value="metagenome"> | 255 <when value="metagenome"> |
159 <conditional name="ref"> | 256 <conditional name="ref"> |
160 <param name="origin" type="select" label="Reference genome" help="Many metrics can't be evaluated without a reference. If this is omitted, QUAST will only report the metrics that can be evaluated without a reference."> | 257 <param name="origin" type="select" label="Reference genome" help="Many metrics can't be evaluated without a reference. If this is omitted, QUAST will only report the metrics that can be evaluated without a reference."> |
174 </when> | 271 </when> |
175 <when value="none"/> | 272 <when value="none"/> |
176 </conditional> | 273 </conditional> |
177 </when> | 274 </when> |
178 </conditional> | 275 </conditional> |
179 <param name="min_contig" argument="--min-contig" type="integer" value="500" label="Lower threshold for a contig length (in bp)" help="Shorter contigs won't be taken into account"/> | 276 <param argument="--min-contig" type="integer" value="500" label="Lower threshold for a contig length (in bp)" help="Shorter contigs won't be taken into account"/> |
180 <param name="split_scaffolds" argument="--split-scaffolds" type="boolean" truevalue="--split-scaffolds" falsevalue="" checked="false" label="Are assemblies scaffolds rather than contigs?" help="QUAST will add split versions of assemblies to the comparison. Assemblies are split by continuous fragments of N's of length >= 10. If broken version is equal to the original assembly (i.e. nothing was split) it is not included in the comparison."/> | 277 <param argument="--split-scaffolds" type="boolean" truevalue="--split-scaffolds" falsevalue="" checked="false" label="Are assemblies scaffolds rather than contigs?" help="QUAST will add split versions of assemblies to the comparison. Assemblies are split by continuous fragments of N's of length >= 10. If broken version is equal to the original assembly (i.e. nothing was split) it is not included in the comparison."/> |
181 <param argument="--large" type="boolean" truevalue="--large" falsevalue="" checked="false" label="Is genome large (> 100 Mbp)?" help="Use optimal parameters for evaluation of large genomes. Affects speed and accuracy. In particular, imposes --eukaryote --min-contig 3000 --min-alignment 500 --extensive-mis-size 7000 (can be overridden manually with the corresponding options). In addition, this mode tries to identify misassemblies caused by transposable elements and exclude them from the number of misassemblies."/> | 278 <param argument="--large" type="boolean" truevalue="--large" falsevalue="" checked="false" label="Is genome large (> 100 Mbp)?" help="Use optimal parameters for evaluation of large genomes. Affects speed and accuracy. In particular, imposes --eukaryote --min-contig 3000 --min-alignment 500 --extensive-mis-size 7000 (can be overridden manually with the corresponding options). In addition, this mode tries to identify misassemblies caused by transposable elements and exclude them from the number of misassemblies."/> |
182 <conditional name="k_mer"> | |
183 <param name="k_mer_stats" argument="--k-mer-stats" type="select" label="Compute k-mer-based quality metrics?" help="It is recommended for large genomes. This may significantly increase memory and time consumption on large genomes"> | |
184 <option value="--k-mer-stats">Yes</option> | |
185 <option value="" selected="true">No</option> | |
186 </param> | |
187 <when value="--k-mer-stats"> | |
188 <param name="k_mer_size" argument="--k-mer-size" type="integer" value="101" label="Size of k" /> | |
189 </when> | |
190 <when value=""/> | |
191 </conditional> | |
192 <param argument="--circos" type="boolean" truevalue="--circos" falsevalue="" checked="false" label="Draw Circos plot?" help=""/> | |
193 <section name="genes" title="Genes"> | 279 <section name="genes" title="Genes"> |
194 <conditional name="gene_finding"> | 280 <conditional name="gene_finding"> |
195 <param name="tool" type="select" label="Tool for gene prediction" help=""> | 281 <param name="tool" type="select" label="Tool for gene prediction" help=""> |
196 <option value="none">Don't predict genes</option> | 282 <option value="none">Don't predict genes</option> |
197 <option value="--gene-finding">GeneMarkS if prokaryotes or GeneMark-ES if eukaryotes or fungi</option> | 283 <option value="--gene-finding">GeneMarkS if prokaryotes or GeneMark-ES if eukaryotes or fungi</option> |
205 <when value="--mgm"/> | 291 <when value="--mgm"/> |
206 <when value="--glimmer"> | 292 <when value="--glimmer"> |
207 <expand macro="gene_thresholds"/> | 293 <expand macro="gene_thresholds"/> |
208 </when> | 294 </when> |
209 </conditional> | 295 </conditional> |
210 <param name="rna_finding" argument="--rna-finding" type="boolean" truevalue="--rna-finding" falsevalue="" checked="false" label="Enables ribosomal RNA gene finding?" help="By default, we assume that the genome is prokaryotic, and Barrnap uses the bacterial database for rRNA prediction. If the genome is eukaryotic (fungal), use --eukaryote (--fungus) option to force Barrnap to work with the eukaryotic (fungal) database. "/> | 296 <param argument="--rna-finding" type="boolean" truevalue="--rna-finding" falsevalue="" checked="false" label="Enables ribosomal RNA gene finding?" help="By default, we assume that the genome is prokaryotic, and Barrnap uses the bacterial database for rRNA prediction. If the genome is eukaryotic (fungal), use --eukaryote (--fungus) option to force Barrnap to work with the eukaryotic (fungal) database. "/> |
211 <param name="conserved_genes_finding" argument="--conserved-genes-finding" type="boolean" truevalue="--conserved-genes-finding" falsevalue="" checked="false" label="Enables search for Universal Single-Copy Orthologs using BUSCO?" help="By default, we assume that the genome is prokaryotic, and BUSCO uses the bacterial database of orthologs. If the genome is eukaryotic (fungal), use --eukaryote (--fungus) option to force BUSCO to work with the eukaryotic (fungal) database. "/> | 297 <param argument="--conserved-genes-finding" type="boolean" truevalue="--conserved-genes-finding" falsevalue="" checked="false" label="Enables search for Universal Single-Copy Orthologs using BUSCO?" help="By default, we assume that the genome is prokaryotic, and BUSCO uses the bacterial database of orthologs. If the genome is eukaryotic (fungal), use --eukaryote (--fungus) option to force BUSCO to work with the eukaryotic (fungal) database. "/> |
212 </section> | 298 </section> |
213 <section name="al" title="Alignments"> | 299 <section name="alignments" title="Alignments"> |
214 <param name="use_all_alignments" argument="--use-all-alignments" type="boolean" truevalue="--use-all-alignments" falsevalue="" checked="false" label="Use all alignments as in QUAST v.1.*. to compute genome fraction, # genomic features, # operons metrics?" help="By default, QUAST v.2.0 and higher filters out ambiguous and redundant alignments, keeping only one alignment per contig (or one set of non-overlapping or slightly overlapping alignments)"/> | 300 <param argument="--use-all-alignments" type="boolean" truevalue="--use-all-alignments" falsevalue="" checked="false" label="Use all alignments as in QUAST v.1.*. to compute genome fraction, # genomic features, # operons metrics?" help="By default, QUAST v.2.0 and higher filters out ambiguous and redundant alignments, keeping only one alignment per contig (or one set of non-overlapping or slightly overlapping alignments)"/> |
215 <param name="min_alignment" argument="--min-alignment" type="integer" value="65" label="Minimum length of alignment" help="Alignments shorter than this value will be filtered. Note that all alignments shorter than 65 bp will be filtered regardless of this threshold."/> | 301 <param argument="--min-alignment" type="integer" value="65" label="Minimum length of alignment" help="Alignments shorter than this value will be filtered. Note that all alignments shorter than 65 bp will be filtered regardless of this threshold."/> |
216 <param name="min_identity" argument="--min-identity" type="float" value="95.0" label="Minimum IDY% considered as proper alignment" help="Alignments with IDY% worse than this value will be filtered. ote that all alignments with IDY% less than 80.0% will be filtered regardless of this threshold. "/> | 302 <param argument="--min-identity" type="float" value="95.0" label="Minimum IDY% considered as proper alignment" help="Alignments with IDY% worse than this value will be filtered. ote that all alignments with IDY% less than 80.0% will be filtered regardless of this threshold. "/> |
217 <param name="ambiguity_usage" argument="--ambiguity-usage" type="select" label="How processing equally good alignments of a contig (probably repeats)?" help=""> | 303 <param argument="--ambiguity-usage" type="select" label="How processing equally good alignments of a contig (probably repeats)?" help=""> |
218 <option value="none">Skip all such alignments</option> | 304 <option value="none">Skip all such alignments</option> |
219 <option value="one" selected="true">Take only one (the very best one)</option> | 305 <option value="one" selected="true">Take only one (the very best one)</option> |
220 <option value="all">Use all alignments. It can cause a significant increase of # mismatches (repeats are almost always inexact due to accumulated SNPs, indels, etc.). It is useful for metagenomic assemblies where ambiguous alignments might represent homologous sequences of different strains</option> | 306 <option value="all">Use all alignments. It can cause a significant increase of # mismatches (repeats are almost always inexact due to accumulated SNPs, indels, etc.). It is useful for metagenomic assemblies where ambiguous alignments might represent homologous sequences of different strains</option> |
221 </param> | 307 </param> |
222 <param name="ambiguity_score" argument="--ambiguity-score" type="float" value="0.99" min="0.8" max="1.0" label="Score S for defining equally good alignments of a single contig" help="All alignments are sorted by decreasing LEN × IDY% value. All alignments with LEN × IDY% less than S × best(LEN × IDY%) are discarded. "/> | 308 <param argument="--ambiguity-score" type="float" value="0.99" min="0.8" max="1.0" label="Score S for defining equally good alignments of a single contig" help="All alignments are sorted by decreasing LEN × IDY% value. All alignments with LEN × IDY% less than S × best(LEN × IDY%) are discarded. "/> |
223 <param argument="--fragmented" type="boolean" truevalue="--fragmented" falsevalue="" checked="false" label="Use all alignments as in QUAST v.1.*. to compute genome fraction, # genomic features, # operons metrics?" help="By default, QUAST v.2.0 and higher filters out ambiguous and redundant alignments, keeping only one alignment per contig (or one set of non-overlapping or slightly overlapping alignments)"/> | 309 <param argument="--fragmented" type="boolean" truevalue="--fragmented" falsevalue="" checked="false" label="Fragmented reference genome" help="Reference genome is fragmented (e.g. a scaffold reference). QUAST will try to detect misassemblies caused by the fragmentation and mark them fake (will be excluded from misassemblies). Note: QUAST will not detect misassemblies caused by the linear representation of circular genome "/> |
224 <param name="fragmented_max_indent" argument="--fragmented-max-indent" type="integer" value="50" label="Mark translocation as fake if both alignments are located no further than N bases from the ends of the reference fragments" help="The value should be less than extensive misassembly size"/> | 310 <param argument="--upper-bound-assembly" type="boolean" truevalue="--upper-bound-assembly" falsevalue="" label="Simulate upper bound assembly" help="Simulate upper bound assembly based on the reference genome and a given set reads (mate-pairs or long reads, such as Pacbio SMRT/Oxford Nanopore, are REQUIRED). This assembly is added to the comparison and could be useful for estimating the upper bounds of completeness and contiguity that theoretically can be reached by assembly software from this particular set of reads. The concept is based on the fact that the reference genome cannot be completely reconstructed from raw reads due to long genomic repeats and low covered regions." /> |
225 <param name="upper_bound_assembly" argument="--upper-bound-assembly" type="boolean" truevalue="--upper-bound-assembly" falsevalue="" checked="false" label="Simulate upper bound assembly based on the reference genome and a given set reads?" help="Mate-pairs or long reads, such as Pacbio SMRT/Oxford Nanopore, are REQUIRED. This assembly is added to the comparison and could be useful for estimating the upper bounds of completeness and contiguity that theoretically can be reached by assembly software from this particular set of reads. The concept is based on the fact that the reference genome cannot be completely reconstructed from raw reads due to long genomic repeats and low covered regions. See Mikheenko et al., 2018 for more details. "/> | 311 <param argument="--upper-bound-min-con" type="integer" value="" optional="true" label="Minimal number of 'connecting reads' needed for joining upper bound contigs into a scaffold" help="This is important for a realistic estimation of genome assembly fragmentation due to long repeats. The default values is 2 for mate-pairs and 1 for long reads (PacBio or Nanopore libraries)"/> |
226 <param name="upper_bound_min_con" argument="--upper-bound-min-con" type="integer" value="2" label="Minimal number of 'connecting reads' needed for joining upper bound contigs into a scaffold" help="This is important for a realistic estimation of genome assembly fragmentation due to long repeats. The default values is 2 for mate-pairs and 1 for long reads (PacBio or Nanopore libraries)."/> | |
227 </section> | 312 </section> |
228 <param name="contig_thresholds" argument="--contig-thresholds" type="text" value="0,1000" label="Comma-separated list of contig length thresholds (in bp)" help="Used in # contigs ≥ x and total length (≥ x) metrics"/> | 313 <section name="advanced" title="Advanced options"> |
229 <param name="strict_NA" argument="--strict-NA" type="boolean" truevalue="--strict-NA" falsevalue="" checked="false" label="Break contigs at every misassembly event (including local ones) to compute NAx and NGAx statistics?" help="By default, QUAST breaks contigs only at extensive misassemblies (not local ones)."/> | 314 <param argument="--contig-thresholds" type="text" value="0,1000" label="Comma-separated list of contig length thresholds (in bp)" help="Used in # contigs ≥ x and total length (≥ x) metrics"/> |
230 <param name="extensive_mis_size" argument="--extensive-mis-size" type="integer" value="1000" min="85" label="Lower threshold for the relocation size (gap or overlap size between left and right flanking sequence)" help="Shorter relocations are considered as local misassemblies. It does not affect other types of extensive misassemblies (inversions and translocations). The default value is 1000 bp. Note that the threshold should be greater than maximum indel length which is 85 bp."/> | 315 <param argument="--strict-NA" type="boolean" truevalue="--strict-NA" falsevalue="" checked="false" label="Break contigs at every misassembly event (including local ones) to compute NAx and NGAx statistics?" help="By default, QUAST breaks contigs only at extensive misassemblies (not local ones)."/> |
231 <param name="scaffold_gap_max_size" argument="--scaffold-gap-max-size" type="integer" value="1000" label="Max allowed scaffold gap length difference for detecting corresponding type of misassemblies" help="Longer inconsistencies are considered as relocations and thus, counted as extensive misassemblies. The default value is 10000 bp. Note that the threshold make sense only if it is greater than extensive misassembly size"/> | 316 <param argument="--extensive-mis-size" type="integer" value="1000" min="85" label="Lower threshold for the relocation size (gap or overlap size between left and right flanking sequence)" help="Shorter relocations are considered as local misassemblies. It does not affect other types of extensive misassemblies (inversions and translocations). The default value is 1000 bp. Note that the threshold should be greater than maximum indel length which is 85 bp."/> |
232 <param name="unaligned_part_size" argument="--unaligned-part-size" type="integer" value="500" label="Lower threshold for detecting partially unaligned contigs" help=""/> | 317 <param argument="--scaffold-gap-max-size" type="integer" value="1000" label="Max allowed scaffold gap length difference for detecting corresponding type of misassemblies" help="Longer inconsistencies are considered as relocations and thus, counted as extensive misassemblies. The default value is 10000 bp. Note that the threshold make sense only if it is greater than extensive misassembly size"/> |
233 <param name="skip_unaligned_mis_contigs" argument="--skip-unaligned-mis-contigs" type="boolean" truevalue="" falsevalue="--skip-unaligned-mis-contigs" checked="true" label="Distinguish contigs with more than 50% unaligned bases as a separate group of contigs?" help="By default, QUAST breaks contigs only at extensive misassemblies (not local ones)."/> | 318 <param argument="--unaligned-part-size" type="integer" value="500" label="Lower threshold for detecting partially unaligned contigs" help=""/> |
319 <param argument="--skip-unaligned-mis-contigs" type="boolean" truevalue="" falsevalue="--skip-unaligned-mis-contigs" checked="true" label="Distinguish contigs with more than 50% unaligned bases as a separate group of contigs?" help="By default, QUAST breaks contigs only at extensive misassemblies (not local ones)."/> | |
320 <param argument="--fragmented-max-indent" type="integer" min="0" value="" optional="true" label="Fragment max indent" help="Mark translocation as fake if both alignments are located no further than N bases from the ends of the reference fragments. The value should be less than extensive misassembly size.Default value is 50. Note: requires --fragmented option" /> | |
321 </section> | |
322 <param name="output_files" type="select" display="checkboxes" optional="true" multiple="true" label="Output files"> | |
323 <option value="html" selected="true">HTML report</option> | |
324 <option value="pdf">PDF report</option> | |
325 <option value="tabular">Tabular reports</option> | |
326 <option value="log">Log file</option> | |
327 </param> | |
234 </inputs> | 328 </inputs> |
235 <outputs> | 329 <outputs> |
236 <data name="quast_tabular" format="tabular" label="${tool.name} on ${on_string}: tabular report" from_work_dir="outputdir/report.tsv"/> | 330 <data name="quast_tabular" format="tabular" label="${tool.name} on ${on_string}: tabular report" from_work_dir="outputdir/report.tsv"> |
237 <data name="report_html" format="html" label="${tool.name} on ${on_string}: HTML report" from_work_dir="outputdir/report.html"/> | 331 <filter>'tabular' in output_files</filter> |
238 <data name="report_pdf" format="pdf" label="${tool.name} on ${on_string}: PDF report" from_work_dir="outputdir/report.pdf"/> | |
239 <data name="log" format="txt" label="${tool.name} on ${on_string}: Log" from_work_dir="outputdir/quast.log"/> | |
240 <data name="mis_ass" format="tabular" label="${tool.name} on ${on_string}: Misassemblies" from_work_dir="outputdir/contigs_reports/misassemblies_report.txt"> | |
241 <filter>(assembly['type'] == 'genome' and assembly['ref']['use_ref'] == 'true') or (assembly['type'] == 'metagenome' and assembly['ref']['origin'] != 'none')</filter> | |
242 </data> | 332 </data> |
243 <data name="unalign" format="tabular" label="${tool.name} on ${on_string}: Unaligned contigs" from_work_dir="outputdir/contigs_reports/unaligned_report.tsv"> | 333 <data name="report_html" format="html" label="${tool.name} on ${on_string}: HTML report" from_work_dir="outputdir/report.html"> |
244 <filter>(assembly['type'] == 'genome' and assembly['ref']['use_ref'] == 'true') or (assembly['type'] == 'metagenome' and assembly['ref']['origin'] != 'none')</filter> | 334 <filter>'html' in output_files</filter> |
245 </data> | 335 </data> |
246 <data name="kmers" format="tabular" label="${tool.name} on ${on_string}: K-mer-based metrics" from_work_dir="outputdir/k_mer_stats/kmers_report.txt"> | 336 <data name="report_pdf" format="pdf" label="${tool.name} on ${on_string}: PDF report" from_work_dir="outputdir/report.pdf"> |
247 <filter>k_mer['k_mer_stats'] != ''</filter> | 337 <filter>'pdf' in output_files</filter> |
338 </data> | |
339 <data name="log" format="txt" label="${tool.name} on ${on_string}: Log" from_work_dir="outputdir/quast.log"> | |
340 <filter>'log' in output_files</filter> | |
341 </data> | |
342 <data name="mis_ass" format="tabular" label="${tool.name} on ${on_string}: Misassemblies report" from_work_dir="outputdir/contigs_reports/misassemblies_report.txt"> | |
343 <filter>assembly['type'] == 'genome' and assembly['ref']['use_ref'] == 'true'</filter> | |
344 <filter>'tabular' in output_files</filter> | |
345 </data> | |
346 <data name="unalign" format="tabular" label="${tool.name} on ${on_string}: Unaligned contigs report" from_work_dir="outputdir/contigs_reports/unaligned_report.tsv"> | |
347 <filter>assembly['type'] == 'genome' and assembly['ref']['use_ref'] == 'true'</filter> | |
348 <filter>'tabular' in output_files</filter> | |
349 </data> | |
350 <data name="kmers" format="tabular" label="${tool.name} on ${on_string}: K-mer-based metrics report" from_work_dir="outputdir/k_mer_stats/kmers_report.txt"> | |
351 <filter>assembly['type'] == 'genome' and assembly['ref']['use_ref'] == 'true' and assembly['ref']['k_mer']['k_mer_stats'] != ''</filter> | |
352 <filter>'tabular' in output_files</filter> | |
353 </data> | |
354 <data name="circos_output" format="png" from_work_dir="outputdir/circos/circos.png" label="${tool.name} on ${on_string}: Circos plot"> | |
355 <filter>assembly['type'] == 'genome' and assembly['ref']['use_ref'] == 'true' and assembly['ref']['circos']</filter> | |
248 </data> | 356 </data> |
249 </outputs> | 357 </outputs> |
250 <tests> | 358 <tests> |
251 <test> | 359 <!-- Test 01: reference, genes annotations and operon coordinates --> |
252 <!-- Test with reference and genes annotations --> | 360 <test expect_num_outputs="2"> |
253 <conditional name="in"> | 361 <conditional name="in"> |
254 <param name="custom" value="true"/> | 362 <param name="custom" value="true"/> |
255 <repeat name="inputs"> | 363 <repeat name="inputs"> |
256 <param name="input" value="contigs1.fna"/> | 364 <param name="input" value="contigs1.fna"/> |
257 <param name="labels" value="contig1"/> | 365 <param name="labels" value="contig1"/> |
258 </repeat> | 366 </repeat> |
259 <repeat name="inputs"> | 367 <repeat name="inputs"> |
260 <param name="input" value="contigs2.fna"/> | 368 <param name="input" value="contigs2.fna"/> |
261 <param name="labels" value=""/> | 369 <param name="labels" value="contig2"/> |
262 </repeat> | 370 </repeat> |
263 </conditional> | 371 </conditional> |
264 <conditional name="assembly"> | 372 <conditional name="assembly"> |
265 <param name="type" value="genome"/> | 373 <param name="type" value="genome"/> |
266 <conditional name="ref"> | 374 <conditional name="ref"> |
267 <param name="use_ref" value="true"/> | 375 <param name="use_ref" value="true"/> |
268 <param name="r" value="reference.fna"/> | 376 <param name="r" value="reference.fna"/> |
269 <param name="features" value="genes.gff"/> | 377 <param name="features" value="genes.gff"/> |
378 <param name="operons" value="operons.bed"/> | |
379 <conditional name="k_mer"> | |
380 <param name="k_mer_stats" value="--k-mer-stats"/> | |
381 <param name="k_mer_size" value="101" /> | |
382 </conditional> | |
383 <param name="circos" value="true"/> | |
270 </conditional> | 384 </conditional> |
271 <param name="orga_type" value=""/> | 385 <param name="orga_type" value=""/> |
272 </conditional> | 386 </conditional> |
273 <param name="min_contig" value="500"/> | 387 <param name="min_contig" value="500"/> |
274 <param name="split_scaffolds" value="false"/> | 388 <param name="split_scaffolds" value="false"/> |
275 <param name="large" value="true"/> | |
276 <conditional name="k_mer"> | |
277 <param name="k_mer_stats" value="--k-mer-stats"/> | |
278 <param name="k_mer_size" value="101" /> | |
279 </conditional> | |
280 <param name="circos" value="true"/> | |
281 <section name="genes"> | 389 <section name="genes"> |
282 <conditional name="gene_finding"> | 390 <conditional name="gene_finding"> |
283 <param name="tool" value="--gene_finding"/> | 391 <param name="tool" value="--gene_finding"/> |
284 <param name="gene_thresholds" value="0,300,1500,3000"/> | 392 <param name="gene_thresholds" value="0,300,1500,3000"/> |
285 </conditional> | 393 </conditional> |
286 <param name="rna_finding" value="true"/> | 394 <param name="rna_finding" value="true"/> |
287 <param name="conserved_genes_finding" value="true"/> | 395 <param name="conserved_genes_finding" value="true"/> |
288 </section> | 396 </section> |
289 <section name="al"> | 397 <section name="alignments"> |
290 <param name="use_all_alignments" value="true"/> | 398 <param name="use_all_alignments" value="true"/> |
291 <param name="min_alignment" value="65"/> | 399 <param name="min_alignment" value="65"/> |
292 <param name="min_identity" value="95.0"/> | 400 <param name="min_identity" value="95.0"/> |
293 <param name="ambiguity_usage" value="one"/> | 401 <param name="ambiguity_usage" value="one"/> |
294 <param name="ambiguity_score" value="0.99"/> | 402 <param name="ambiguity_score" value="0.99"/> |
295 <param name="fragmented" value="true"/> | 403 </section> |
404 <section name="advanced"> | |
405 <param name="contig_thresholds" value="0,1000"/> | |
406 <param name="strict_NA" value="true"/> | |
407 <param name="extensive_mis_size" value="1000"/> | |
408 <param name="scaffold_gap_max_size" value="1000"/> | |
409 <param name="unaligned_part_size" value="500"/> | |
410 <param name="skip_unaligned_mis_contigs" value="true"/> | |
296 <param name="fragmented_max_indent" value="50"/> | 411 <param name="fragmented_max_indent" value="50"/> |
297 <param name="upper_bound_assembly" value="true"/> | 412 </section> |
298 <param name="upper_bound_min_con" value="2"/> | 413 <param name="output_files" value="html"/> |
299 </section> | 414 <output name="report_html" file="test1_report.html" ftype="html" compare="sim_size"/> |
300 <param name="contig_thresholds" value="0,1000"/> | 415 <output name="circos_output" file="test1_circos.png" ftype="png"/> |
301 <param name="strict_NA" value="true"/> | |
302 <param name="extensive_mis_size" value="1000"/> | |
303 <param name="scaffold_gap_max_size" value="1000"/> | |
304 <param name="unaligned_part_size" value="500"/> | |
305 <param name="skip_unaligned_mis_contigs" value="true"/> | |
306 <output name="quast_tabular" file="test1.tabular" lines_diff="2"/> | |
307 <output name="mis_ass" file="test1_mis_ass.tabular"/> | |
308 <output name="unalign" file="test1_unalign.tabular"/> | |
309 <output name="kmers" file="test1_kmers.tabular"/> | |
310 </test> | 416 </test> |
311 <test> | 417 <!-- Test 02: all outputs --> |
312 <!-- Test without reference --> | 418 <test expect_num_outputs="8"> |
419 <conditional name="in"> | |
420 <param name="custom" value="true"/> | |
421 <repeat name="inputs"> | |
422 <param name="input" value="contigs1.fna"/> | |
423 <param name="labels" value="contig1"/> | |
424 </repeat> | |
425 <repeat name="inputs"> | |
426 <param name="input" value="contigs2.fna"/> | |
427 <param name="labels" value="contig2"/> | |
428 </repeat> | |
429 </conditional> | |
430 <conditional name="assembly"> | |
431 <param name="type" value="genome"/> | |
432 <conditional name="ref"> | |
433 <param name="use_ref" value="true"/> | |
434 <param name="r" value="reference.fna"/> | |
435 <param name="features" value="genes.gff"/> | |
436 <param name="operons" value="operons.bed"/> | |
437 <conditional name="k_mer"> | |
438 <param name="k_mer_stats" value="--k-mer-stats"/> | |
439 <param name="k_mer_size" value="101" /> | |
440 </conditional> | |
441 <param name="circos" value="true"/> | |
442 </conditional> | |
443 </conditional> | |
444 <param name="output_files" value="html,pdf,tabular,log"/> | |
445 <output name="report_html" file="test2_report.html" ftype="html" compare="sim_size"/> | |
446 <output name="report_pdf" file="test2_report.pdf" ftype="pdf" compare="sim_size"/> | |
447 <output name="quast_tabular" file="test2_report.tab" ftype="tabular"/> | |
448 <output name="log" file="test2.log" ftype="txt" compare="sim_size"/> | |
449 <output name="mis_ass" file="test2_missasemblies.tab" ftype="tabular"/> | |
450 <output name="unalign" file="test2_unaligned.tab" ftype="tabular"/> | |
451 <output name="kmers" file="test2_kmers.tab" ftype="tabular"/> | |
452 <output name="circos_output" file="test2_circos.png" ftype="png" compare="sim_size"/> | |
453 </test> | |
454 <!-- Test 03: without reference --> | |
455 <test expect_num_outputs="3"> | |
313 <conditional name="in"> | 456 <conditional name="in"> |
314 <param name="custom" value="false"/> | 457 <param name="custom" value="false"/> |
315 <param name="inputs" value="contigs1.fna,contigs2.fna"/> | 458 <param name="inputs" value="contigs1.fna,contigs2.fna"/> |
316 </conditional> | 459 </conditional> |
317 <conditional name="assembly"> | 460 <conditional name="assembly"> |
322 <param name="orga_type" value="--eukaryote"/> | 465 <param name="orga_type" value="--eukaryote"/> |
323 </conditional> | 466 </conditional> |
324 <param name="min_contig" value="500"/> | 467 <param name="min_contig" value="500"/> |
325 <param name="split_scaffolds" value="false"/> | 468 <param name="split_scaffolds" value="false"/> |
326 <param name="large" value="false"/> | 469 <param name="large" value="false"/> |
327 <conditional name="k_mer"> | |
328 <param name="k_mer_stats" value=""/> | |
329 </conditional> | |
330 <param name="circos" value="false"/> | |
331 <section name="genes"> | 470 <section name="genes"> |
332 <conditional name="gene_finding"> | 471 <conditional name="gene_finding"> |
333 <param name="tool" value="none"/> | 472 <param name="tool" value="none"/> |
334 </conditional> | 473 </conditional> |
335 <param name="rna_finding" value="false"/> | 474 <param name="rna_finding" value="false"/> |
336 <param name="conserved_genes_finding" value="false"/> | 475 <param name="conserved_genes_finding" value="false"/> |
337 </section> | 476 </section> |
338 <section name="al"> | 477 <section name="alignments"> |
339 <param name="use_all_alignments" value="false"/> | 478 <param name="use_all_alignments" value="false"/> |
340 <param name="min_alignment" value="65"/> | 479 <param name="min_alignment" value="65"/> |
341 <param name="min_identity" value="95.0"/> | 480 <param name="min_identity" value="95.0"/> |
342 <param name="ambiguity_usage" value="one"/> | 481 <param name="ambiguity_usage" value="one"/> |
343 <param name="ambiguity_score" value="0.99"/> | 482 <param name="ambiguity_score" value="0.99"/> |
344 <param name="fragmented" value="false"/> | 483 <param name="fragmented" value="false"/> |
345 <param name="fragmented_max_indent" value="50"/> | 484 </section> |
346 <param name="upper_bound_assembly" value="false"/> | 485 <section name="advanced"> |
347 <param name="upper_bound_min_con" value="2"/> | 486 <param name="contig_thresholds" value="0,1000, 500"/> |
348 </section> | 487 <param name="strict_NA" value="false"/> |
349 <param name="contig_thresholds" value="0,1000, 500"/> | 488 <param name="extensive_mis_size" value="1000"/> |
350 <param name="strict_NA" value="false"/> | 489 <param name="scaffold_gap_max_size" value="1000"/> |
351 <param name="extensive_mis_size" value="1000"/> | 490 <param name="unaligned_part_size" value="500"/> |
352 <param name="scaffold_gap_max_size" value="1000"/> | 491 <param name="skip_unaligned_mis_contigs" value="-"/> |
353 <param name="unaligned_part_size" value="500"/> | 492 </section> |
354 <param name="skip_unaligned_mis_contigs" value="-"/> | 493 <param name="output_files" value="html,pdf,log" /> |
355 <output name="quast_tabular" file="test2.tabular"/> | 494 <output name="log" file="test3.log" ftype="txt" compare="sim_size"/> |
356 <output name="report_html" file="test2_report.html" compare="sim_size"/> | 495 <output name="report_html" file="test3_report.html" compare="sim_size"/> |
357 <output name="report_pdf" file="test2_report.pdf" compare="sim_size"/> | 496 <output name="report_pdf" file="test3_report.pdf" compare="sim_size"/> |
358 </test> | 497 </test> |
498 <!-- Test 04: metagenomics --> | |
359 <test> | 499 <test> |
360 <!-- Test with metagenomics --> | |
361 <conditional name="in"> | 500 <conditional name="in"> |
362 <param name="custom" value="false"/> | 501 <param name="custom" value="false"/> |
363 <param name="inputs" value="contigs3.fasta"/> | 502 <param name="inputs" value="contigs3.fasta"/> |
364 </conditional> | 503 </conditional> |
365 <conditional name="assembly"> | 504 <conditional name="assembly"> |
369 </conditional> | 508 </conditional> |
370 </conditional> | 509 </conditional> |
371 <param name="min_contig" value="500"/> | 510 <param name="min_contig" value="500"/> |
372 <param name="split_scaffolds" value="false"/> | 511 <param name="split_scaffolds" value="false"/> |
373 <param name="large" value="false"/> | 512 <param name="large" value="false"/> |
374 <conditional name="k_mer"> | |
375 <param name="k_mer_stats" value=""/> | |
376 </conditional> | |
377 <param name="circos" value="false"/> | |
378 <section name="genes"> | 513 <section name="genes"> |
379 <conditional name="gene_finding"> | 514 <conditional name="gene_finding"> |
380 <param name="tool" value="--mgm"/> | 515 <param name="tool" value="--mgm"/> |
381 </conditional> | 516 </conditional> |
382 <param name="rna_finding" value="false"/> | 517 <param name="rna_finding" value="false"/> |
383 <param name="conserved_genes_finding" value="false"/> | 518 <param name="conserved_genes_finding" value="false"/> |
384 </section> | 519 </section> |
385 <section name="al"> | 520 <section name="alignments"> |
386 <param name="use_all_alignments" value="false"/> | 521 <param name="use_all_alignments" value="false"/> |
387 <param name="min_alignment" value="65"/> | 522 <param name="min_alignment" value="65"/> |
388 <param name="min_identity" value="95.0"/> | 523 <param name="min_identity" value="95.0"/> |
389 <param name="ambiguity_usage" value="one"/> | 524 <param name="ambiguity_usage" value="one"/> |
390 <param name="ambiguity_score" value="0.99"/> | 525 <param name="ambiguity_score" value="0.99"/> |
391 <param name="fragmented" value="false"/> | 526 <param name="fragmented" value="false"/> |
392 <param name="fragmented_max_indent" value="50"/> | 527 </section> |
393 <param name="upper_bound_assembly" value="false"/> | 528 <section name="advanced"> |
394 <param name="upper_bound_min_con" value="2"/> | 529 <param name="contig_thresholds" value="0,1000, 500"/> |
395 </section> | 530 <param name="strict_NA" value="false"/> |
396 <param name="contig_thresholds" value="0,1000, 500"/> | 531 <param name="extensive_mis_size" value="1000"/> |
397 <param name="strict_NA" value="false"/> | 532 <param name="scaffold_gap_max_size" value="1000"/> |
398 <param name="extensive_mis_size" value="1000"/> | 533 <param name="unaligned_part_size" value="500"/> |
399 <param name="scaffold_gap_max_size" value="1000"/> | 534 <param name="skip_unaligned_mis_contigs" value="-"/> |
400 <param name="unaligned_part_size" value="500"/> | 535 </section> |
401 <param name="skip_unaligned_mis_contigs" value="-"/> | 536 <param name="output_files" value="tabular"/> |
402 <output name="quast_tabular" file="test3.tabular"/> | 537 <output name="quast_tabular" file="test4.tab" ftype="tabular"/> |
538 </test> | |
539 <!-- Test 05: FASTQ read files --> | |
540 <test expect_num_outputs="3"> | |
541 <conditional name="in"> | |
542 <param name="custom" value="true"/> | |
543 <repeat name="inputs"> | |
544 <param name="input" value="contigs1.fna"/> | |
545 <param name="labels" value="contig1"/> | |
546 </repeat> | |
547 <repeat name="inputs"> | |
548 <param name="input" value="contigs2.fna"/> | |
549 <param name="labels" value="contig2"/> | |
550 </repeat> | |
551 </conditional> | |
552 <conditional name="reads"> | |
553 <param name="reads_option" value="pacbio"/> | |
554 <param name="input_1" value="pacbio_01.fastq,pacbio_02.fastq,pacbio_03.fastq,pacbio_04.fastq"/> | |
555 </conditional> | |
556 <conditional name="assembly"> | |
557 <param name="type" value="genome"/> | |
558 <conditional name="ref"> | |
559 <param name="use_ref" value="true"/> | |
560 <param name="r" value="reference.fna"/> | |
561 </conditional> | |
562 </conditional> | |
563 <section name="alignments"> | |
564 <param name="upper_bound_assembly" value="true"/> | |
565 <param name="upper_bound_min_con" value="1"/> | |
566 </section> | |
567 <param name="output_files" value="tabular"/> | |
568 <output name="quast_tabular" file="test5.tab" ftype="tabular"/> | |
569 <output name="mis_ass" file="test5_missasemblies.tab" ftype="tabular"/> | |
570 <output name="unalign" file="test5_unaligned.tab" ftype="tabular"/> | |
571 </test> | |
572 <!-- Test 6: FASTQ.gz read files --> | |
573 <test expect_num_outputs="1"> | |
574 <conditional name="in"> | |
575 <param name="custom" value="true"/> | |
576 <repeat name="inputs"> | |
577 <param name="input" value="contigs1.fna"/> | |
578 <param name="labels" value="contig1"/> | |
579 </repeat> | |
580 <repeat name="inputs"> | |
581 <param name="input" value="contigs2.fna"/> | |
582 <param name="labels" value="contig2"/> | |
583 </repeat> | |
584 </conditional> | |
585 <conditional name="reads"> | |
586 <param name="reads_option" value="single"/> | |
587 <param name="input_1" value="pacbio_01.fastq.gz,pacbio_02.fastq.gz"/> | |
588 </conditional> | |
589 <param name="output_files" value="tabular"/> | |
590 <output name="quast_tabular" file="test6.tab" ftype="tabular"/> | |
403 </test> | 591 </test> |
404 </tests> | 592 </tests> |
405 <help> | 593 <help> |
406 <![CDATA[ | 594 <![CDATA[ |
407 **What it does** | 595 **What it does** |
503 LA75 15 15 16 | 691 LA75 15 15 16 |
504 LGA75 15 15 17 | 692 LGA75 15 15 17 |
505 | 693 |
506 where, again, values are defined as specified in `Quast manual <http://quast.sourceforge.net/docs/manual.html#sec3.1.1>`_. You can see that this report includes a variety of data that can only be computer against a reference assembly. | 694 where, again, values are defined as specified in `Quast manual <http://quast.sourceforge.net/docs/manual.html#sec3.1.1>`_. You can see that this report includes a variety of data that can only be computer against a reference assembly. |
507 | 695 |
508 Using reference also produces an **Alignment viewer**: | 696 Using reference also produces an **Alignment viewer**: |
509 | 697 |
510 .. image:: $PATH_TO_IMAGES/Align_view.png | 698 .. image:: $PATH_TO_IMAGES/Align_view.png |
511 :width: 515 | 699 :width: 515 |
512 :height: 395 | 700 :height: 395 |
513 | 701 |
514 Alignment viewer highlights regions of interest as, in this case, missassemblies that can potentially point to genome rearrangements (see more `here <http://quast.sourceforge.net/docs/manual.html#sec3.4>`_). | 702 Alignment viewer highlights regions of interest as, in this case, missassemblies that can potentially point to genome rearrangements (see more `here <http://quast.sourceforge.net/docs/manual.html#sec3.4>`_). |
515 | 703 |
516 ]]> | 704 ]]> |
517 </help> | 705 </help> |
518 | 706 <expand macro="citations"/> |
519 <citations> | |
520 <citation type="doi">10.1093/bioinformatics/bty266</citation> | |
521 <citation type="doi">10.1093/bioinformatics/btw379</citation> | |
522 <citation type="doi">10.1093/bioinformatics/btv697</citation> | |
523 <citation type="doi">10.1093/bioinformatics/btt086</citation> | |
524 </citations> | |
525 </tool> | 707 </tool> |