annotate seqkit_split2.xml @ 1:911de3a36b31 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
author iuc
date Wed, 08 Oct 2025 20:26:20 +0000
parents c19015f577a5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
1 <tool id="seqkit_split2" name="Seqkit Split2" version="@TOOL_VERSION@+galaxy1" profile="@PROFILE@">
0
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
2 <description>Split sequences into files by part size, number of parts, or length</description>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
3 <macros>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
4 <import>macros.xml</import>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
5 </macros>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
6 <expand macro="bio_tools"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
7 <expand macro="requirements"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
9 #import re
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
10 mkdir -p out &&
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
11
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
12 ## The preprocessing steps below are adapted from the cutadapt.xml tool wrapper.
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
13 ## Set things up for handling inputs and outputs in single- vs paired-end modes
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
14 #set input_type = str($input_file_type.type)
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
15 #if $input_type == 'single':
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
16 #set paired = False
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
17 #else:
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
18 #set paired = True
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
19 #end if
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
20
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
21 #if $input_type == 'paired_collection'
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
22 #set input_1 = $input_file_type.input_1.forward
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
23 #set input_2 = $input_file_type.input_1.reverse
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
24 #set read1 = re.sub('[^\w\-\s]', '_', str($input_file_type.input_1.name)) + "_1"
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
25 #set read2 = re.sub('[^\w\-\s]', '_', str($input_file_type.input_1.name)) + "_2"
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
26 #else
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
27 #set input_1 = $input_file_type.input_1
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
28 #set read1 = re.sub('[^\w\-\s]', '_', str($input_file_type.input_1.element_identifier))
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
29 #end if
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
30
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
31 #if $input_1.is_of_type("fastq", "fastq.gz"):
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
32 #set ext = ".fastqsanger"
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
33 #else
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
34 #set ext = ".fasta"
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
35 #end if
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
36 #if $input_1.ext.endswith(".gz"):
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
37 #set ext=ext+".gz"
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
38 #end if
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
39
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
40 #set read1 = $read1 + $ext
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
41
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
42 #if $paired:
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
43 #if $input_2.is_of_type("fastq", "fastq.gz"):
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
44 #set ext2 = ".fastqsanger"
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
45 #else
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
46 #set ext2 = ".fasta"
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
47 #end if
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
48 #if $input_2.ext.endswith(".gz"):
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
49 #set ext2=ext2+".gz"
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
50 #end if
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
51 #set read2 = $read2 + $ext2
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
52 #end if
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
53
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
54 ## Link in the input files
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
55 ln -fs '$input_1' '$read1' &&
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
56 #if $paired:
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
57 ln -fs '$input_2' '$read2' &&
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
58 #end if
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
59
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
60 seqkit split2
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
61 #if $paired:
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
62 -1 '$read1'
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
63 -2 '$read2'
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
64 #else:
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
65 '$read1'
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
66 #end if
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
67 #if str($split_type.split_selector) == 'by_part':
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
68 -p $split_type.by_part
1
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
69 #if $paired:
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
70 --by-part-prefix "seqkit_split2_R{read}_"
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
71 #end if
0
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
72 #else if str($split_type.split_selector) == 'by_size':
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
73 -s $split_type.by_size
1
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
74 #if $paired:
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
75 --by-size-prefix string "seqkit_split2_R{read}_"
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
76 #end if
0
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
77 #else if str($split_type.split_selector) == 'by_length':
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
78 -l $split_type.by_length
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
79 #end if
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
80 -o seqkit_split2
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
81 -O out
1
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
82 -j "\${GALAXY_SLOTS:-4}"
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
83 #if $paired:
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
84 && (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)
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
85 #end if
0
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
86 ]]></command>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
87 <inputs>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
88 <conditional name="input_file_type">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
89 <param name="type" type="select" label="Single-end or Paired-end reads?">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
90 <option value="single">Single-end</option>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
91 <option value="paired_collection">Paired-end Collection</option>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
92 </param>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
93 <when value="single">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
94 <param name="input_1" type="data" format="@FASTQ_TYPES@" label="Input FASTQ/A file" help="Select a single FASTA or FASTQ file (gzipped or uncompressed)"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
95 </when>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
96 <when value="paired_collection">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
97 <param name="input_1" format="@FASTQ_TYPES@" type="data_collection" collection_type="paired" label="Paired Collection" help="Should be of datatype &quot;fastq.gz&quot; or &quot;fasta&quot;" />
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
98 </when>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
99 </conditional>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
100 <conditional name="split_type">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
101 <param name="split_selector" type="select" label="Split sequences by">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
102 <option value="by_part" selected="true">Number of parts</option>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
103 <option value="by_size">Number of sequences per part</option>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
104 <option value="by_length">Length of sequences</option>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
105 </param>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
106 <when value="by_part">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
107 <param name="by_part" type="integer" value="" min="1" label="Number of parts" help="Split sequences into N parts using round-robin distribution." />
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
108 </when>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
109 <when value="by_size">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
110 <param name="by_size" type="integer" value="" min="1" label="Number of sequences per part" help="Split sequences into parts with N sequences each." />
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
111 </when>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
112 <when value="by_length">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
113 <param name="by_length" type="text" value="" label="Chunk size" help="Split sequences into chunks of >=N bases. Supports K/M/G suffix (e.g., 10K, 1M)">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
114 <validator type="regex" message="Invalid characters in field">^[0-9KMG]+$</validator>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
115 </param>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
116 </when>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
117 </conditional>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
118 </inputs>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
119 <outputs>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
120 <collection name="outputs_files" type="list" label="${tool.name} on ${on_string}: Splitted files">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
121 <discover_datasets pattern="(?P&lt;designation&gt;seqkit_split2\.part_\d+)\.(?P&lt;ext&gt;.+)" directory="out"/>
1
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
122 <filter>input_file_type['type'] == 'single' </filter>
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
123 </collection>
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
124 <collection name="outputs_paired_files" type="list:paired" label="${tool.name} on ${on_string}: Paired-End Splitted files">
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
125 <filter>input_file_type['type'] == 'paired_collection' </filter>
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
126 <discover_datasets pattern="(?P&lt;identifier_0&gt;.+)_(?P&lt;identifier_1&gt;forward|reverse)\.(?P&lt;ext&gt;.+)" directory="out"/>
0
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
127 </collection>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
128 </outputs>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
129 <tests>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
130 <!-- Test 01: for Seqkit Split with Single End FASTQ file; splitting by parts -->
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
131 <test expect_num_outputs="1">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
132 <conditional name="input_file_type">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
133 <param name="type" value="single"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
134 <param name="input_1" value="reads_1.fq.gz"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
135 </conditional>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
136 <conditional name="split_type">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
137 <param name="split_selector" value="by_part"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
138 <param name="by_part" value="2"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
139 </conditional>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
140 <output_collection name="outputs_files" type="list" count="2">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
141 <element name="seqkit_split2.part_001" ftype="fastqsanger.gz">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
142 <assert_contents>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
143 <has_n_lines n="4958"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
144 </assert_contents>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
145 </element>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
146 <element name="seqkit_split2.part_002" ftype="fastqsanger.gz">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
147 <assert_contents>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
148 <has_n_lines n="4949"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
149 </assert_contents>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
150 </element>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
151 </output_collection>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
152 </test>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
153
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
154 <!-- Test 02: for Seqkit Split with Paired FASTQ Collection; splitting by parts -->
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
155 <test expect_num_outputs="1">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
156 <conditional name="input_file_type">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
157 <param name="type" value="paired_collection"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
158 <param name="input_1">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
159 <collection type="paired">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
160 <element name="forward" ftype="fastq.gz" value="reads_1.fq.gz"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
161 <element name="reverse" ftype="fastq.gz" value="reads_2.fq.gz"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
162 </collection>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
163 </param>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
164 </conditional>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
165 <conditional name="split_type">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
166 <param name="split_selector" value="by_part"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
167 <param name="by_part" value="2"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
168 </conditional>
1
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
169 <output_collection name="outputs_paired_files" type="list:paired" count="2">
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
170 <element name="seqkit_split2_001">
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
171 <element name="forward" ftype="fastqsanger.gz">
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
172 <assert_contents>
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
173 <has_n_lines n="4958"/>
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
174 </assert_contents>
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
175 </element>
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
176 <element name="reverse" ftype="fastqsanger.gz">
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
177 <assert_contents>
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
178 <has_n_lines n="3792"/>
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
179 </assert_contents>
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
180 </element>
0
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
181 </element>
1
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
182 <element name="seqkit_split2_002">
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
183 <element name="forward" ftype="fastqsanger.gz">
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
184 <assert_contents>
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
185 <has_n_lines n="4949"/>
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
186 </assert_contents>
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
187 </element>
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
188 <element name="reverse" ftype="fastqsanger.gz">
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
189 <assert_contents>
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
190 <has_n_lines n="3657"/>
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
191 </assert_contents>
911de3a36b31 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 66b393a7118c81d86d0fd80780d2bd551c18f3f0
iuc
parents: 0
diff changeset
192 </element>
0
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
193 </element>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
194 </output_collection>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
195 </test>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
196
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
197 <!-- Test 03: for Seqkit Split with Single End FASTA file; splitting by parts -->
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
198 <test expect_num_outputs="1">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
199 <conditional name="input_file_type">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
200 <param name="type" value="single"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
201 <param name="input_1" value="hairpin.fa.gz"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
202 </conditional>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
203 <conditional name="split_type">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
204 <param name="split_selector" value="by_part"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
205 <param name="by_part" value="2"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
206 </conditional>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
207 <output_collection name="outputs_files" type="list" count="2">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
208 <element name="seqkit_split2.part_001" ftype="fasta.gz">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
209 <assert_contents>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
210 <has_n_lines n="2988"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
211 </assert_contents>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
212 </element>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
213 <element name="seqkit_split2.part_002" ftype="fasta.gz">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
214 <assert_contents>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
215 <has_n_lines n="2987"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
216 </assert_contents>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
217 </element>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
218 </output_collection>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
219 </test>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
220
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
221 <!-- Test 04: for Seqkit Split with Single End FASTA file; splitting by size -->
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
222 <test expect_num_outputs="1">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
223 <conditional name="input_file_type">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
224 <param name="type" value="single"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
225 <param name="input_1" value="hairpin.fa.gz"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
226 </conditional>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
227 <conditional name="split_type">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
228 <param name="split_selector" value="by_size"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
229 <param name="by_size" value="200"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
230 </conditional>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
231 <output_collection name="outputs_files" type="list" count="25">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
232 <element name="seqkit_split2.part_001" ftype="fasta.gz">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
233 <assert_contents>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
234 <has_n_lines n="224"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
235 </assert_contents>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
236 </element>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
237 <element name="seqkit_split2.part_002" ftype="fasta.gz">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
238 <assert_contents>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
239 <has_n_lines n="281"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
240 </assert_contents>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
241 </element>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
242 </output_collection>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
243 </test>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
244
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
245 <!-- Test 05: for Seqkit Split with Single End FASTA file; splitting by length -->
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
246 <test expect_num_outputs="1">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
247 <conditional name="input_file_type">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
248 <param name="type" value="single"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
249 <param name="input_1" value="hairpin.fa.gz"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
250 </conditional>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
251 <conditional name="split_type">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
252 <param name="split_selector" value="by_length"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
253 <param name="by_length" value="50K"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
254 </conditional>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
255 <output_collection name="outputs_files" type="list" count="10">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
256 <element name="seqkit_split2.part_001" ftype="fasta.gz">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
257 <assert_contents>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
258 <has_n_lines n="642"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
259 </assert_contents>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
260 </element>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
261 <element name="seqkit_split2.part_002" ftype="fasta.gz">
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
262 <assert_contents>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
263 <has_n_lines n="589"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
264 </assert_contents>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
265 </element>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
266 </output_collection>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
267 </test>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
268 </tests>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
269 <help><![CDATA[
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
270
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
271 **Seqkit Split2**
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
272
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
273 This tool splits FASTA or FASTQ files (single-end or paired-end) into multiple files based on the number of parts, sequences per part, or sequence length. It supports low memory usage and fast processing.
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
274
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
275 **Input type**: Choose between single-end FASTA/FASTQ or paired-end FASTQ files.
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
276
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
277 **Split sequences by**:
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
278 - **Number of parts**: Split into N parts using round-robin distribution.
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
279 - **Number of sequences per part**: Split into parts with N sequences each.
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
280 - **Length of sequences**: Split into chunks of >=N bases (supports K/M/G suffix, e.g., 10K, 1M).
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
281
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
282 **Outputs**
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
283
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
284 - A collection of split FASTA/FASTQ files
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
285
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
286 For more details, see the Seqkit Split2 documentation_
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
287
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
288 .. _documentation: https://bioinf.shenwei.me/seqkit/usage/#split2
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
289
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
290 ]]></help>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
291 <expand macro="citations"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
292 <creator>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
293 <person givenName="Saim" familyName="Momin" url="https://github.com/SaimMomin12" identifier="https://orcid.org/0009-0003-9935-828X"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
294 <organization name="Galaxy Europe" url="https://galaxyproject.org/eu/"/>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
295 </creator>
c19015f577a5 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqkit commit 76c1a289f15cc9a9a7d9a49dc132af62cc1d5af2
iuc
parents:
diff changeset
296 </tool>