0
|
1 <tool id="fastq_paired_end_splitter" name="FASTQ splitter" version="1.0.0">
|
|
2 <description>on joined paired end reads</description>
|
|
3 <requirements>
|
|
4 <requirement type="package" version="1.0.0">galaxy_sequence_utils</requirement>
|
|
5 </requirements>
|
|
6 <command interpreter="python">fastq_paired_end_splitter.py '$input1_file' '${input1_file.extension[len( 'fastq' ):]}' '$output1_file' '$output2_file'</command>
|
|
7 <inputs>
|
|
8 <param name="input1_file" type="data" format="fastqsanger,fastqcssanger" label="FASTQ reads" />
|
|
9 </inputs>
|
|
10 <outputs>
|
|
11 <data name="output1_file" format="input" />
|
|
12 <data name="output2_file" format="input" />
|
|
13 </outputs>
|
|
14 <tests>
|
|
15 <test>
|
|
16 <param name="input1_file" value="3.fastqsanger" ftype="fastqsanger" />
|
|
17 <output name="output1_file" file="split_pair_reads_1.fastqsanger" />
|
|
18 <output name="output2_file" file="split_pair_reads_2.fastqsanger" />
|
|
19 </test>
|
|
20 </tests>
|
|
21 <help>
|
|
22 **What it does**
|
|
23
|
|
24 Splits a single fastq dataset representing paired-end run into two datasets (one for each end). This tool works only for datasets where both ends have **the same** length.
|
|
25
|
|
26 Sequence identifiers will have /1 or /2 appended for the split left-hand and right-hand reads, respectively.
|
|
27
|
|
28 -----
|
|
29
|
|
30 **Input format**
|
|
31
|
|
32 A multiple-fastq file, for example::
|
|
33
|
|
34 @HWI-EAS91_1_30788AAXX:7:21:1542:1758
|
|
35 GTCAATTGTACTGGTCAATACTAAAAGAATAGGATCGCTCCTAGCATCTGGAGTCTCTATCACCTGAGCCCA
|
|
36 +HWI-EAS91_1_30788AAXX:7:21:1542:1758
|
|
37 hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh`hfhhVZSWehR
|
|
38
|
|
39
|
|
40 -----
|
|
41
|
|
42 **Outputs**
|
|
43
|
|
44 Left-hand Read::
|
|
45
|
|
46 @HWI-EAS91_1_30788AAXX:7:21:1542:1758/1
|
|
47 GTCAATTGTACTGGTCAATACTAAAAGAATAGGATC
|
|
48 +HWI-EAS91_1_30788AAXX:7:21:1542:1758/1
|
|
49 hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
|
|
50
|
|
51 Right-hand Read::
|
|
52
|
|
53 @HWI-EAS91_1_30788AAXX:7:21:1542:1758/2
|
|
54 GCTCCTAGCATCTGGAGTCTCTATCACCTGAGCCCA
|
|
55 +HWI-EAS91_1_30788AAXX:7:21:1542:1758/2
|
|
56 hhhhhhhhhhhhhhhhhhhhhhhh`hfhhVZSWehR
|
|
57
|
|
58 ------
|
|
59
|
|
60 **Citation**
|
|
61
|
|
62 If you use this tool, please cite `Blankenberg D, Gordon A, Von Kuster G, Coraor N, Taylor J, Nekrutenko A; Galaxy Team. Manipulation of FASTQ data with Galaxy. Bioinformatics. 2010 Jul 15;26(14):1783-5. <http://www.ncbi.nlm.nih.gov/pubmed/20562416>`_
|
|
63
|
|
64
|
|
65 </help>
|
|
66 </tool>
|