# HG changeset patch
# User iuc
# Date 1761639327 0
# Node ID 8673617e7e092762742e801a257db17fc30d8c40
# Parent 9de6b5e570df84a813c24198a0e464039df9d3a8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/semibin commit 2c08a2e49a2844efe92340c5a9e9c8323e4a33d6
diff -r 9de6b5e570df -r 8673617e7e09 macros.xml
--- a/macros.xml Tue Mar 25 15:52:22 2025 +0000
+++ b/macros.xml Tue Oct 28 08:15:27 2025 +0000
@@ -1,6 +1,6 @@
- 2.0.2
+ 2.1.0
1
21.01
@@ -48,6 +48,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -55,8 +72,14 @@
+
+
+
+
+
+
-
+
@@ -65,11 +88,11 @@
-
+
-
+
@@ -78,39 +101,27 @@
'contigs.fasta' &&
-#else
-ln -s '$input_fasta' 'contigs.fasta' &&
-#end if
+ln -s '$input_fasta' 'contigs.$input_fasta.ext' &&
]]>
'contigs.fasta' &&
- #else
-ln -s '$mode.input_fasta' 'contigs.fasta' &&
- #end if
+ln -s '$input_fasta' 'contigs.$input_fasta.ext' &&
#else
#if $mode.multi_fasta.select == 'concatenated'
- #if $mode.multi_fasta.input_fasta.ext.endswith(".gz")
-gunzip -c '$mode.multi_fasta.input_fasta' > 'contigs.fasta' &&
- #else
-ln -s '$mode.multi_fasta.input_fasta' 'contigs.fasta' &&
- #end if
+ln -s '$input_fasta' 'contigs.$input_fasta.ext' &&
#set $separator = $mode.multi_fasta.separator
#else
#for $e in $mode.multi_fasta.input_fasta
- #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($e.element_identifier))
- #if $e.ext.endswith(".gz")
-gunzip -c '$e' > '${identifier}.fasta' &&
- #else
-ln -s '$e' '${identifier}.fasta' &&
- #end if
+ #set $identifier = re.sub('[^\s\w\-]', '_', str($e.element_identifier))
+ln -s '$e' '${identifier}.$e.ext' &&
#end for
#set $separator = ':'
SemiBin2 concatenate_fasta
- --input-fasta *.fasta
+ --input-fasta
+ #for $e in $mode.multi_fasta.input_fasta
+ #set $identifier = re.sub('[^\s\w\-]', '_', str($e.element_identifier))
+ '${identifier}.$e.ext'
+ #end for
--output 'output'
--separator '$separator'
--compression none
@@ -129,17 +140,27 @@
+
+
+
+
+
@@ -257,7 +278,6 @@
-
@@ -293,58 +313,153 @@
- mode["select"]=="single" or mode["select"]=="co"
+ input_type_select['mode']['select']=="single" or input_type_select['mode']['select']=="co"
- mode["select"]=="single" or mode["select"]=="co"
+ input_type_select['mode']['select']=="single" or input_type_select['mode']['select']=="co"
-
+
- mode["select"]=="multi"
+ input_type_select['mode']['select']=="multi"
- mode["select"]=="multi"
+ input_type_select['mode']['select']=="multi"
- mode["select"]=="single" and extra_output and "coverage" in extra_output
+ input_type_select['mode']['select']=="single" and extra_output and "coverage" in extra_output
+ input_type_select['input_type']=="bam"
- mode["select"]=="single" and extra_output and "coverage" in extra_output
+ input_type_select['mode']['select']=="single" and extra_output and "coverage" in extra_output
+ input_type_select['input_type']=="bam"
- mode["select"]=="co" and extra_output and "coverage" in extra_output
+ input_type_select['mode']['select']=="co" and extra_output and "coverage" in extra_output
+ input_type_select['input_type']=="bam"
- mode["select"]=="co" and extra_output and "coverage" in extra_output
+ input_type_select['mode']['select']=="co" and extra_output and "coverage" in extra_output
+ input_type_select['input_type']=="bam"
+
+ input_type_select['mode']['select']=="single" or input_type_select['mode']['select']=="co" and extra_output and "coverage" in extra_output
+ input_type_select['input_type']=="txt"
+
+
+ input_type_select['mode']['select']=="single" or input_type_select['mode']['select']=="co" and extra_output and "coverage" in extra_output
+ input_type_select['input_type']=="txt"
+
+
+ input_type_select['mode']['select']=="multi" and extra_output and "coverage" in extra_output
+ input_type_select['input_type']=="txt"
+
+
- mode["select"]=="multi" and extra_output and "coverage" in extra_output
-
+ input_type_select['mode']['select']=="multi" and extra_output and "coverage" in extra_output
+ input_type_select['input_type']=="bam"
+
- mode["select"]=="multi" and extra_output and "coverage" in extra_output
+ input_type_select['mode']['select']=="multi" and extra_output and "coverage" in extra_output
- mode["select"]=="multi" and extra_output and "coverage" in extra_output
+ input_type_select['mode']['select']=="multi" and extra_output and "coverage" in extra_output
+ input_type_select['input_type']=="bam"
- mode["select"]=="multi" and extra_output and "coverage" in extra_output
-
+ input_type_select['mode']['select']=="multi" and extra_output and "coverage" in extra_output
+ input_type_select['input_type']=="bam"
+
- mode["select"]=="multi" and extra_output and "contigs" in extra_output
+ input_type_select['mode']['select']=="multi" and extra_output and "contigs" in extra_output
-
+
+
+
+
+ mode['select']=="single" and extra_output and "coverage" in extra_output
+
+
+ mode['select']=="single" and extra_output and "coverage" in extra_output
+
+
+
+ mode['select']=="co" and extra_output and "coverage" in extra_output
+ mode['align_select']
+ mode['align_select']['align_select']=="bam"
+
+
+
+ mode['select']=="co" and extra_output and "coverage" in extra_output
+ mode['align_select']
+ mode['align_select']['align_select']=="bam"
+
+
+
+
+
+ mode['select']=="multi" and extra_output and "coverage" in extra_output
+ mode['align_select']
+ mode['align_select']['align_select']=="bam"
+
+
+
+ mode['select']=="multi" and extra_output and "coverage" in extra_output
+ mode['align_select']
+ mode['align_select']['align_select']=="bam"
+
+
+
+ mode['select']=="multi" and extra_output and "coverage" in extra_output
+ mode['align_select']
+ mode['align_select']['align_select']=="bam"
+
+
+
+ mode['select']=="multi" and extra_output and "coverage" in extra_output
+ mode['align_select']
+ mode['align_select']['align_select']=="bam"
+
+
+
+ mode['select']=="multi" and extra_output and "contigs" in extra_output
+
+
+
+
+ mode['select']=="co" and extra_output and "coverage" in extra_output
+ mode['align_select']
+ mode['align_select']['align_select']=="txt"
+
+
+ mode['select']=="co" and extra_output and "coverage" in extra_output
+ mode['align_select']
+ mode['align_select']['align_select']=="txt"
+
+
+
+ mode['select']=="multi" and extra_output and "coverage" in extra_output
+ mode['align_select']
+ mode['align_select']['align_select'] =="txt"
+
+
+
+ mode['select']=="multi" and extra_output and "coverage" in extra_output
+ mode['align_select']
+ mode['align_select']['align_select']=="txt"
+
+
@@ -353,34 +468,37 @@
+ ]]>
+ ]]>
+ ]]>
+
+ ]]>
+ ]]>
+ ]]>
+ ]]>
10.1038/s41467-022-29843-y
-
+
\ No newline at end of file
diff -r 9de6b5e570df -r 8673617e7e09 semibin.xml
--- a/semibin.xml Tue Mar 25 15:52:22 2025 +0000
+++ b/semibin.xml Tue Oct 28 08:15:27 2025 +0000
@@ -10,7 +10,15 @@
-
+
-
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
@@ -107,42 +139,42 @@
- mode["select"]!="multi" and extra_output and "pre_reclustering_bins" in extra_output
+ mode['select']!="multi" and extra_output and "pre_reclustering_bins" in extra_output
- mode["select"]!="multi" and extra_output and "pre_reclustering_bins" in extra_output
+ mode['select']!="multi" and extra_output and "pre_reclustering_bins" in extra_output
- mode["select"]!="multi" and not "pre_reclustering_bins" in extra_output
+ mode['select']!="multi" and not "pre_reclustering_bins" in extra_output
- mode["select"]=="multi"
+ mode['select']=="multi"
- (mode["select"]=="single" or mode["select"]=="co") and extra_output and "data" in extra_output
+ (mode['select']=="single" or mode['select']=="co") and extra_output and "data" in extra_output
- (mode["select"]=="single" or mode["select"]=="co") and extra_output and "data" in extra_output
+ (mode['select']=="single" or mode['select']=="co") and extra_output and "data" in extra_output
- mode["select"]=="multi" and extra_output and "data" in extra_output
+ mode['select']=="multi" and extra_output and "data" in extra_output
- mode["select"]=="multi" and extra_output and "data" in extra_output
+ mode['select']=="multi" and extra_output and "data" in extra_output
-
+
-
+
@@ -166,7 +198,6 @@
-
-
+
+
+
+
@@ -546,7 +587,7 @@
-
+
@@ -573,29 +614,29 @@
-
+
-
+
-
+
-
-
+
+
@@ -609,8 +650,116 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+