# HG changeset patch
# User iuc
# Date 1677753534 0
# Node ID 72472698a2dfe3bf82da7288c08e0f184eef536d
# Parent 3061c8b029e583ff229b2b245b9c93aeb8de18c8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/quast commit 617a2c388e73d6c93a2a1db9a58b914510052b69
diff -r 3061c8b029e5 -r 72472698a2df macros.xml
--- a/macros.xml Fri Aug 05 15:21:27 2022 +0000
+++ b/macros.xml Thu Mar 02 10:38:54 2023 +0000
@@ -1,6 +1,6 @@
5.2.0
- 0
+ 1
21.01
@@ -15,7 +15,7 @@
-
+
@@ -26,7 +26,28 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 3061c8b029e5 -r 72472698a2df quast.xml
--- a/quast.xml Fri Aug 05 15:21:27 2022 +0000
+++ b/quast.xml Thu Mar 02 10:38:54 2023 +0000
@@ -10,19 +10,31 @@
#import re
#import os
-#if str($in.custom) == 'false'
- #set $labels = ','.join( [re.sub('[^\w\-_]', '_', str($x.element_identifier)) for $x in $in.inputs])
+#if str($mode.in.custom) == 'false'
+ #if $mode.mode == 'individual'
+ #set $labels = re.sub('[^\w\-_]', '_', str($mode.in.inputs.element_identifier))
+ #else
+ #set $labels = ','.join( [re.sub('[^\w\-_]', '_', str($x.element_identifier)) for $x in $mode.in.inputs])
+ #end if
echo $labels &&
#else
- #set $labels = []
- #for $x in $in.inputs
- #if str($x.labels) != ''
- #silent $labels.append(re.sub('[^\w\-_]', '_', str($x.labels)))
+ #if $mode.mode == 'individual'
+ #if str($mode.in.labels) != ''
+ #set $labels = re.sub('[^\w\-_]', '_', str($mode.in.labels))
#else
- #silent $labels.append(re.sub('[^\w\-_]', '_', str($x.input.element_identifier)))
+ #set $labels = re.sub('[^\w\-_]', '_', str($mode.in.input.element_identifier))
#end if
- #end for
- #set $labels = ','.join($labels)
+ #else
+ #set $labels = []
+ #for $x in $mode.in.inputs
+ #if str($x.labels) != ''
+ #silent $labels.append(re.sub('[^\w\-_]', '_', str($x.labels)))
+ #else
+ #silent $labels.append(re.sub('[^\w\-_]', '_', str($x.input.element_identifier)))
+ #end if
+ #end for
+ #set $labels = ','.join($labels)
+ #end if
#end if
#if $assembly.type == 'metagenome' and $assembly.ref.origin == 'list'
@@ -32,19 +44,34 @@
#end for
#end if
-#if $reads.reads_option == 'paired'
- #for $read in $reads.input_1
- #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($read.element_identifier))
+#if $mode.reads.reads_option == 'paired'
+ #if $mode.mode == 'individual'
+ #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($mode.reads.input_1.element_identifier))
+ln -s '$mode.reads.input_1' 'pe1-${identifier}.${mode.reads.input_1.ext}' &&
+ #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($mode.reads.input_2.element_identifier))
+ln -s '$mode.reads.input_2' 'pe2-${identifier}.${mode.reads.input_2.ext}' &&
+ #else
+ #for $read in $mode.reads.input_1
+ #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($read.element_identifier))
ln -s '$read' 'pe1-${identifier}.${read.ext}' &&
- #end for
- #for $read in $reads.input_2
- #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($read.element_identifier))
+ #end for
+ #for $read in $mode.reads.input_2
+ #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($read.element_identifier))
ln -s '$read' 'pe2-${identifier}.${read.ext}' &&
- #end for
-#else if $reads.reads_option == 'paired_collection'
- #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($reads.input_1.element_identifier))
-ln -s '$reads.input_1.forward' 'pe1-${identifier}.${reads.input_1.forward.ext}' &&
-ln -s '$reads.input_1.reverse' 'pe2-${identifier}.${reads.input_1.reverse.ext}' &&
+ #end for
+ #end if
+#else if $mode.reads.reads_option == 'paired_collection'
+ #if $mode.mode == 'individual'
+ #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($mode.reads.input_1.element_identifier))
+ln -s '$mode.reads.input_1.forward' 'pe1-${identifier}.${mode.reads.input_1.forward.ext}' &&
+ln -s '$mode.reads.input_1.reverse' 'pe2-${identifier}.${mode.reads.input_1.reverse.ext}' &&
+ #else
+ #for $read in $mode.reads.input_1
+ #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($read.element_identifier))
+ln -s '$read.forward' 'pe1-${identifier}.${read.forward.ext}' &&
+ln -s '$read.reverse' 'pe2-${identifier}.${read.reverse.ext}' &&
+ #end for
+ #end if
#end if
#if $assembly.type == 'genome'
@@ -53,44 +80,79 @@
metaquast
#end if
-#if $reads.reads_option == 'single'
- #for $read in $reads.input_1
+#if $mode.reads.reads_option == 'single'
+ #if $mode.mode == 'individual'
+ --single '$mode.reads.input_1'
+ #else
+ #for $read in $mode.reads.input_1
--single '$read'
- #end for
-#else if $reads.reads_option == 'paired'
- #for $read in $reads.input_1
- #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($read.element_identifier))
+ #end for
+ #end if
+#else if $mode.reads.reads_option == 'paired'
+ #if $mode.mode == 'individual'
+ #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($mode.reads.input_1.element_identifier))
+ --pe1 'pe1-${identifier}.${mode.reads.input_1.ext}'
+ #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($mode.reads.input_2.element_identifier))
+ --pe2 'pe2-${identifier}.${mode.reads.input_2.ext}'
+ #else
+ #for $read in $mode.reads.input_1
+ #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($read.element_identifier))
--pe1 'pe1-${identifier}.${read.ext}'
- #end for
- #for $read in $reads.input_2
- #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($read.element_identifier))
+ #end for
+ #for $read in $mode.reads.input_2
+ #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($read.element_identifier))
--pe2 'pe2-${identifier}.${read.ext}'
- #end for
-#else if $reads.reads_option == 'paired_collection'
- #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($reads.input_1.element_identifier))
- --pe1 'pe1-${identifier}.${reads.input_1.forward.ext}'
- --pe2 'pe2-${identifier}.${reads.input_1.reverse.ext}'
-#else if $reads.reads_option == 'paired_interlaced'
- #for $read in $reads.input_1
+ #end for
+ #end if
+#else if $mode.reads.reads_option == 'paired_collection'
+ #if $mode.mode == 'individual'
+ #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($mode.reads.input_1.element_identifier))
+ --pe1 'pe1-${identifier}.${mode.reads.input_1.forward.ext}'
+ --pe2 'pe2-${identifier}.${mode.reads.input_1.reverse.ext}'
+ #else
+ #for $read in $mode.reads.input_1
+ #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($read.element_identifier))
+ --pe1 'pe1-${identifier}.${read.forward.ext}'
+ --pe2 'pe2-${identifier}.${read.reverse.ext}'
+ #end for
+ #end if
+#else if $mode.reads.reads_option == 'paired_interlaced'
+ #if $mode.mode == 'individual'
+ --pe12 '$mode.reads.input_1'
+ #else
+ #for $read in $mode.reads.input_1
--pe12 '$read'
- #end for
-#else if $reads.reads_option == 'mate_paired'
- #for $read in $reads.input_1
+ #end for
+ #end if
+#else if $mode.reads.reads_option == 'mate_paired'
+ #if $mode.mode == 'individual'
+ --mp1 '$mode.reads.input_1'
+ --mp2 '$mode.reads.input_2'
+ #else
+ #for $read in $mode.reads.input_1
--mp1 '$read'
- #end for
- #for $read in $reads.input_2
+ #end for
+ #for $read in $mode.reads.input_2
--mp2 '$read'
- #end for
-#else if $reads.reads_option == 'pacbio'
- #for $read in $reads.input_1
+ #end for
+ #end if
+#else if $mode.reads.reads_option == 'pacbio'
+ #if $mode.mode == 'individual'
+ --pacbio '$mode.reads.input_1'
+ #else
+ #for $read in $mode.reads.input_1
--pacbio '$read'
- #end for
-#else if $reads.reads_option == 'nanopore'
- #for $read in $reads.input_1
+ #end for
+ #end if
+#else if $mode.reads.reads_option == 'nanopore'
+ #if $mode.mode == 'individual'
+ --nanopore '$mode.reads.input_1'
+ #else
+ #for $read in $mode.reads.input_1
--nanopore '$read'
- #end for
+ #end for
+ #end if
#end if
-
--labels '$labels'
-o 'outputdir'
@@ -118,14 +180,11 @@
#else if $assembly.ref.origin == 'list'
--references-list '$temp_ref_list_fp'
#else if $assembly.ref.origin == 'silva'
- --test-no-ref
--max-ref-num $assembly.ref.max_ref_num
#end if
$assembly.reuse_combined_alignments
#end if
-
--min-identity $assembly.min_identity
-
--min-contig $min_contig
$split_scaffolds
$large
@@ -169,14 +228,22 @@
$advanced.report_all_metrics
--x-for-Nx $advanced.x_for_Nx
-#if str($in.custom) == 'false'
- #for $k in $in.inputs
+#if str($mode.in.custom) == 'false'
+ #if $mode.mode == 'individual'
+ '$mode.in.inputs'
+ #else
+ #for $k in $mode.in.inputs
'$k'
- #end for
+ #end for
+ #end if
#else
- #for $k in $in.inputs
+ #if $mode.mode == 'individual'
+ '$mode.in.input'
+ #else
+ #for $k in $mode.in.inputs
'$k.input'
- #end for
+ #end for
+ #end if
#end if
--threads \${GALAXY_SLOTS:-1}
@@ -197,55 +264,88 @@
#end if
]]>
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -269,7 +369,7 @@
-
+
@@ -288,22 +388,20 @@
-
+
+
-
-
-
+
+
+
+
-
+
-
-
-
-
@@ -385,7 +483,7 @@
assembly['type'] == 'genome' and 'log' in output_files
-
+
assembly['type'] == 'metagenome' and 'log' in output_files
@@ -418,16 +516,19 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -476,16 +577,19 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -513,9 +617,12 @@
-
-
-
+
+
+
+
+
+
@@ -557,14 +664,18 @@
-
-
-
+
+
+
+
+
+
-
+
+
@@ -617,20 +728,23 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -661,55 +775,64 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -758,15 +881,18 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -818,16 +944,19 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
+
@@ -877,21 +1007,22 @@
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -909,6 +1040,50 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+