diff --git a/tools/semibin/generate_sequence_features.xml b/tools/semibin/generate_sequence_features.xml
index c979190a93d..b8e17c29a3a 100644
--- a/tools/semibin/generate_sequence_features.xml
+++ b/tools/semibin/generate_sequence_features.xml
@@ -10,18 +10,29 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -46,10 +71,13 @@ SemiBin2
-
-
-
-
+
+
+
+
+
+
+
@@ -139,13 +167,17 @@ SemiBin2
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
@@ -225,6 +257,77 @@ SemiBin2
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tools/semibin/macros.xml b/tools/semibin/macros.xml
index 13e34758785..6327e7bd2f3 100644
--- a/tools/semibin/macros.xml
+++ b/tools/semibin/macros.xml
@@ -1,6 +1,6 @@
- 2.0.2
+ 2.1.0
0
21.01
@@ -48,6 +48,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -55,6 +72,12 @@
+
+
+
+
+
+
@@ -129,16 +152,26 @@ ln -s 'output/concatenated.fa' 'contigs.fasta' &&
+
+
+
+
+
@@ -225,7 +258,6 @@ ln -s '$e' '${identifier}.bam' &&
-
@@ -261,58 +293,153 @@ ln -s '$e' '${identifier}.bam' &&
- 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"
+
+
+
+ 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']=="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"
+
+
@@ -321,31 +448,34 @@ ln -s '$e' '${identifier}.bam' &&
+ ]]>
+ ]]>
+ ]]>
+
+ ]]>
+ ]]>
+ ]]>
+ ]]>
10.1038/s41467-022-29843-y
diff --git a/tools/semibin/semibin.xml b/tools/semibin/semibin.xml
index e3a3f181bbb..ddbbf271f9b 100644
--- a/tools/semibin/semibin.xml
+++ b/tools/semibin/semibin.xml
@@ -10,7 +10,15 @@
-
+
-
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
+
+
@@ -105,36 +137,36 @@ ls 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 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
-
+
@@ -196,7 +228,10 @@ ls output
-
+
+
+
+
@@ -222,7 +257,7 @@ ls output
-
+
@@ -242,7 +277,7 @@ ls output
-
+
@@ -267,7 +302,10 @@ ls output
-
+
+
+
+
@@ -277,7 +315,7 @@ ls output
-
+
@@ -293,7 +331,7 @@ ls output
-
+
@@ -313,7 +351,7 @@ ls output
-
+
@@ -348,7 +386,7 @@ ls output
-
+
@@ -385,7 +423,7 @@ ls output
-
+
@@ -432,7 +470,10 @@ ls output
-
+
+
+
+
@@ -442,7 +483,7 @@ ls output
-
+
@@ -472,29 +513,29 @@ ls output
-
+
-
+
-
+
-
-
+
+
@@ -508,6 +549,113 @@ ls output
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+