# HG changeset patch
# User iuc
# Date 1761639691 0
# Node ID a72b974c98a20ccc8c04f81d2fe41c7ccb000866
# Parent 2c7ed948eeed5a5361434a4583e9005036eae572
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/semibin commit 2c08a2e49a2844efe92340c5a9e9c8323e4a33d6
diff -r 2c7ed948eeed -r a72b974c98a2 concatenate_fasta.xml
--- a/concatenate_fasta.xml Sun Aug 10 11:38:22 2025 +0000
+++ b/concatenate_fasta.xml Tue Oct 28 08:21:31 2025 +0000
@@ -11,23 +11,23 @@
'${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
SemiBin2 concatenate_fasta
- --input-fasta *.fasta
+ --input-fasta
+ #for $e in $input_fasta
+ #set $identifier = re.sub('[^\s\w\-]', '_', str($e.element_identifier))
+ '${identifier}.$e.ext'
+ #end for
--output 'output'
--separator '$separator'
--compression none
-m $min_len
]]>
-
+
@@ -41,9 +41,9 @@
diff -r 2c7ed948eeed -r a72b974c98a2 macros.xml
--- a/macros.xml Sun Aug 10 11:38:22 2025 +0000
+++ b/macros.xml Tue Oct 28 08:21:31 2025 +0000
@@ -1,7 +1,7 @@
2.1.0
- 0
+ 1
21.01
@@ -79,7 +79,7 @@
-
+
@@ -88,11 +88,11 @@
-
+
-
+
@@ -101,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
@@ -158,18 +146,18 @@
@@ -513,4 +501,4 @@
10.1038/s41467-022-29843-y
-
+
\ No newline at end of file
diff -r 2c7ed948eeed -r a72b974c98a2 test-data/input_multi_sorted10_naming.bam
Binary file test-data/input_multi_sorted10_naming.bam has changed
diff -r 2c7ed948eeed -r a72b974c98a2 test-data/input_multi_sorted1_naming.bam
Binary file test-data/input_multi_sorted1_naming.bam has changed
diff -r 2c7ed948eeed -r a72b974c98a2 test-data/input_multi_sorted2_naming.bam
Binary file test-data/input_multi_sorted2_naming.bam has changed
diff -r 2c7ed948eeed -r a72b974c98a2 test-data/input_multi_sorted3_naming.bam
Binary file test-data/input_multi_sorted3_naming.bam has changed
diff -r 2c7ed948eeed -r a72b974c98a2 test-data/input_multi_sorted4_naming.bam
Binary file test-data/input_multi_sorted4_naming.bam has changed
diff -r 2c7ed948eeed -r a72b974c98a2 test-data/input_multi_sorted5_naming.bam
Binary file test-data/input_multi_sorted5_naming.bam has changed
diff -r 2c7ed948eeed -r a72b974c98a2 test-data/input_multi_sorted6_naming.bam
Binary file test-data/input_multi_sorted6_naming.bam has changed
diff -r 2c7ed948eeed -r a72b974c98a2 test-data/input_multi_sorted7_naming.bam
Binary file test-data/input_multi_sorted7_naming.bam has changed
diff -r 2c7ed948eeed -r a72b974c98a2 test-data/input_multi_sorted8_naming.bam
Binary file test-data/input_multi_sorted8_naming.bam has changed
diff -r 2c7ed948eeed -r a72b974c98a2 test-data/input_multi_sorted9_naming.bam
Binary file test-data/input_multi_sorted9_naming.bam has changed
diff -r 2c7ed948eeed -r a72b974c98a2 test-data/input_single.fasta.bz2
Binary file test-data/input_single.fasta.bz2 has changed
diff -r 2c7ed948eeed -r a72b974c98a2 test-data/input_single.fasta.gz
Binary file test-data/input_single.fasta.gz has changed