Mercurial > repos > iuc > quast
comparison quast.xml @ 6:f30d03867854 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/quast commit 911441d53ac3a7a229c448d66101bcd9179e771b
author | iuc |
---|---|
date | Wed, 06 Mar 2019 14:09:08 -0500 |
parents | 81df4950d65b |
children | 59db8ea8c845 |
comparison
equal
deleted
inserted
replaced
5:81df4950d65b | 6:f30d03867854 |
---|---|
1 <tool id="quast" name="Quast" version="5.0.2" > | 1 <tool id="quast" name="Quast" version="@TOOL_VERSION@+galaxy0" > |
2 <description>Genome assembly Quality</description> | 2 <description>Genome assembly Quality</description> |
3 <macros> | |
4 <token name="@TOOL_VERSION@">5.0.2</token> | |
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> | |
3 <requirements> | 9 <requirements> |
4 <requirement type="package" version="5.0.2">quast</requirement> | 10 <requirement type="package" version="@TOOL_VERSION@">quast</requirement> |
5 </requirements> | 11 </requirements> |
6 <command detect_errors="exit_code"> | 12 <command detect_errors="exit_code"> |
7 <![CDATA[ | 13 <![CDATA[ |
8 #import re | 14 #import re |
15 | |
16 #if str($in.custom) == 'false' | |
17 #set $labels = ','.join( [re.sub('[^\w\-_]', '_', str($x.element_identifier)) for $x in $in.inputs ]) | |
18 #else | |
19 #set $labels = [] | |
20 #for $x in $in.inputs | |
21 #if str($x.labels) != '' | |
22 #silent $labels.append(re.sub('[^\w\-_]', '_', str($x.labels))) | |
23 #else | |
24 #silent $labels.append(re.sub('[^\w\-_]', '_', str($x.input.element_identifier))) | |
25 #end if | |
26 #end for | |
27 #set $labels = ','.join($labels) | |
28 #end if | |
29 | |
30 #if $assembly.type == 'metagenome' and $assembly.ref.origin == 'list' | |
31 #set $temp_ref_list_fp = 'temp_ref_list_fp' | |
32 #set $temp_ref_list_f = open($temp_ref_list_fp, 'w') | |
33 #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() | |
35 #end if | |
36 | |
37 #if $assembly.type == 'genome' | |
9 quast | 38 quast |
10 --threads \${GALAXY_SLOTS:-4} | 39 #else |
11 -o outputdir | 40 metaquast |
12 #if $gene_selection == "eukaryote": | 41 #end if |
13 --eukaryote | 42 -o outputdir |
14 #else if $gene_selection == "metagenes": | 43 |
15 --meta | 44 #if $assembly.type == 'genome' |
16 #end if | 45 #if $assembly.ref.use_ref == 'true' |
17 $large | 46 -r '$assembly.ref.r' |
18 #if $input_ref: | 47 #if $assembly.ref.features |
19 -R '$input_ref' | 48 --features '$assembly.ref.features' |
20 #if $input_operon: | 49 #end if |
21 -O '$input_operon' | 50 #if $assembly.ref.operons |
51 --operons '$assembly.ref.operons' | |
52 #end if | |
53 #else if $assembly.ref.est_ref_size | |
54 --est-ref-size $assembly.ref.est_ref_size | |
22 #end if | 55 #end if |
23 #if $annot: | 56 $assembly.orga_type |
24 -g '$annot' | 57 #else |
58 #if $assembly.ref.origin == 'history' | |
59 -r '$assembly.ref.r' | |
60 #else if $assembly.ref.origin == 'list' | |
61 --references-list '$temp_ref_list_fp' | |
62 #else if $assembly.ref.origin == 'silva' | |
63 --test-no-ref | |
64 --max-ref-num '$assembly.ref.max_ref_num' | |
25 #end if | 65 #end if |
26 #end if | 66 #end if |
27 #if $input_size: | 67 --min-contig $min_contig |
28 --est-ref-size $input_size | 68 --threads \${GALAXY_SLOTS:-4} |
29 #end if | 69 $split_scaffolds |
30 --min-contig $min_contig | 70 --labels $labels |
31 -l | 71 $large |
32 #set names = ','.join( [re.sub('[^\w\-_]', '_', str($x.element_identifier)) for $x in $input ]) | 72 $k_mer.k_mer_stats |
33 | 73 #if str($k_mer.k_mer_stats) != '' |
34 '$names' | 74 --k-mer-size $k_mer.k_mer_size |
35 --contig-thresholds $threshold_contig | 75 #end if |
36 #for $k in $input: | 76 $circos |
37 $k | 77 #if str($genes.gene_finding.tool) != 'none' |
38 #end for | 78 $genes.gene_finding.tool |
39 && mkdir '$report_html.files_path' | 79 #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(',')]) | |
81 --gene-thresholds '$gene_threshold' | |
82 #end if | |
83 #end if | |
84 $genes.rna_finding | |
85 $genes.conserved_genes_finding | |
86 $al.use_all_alignments | |
87 --min-alignment $al.min_alignment | |
88 --min-identity $al.min_identity | |
89 --ambiguity-usage '$al.ambiguity_usage' | |
90 $al.fragmented | |
91 #set $contig_thresholds = ','.join([x.strip() for x in str($contig_thresholds).split(',')]) | |
92 --contig-thresholds '$contig_thresholds' | |
93 $strict_NA | |
94 --extensive-mis-size $extensive_mis_size | |
95 --scaffold-gap-max-size $scaffold_gap_max_size | |
96 --unaligned-part-size $unaligned_part_size | |
97 $skip_unaligned_mis_contigs | |
98 | |
99 #if str($in.custom) == 'false' | |
100 #for $k in $in.inputs | |
101 '$k' | |
102 #end for | |
103 #else | |
104 #for $k in $in.inputs | |
105 '$k.input' | |
106 #end for | |
107 #end if | |
108 | |
109 && mkdir -p '$report_html.files_path' | |
40 && cp outputdir/*.html '$report_html.files_path' | 110 && cp outputdir/*.html '$report_html.files_path' |
41 #if str($input_ref): | 111 #if ($assembly.type == 'genome' and $assembly.ref.use_ref) or ($assembly.type == 'metagenome' and $assembly.ref.origin != 'none') |
42 && cp -R outputdir/icarus_viewers '$report_html.files_path' | 112 && cp -R outputdir/icarus_viewers '$report_html.files_path' |
43 #end if | 113 #end if |
44 ]]> | 114 ]]> |
45 </command> | 115 </command> |
46 <inputs> | 116 <inputs> |
47 <param type="data" format="fasta" name="input" label="Contigs/scaffolds output file" multiple="True"/> | 117 <conditional name="in"> |
48 <param name="type_file" type="select" label="Type of data"> | 118 <param name="custom" type="select" label="Use customized names for the input files?" help="They will be used in reports, plots and logs"> |
49 <option value="contig">Contig</option> | 119 <option value="true">Yes, specify custom names for</option> |
50 <option value="scaffold">Scaffold</option> | 120 <option value="false" selected="true">No, use dataset names</option> |
51 </param> | 121 </param> |
52 <param name="input_size" type="integer" label="Size of reference genome" optional="True" argument="--est-ref-size" | 122 <when value="true"> |
53 help="Estimated reference genome size (in bp) for computing NGx statistics, if known. This value will be used only if a reference genome file is not specified "/> | 123 <repeat name="inputs" title="Contigs/scaffolds" min="1"> |
54 <param argument="--large" type="boolean" truevalue="--large" falsevalue="" label="Run quast in --large mode for large genomes" help="Uses minimap2 aligner, improves transposable element handling and alignment thresholds"/> | 124 <param name="input" type="data" format="fasta" label="Contigs/scaffolds file"/> |
55 <param name="input_ref" type="data" format="fasta" label="Reference genome" optional="True" argument="-R" | 125 <param argument="--labels" type="text" value="" label="Name"/> |
56 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."/> | 126 </repeat> |
57 <param name="annot" type="data" format="gff, gff3, bed" label="Gene Annotations" optional="True" argument="-G" | 127 </when> |
58 help="Gene coordinates for the reference genome (only relevant if the reference genome is used). "/> | 128 <when value="false"> |
59 <param name="input_operon" type="data" format="gff, gff3, bed" label="Operon Annotations" optional="True" argument="-O" help="Operon coordinates for the reference genome (only relevant if the reference genome is used)."/> | 129 <param name="inputs" type="data" format="fasta" multiple="true" label="Contigs/scaffolds file"/> |
60 <param name="gene_selection" type="select" label="Type of organism"> | 130 </when> |
61 <option value="prokaryotes">Prokaryotes</option> | 131 </conditional> |
62 <option value="eukaryote">Eukaryote</option> | 132 <conditional name="assembly"> |
63 </param> | 133 <param name="type" type="select" label="Type of assembly"> |
64 <param name="min_contig" type="integer" value="500" label="Lower Threshold" argument="--min-contig" | 134 <option value="genome">Genome</option> |
65 help="Set the lower threshold for a contig length. Shorter contigs won't be taken into account [default is 500]"/> | 135 <option value="metagenome">Metagenome</option> |
66 <param name="threshold_contig" type="text" value="0,1000" label="Thresholds" argument="--contig-thresholds" | 136 </param> |
67 help="Set the thresholds for contig length. Comma-separated list of contig length thresholds.[default is 0,1000]"/> | 137 <when value="genome"> |
138 <conditional name="ref"> | |
139 <param name="use_ref" type="select" label="Use a 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."> | |
140 <option value="true">Yes</option> | |
141 <option value="false" selected="true">No</option> | |
142 </param> | |
143 <when value="true"> | |
144 <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"/> | |
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"/> | |
147 </when> | |
148 <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=""/> | |
150 </when> | |
151 </conditional> | |
152 <param name="orga_type" type="select" label="Type of organism"> | |
153 <option value="">Prokaryotes: use of GeneMarkS for gene finding</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> | |
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> | |
156 </param> | |
157 </when> | |
158 <when value="metagenome"> | |
159 <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."> | |
161 <option value="history">From history</option> | |
162 <option value="list">From list</option> | |
163 <option value="silva">From SILVA database</option> | |
164 <option value="none" selected="true">None</option> | |
165 </param> | |
166 <when value="history"> | |
167 <param argument="-r" type="data" format="fasta" multiple="true" label="Reference genome" /> | |
168 </when> | |
169 <when value="list"> | |
170 <param name="references_list" argument="references-list" type="text" value="" label="Comma-separated list of reference genomes" help="MetaQUAST will search for these references in the NCBI database and will download the found ones"/> | |
171 </when> | |
172 <when value="silva"> | |
173 <param name="max_ref_num" argument="-max-ref-num" type="integer" value="50" label="Maximum number of reference genomes (per each assembly) to download after searching in the SILVA databa" /> | |
174 </when> | |
175 <when value="none"/> | |
176 </conditional> | |
177 </when> | |
178 </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"/> | |
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."/> | |
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."/> | |
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"> | |
194 <conditional name="gene_finding"> | |
195 <param name="tool" type="select" label="Tool for gene prediction" help=""> | |
196 <option value="none">Don't predict genes</option> | |
197 <option value="--gene-finding">GeneMarkS if prokaryotes or GeneMark-ES if eukaryotes or fungi</option> | |
198 <option value="--mgm">MetaGeneMark, specially for metagenomic assembly</option> | |
199 <option value="--glimmer">Glimmer</option> | |
200 </param> | |
201 <when value="none"/> | |
202 <when value="--gene-finding"> | |
203 <expand macro="gene_thresholds"/> | |
204 </when> | |
205 <when value="--mgm"/> | |
206 <when value="--glimmer"> | |
207 <expand macro="gene_thresholds"/> | |
208 </when> | |
209 </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. "/> | |
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. "/> | |
212 </section> | |
213 <section name="al" 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)"/> | |
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."/> | |
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. "/> | |
217 <param name="ambiguity_usage" 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> | |
219 <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> | |
221 </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. "/> | |
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)"/> | |
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"/> | |
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. "/> | |
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> | |
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"/> | |
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)."/> | |
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."/> | |
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"/> | |
232 <param name="unaligned_part_size" argument="--unaligned-part-size" type="integer" value="500" label="Lower threshold for detecting partially unaligned contigs" help=""/> | |
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)."/> | |
68 </inputs> | 234 </inputs> |
69 <outputs> | 235 <outputs> |
70 <data format="txt" name="log_txt" label="Quast: Log" from_work_dir="outputdir/quast.log"/> | 236 <data name="quast_tabular" format="tabular" label="${tool.name} on ${on_string}: tabular report" from_work_dir="outputdir/report.tsv"/> |
71 <data format="tabular" name="mis_ass_tsv" label="Quast: Misassemblies" from_work_dir="outputdir/contigs_reports/misassemblies_report.txt"> | 237 <data name="report_html" format="html" label="${tool.name} on ${on_string}: HTML report" from_work_dir="outputdir/report.html"/> |
72 <filter>input_ref is not None</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> | |
73 </data> | 242 </data> |
74 <data format="tabular" name="unalign_tsv" label="Quast: Unaligned contigs" from_work_dir="outputdir/contigs_reports/unaligned_report.tsv"> | 243 <data name="unalign" format="tabular" label="${tool.name} on ${on_string}: Unaligned contigs" from_work_dir="outputdir/contigs_reports/unaligned_report.tsv"> |
75 <filter>input_ref is not None</filter> | 244 <filter>(assembly['type'] == 'genome' and assembly['ref']['use_ref'] == 'true') or (assembly['type'] == 'metagenome' and assembly['ref']['origin'] != 'none')</filter> |
76 </data> | 245 </data> |
77 <data format="tabular" name="quast_tsv" label="Quast: Report (tabulal)" from_work_dir="outputdir/report.tsv"/> | 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"> |
78 <data format="html" name="report_html" label="Quast: Report (HTML)" from_work_dir="outputdir/report.html"/> | 247 <filter>k_mer['k_mer_stats'] != ''</filter> |
79 <data format="pdf" name="report_pdf" label="Quast: Report (PDF)" from_work_dir="outputdir/report.pdf"/> | 248 </data> |
80 </outputs> | 249 </outputs> |
81 <tests> | 250 <tests> |
82 <test> | 251 <test> |
83 <!-- Test with reference and genes annotations --> | 252 <!-- Test with reference and genes annotations --> |
84 <param name="input" value="contigs2.fna,contigs1.fna"/> | 253 <conditional name="in"> |
85 <param name="input_ref" value="reference.fna"/> | 254 <param name="custom" value="true"/> |
86 <param name="type_file" value="contig"/> | 255 <repeat name="inputs"> |
87 <param name="annot" value="genes.gff"/> | 256 <param name="input" value="contigs1.fna"/> |
88 <param name="gene_selection" value="prokaryotes"/> | 257 <param name="labels" value="contig1"/> |
258 </repeat> | |
259 <repeat name="inputs"> | |
260 <param name="input" value="contigs2.fna"/> | |
261 <param name="labels" value=""/> | |
262 </repeat> | |
263 </conditional> | |
264 <conditional name="assembly"> | |
265 <param name="type" value="genome"/> | |
266 <conditional name="ref"> | |
267 <param name="use_ref" value="true"/> | |
268 <param name="r" value="reference.fna"/> | |
269 <param name="features" value="genes.gff"/> | |
270 </conditional> | |
271 <param name="orga_type" value=""/> | |
272 </conditional> | |
273 <param name="min_contig" value="500"/> | |
274 <param name="split_scaffolds" value="false"/> | |
89 <param name="large" value="true"/> | 275 <param name="large" value="true"/> |
90 <output name="quast_tsv" file="test1_output.tsv" lines_diff="4"/> | 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"> | |
282 <conditional name="gene_finding"> | |
283 <param name="tool" value="--gene_finding"/> | |
284 <param name="gene_thresholds" value="0,300,1500,3000"/> | |
285 </conditional> | |
286 <param name="rna_finding" value="true"/> | |
287 <param name="conserved_genes_finding" value="true"/> | |
288 </section> | |
289 <section name="al"> | |
290 <param name="use_all_alignments" value="true"/> | |
291 <param name="min_alignment" value="65"/> | |
292 <param name="min_identity" value="95.0"/> | |
293 <param name="ambiguity_usage" value="one"/> | |
294 <param name="ambiguity_score" value="0.99"/> | |
295 <param name="fragmented" value="true"/> | |
296 <param name="fragmented_max_indent" value="50"/> | |
297 <param name="upper_bound_assembly" value="true"/> | |
298 <param name="upper_bound_min_con" value="2"/> | |
299 </section> | |
300 <param name="contig_thresholds" value="0,1000"/> | |
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"/> | |
91 </test> | 310 </test> |
92 <test> | 311 <test> |
93 <!-- Test without reference --> | 312 <!-- Test without reference --> |
94 <param name="input" value="contigs2.fna,contigs1.fna"/> | 313 <conditional name="in"> |
95 <param name="type_file" value="contig"/> | 314 <param name="custom" value="false"/> |
96 <output name="quast_tsv" file="test2_output.tsv" lines_diff="4"/> | 315 <param name="inputs" value="contigs1.fna,contigs2.fna"/> |
97 <output name="report_html" file="test2_report.html" lines_diff="50"/> | 316 </conditional> |
317 <conditional name="assembly"> | |
318 <param name="type" value="genome"/> | |
319 <conditional name="ref"> | |
320 <param name="use_ref" value="false"/> | |
321 </conditional> | |
322 <param name="orga_type" value="--eukaryote"/> | |
323 </conditional> | |
324 <param name="min_contig" value="500"/> | |
325 <param name="split_scaffolds" value="false"/> | |
326 <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"> | |
332 <conditional name="gene_finding"> | |
333 <param name="tool" value="none"/> | |
334 </conditional> | |
335 <param name="rna_finding" value="false"/> | |
336 <param name="conserved_genes_finding" value="false"/> | |
337 </section> | |
338 <section name="al"> | |
339 <param name="use_all_alignments" value="false"/> | |
340 <param name="min_alignment" value="65"/> | |
341 <param name="min_identity" value="95.0"/> | |
342 <param name="ambiguity_usage" value="one"/> | |
343 <param name="ambiguity_score" value="0.99"/> | |
344 <param name="fragmented" value="false"/> | |
345 <param name="fragmented_max_indent" value="50"/> | |
346 <param name="upper_bound_assembly" value="false"/> | |
347 <param name="upper_bound_min_con" value="2"/> | |
348 </section> | |
349 <param name="contig_thresholds" value="0,1000, 500"/> | |
350 <param name="strict_NA" value="false"/> | |
351 <param name="extensive_mis_size" value="1000"/> | |
352 <param name="scaffold_gap_max_size" value="1000"/> | |
353 <param name="unaligned_part_size" value="500"/> | |
354 <param name="skip_unaligned_mis_contigs" value="-"/> | |
355 <output name="quast_tabular" file="test2.tabular"/> | |
356 <output name="report_html" file="test2_report.html" compare="sim_size"/> | |
98 <output name="report_pdf" file="test2_report.pdf" compare="sim_size"/> | 357 <output name="report_pdf" file="test2_report.pdf" compare="sim_size"/> |
358 </test> | |
359 <test> | |
360 <!-- Test with metagenomics --> | |
361 <conditional name="in"> | |
362 <param name="custom" value="false"/> | |
363 <param name="inputs" value="contigs3.fasta"/> | |
364 </conditional> | |
365 <conditional name="assembly"> | |
366 <param name="type" value="metagenome"/> | |
367 <conditional name="ref"> | |
368 <param name="origin" value="none"/> | |
369 </conditional> | |
370 </conditional> | |
371 <param name="min_contig" value="500"/> | |
372 <param name="split_scaffolds" value="false"/> | |
373 <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"> | |
379 <conditional name="gene_finding"> | |
380 <param name="tool" value="--mgm"/> | |
381 </conditional> | |
382 <param name="rna_finding" value="false"/> | |
383 <param name="conserved_genes_finding" value="false"/> | |
384 </section> | |
385 <section name="al"> | |
386 <param name="use_all_alignments" value="false"/> | |
387 <param name="min_alignment" value="65"/> | |
388 <param name="min_identity" value="95.0"/> | |
389 <param name="ambiguity_usage" value="one"/> | |
390 <param name="ambiguity_score" value="0.99"/> | |
391 <param name="fragmented" value="false"/> | |
392 <param name="fragmented_max_indent" value="50"/> | |
393 <param name="upper_bound_assembly" value="false"/> | |
394 <param name="upper_bound_min_con" value="2"/> | |
395 </section> | |
396 <param name="contig_thresholds" value="0,1000, 500"/> | |
397 <param name="strict_NA" value="false"/> | |
398 <param name="extensive_mis_size" value="1000"/> | |
399 <param name="scaffold_gap_max_size" value="1000"/> | |
400 <param name="unaligned_part_size" value="500"/> | |
401 <param name="skip_unaligned_mis_contigs" value="-"/> | |
402 <output name="quast_tabular" file="test3.tabular"/> | |
99 </test> | 403 </test> |
100 </tests> | 404 </tests> |
101 <help> | 405 <help> |
102 <![CDATA[ | 406 <![CDATA[ |
103 **What it does** | 407 **What it does** |