annotate fastx_barcode_splitter.xml @ 0:6cbe88c680bb

Uploaded tool tarball.
author devteam
date Tue, 20 Aug 2013 10:39:56 -0400
parents
children 7b5eb2503f6d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
1 <tool id="cshl_fastx_barcode_splitter" version="1.0.0" name="Barcode Splitter">
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
2 <description></description>
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
3 <requirements>
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
4 <requirement type="package" version="0.0.13">fastx_toolkit</requirement>
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
5 </requirements>
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
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>
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
7
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
8 <inputs>
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
9 <param format="txt" version="1.0.0" name="BARCODE" type="data" label="Barcodes to use" />
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
10 <param format="fasta,fastqsanger,fastqsolexa,fastqillumina" version="1.0.0" name="input" type="data" label="Library to split" />
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
11
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
12 <param version="1.0.0" name="EOL" type="select" label="Barcodes found at">
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
13 <option value="--bol">Start of sequence (5' end)</option>
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
14 <option value="--eol">End of sequence (3' end)</option>
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
15 </param>
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
16
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
17 <param version="1.0.0" name="mismatches" type="integer" size="3" value="2" label="Number of allowed mismatches" />
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
18
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
19 <param version="1.0.0" name="partial" type="integer" size="3" value="0" label="Number of allowed barcodes nucleotide deletions" />
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
20
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
21 </inputs>
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
22
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
23 <tests>
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
24 <test>
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
25 <!-- Split a FASTQ file -->
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
26 <param version="1.0.0" name="BARCODE" value="fastx_barcode_splitter1.txt" />
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
27 <param version="1.0.0" name="input" value="fastx_barcode_splitter1.fastq" ftype="fastqsolexa" />
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
28 <param version="1.0.0" name="EOL" value="Start of sequence (5' end)" />
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
29 <param version="1.0.0" name="mismatches" value="2" />
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
30 <param version="1.0.0" name="partial" value="0" />
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
31 <output version="1.0.0" name="output" file="fastx_barcode_splitter1.out" />
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
32 </test>
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
33 </tests>
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
34
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
35 <outputs>
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
36 <data format="html" version="1.0.0" name="output" />
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
37 </outputs>
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
38 <help>
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
39
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
40 **What it does**
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
41
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
42 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
43
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
44 --------
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
45
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
46 **Barcode file Format**
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
47
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
48 Barcode files are simple text files.
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
49 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
50 Example::
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
51
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
52 #This line is a comment (starts with a 'number' sign)
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
53 BC1 GATCT
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
54 BC2 ATCGT
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
55 BC3 GTGAT
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
56 BC4 TGTCT
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
57
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
58 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
59 Sequences matching the barcode will be stored in the appropriate file.
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
60
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
61 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
62
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
63 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
64
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
65 **Output Example**
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
66
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
67 .. image:: ${static_path}/fastx_icons/barcode_splitter_output_example.png
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
68
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
69
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
70 ------
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
71
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
72 This tool is based on `FASTX-toolkit`__ by Assaf Gordon.
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
73
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
74 .. __: http://hannonlab.cshl.edu/fastx_toolkit/
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
75
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
76 </help>
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
77 <!-- FASTX-barcode-splitter is part of the FASTX-toolkit, by A.Gordon (gordon@cshl.edu) -->
6cbe88c680bb Uploaded tool tarball.
devteam
parents:
diff changeset
78 </tool>