Mercurial > repos > devteam > fastx_barcode_splitter
annotate fastx_barcode_splitter.xml @ 3:3b0cd3132ddc draft
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
| author | devteam |
|---|---|
| date | Tue, 13 Oct 2015 12:40:38 -0400 |
| parents | 1a20fbb8bad8 |
| children | e3d91cb9f196 |
| rev | line source |
|---|---|
| 0 | 1 <tool id="cshl_fastx_barcode_splitter" version="1.0.0" name="Barcode Splitter"> |
|
3
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
2 <description></description> |
| 0 | 3 <requirements> |
| 4 <requirement type="package" version="0.0.13">fastx_toolkit</requirement> | |
| 5 </requirements> | |
|
3
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
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> |
|
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
7 |
|
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
8 <inputs> |
|
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
9 <param format="txt" name="BARCODE" type="data" label="Barcodes to use" /> |
|
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
10 <param format="fasta,fastqsanger,fastqsolexa,fastqillumina" name="input" type="data" label="Library to split" /> |
| 0 | 11 |
|
3
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
12 <param name="EOL" type="select" label="Barcodes found at"> |
|
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
13 <option value="--bol">Start of sequence (5' end)</option> |
|
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
14 <option value="--eol">End of sequence (3' end)</option> |
|
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
15 </param> |
| 0 | 16 |
|
3
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
17 <param name="mismatches" type="integer" value="2" label="Number of allowed mismatches" /> |
| 0 | 18 |
|
3
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
19 <param name="partial" type="integer" value="0" label="Number of allowed barcodes nucleotide deletions" /> |
|
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
20 </inputs> |
|
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
21 <outputs> |
|
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
22 <data format="html" name="output" /> |
|
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
23 </outputs> |
|
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
24 <tests> |
|
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
25 <test> |
|
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
26 <!-- Split a FASTQ file --> |
|
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
27 <param name="BARCODE" value="fastx_barcode_splitter1.txt" /> |
|
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
28 <param name="input" value="fastx_barcode_splitter1.fastq" ftype="fastqsolexa" /> |
|
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
29 <param name="EOL" value="Start of sequence (5' end)" /> |
|
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
30 <param name="mismatches" value="2" /> |
|
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
31 <param name="partial" value="0" /> |
|
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
32 <output name="output" file="fastx_barcode_splitter1.out" /> |
|
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
33 </test> |
|
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
34 </tests> |
|
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
35 <help> |
| 0 | 36 **What it does** |
| 37 | |
| 38 This tool splits a Solexa library (FASTQ file) or a regular FASTA file into several files, using barcodes as the split criteria. | |
| 39 | |
| 40 -------- | |
| 41 | |
| 42 **Barcode file Format** | |
| 43 | |
| 44 Barcode files are simple text files. | |
| 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. | |
| 46 Example:: | |
| 47 | |
| 48 #This line is a comment (starts with a 'number' sign) | |
|
3
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
49 BC1 GATCT |
|
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
50 BC2 ATCGT |
|
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
51 BC3 GTGAT |
| 0 | 52 BC4 TGTCT |
|
3
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
53 |
| 0 | 54 For each barcode, a new FASTQ file will be created (with the barcode's identifier as part of the file name). |
| 55 Sequences matching the barcode will be stored in the appropriate file. | |
| 56 | |
| 57 One additional FASTQ file will be created (the 'unmatched' file), where sequences not matching any barcode will be stored. | |
| 58 | |
| 59 The output of this tool is an HTML file, displaying the split counts and the file locations. | |
| 60 | |
| 61 **Output Example** | |
| 62 | |
| 2 | 63 .. image:: barcode_splitter_output_example.png |
| 0 | 64 |
| 65 | |
| 66 ------ | |
| 67 | |
| 68 This tool is based on `FASTX-toolkit`__ by Assaf Gordon. | |
| 69 | |
| 70 .. __: http://hannonlab.cshl.edu/fastx_toolkit/ | |
|
3
3b0cd3132ddc
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
2
diff
changeset
|
71 </help> |
| 0 | 72 <!-- FASTX-barcode-splitter is part of the FASTX-toolkit, by A.Gordon (gordon@cshl.edu) --> |
| 73 </tool> |
