# HG changeset patch # User iuc # Date 1759955180 0 # Node ID 911de3a36b31b1772aaf574b6af7a5eef065704a # Parent c19015f577a573cc2b02fa95cf2673531bbedb2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0 diff -r c19015f577a5 -r 911de3a36b31 seqkit_split2.xml --- a/seqkit_split2.xml Fri Sep 26 16:48:57 2025 +0000 +++ b/seqkit_split2.xml Wed Oct 08 20:26:20 2025 +0000 @@ -1,4 +1,4 @@ - + Split sequences into files by part size, number of parts, or length macros.xml @@ -66,14 +66,23 @@ #end if #if str($split_type.split_selector) == 'by_part': -p $split_type.by_part + #if $paired: + --by-part-prefix "seqkit_split2_R{read}_" + #end if #else if str($split_type.split_selector) == 'by_size': -s $split_type.by_size + #if $paired: + --by-size-prefix string "seqkit_split2_R{read}_" + #end if #else if str($split_type.split_selector) == 'by_length': -l $split_type.by_length #end if -o seqkit_split2 -O out - -j "\${GALAXY_SLOTS:-4}" + -j "\${GALAXY_SLOTS:-4}" + #if $paired: + && (find out/ -type f -name "seqkit_split2_*.*" | while read -r file; do mv "\$file" "\$(echo \$file | sed -E 's/(seqkit_split2)_(R1|R2)_([0-9]+)(\..+)/\1_\3_\2\4/' | sed -E 's/_R1/_forward/; s/_R2/_reverse/')"; done) + #end if ]]> @@ -110,6 +119,11 @@ + input_file_type['type'] == 'single' + + + input_file_type['type'] == 'paired_collection' + @@ -152,16 +166,30 @@ - - - - - + + + + + + + + + + + + - - - - + + + + + + + + + + +