annotate fastx_barcode_splitter.xml @ 6:8da8564e2e45 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit fd099d17eceaa319fbfe429f4725328d88b18c9f
author iuc
date Thu, 10 Aug 2023 06:51:23 +0000
parents da00153634dc
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
8da8564e2e45 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit fd099d17eceaa319fbfe429f4725328d88b18c9f
iuc
parents: 5
diff changeset
1 <tool id="cshl_fastx_barcode_splitter" version="1.0.1+galaxy@VERSION_SUFFIX@" profile="22.05" name="Barcode Splitter">
3
3b0cd3132ddc planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
2 <description></description>
4
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
3 <macros>
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
4 <import>macros.xml</import>
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
5 </macros>
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
6 <expand macro="requirements" />
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
7 <command detect_errors="aggressive"><![CDATA[
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
8 mkdir split &&
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
9 @CATS@ '$__tool_directory__/fastx_barcode_splitter.pl' --bcfile '$BARCODE'
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
10 --prefix 'split/'
6
8da8564e2e45 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit fd099d17eceaa319fbfe429f4725328d88b18c9f
iuc
parents: 5
diff changeset
11 --suffix
5
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
12 #if $input.is_of_type('fastqsanger', 'fastqsanger.gz', 'fastqsanger.bz2'):
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
13 '.fastqsanger'
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
14 #elif $input.is_of_type('fastqsolexa', 'fastqsolexa.gz', 'fastqsolexa.bz2'):
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
15 '.fastqsolexa'
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
16 #elif $input.is_of_type('fastqillumina', 'fastqillumina.gz', 'fastqillumina.bz2'):
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
17 '.fastqillumina'
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
18 #elif $input.is_of_type('fasta', 'fasta.gz'):
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
19 '.fasta'
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
20 #else:
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
21 '.$input.extension'
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
22 #end if
4
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
23 --mismatches $mismatches
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
24 --partial $partial
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
25 #if $refBarcodeLocation.barcodeLocation == "idxfile":
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
26 --idxfile '$refBarcodeLocation.idxfile'
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
27 --idxidstrip $refBarcodeLocation.idxidstrip
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
28 #else:
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
29 $refBarcodeLocation.EOL
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
30 #end if
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
31 > '$summary'
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
32 ]]></command>
3
3b0cd3132ddc planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
33 <inputs>
4
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
34 <param name="BARCODE" type="data" format="txt" label="Barcodes to use" />
5
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
35 <param name="input" type="data" format="@FASTAS@,@FASTQS@,fastq" label="Library to split" />
4
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
36 <conditional name="refBarcodeLocation">
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
37 <param name="barcodeLocation" type="select" label="Barcodes found at">
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
38 <option value="bol">Start of sequence (5' end)</option>
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
39 <option value="eol">End of sequence (3' end)</option>
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
40 <option value="idxfile">Separate index file</option>
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
41 </param>
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
42 <when value="bol">
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
43 <param name="EOL" type="hidden" value="--bol" />
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
44 </when>
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
45 <when value="eol">
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
46 <param name="EOL" type="hidden" value="--eol" />
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
47 </when>
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
48 <when value="idxfile">
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
49 <param argument="--idxidstrip" type="integer" value="1" label="Characters to strip from the end of the sequence id before matching" />
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
50 <param argument="--idxfile" type="data" format="fasta,fastq,fastqsanger" label="Select index read file" />
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
51 </when>
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
52 </conditional>
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
53 <param argument="--mismatches" type="integer" value="0" label="Number of allowed mismatches" />
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
54 <param argument="--partial" type="integer" value="0" label="Number of allowed barcodes nucleotide deletions" />
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
55 </inputs>
0
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
56
4
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
57 <outputs>
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
58 <data name="summary" format="tabular" label="${tool.name} on ${on_string}: Summary" />
5
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
59 <collection name="split_output" type="list" label="${tool.name} on ${on_string}">
4
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
60 <discover_datasets pattern="__designation_and_ext__" directory="split" visible="false" />
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
61 </collection>
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
62 </outputs>
0
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
63
3
3b0cd3132ddc planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
64 <tests>
3b0cd3132ddc planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
65 <test>
3b0cd3132ddc planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
66 <!-- Split a FASTQ file -->
3b0cd3132ddc planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
67 <param name="BARCODE" value="fastx_barcode_splitter1.txt" />
3b0cd3132ddc planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
68 <param name="input" value="fastx_barcode_splitter1.fastq" ftype="fastqsolexa" />
4
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
69 <param name="barcodeLocation" value="bol" />
3
3b0cd3132ddc planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
70 <param name="mismatches" value="2" />
3b0cd3132ddc planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
71 <param name="partial" value="0" />
4
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
72 <output name="summary" file="fastx_barcode_splitter1.out" />
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
73 <output_collection name="split_output" type="list">
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
74 <element name="BC1" ftype="fastqsolexa" file="fastx_barcode_splitter1_BC1.out" />
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
75 <element name="BC2" ftype="fastqsolexa" file="fastx_barcode_splitter1_BC2.out" />
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
76 <element name="BC3" ftype="fastqsolexa" file="fastx_barcode_splitter1_BC3.out" />
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
77 <element name="BC4" ftype="fastqsolexa" file="fastx_barcode_splitter1_BC4.out" />
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
78 <element name="unmatched" ftype="fastqsolexa" file="fastx_barcode_splitter1_unmatched.out" />
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
79 </output_collection>
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
80 </test>
6
8da8564e2e45 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit fd099d17eceaa319fbfe429f4725328d88b18c9f
iuc
parents: 5
diff changeset
81
5
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
82 <test>
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
83 <!-- Split a FASTQ.gz file -->
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
84 <param name="BARCODE" value="fastx_barcode_splitter1.txt" />
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
85 <param name="input" value="fastx_barcode_splitter1.fastq.gz" ftype="fastqsolexa.gz" />
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
86 <param name="barcodeLocation" value="bol" />
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
87 <param name="mismatches" value="2" />
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
88 <param name="partial" value="0" />
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
89 <output name="summary" file="fastx_barcode_splitter1.out" />
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
90 <output_collection name="split_output" type="list">
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
91 <element name="BC1" ftype="fastqsolexa" file="fastx_barcode_splitter1_BC1.out" />
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
92 <element name="BC2" ftype="fastqsolexa" file="fastx_barcode_splitter1_BC2.out" />
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
93 <element name="BC3" ftype="fastqsolexa" file="fastx_barcode_splitter1_BC3.out" />
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
94 <element name="BC4" ftype="fastqsolexa" file="fastx_barcode_splitter1_BC4.out" />
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
95 <element name="unmatched" ftype="fastqsolexa" file="fastx_barcode_splitter1_unmatched.out" />
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
96 </output_collection>
da00153634dc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit b2735803f9719ff955a49a5bde54a211d6d48bb5
iuc
parents: 4
diff changeset
97 </test>
4
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
98
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
99 <test>
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
100 <!-- Split a FASTQ file, using separate index read -->
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
101 <param name="BARCODE" value="fastx_barcode_splitter1.txt" />
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
102 <param name="input" value="fastx_barcode_splitter1.fastq" ftype="fastqsolexa" />
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
103 <param name="idxfile" value="fastx_barcode_splitter_index.fastq" ftype="fastqsolexa" />
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
104 <param name="barcodeLocation" value="idxfile" />
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
105 <param name="mismatches" value="2" />
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
106 <param name="partial" value="0" />
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
107 <output name="summary" file="fastx_barcode_splitter1.out" />
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
108 <output_collection name="split_output" type="list">
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
109 <element name="BC1" ftype="fastqsolexa" file="fastx_barcode_splitter1_BC1.out" />
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
110 <element name="BC2" ftype="fastqsolexa" file="fastx_barcode_splitter1_BC2.out" />
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
111 <element name="BC3" ftype="fastqsolexa" file="fastx_barcode_splitter1_BC3.out" />
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
112 <element name="BC4" ftype="fastqsolexa" file="fastx_barcode_splitter1_BC4.out" />
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
113 <element name="unmatched" ftype="fastqsolexa" file="fastx_barcode_splitter1_unmatched.out" />
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
114 </output_collection>
3
3b0cd3132ddc planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
115 </test>
3b0cd3132ddc planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
116 </tests>
4
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
117
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
118 <help><![CDATA[
0
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
119 **What it does**
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
120
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
121 This tool splits a Solexa library (FASTQ file) or a regular FASTA file into several files, using barcodes as the split criteria.
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
122
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
123 --------
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
124
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
125 **Barcode file Format**
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
126
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
127 Barcode files are simple text files.
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
128 Each line should contain an identifier (descriptive name for the barcode), and the barcode itself (A/C/G/T), separated by a TAB character.
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
129 Example::
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
130
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
131 #This line is a comment (starts with a 'number' sign)
3
3b0cd3132ddc planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
132 BC1 GATCT
3b0cd3132ddc planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
133 BC2 ATCGT
3b0cd3132ddc planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
134 BC3 GTGAT
0
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
135 BC4 TGTCT
3
3b0cd3132ddc planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 2
diff changeset
136
0
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
137 For each barcode, a new FASTQ file will be created (with the barcode's identifier as part of the file name).
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
138 Sequences matching the barcode will be stored in the appropriate file.
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
139
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
140 One additional FASTQ file will be created (the 'unmatched' file), where sequences not matching any barcode will be stored.
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
141
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
142 The output of this tool is an HTML file, displaying the split counts and the file locations.
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
143
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
144 **Output Example**
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
145
2
1a20fbb8bad8 Uploaded tool help image.
devteam
parents: 1
diff changeset
146 .. image:: barcode_splitter_output_example.png
0
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
147
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
148 ------
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
149
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
150 This tool is based on `FASTX-toolkit`__ by Assaf Gordon.
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
151
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
152 .. __: http://hannonlab.cshl.edu/fastx_toolkit/
4
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
153 ]]></help>
e3d91cb9f196 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit bbb2e6b6769b03602a8ab97001f88fbec52080a1
iuc
parents: 3
diff changeset
154 <expand macro="citations" />
0
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
155 <!-- FASTX-barcode-splitter is part of the FASTX-toolkit, by A.Gordon (gordon@cshl.edu) -->
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
156 </tool>