annotate fastx_barcode_splitter.xml @ 3:8abdedf55101 draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
author devteam
date Wed, 11 Nov 2015 12:38:37 -0500
parents c46a5807f2b6
children 015dc921d814
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
1 <tool id="cshl_fastx_barcode_splitter" version="1.0.0" name="Barcode Splitter">
3
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
2 <description></description>
0
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
3 <requirements>
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
4 <requirement type="package" version="0.0.13">fastx_toolkit</requirement>
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
5 </requirements>
3
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
6 <command interpreter="bash">fastx_barcode_splitter_galaxy_wrapper.sh '$BARCODE' '$input' "$input.name" "$output.files_path" --mismatches $mismatches --partial $partial $EOL > '$output' </command>
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
7
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
8 <inputs>
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
9 <param format="txt" name="BARCODE" type="data" label="Barcodes to use" />
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
10 <param format="fasta,fastqsanger,fastqsolexa,fastqillumina" name="input" type="data" label="Library to split" />
0
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
11
3
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
12 <param name="EOL" type="select" label="Barcodes found at">
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
13 <option value="--bol">Start of sequence (5' end)</option>
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
14 <option value="--eol">End of sequence (3' end)</option>
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
15 </param>
0
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
16
3
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
17 <param name="mismatches" type="integer" value="2" label="Number of allowed mismatches" />
0
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
18
3
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
19 <param name="partial" type="integer" value="0" label="Number of allowed barcodes nucleotide deletions" />
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
20 </inputs>
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
21 <outputs>
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
22 <data format="html" name="output" />
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
23 </outputs>
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
24 <tests>
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
25 <test>
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
26 <!-- Split a FASTQ file -->
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
27 <param name="BARCODE" value="fastx_barcode_splitter1.txt" />
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
28 <param name="input" value="fastx_barcode_splitter1.fastq" ftype="fastqsolexa" />
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
29 <param name="EOL" value="Start of sequence (5' end)" />
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
30 <param name="mismatches" value="2" />
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
31 <param name="partial" value="0" />
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
32 <output name="output" file="fastx_barcode_splitter1.out" />
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
33 </test>
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
34 </tests>
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
35 <help>
0
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
36 **What it does**
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
37
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
38 This tool splits a Solexa library (FASTQ file) or a regular FASTA file into several files, using barcodes as the split criteria.
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
39
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
40 --------
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
41
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
42 **Barcode file Format**
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
43
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
44 Barcode files are simple text files.
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
45 Each line should contain an identifier (descriptive name for the barcode), and the barcode itself (A/C/G/T), separated by a TAB character.
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
46 Example::
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
47
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
48 #This line is a comment (starts with a 'number' sign)
3
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
49 BC1 GATCT
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
50 BC2 ATCGT
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
51 BC3 GTGAT
0
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
52 BC4 TGTCT
3
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
53
0
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
54 For each barcode, a new FASTQ file will be created (with the barcode's identifier as part of the file name).
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
55 Sequences matching the barcode will be stored in the appropriate file.
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
56
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
57 One additional FASTQ file will be created (the 'unmatched' file), where sequences not matching any barcode will be stored.
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
58
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
59 The output of this tool is an HTML file, displaying the split counts and the file locations.
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
60
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
61 **Output Example**
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
62
2
c46a5807f2b6 Uploaded tool help image.
devteam
parents: 1
diff changeset
63 .. image:: barcode_splitter_output_example.png
0
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
64
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
65
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
66 ------
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
67
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
68 This tool is based on `FASTX-toolkit`__ by Assaf Gordon.
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
69
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
70 .. __: http://hannonlab.cshl.edu/fastx_toolkit/
3
8abdedf55101 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/fastx_toolkit/fastx_barcode_splitter commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents: 2
diff changeset
71 </help>
0
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
72 <!-- FASTX-barcode-splitter is part of the FASTX-toolkit, by A.Gordon (gordon@cshl.edu) -->
a12850d0559b Uploaded tool tarball.
devteam
parents:
diff changeset
73 </tool>