# HG changeset patch # User iuc # Date 1761639621 0 # Node ID 517069eeb0d54bcc0e526dcec39962771955e9d1 # Parent 8ba0c2edf3f3ef50056bf0ee853d3890dc441c5f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/semibin commit 2c08a2e49a2844efe92340c5a9e9c8323e4a33d6 diff -r 8ba0c2edf3f3 -r 517069eeb0d5 generate_sequence_features.xml --- a/generate_sequence_features.xml Sun Aug 10 11:39:49 2025 +0000 +++ b/generate_sequence_features.xml Tue Oct 28 08:20:21 2025 +0000 @@ -14,7 +14,7 @@ @BAM_FILES@ #else: #for $e in $input_type_select.mode.abundance: - #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($e.element_identifier)) + #set $identifier = re.sub('[^\s\w\-]', '_', str($e.element_identifier)) ln -s '$e' '${identifier}.txt' && #end for #end if @@ -23,11 +23,12 @@ SemiBin2 #if $input_type_select.mode.select == 'single' or $input_type_select.mode.select == 'co' generate_sequence_features_single + --input-fasta 'contigs.$input_fasta.ext' #else generate_sequence_features_multi --separator '$separator' + --input-fasta 'contigs.fasta' #end if - --input-fasta 'contigs.fasta' #if $input_type_select.input_type == "bam" --input-bam *.bam #else: @@ -106,13 +107,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -324,7 +382,6 @@ - @@ -334,7 +391,7 @@ - + @@ -342,7 +399,7 @@ - + @@ -350,7 +407,7 @@ - + diff -r 8ba0c2edf3f3 -r 517069eeb0d5 macros.xml --- a/macros.xml Sun Aug 10 11:39:49 2025 +0000 +++ b/macros.xml Tue Oct 28 08:20:21 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 8ba0c2edf3f3 -r 517069eeb0d5 test-data/input_multi_sorted10_naming.bam Binary file test-data/input_multi_sorted10_naming.bam has changed diff -r 8ba0c2edf3f3 -r 517069eeb0d5 test-data/input_multi_sorted1_naming.bam Binary file test-data/input_multi_sorted1_naming.bam has changed diff -r 8ba0c2edf3f3 -r 517069eeb0d5 test-data/input_multi_sorted2_naming.bam Binary file test-data/input_multi_sorted2_naming.bam has changed diff -r 8ba0c2edf3f3 -r 517069eeb0d5 test-data/input_multi_sorted3_naming.bam Binary file test-data/input_multi_sorted3_naming.bam has changed diff -r 8ba0c2edf3f3 -r 517069eeb0d5 test-data/input_multi_sorted4_naming.bam Binary file test-data/input_multi_sorted4_naming.bam has changed diff -r 8ba0c2edf3f3 -r 517069eeb0d5 test-data/input_multi_sorted5_naming.bam Binary file test-data/input_multi_sorted5_naming.bam has changed diff -r 8ba0c2edf3f3 -r 517069eeb0d5 test-data/input_multi_sorted6_naming.bam Binary file test-data/input_multi_sorted6_naming.bam has changed diff -r 8ba0c2edf3f3 -r 517069eeb0d5 test-data/input_multi_sorted7_naming.bam Binary file test-data/input_multi_sorted7_naming.bam has changed diff -r 8ba0c2edf3f3 -r 517069eeb0d5 test-data/input_multi_sorted8_naming.bam Binary file test-data/input_multi_sorted8_naming.bam has changed diff -r 8ba0c2edf3f3 -r 517069eeb0d5 test-data/input_multi_sorted9_naming.bam Binary file test-data/input_multi_sorted9_naming.bam has changed diff -r 8ba0c2edf3f3 -r 517069eeb0d5 test-data/input_single.fasta.bz2 Binary file test-data/input_single.fasta.bz2 has changed diff -r 8ba0c2edf3f3 -r 517069eeb0d5 test-data/input_single.fasta.gz Binary file test-data/input_single.fasta.gz has changed