annotate barcode_splitter.xml @ 0:ff12d2c1f5d6 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
author iuc
date Wed, 29 May 2019 10:24:27 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
1 <tool id="barcode_splitter" name="Barcode Splitter" version="0.18.4.0">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
2 <description>Split sequence files using multiple sets of barcodes</description>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
3 <requirements>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
4 <requirement type="package" version="0.18.4">barcode_splitter</requirement>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
5 </requirements>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
6 <version_command>barcode_splitter --version</version_command>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
7 <command detect_errors="exit_code">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
8 <![CDATA[
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
9 mkdir split &&
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
10 barcode_splitter
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
11
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
12 --bcfile '$bcfile' --mismatches '$mismatches' --galaxy $barcodes_at_end --prefix 'split/'
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
13
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
14 #set $auto_split_all = $split_all
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
15 #set $format = ""
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
16 #set $paired_match = "0"
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
17 #set $num_index_files = 0
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
18
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
19 #if str($runinterface.run_type) == "flexible":
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
20
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
21 ## Determine the format based on the first input file's extension
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
22 ## #for $indf in $runinterface.seqfiles
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
23 ## #set $format = $indf.input.extension
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
24 ## #break
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
25 ## #end for
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
26 #set $format = $runinterface.seqfiles[0].input.extension
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
27
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
28 ## Add the sequence files, count the number of forward, reverse, and other non-index read names, and auto-set split_all
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
29 #set $numforwards = 0
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
30 #set $numreverses = 0
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
31 #for $sf in $runinterface.seqfiles
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
32 #if str($sf.nameinterface.readtype) == "forward" or str($sf.nameinterface.readtype) == "forwardindex":
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
33 #set $numforwards += 1
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
34 #elif str($sf.nameinterface.readtype) == "reverse" or str($sf.nameinterface.readtype) == "reverseindex":
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
35 #set $numreverses += 1
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
36 #end if
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
37 #if str($sf.nameinterface.readtype) == "singleindex" or str($sf.nameinterface.readtype) == "forwardindex" or str($sf.nameinterface.readtype) == "reverseindex":
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
38 #set $auto_split_all = "--split_all"
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
39 #end if
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
40 '${sf.input}'
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
41 #end for
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
42
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
43 ## Determine whether valid paired-end data exists
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
44 #if $numforwards == 1 and $numreverses == 1:
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
45 #set $paired_match = "1"
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
46 #end if
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
47
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
48 ##Add the relative file argument positions of the index files in the list included above
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
49 --idxread
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
50 #set $n = 0
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
51 #for $sf in $runinterface.seqfiles
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
52 #set $n += 1
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
53 #if str($sf.nameinterface.readtype) == 'index' or str($sf.nameinterface.readtype) == "singleindex" or str($sf.nameinterface.readtype) == "forwardindex" or str($sf.nameinterface.readtype) == "reverseindex":
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
54 #set $num_index_files += 1
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
55 '${n}'
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
56 #end if
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
57 #end for
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
58
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
59 #elif str($runinterface.run_type) == "single":
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
60
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
61 #set $format = $runinterface.snglinput.extension
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
62
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
63 ## Add the sequence files
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
64 '${runinterface.snglinput}'
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
65 #for $sf in $runinterface.idxfiles
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
66 '${sf.idxinput}'
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
67 #end for
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
68
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
69 ##Add the relative file argument positions of the index files
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
70 --idxread
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
71 #set $n = 1
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
72 #for $sf in $runinterface.idxfiles
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
73 #set $num_index_files += 1
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
74 #set $n += 1
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
75 '${n}'
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
76 #end for
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
77
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
78 #elif str($runinterface.run_type) == "paired":
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
79
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
80 #set $format = $runinterface.fwdinput.extension
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
81 #set $paired_match = "1"
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
82
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
83 ## Add the sequence files
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
84 '${runinterface.fwdinput}' '${runinterface.revinput}'
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
85 #for $sf in $runinterface.idxfiles
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
86 '${sf.idxinput}'
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
87 #end for
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
88
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
89 ##Add the relative file argument positions of the index files
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
90 --idxread
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
91 #set $n = 2
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
92 #for $sf in $runinterface.idxfiles
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
93 #set $num_index_files += 1
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
94 #set $n += 1
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
95 '${n}'
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
96 #end for
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
97
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
98 #end if
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
99
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
100 --format '${format}' --suffix '.${format}' $auto_split_all
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
101
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
102 > '$summary';
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
103
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
104 ## Determine validity of repeat params
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
105 #if $num_index_files == 0:
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
106 echo "ERROR: At least 1 read file must have a 'Read Type' selected as 'Index', 'Single-End with Index', 'Forward with index', or 'Reverse with Index')."
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
107 #end if
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
108
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
109 ## Give the output split file names the name specified by the user (to be turned into collection identifiers)
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
110 rc=0;
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
111 #set $n = 0
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
112
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
113 #if str($runinterface.run_type) == "flexible":
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
114
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
115 #for $repeat in $runinterface.seqfiles
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
116
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
117 #set $n += 1
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
118
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
119 #set $readname = "read-" + str($n)
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
120 #set $readtype = "index"
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
121 #if str($repeat.nameinterface.readtype) == "forward" or str($repeat.nameinterface.readtype) == "forwardindex":
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
122 #set $readname = "forward"
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
123 #set $readtype = "forward"
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
124 #elif str($repeat.nameinterface.readtype) == "reverse" or str($repeat.nameinterface.readtype) == "reverseindex":
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
125 #set $readname = "reverse"
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
126 #set $readtype = "reverse"
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
127 #else:
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
128 #if (str($repeat.nameinterface.readtype) == "single" or str($repeat.nameinterface.readtype) == "singleindex" or str($repeat.nameinterface.readtype) == "index") and str($repeat.nameinterface.readname) != "":
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
129 #set $readname = $repeat.nameinterface.readname
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
130 #end if
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
131 #if str($repeat.nameinterface.readtype) == "single" or str($repeat.nameinterface.readtype) == "singleindex":
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
132 #set $readtype = "single"
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
133 #end if
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
134 #end if
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
135
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
136 for f in split/*-read-'${n}'.'${format}';
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
137 do
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
138 if [ -e "\$f" ]; then
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
139 ## Space-delimited file name structure: "SAMPLE READNAME READTYPE MATCHEDPAIR.EXT"
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
140 mv "\$f" "\${f/-read-${n}/ ${readname} ${readtype} ${paired_match}}" || rc=\$?;
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
141 fi;
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
142 done;
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
143 #end for
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
144
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
145 #elif str($runinterface.run_type) == "single":
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
146
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
147 #set $n = 1
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
148
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
149 ## Rename the single-end split read files
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
150 #set $readname = "read-" + str($n)
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
151 #set $readtype = 'single'
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
152 for f in split/*-read-'${n}'.'${format}';
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
153 do
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
154 mv "\$f" "\${f/-read-${n}/ ${readname} ${readtype} ${paired_match}}" || rc=\$?;
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
155 done;
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
156
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
157 ## Rename the index read files
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
158 #set $readtype = "index"
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
159 #for $repeat in $runinterface.idxfiles
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
160 #set $n += 1
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
161
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
162 #set $readname = "read-" + str($n)
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
163 #if str($repeat.idxreadname) != "":
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
164 #set $readname = $repeat.idxreadname
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
165 #end if
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
166
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
167 for f in split/*-read-'${n}'.'${format}';
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
168 do
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
169 if [ -e "\$f" ]; then
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
170 ## Space-delimited file name structure: "SAMPLE READNAME READTYPE MATCHEDPAIR.EXT"
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
171 mv "\$f" "\${f/-read-${n}/ ${readname} ${readtype} ${paired_match}}" || rc=\$?;
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
172 fi;
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
173 done;
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
174 #end for
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
175
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
176 #elif str($runinterface.run_type) == "paired":
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
177
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
178 #set $n = 1
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
179
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
180 ## Rename the forward split read files
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
181 #set $readname = "forward"
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
182 #set $readtype = "forward"
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
183 for f in split/*-read-'${n}'.'${format}';
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
184 do
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
185 mv "\$f" "\${f/-read-${n}/ ${readname} ${readtype} ${paired_match}}" || rc=\$?;
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
186 done;
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
187
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
188 #set $n += 1
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
189
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
190 ## Rename the reverse split read files
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
191 #set $readname = "reverse"
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
192 #set $readtype = "reverse"
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
193 for f in split/*-read-'${n}'.'${format}';
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
194 do
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
195 mv "\$f" "\${f/-read-${n}/ ${readname} ${readtype} ${paired_match}}" || rc=\$?;
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
196 done;
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
197
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
198 ## Rename the index read files
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
199 #set $readtype = "index"
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
200 #for $repeat in $runinterface.idxfiles
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
201 #set $n += 1
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
202
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
203 #set $readname = "read-" + str($n)
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
204 #if str($repeat.idxreadname) != "":
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
205 #set $readname = $repeat.idxreadname
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
206 #end if
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
207
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
208 for f in split/*-read-'${n}'.'${format}';
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
209 do
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
210 if [ -e "\$f" ]; then
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
211 ## Space-delimited file name structure: "SAMPLE READNAME READTYPE MATCHEDPAIR.EXT"
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
212 mv "\$f" "\${f/-read-${n}/ ${readname} ${readtype} ${paired_match}}" || rc=\$?;
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
213 fi;
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
214 done;
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
215 #end for
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
216
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
217 #end if
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
218
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
219 ## Exit non-zero if rc is not 0
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
220 [ \$rc == 0 ];
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
221 ]]>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
222 </command>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
223
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
224 <inputs>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
225 <param name="bcfile" type="data" format="tabular" label="Barcode File" help="Tab-delimited text file where the first column is a sample ID and subsequent columns are barcodes. Note, files with indexes/barcode sequences must be supplied in the same order as the barcode columns in this file and their 'Read Type' must have 'Index'." />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
226
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
227 <conditional name="runinterface">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
228 <param label="Run Type" name="run_type" type="select">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
229 <option value="single" selected="true">Single-End</option>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
230 <option value="paired">Paired-End</option>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
231 <option value="flexible">Flexible</option>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
232 </param>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
233 <when value="single">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
234 <!-- Simplified interface for common use-case. Can still use "Flexible" for alternative single-end options. -->
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
235 <param name="snglinput" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Read File" help="Typically, 'Read 1'." />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
236 <repeat name="idxfiles" title="Index File(s)" min="1" default="1">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
237 <param name="idxinput" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Index File" help="Typically, 'Read 2 Index'." />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
238 <param name="idxreadname" type="text" label="Index Name" help="E.g. index1, index2, etc.. Letters and numbers only. No spaces. Default is 'read-x' where 'x' is a number corresponding to the order in which the file was supplied (including the read file above).">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
239 <sanitizer>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
240 <valid initial="string.ascii_letters,string.digits" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
241 </sanitizer>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
242 </param>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
243 </repeat>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
244 </when>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
245 <when value="paired">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
246 <!-- No embedded index allowed in the forward/reverse reads for simplicity. Can still use "Flexible" for that. -->
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
247 <param name="fwdinput" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Forward Read File" help="Typically, 'Read 1'." />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
248 <param name="revinput" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Reverse Read File" help="Typically, 'Read 3'." />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
249
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
250 <repeat name="idxfiles" title="Index Files" min="0" default="1">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
251 <param name="idxinput" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Index File" help="Typically, 'Read 2 Index' or 'Read 4 Index'." />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
252 <param name="idxreadname" type="text" label="Index Name" help="E.g. index1, index2, etc.. Letters and numbers only. No spaces. Default is 'read-x' where 'x' is a number corresponding to the order in which the file was supplied (including the forward and reverse files).">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
253 <sanitizer>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
254 <valid initial="string.ascii_letters,string.digits" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
255 </sanitizer>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
256 </param>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
257 </repeat>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
258 </when>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
259 <when value="flexible">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
260 <repeat name="seqfiles" title="Read Files" min="1" default="1">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
261 <param name="input" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Read File" help="Forward or single-end read files are typically named 'Read 1'. Index files are typically named 'Read 2 Index' or 'Read 4 Index'. Reverse read files are typically named 'Read 3'." />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
262 <conditional name="nameinterface">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
263 <param name="readtype" type="select" label="Read Type" help="E.g. If one file is 'Forward' and one is 'Reverse', split reads from those files will appear in an output paired collection. If your file has reads with barcodes embedded in them, select their 'with index' variant, e.g. 'Forward with Index'.">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
264 <option value="single" selected="true">Single-End</option>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
265 <option value="forward">Forward</option>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
266 <option value="reverse">Reverse</option>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
267 <option value="index">Index</option>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
268 <option value="singleindex">Single-End with Index</option>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
269 <option value="forwardindex">Forward with Index</option>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
270 <option value="reverseindex">Reverse with Index</option>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
271 </param>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
272 <when value="single">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
273 <param name="readname" type="text" label="Read Name" help="E.g. index1, index2, etc.. Ignored for paired-collections. Letters and numbers only. No spaces. Default is 'read-x' where 'x' is a number corresponding to the order in which the file was supplied.">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
274 <sanitizer>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
275 <valid initial="string.ascii_letters,string.digits" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
276 </sanitizer>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
277 </param>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
278 </when>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
279 <when value="singleindex">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
280 <param name="readname" type="text" label="Read Name" help="E.g. index1, index2, etc.. Ignored for paired-collections. Letters and numbers only. No spaces. Default is 'read-x' where 'x' is a number corresponding to the order in which the file was supplied.">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
281 <sanitizer>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
282 <valid initial="string.ascii_letters,string.digits" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
283 </sanitizer>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
284 </param>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
285 </when>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
286 <when value="index">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
287 <param name="readname" type="text" label="Read Name" help="E.g. index1, index2, etc.. Ignored for paired-collections. Letters and numbers only. No spaces. Default is 'read-x' where 'x' is a number corresponding to the order in which the file was supplied.">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
288 <sanitizer>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
289 <valid initial="string.ascii_letters,string.digits" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
290 </sanitizer>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
291 </param>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
292 </when>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
293 </conditional>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
294 </repeat>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
295 </when>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
296 </conditional>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
297
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
298 <param name="mismatches" type="integer" value="1" max="2" min="0" label="Number of allowed mismatches" help="An integer between 0 and 2 (inclusive). Warning: Make sure all your barcodes differ by at least double this value plus 1, otherwise sequences that match both barcodes equally well will be discarded as 'multimatched' reads." />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
299 <param argument="--barcodes_at_end" type="boolean" truevalue="--barcodes_at_end" falsevalue="" checked="false" label="Barcodes are at the end of all index sequences" help="Default is the beginning of all sequences" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
300 <param argument="--split_all" type="boolean" truevalue="--split_all" falsevalue="" checked="false" label="Split index files too" help="This creates an output collection for split files whose selected 'Read Type' is 'Index'." />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
301 </inputs>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
302
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
303 <outputs>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
304 <data format="tabular" name="summary" label="${tool.name} on ${on_string}: Summary" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
305 <!-- Collection for single-end split reads, regardless of run_type -->
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
306 <collection name="split_output_single" type="list" format_source="input" label="${tool.name} on ${on_string}: single-end">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
307 <!-- run_type is single OR flexible and there's only 1 output read type -->
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
308 <filter>str(runinterface['run_type']) == "single" or (str(runinterface['run_type']) == "flexible" and len(list(filter(lambda x: str(x['nameinterface']['readtype']) != "index", runinterface['seqfiles']))) == 1)</filter>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
309 <discover_datasets pattern="(?P&lt;identifier_0&gt;\S+)\ \S+\ (single|forward|reverse) 0\.(?P&lt;ext&gt;.*)" directory="split" visible="false" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
310 </collection>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
311 <!-- Collection for paired-end split reads, regardless of run_type -->
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
312 <collection name="split_output_paired" type="list:paired" format_source="input" label="${tool.name} on ${on_string}: paired-end">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
313 <!-- run_type is paired OR flexible and there's 1 forward and 1 reverse readtype -->
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
314 <filter>str(runinterface['run_type']) == "paired" or (str(runinterface['run_type']) == "flexible" and len(list(filter(lambda x: str(x['nameinterface']['readtype']).startswith('forward'), runinterface['seqfiles']))) == 1 and len(list(filter(lambda x: str(x['nameinterface']['readtype']).startswith('reverse'), runinterface['seqfiles']))) == 1)</filter>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
315 <discover_datasets pattern="(?P&lt;identifier_0&gt;\S+)\ \S+\ (?P&lt;identifier_1&gt;forward|reverse) 1\.(?P&lt;ext&gt;.*)" directory="split" visible="false" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
316 </collection>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
317 <!-- Collection for single-end split reads that sit alongside a paired-end collection -->
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
318 <collection name="split_output_paired_other" type="list" format_source="input" label="${tool.name} on ${on_string}: other-end">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
319 <!-- run_type is flexible, there are single-end reads, and there's a single valid read pair -->
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
320 <filter>str(runinterface['run_type']) == "flexible" and len(list(filter(lambda x: str(x['nameinterface']['readtype']).startswith('single'), runinterface['seqfiles']))) > 0 and len(list(filter(lambda x: str(x['nameinterface']['readtype']).startswith('forward'), runinterface['seqfiles']))) == 1 and len(list(filter(lambda x: str(x['nameinterface']['readtype']).startswith('reverse'), runinterface['seqfiles']))) == 1</filter>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
321 <discover_datasets pattern="(?P&lt;identifier_0&gt;\S+\ \S+)\ single 1\.(?P&lt;ext&gt;.*)" directory="split" visible="false" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
322 </collection>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
323 <!-- Collection for multi-end split reads -->
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
324 <collection name="split_output_multi" type="list" format_source="input" label="${tool.name} on ${on_string}: multi-end">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
325 <!-- run_type is flexible, there are multiple output split readtypes, and there's not a single valid read pair -->
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
326 <filter>str(runinterface['run_type']) == "flexible" and (len(runinterface['seqfiles']) - len(list(filter(lambda x: str(x['nameinterface']['readtype']) == "index", runinterface['seqfiles'])))) > 1 and (len(list(filter(lambda x: str(x['nameinterface']['readtype']).startswith('forward'), runinterface['seqfiles']))) != 1 or len(list(filter(lambda x: str(x['nameinterface']['readtype']).startswith('reverse'), runinterface['seqfiles']))) != 1)</filter>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
327 <discover_datasets pattern="(?P&lt;identifier_0&gt;\S+ \S+) (single (0|1)|(forward|reverse) 0)\.(?P&lt;ext&gt;.*)" directory="split" visible="false" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
328 </collection>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
329 <!-- Collection for split_all index-only reads -->
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
330 <collection name="index_only" type="list" format_source="input" label="${tool.name} on ${on_string}: indexes">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
331 <!-- split_all is true and ((run_type is not flexible and there are index only files) or (run_type is flexible and there are index only files)) -->
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
332 <filter>split_all and ((str(runinterface['run_type']) != "flexible" and len(runinterface['idxfiles']) > 0) or (str(runinterface['run_type']) == "flexible" and len(list(filter(lambda x: str(x['nameinterface']['readtype']) == "index", runinterface['seqfiles']))) > 0))</filter>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
333 <discover_datasets pattern="(?P&lt;identifier_0&gt;.*?) index (0|1)\.(?P&lt;ext&gt;.*)" directory="split" visible="false" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
334 </collection>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
335 </outputs>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
336
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
337 <tests>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
338 <test>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
339 <!-- single end with 1 index -->
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
340 <param name="run_type" value="single" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
341 <param name="bcfile" value="barcode_splitter_barcodes.txt" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
342 <param name="mismatches" value="2" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
343 <param name="barcodes_at_end" value="" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
344 <param name="split_all" value="False" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
345 <param name="snglinput" value="barcode_splitter1.fastq" ftype="fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
346
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
347 <repeat name="idxfiles">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
348 <param name="idxinput" value="barcode_splitter_index.fastq" ftype="fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
349 <param name="idxreadname" value="read" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
350 </repeat>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
351
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
352 <output name="summary" file="test_1_summary.out" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
353 <output_collection name="split_output_single" type="list">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
354 <element name="BC1" ftype="fastq" file="test_1_BC1-read-1.out" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
355 <element name="BC2" ftype="fastq" file="test_1_BC2-read-1.out" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
356 <element name="BC3" ftype="fastq" file="test_1_BC3-read-1.out" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
357 <element name="BC4" ftype="fastq" file="test_1_BC4-read-1.out" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
358 <element name="unmatched" ftype="fastq" file="test_1_unmatched-read-1.out" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
359 <element name="multimatched" ftype="fastq" file="test_1_multimatched-read-1.out" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
360 </output_collection>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
361 </test>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
362 <test>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
363 <!-- single end with 1 index and split all -->
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
364 <param name="run_type" value="single" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
365 <param name="bcfile" value="barcode_splitter_barcodes_dual.txt" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
366 <param name="mismatches" value="2" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
367 <param name="barcodes_at_end" value="" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
368 <param name="split_all" value="True" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
369 <param name="snglinput" value="barcode_splitter1.fastq" ftype="fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
370
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
371 <repeat name="idxfiles">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
372 <param name="idxinput" value="barcode_splitter_index.fastq" ftype="fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
373 <param name="idxreadname" value="index1" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
374 </repeat>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
375 <repeat name="idxfiles">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
376 <param name="idxinput" value="barcode_splitter_index_2.fastq" ftype="fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
377 <param name="idxreadname" value="index2" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
378 </repeat>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
379
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
380 <output name="summary" file="test_2_summary.out" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
381 <output_collection name="split_output_single" type="list">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
382 <element name="BC1" ftype="fastq" file="test_2_BC1-read-1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
383 <element name="BC2" ftype="fastq" file="test_2_BC2-read-1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
384 <element name="BC3" ftype="fastq" file="test_2_BC3-read-1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
385 <element name="BC4" ftype="fastq" file="test_2_BC4-read-1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
386 <element name="unmatched" ftype="fastq" file="test_2_unmatched-read-1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
387 <element name="multimatched" ftype="fastq" file="test_2_multimatched-read-1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
388 </output_collection>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
389 <output_collection name="index_only" type="list">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
390 <element name="BC1 index1" ftype="fastq" file="test_2_BC1_index1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
391 <element name="BC2 index1" ftype="fastq" file="test_2_BC2_index1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
392 <element name="BC3 index1" ftype="fastq" file="test_2_BC3_index1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
393 <element name="BC4 index1" ftype="fastq" file="test_2_BC4_index1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
394 <element name="unmatched index1" ftype="fastq" file="test_2_unmatched_index1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
395 <element name="multimatched index1" ftype="fastq" file="test_2_multimatched_index1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
396 <element name="BC1 index2" ftype="fastq" file="test_2_BC1_index2.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
397 <element name="BC2 index2" ftype="fastq" file="test_2_BC2_index2.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
398 <element name="BC3 index2" ftype="fastq" file="test_2_BC3_index2.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
399 <element name="BC4 index2" ftype="fastq" file="test_2_BC4_index2.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
400 <element name="unmatched index2" ftype="fastq" file="test_2_unmatched_index2.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
401 <element name="multimatched index2" ftype="fastq" file="test_2_multimatched_index2.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
402 </output_collection>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
403 </test>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
404 <test>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
405 <!-- paired end with one index -->
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
406 <param name="run_type" value="paired" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
407 <param name="bcfile" value="barcode_splitter_barcodes.txt" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
408 <param name="mismatches" value="2" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
409 <param name="barcodes_at_end" value="" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
410 <param name="split_all" value="False" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
411 <param name="fwdinput" value="barcode_splitter1.fastq" ftype="fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
412 <param name="revinput" value="barcode_splitter_index_2.fastq" ftype="fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
413
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
414 <repeat name="idxfiles">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
415 <param name="idxinput" value="barcode_splitter_index.fastq" ftype="fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
416 <param name="idxreadname" value="index" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
417 </repeat>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
418
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
419 <output name="summary" file="test_1_summary.out" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
420 <output_collection name="split_output_paired" type="list:paired">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
421 <element name="BC1">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
422 <element name="forward" ftype="fastq" file="test_3_BC1-forward.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
423 <element name="reverse" ftype="fastq" file="test_3_BC1-reverse.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
424 </element>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
425 <element name="BC2">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
426 <element name="forward" ftype="fastq" file="test_3_BC2-forward.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
427 <element name="reverse" ftype="fastq" file="test_3_BC2-reverse.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
428 </element>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
429 <element name="BC3">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
430 <element name="forward" ftype="fastq" file="test_3_BC3-forward.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
431 <element name="reverse" ftype="fastq" file="test_3_BC3-reverse.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
432 </element>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
433 <element name="BC4">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
434 <element name="forward" ftype="fastq" file="test_3_BC4-forward.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
435 <element name="reverse" ftype="fastq" file="test_3_BC4-reverse.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
436 </element>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
437 <element name="unmatched">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
438 <element name="forward" ftype="fastq" file="test_3_unmatched-forward.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
439 <element name="reverse" ftype="fastq" file="test_3_unmatched-reverse.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
440 </element>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
441 <element name="multimatched">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
442 <element name="forward" ftype="fastq" file="test_3_multimatched-forward.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
443 <element name="reverse" ftype="fastq" file="test_3_multimatched-reverse.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
444 </element>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
445 </output_collection>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
446 </test>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
447 <test>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
448 <!-- paired end 2 indexes and split_all -->
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
449 <param name="run_type" value="paired" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
450 <param name="bcfile" value="barcode_splitter_barcodes_dual.txt" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
451 <param name="mismatches" value="2" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
452 <param name="barcodes_at_end" value="" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
453 <param name="split_all" value="True" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
454 <param name="fwdinput" value="barcode_splitter1.fastq" ftype="fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
455 <param name="revinput" value="barcode_splitter_index_2.fastq" ftype="fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
456
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
457 <repeat name="idxfiles">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
458 <param name="idxinput" value="barcode_splitter_index.fastq" ftype="fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
459 <param name="idxreadname" value="index1" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
460 </repeat>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
461 <repeat name="idxfiles">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
462 <param name="idxinput" value="barcode_splitter_index_2.fastq" ftype="fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
463 <param name="idxreadname" value="index2" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
464 </repeat>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
465
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
466 <output name="summary" file="test_2_summary.out" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
467 <output_collection name="split_output_paired" type="list:paired">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
468 <element name="BC1">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
469 <element name="forward" ftype="fastq" file="test_3_BC1-forward.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
470 <element name="reverse" ftype="fastq" file="test_3_BC1-reverse.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
471 </element>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
472 <element name="BC2">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
473 <element name="forward" ftype="fastq" file="test_3_BC2-forward.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
474 <element name="reverse" ftype="fastq" file="test_3_BC2-reverse.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
475 </element>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
476 <element name="BC3">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
477 <element name="forward" ftype="fastq" file="test_3_BC3-forward.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
478 <element name="reverse" ftype="fastq" file="test_3_BC3-reverse.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
479 </element>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
480 <element name="BC4">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
481 <element name="forward" ftype="fastq" file="test_3_BC4-forward.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
482 <element name="reverse" ftype="fastq" file="test_3_BC4-reverse.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
483 </element>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
484 <element name="unmatched">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
485 <element name="forward" ftype="fastq" file="test_3_unmatched-forward.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
486 <element name="reverse" ftype="fastq" file="test_3_unmatched-reverse.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
487 </element>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
488 <element name="multimatched">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
489 <element name="forward" ftype="fastq" file="test_3_multimatched-forward.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
490 <element name="reverse" ftype="fastq" file="test_3_multimatched-reverse.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
491 </element>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
492 </output_collection>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
493 <output_collection name="index_only" type="list">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
494 <element name="BC1 index1" ftype="fastq" file="test_2_BC1_index1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
495 <element name="BC2 index1" ftype="fastq" file="test_2_BC2_index1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
496 <element name="BC3 index1" ftype="fastq" file="test_2_BC3_index1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
497 <element name="BC4 index1" ftype="fastq" file="test_2_BC4_index1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
498 <element name="unmatched index1" ftype="fastq" file="test_2_unmatched_index1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
499 <element name="multimatched index1" ftype="fastq" file="test_2_multimatched_index1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
500 <element name="BC1 index2" ftype="fastq" file="test_2_BC1_index2.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
501 <element name="BC2 index2" ftype="fastq" file="test_2_BC2_index2.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
502 <element name="BC3 index2" ftype="fastq" file="test_2_BC3_index2.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
503 <element name="BC4 index2" ftype="fastq" file="test_2_BC4_index2.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
504 <element name="unmatched index2" ftype="fastq" file="test_2_unmatched_index2.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
505 <element name="multimatched index2" ftype="fastq" file="test_2_multimatched_index2.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
506 </output_collection>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
507 </test>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
508 <test>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
509 <!-- flexible with single end containing index -->
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
510 <param name="bcfile" value="barcode_splitter_barcodes.txt" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
511 <param name="mismatches" value="2" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
512 <param name="barcodes_at_end" value="" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
513 <param name="split_all" value="False" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
514
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
515 <conditional name="runinterface">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
516 <param name="run_type" value="flexible" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
517 <repeat name="seqfiles">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
518 <param name="input" ftype="fastq" value="barcode_splitter1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
519 <conditional name="nameinterface">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
520 <param name="readtype" value="singleindex" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
521 <param name="readname" value="read" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
522 </conditional>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
523 </repeat>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
524 </conditional>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
525
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
526 <output name="summary" file="test_5_summary.out" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
527 <output_collection name="split_output_single" type="list">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
528 <element name="BC1" ftype="fastq" file="test_1_BC1-read-1.out" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
529 <element name="BC2" ftype="fastq" file="test_1_BC2-read-1.out" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
530 <element name="BC3" ftype="fastq" file="test_1_BC3-read-1.out" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
531 <element name="BC4" ftype="fastq" file="test_5_BC4-read-1.out" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
532 <element name="unmatched" ftype="fastq" file="test_5_unmatched-read-1.out" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
533 <element name="multimatched" ftype="fastq" file="test_1_multimatched-read-1.out" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
534 </output_collection>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
535 </test>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
536 <test>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
537 <!-- flexible with first single end no index, second containing index, 1 separate index, and split all -->
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
538 <param name="bcfile" value="barcode_splitter_barcodes_dual.txt" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
539 <param name="mismatches" value="2" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
540 <param name="barcodes_at_end" value="" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
541 <param name="split_all" value="True" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
542
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
543 <conditional name="runinterface">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
544 <param name="run_type" value="flexible" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
545 <repeat name="seqfiles">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
546 <param name="input" ftype="fastq" value="barcode_splitter1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
547 <conditional name="nameinterface">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
548 <param name="readtype" value="single" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
549 <param name="readname" value="read1" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
550 </conditional>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
551 </repeat>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
552 <repeat name="seqfiles">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
553 <param name="input" ftype="fastq" value="barcode_splitter_index.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
554 <conditional name="nameinterface">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
555 <param name="readtype" value="singleindex" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
556 <param name="readname" value="read2" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
557 </conditional>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
558 </repeat>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
559 <repeat name="seqfiles">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
560 <param name="input" ftype="fastq" value="barcode_splitter_index_2.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
561 <conditional name="nameinterface">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
562 <param name="readtype" value="index" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
563 <param name="readname" value="index2" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
564 </conditional>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
565 </repeat>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
566 </conditional>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
567
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
568 <output name="summary" file="test_6_summary.out" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
569 <output_collection name="split_output_multi" type="list">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
570 <element name="BC1 read1" ftype="fastq" file="test_6_BC1_read1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
571 <element name="BC2 read1" ftype="fastq" file="test_6_BC2_read1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
572 <element name="BC3 read1" ftype="fastq" file="test_6_BC3_read1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
573 <element name="BC4 read1" ftype="fastq" file="test_6_BC4_read1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
574 <element name="unmatched read1" ftype="fastq" file="test_6_unmatched_read1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
575 <element name="multimatched read1" ftype="fastq" file="test_6_multimatched_read1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
576 <element name="BC1 read2" ftype="fastq" file="test_6_BC1_read2.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
577 <element name="BC2 read2" ftype="fastq" file="test_6_BC2_read2.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
578 <element name="BC3 read2" ftype="fastq" file="test_6_BC3_read2.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
579 <element name="BC4 read2" ftype="fastq" file="test_6_BC4_read2.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
580 <element name="unmatched read2" ftype="fastq" file="test_6_unmatched_read2.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
581 <element name="multimatched read2" ftype="fastq" file="test_6_multimatched_read2.fastq" /> <!-- FAILS -->
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
582 </output_collection>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
583 <output_collection name="index_only" type="list">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
584 <element name="BC1 index2" ftype="fastq" file="test_6_BC1_index2.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
585 <element name="BC2 index2" ftype="fastq" file="test_6_BC2_index2.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
586 <element name="BC3 index2" ftype="fastq" file="test_6_BC3_index2.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
587 <element name="BC4 index2" ftype="fastq" file="test_6_BC4_index2.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
588 <element name="unmatched index2" ftype="fastq" file="test_6_unmatched_index2.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
589 <element name="multimatched index2" ftype="fastq" file="test_6_multimatched_index2.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
590 </output_collection>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
591 </test>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
592 <test>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
593 <!-- flexible with paired end with one index and no split all -->
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
594 <param name="bcfile" value="barcode_splitter_barcodes.txt" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
595 <param name="mismatches" value="2" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
596 <param name="barcodes_at_end" value="" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
597 <param name="split_all" value="False" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
598
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
599 <conditional name="runinterface">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
600 <param name="run_type" value="flexible" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
601 <repeat name="seqfiles">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
602 <param name="input" ftype="fastq" value="barcode_splitter1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
603 <conditional name="nameinterface">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
604 <param name="readtype" value="forward" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
605 <param name="readname" value="" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
606 </conditional>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
607 </repeat>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
608 <repeat name="seqfiles">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
609 <param name="input" ftype="fastq" value="barcode_splitter_index.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
610 <conditional name="nameinterface">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
611 <param name="readtype" value="index" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
612 <param name="readname" value="index" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
613 </conditional>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
614 </repeat>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
615 <repeat name="seqfiles">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
616 <param name="input" ftype="fastq" value="barcode_splitter_index_2.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
617 <conditional name="nameinterface">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
618 <param name="readtype" value="reverse" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
619 <param name="readname" value="" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
620 </conditional>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
621 </repeat>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
622 </conditional>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
623
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
624 <output name="summary" file="test_1_summary.out" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
625 <output_collection name="split_output_paired" type="list:paired">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
626 <element name="BC1">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
627 <element name="forward" ftype="fastq" file="test_3_BC1-forward.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
628 <element name="reverse" ftype="fastq" file="test_3_BC1-reverse.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
629 </element>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
630 <element name="BC2">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
631 <element name="forward" ftype="fastq" file="test_3_BC2-forward.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
632 <element name="reverse" ftype="fastq" file="test_3_BC2-reverse.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
633 </element>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
634 <element name="BC3">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
635 <element name="forward" ftype="fastq" file="test_3_BC3-forward.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
636 <element name="reverse" ftype="fastq" file="test_3_BC3-reverse.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
637 </element>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
638 <element name="BC4">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
639 <element name="forward" ftype="fastq" file="test_3_BC4-forward.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
640 <element name="reverse" ftype="fastq" file="test_3_BC4-reverse.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
641 </element>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
642 <element name="unmatched">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
643 <element name="forward" ftype="fastq" file="test_3_unmatched-forward.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
644 <element name="reverse" ftype="fastq" file="test_3_unmatched-reverse.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
645 </element>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
646 <element name="multimatched">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
647 <element name="forward" ftype="fastq" file="test_3_multimatched-forward.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
648 <element name="reverse" ftype="fastq" file="test_3_multimatched-reverse.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
649 </element>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
650 </output_collection>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
651 </test>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
652 <test>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
653 <!-- flexible with paired end with reverseindex, single end, separate index, and no split all -->
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
654 <param name="bcfile" value="barcode_splitter_barcodes_dual.txt" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
655 <param name="mismatches" value="2" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
656 <param name="barcodes_at_end" value="" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
657 <param name="split_all" value="False" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
658
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
659 <conditional name="runinterface">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
660 <param name="run_type" value="flexible" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
661 <repeat name="seqfiles">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
662 <param name="input" ftype="fastq" value="barcode_splitter1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
663 <conditional name="nameinterface">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
664 <param name="readtype" value="forward" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
665 <param name="readname" value="" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
666 </conditional>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
667 </repeat>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
668 <repeat name="seqfiles">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
669 <param name="input" ftype="fastq" value="barcode_splitter1.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
670 <conditional name="nameinterface">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
671 <param name="readtype" value="single" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
672 <param name="readname" value="read" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
673 </conditional>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
674 </repeat>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
675 <repeat name="seqfiles">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
676 <param name="input" ftype="fastq" value="barcode_splitter_index_2.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
677 <conditional name="nameinterface">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
678 <param name="readtype" value="index" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
679 <param name="readname" value="index" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
680 </conditional>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
681 </repeat>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
682 <repeat name="seqfiles">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
683 <param name="input" ftype="fastq" value="barcode_splitter_index_2.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
684 <conditional name="nameinterface">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
685 <param name="readtype" value="reverseindex" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
686 <param name="readname" value="" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
687 </conditional>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
688 </repeat>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
689 </conditional>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
690
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
691 <output name="summary" file="test_2_summary.out" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
692 <output_collection name="split_output_paired" type="list:paired">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
693 <element name="BC1">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
694 <element name="forward" ftype="fastq" file="test_3_BC1-forward.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
695 <element name="reverse" ftype="fastq" file="test_3_BC1-reverse.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
696 </element>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
697 <element name="BC2">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
698 <element name="forward" ftype="fastq" file="test_3_BC2-forward.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
699 <element name="reverse" ftype="fastq" file="test_3_BC2-reverse.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
700 </element>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
701 <element name="BC3">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
702 <element name="forward" ftype="fastq" file="test_3_BC3-forward.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
703 <element name="reverse" ftype="fastq" file="test_3_BC3-reverse.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
704 </element>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
705 <element name="BC4">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
706 <element name="forward" ftype="fastq" file="test_3_BC4-forward.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
707 <element name="reverse" ftype="fastq" file="test_3_BC4-reverse.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
708 </element>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
709 <element name="unmatched">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
710 <element name="forward" ftype="fastq" file="test_3_unmatched-forward.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
711 <element name="reverse" ftype="fastq" file="test_3_unmatched-reverse.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
712 </element>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
713 <element name="multimatched">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
714 <element name="forward" ftype="fastq" file="test_3_multimatched-forward.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
715 <element name="reverse" ftype="fastq" file="test_3_multimatched-reverse.fastq" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
716 </element>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
717 </output_collection>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
718 <output_collection name="split_output_paired_other" type="list">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
719 <element name="BC1 read" ftype="fastq" file="test_1_BC1-read-1.out" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
720 <element name="BC2 read" ftype="fastq" file="test_1_BC2-read-1.out" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
721 <element name="BC3 read" ftype="fastq" file="test_1_BC3-read-1.out" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
722 <element name="BC4 read" ftype="fastq" file="test_1_BC4-read-1.out" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
723 <element name="unmatched read" ftype="fastq" file="test_1_unmatched-read-1.out" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
724 <element name="multimatched read" ftype="fastq" file="test_1_multimatched-read-1.out" />
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
725 </output_collection>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
726 </test>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
727 </tests>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
728
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
729 <help>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
730 <![CDATA[
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
731 **What it does**
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
732
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
733 This tool splits a FASTQ file into several files, using barcodes as the split criteria. Barcodes in one file can be used to split multiple sorted files. Multiple sets of barcodes, each located in a different file, can be used.
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
734
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
735 --------
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
736
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
737 **How it works**
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
738
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
739 Given a number of allowed mismatches, all possible mismatching barcode combinations are pre-computed and stored in a hash lookup table. Each barcode column in the barcode file (--bcfile) adds another level to the hash table data structure. For each read group (e.g. forward, reverse, index1, and index2), the index sequence(s) are used to look up the sample they belong to. No pattern matching takes place - it's a simple hash table lookup where the keys being looked up are taken from the sequences in the index files. Barcode collisions are detected during the construction of the hash table before any sequences are processed, which results in warnings and/or errors and reads that match collided barcodes end up in a "multimatched" file. (A barcode collision is when 2 barcodes can match each other when each has an allowed number of mismatches).
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
740
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
741 The length of the barcode sequences in the barcodes file must be less than or equal to the length of the sequences in the corresponding index files and all barcodes in 1 column must be the same length (though the lengths of the barcodes between columns may differ).
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
742
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
743 There can only be 1 number of mismatches and it is applied per barcode. E.g. If the number of mismatches is set to 1, and there are 2 barcode columns, then two barcodes on the same row may each have 1 mismatch. There is no way (currently) to set a different number of mismatches for different barcode columns.
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
744
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
745 If there are 2 barcode columns, the output summary table can have multiple rows where a single sample could not be identified. Ignoring multimatched and error states for the moment, the following 4 rows are possible, but only those with counts greater than 0 will be included in the summary table:
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
746
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
747 unmatched unmatched unmatched 1
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
748 unmatched matched unmatched 2
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
749 unmatched unmatched matched 3
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
750 unmatched matched matched 4
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
751
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
752 The first column is the ID, which is 'unmatched' in all cases (except the error row). Here's what each row means in the above example:
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
753
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
754 1. For 1 read group, neither of the index sequences matched any barcodes in either barcode column.
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
755 2. For 2 read groups, a barcode in the first barcode column matched but none from the second were matched.
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
756 3. For 3 read groups, no barcodes in the first column matched but a barcode in the second barcode column did match.
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
757 4. For 4 read groups, a barcode from each column matched, but they were not in the same row.
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
758
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
759 If you encounter large counts in case 4, then barcodes are likely not paired correctly in the barcodes file.
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
760
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
761 Two other states can also be reported: multimatched & error. Read groups with 'multimatch' in one or more columns means that with the allowed number of mismatches, the affected index read can match multiple barcodes in the corresponding column. A multimatch will only be reported if the number of mismatches in the 2 matched barcodes are the same. If they are different, barcode_splitter will assign the read group to the better match. If you have any multimatch barcodes or barcode collision warnings, then the barcode design should be improved. The number of differences between any pair of barcodes in a single column should be greater than double the number of allowed mismatches, or else you may end up with numerous multimatch scenarios. A match in another barcode column will not resolve a multimatch in a different column.
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
762
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
763 **Barcode file Format**
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
764
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
765 Barcode files are simple text files.
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
766 Each line should contain an identifier (descriptive name for the barcode), and at least 1 barcode, separated by TAB characters. Multiple columns of barcodes are supported (each corresponding to a separate barcoded read file), though there's usually just 1. An example of the usage of multiple sets of barcodes could be the first set of barcodes can denote user and the second set can be each user's sample barcodes.
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
767 Example::
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
768
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
769 #This line is a comment (starts with a 'number' sign)
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
770 BC1 GATCT TTGCAT
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
771 BC2 ATCGT GCGCAT
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
772 BC3 GTGAT AGGTCA
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
773 BC4 TGTCT CTTTGG
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
774
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
775 For each barcode, a new FASTQ file will be created (with the barcodes' identifier as part of the file name).
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
776 Sequences matching the barcodes in a row will be stored in the appropriate file.
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
777
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
778 The first sequence file submitted must contain sequences with the barcodes in the first column of the barcode file. The second sequence file must contain sequences with the barcodes in the second column, and so on. The Number of Index Files supplied must match the number of actual columns in the barcode file and the order in which they are supplied must match the order of the barcode columns as well.
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
779
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
780 As many as 2 additional FASTQ output files will be created for each read/index file: the 'unmatched' file and the 'multimatched' file, where sequences not matching any barcode or matching more than 1 barcode (when mismatches are taken into account) will be stored.
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
781
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
782 The output of this tool is a summary table displaying the split counts for each barcode identifier and the percentage of the total reads those represent.
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
783 In addition, each FASTQ file produced will be loaded into the galaxy history as part of a collection list.
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
784 ]]>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
785 </help>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
786 <citations>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
787 <citation type="bibtex">
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
788 @misc{paired_sequence_utils,
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
789 title = {{Barcode}-{Splitter}},
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
790 url = {https://bitbucket.org/princeton_genomics/barcode_splitter/},
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
791 author = "Parsons, Lance and Leach, Robert"
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
792 }
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
793 </citation>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
794 </citations>
ff12d2c1f5d6 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/barcode_splitter commit 8f4f88267b8adfa035539230eab3d8eea6896e10
iuc
parents:
diff changeset
795 </tool>