# HG changeset patch # User iuc # Date 1759955048 0 # Node ID cee705c2993253b38689fd86fc75dfd897d76e69 # Parent fe1e78ac7d84ad10b6e8b8c215de5771a2249208 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0 diff -r fe1e78ac7d84 -r cee705c29932 seqkit_split2.xml --- a/seqkit_split2.xml Fri Sep 26 16:46:53 2025 +0000 +++ b/seqkit_split2.xml Wed Oct 08 20:24:08 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 @@ - - - - - + + + + + + + + + + + + - - - - + + + + + + + + + + +