2
|
1 <tool id="usearch_fastq_mergepairs" name="usearch fastq_mergepairs" version="0.0.1">
|
|
2 <description>merging of paired reads</description>
|
|
3 <version_command>usearch -version</version_command>
|
12
|
4 <command interpreter='bash'>usearch_wrapper.sh
|
|
5 usearch
|
|
6 -fastq_minovlen 0
|
|
7 -quiet
|
7
|
8 -fastq_mergepairs '$input_forward'
|
|
9 -reverse '$input_reverse'
|
11
|
10 #if $minovlen != '0':
|
7
|
11 -fastq_minovlen $minovlen
|
|
12 #end if
|
|
13 -fastq_qmax $qmax
|
|
14 -fastqout '$output'
|
2
|
15 </command>
|
|
16 <inputs>
|
7
|
17 <param name="input_forward" type="data" format="fastq,fastqsanger,fastqcssanger" label="File with forward reads" />
|
|
18 <param name="input_reverse" type="data" format="fastq,fastqsanger,fastqcssanger" label="File with reverse reads" />
|
11
|
19 <param name="minovlen" type="integer" value="0" label="Minimum length of the overlap" help="'0' means no minimum." />
|
10
|
20 <param name="qmax" type="integer" value="41" label="Maximum Q score for input files" />
|
2
|
21 </inputs>
|
|
22 <outputs>
|
|
23 <data name='output' format='fastq' label="Merge result" />
|
|
24 </outputs>
|
|
25 <tests>
|
|
26 <test>
|
|
27 <param name="input_forward" value="fastq_mergepairs_input1.fq" ftype="fastqsanger" />
|
|
28 <param name="input_reverse" value="fastq_mergepairs_input2.fq" ftype="fastqsanger" />
|
5
|
29 <param name="qmax" value="65" />
|
2
|
30 <output name="output" file="fastq_mergepairs_output.fq" />
|
|
31 </test>
|
|
32 </tests>
|
|
33 <help>
|
|
34 **What it Does**
|
|
35
|
|
36 Performs merging of paired reads.
|
|
37
|
|
38 The FASTQ filename for the forward reads is specified by the -fastq_mergepairs option, and the reverse read filename is specified by the -reverse option. Output files are specified by -fastqout (for FASTQ) and / or -fastaout (for FASTA).
|
|
39
|
|
40 Forward and reverse must be in 1:1 correspondence and must appear in the same order in both files. The labels for the forward and reverse read in a given pair must be identical except for a single position where a '1' appears in the forward read label and a '2' appears in the reverse read label.
|
|
41
|
|
42 -----
|
|
43
|
|
44 **Input formats**
|
|
45
|
|
46 Forward read::
|
|
47
|
|
48 @IRIS:7:1:29:952#0/1
|
|
49 TGAGAAGCAAGAAGAAGGTTGGTTAGTGTTTTGGAG
|
|
50 +IRIS:7:1:29:952#0/1
|
|
51 aaabaaaaaaaaaaa`aaY`aa^aaa^a_a_`aa``
|
|
52
|
|
53 Reverse read::
|
|
54
|
|
55 @IRIS:7:1:29:952#0/2
|
|
56 GACTCCAAAACACTAACCAACCTTCTTCTTGCTTCT
|
|
57 +IRIS:7:1:29:952#0/2
|
|
58 aaaabaaaabaaaabbaaaa````__`__^__``__
|
|
59
|
|
60 -----
|
|
61
|
|
62 **Output**
|
|
63
|
|
64 A multiple-fastq file, for example::
|
|
65
|
|
66 @IRIS:7:1:29:952#0/1
|
|
67 TGAGAAGCAAGAAGAAGGTTGGTTAGTGTTTTGGAGTC
|
|
68 +
|
|
69 aaJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJaa
|
|
70
|
|
71 ------
|
|
72
|
|
73 **Author**
|
|
74
|
|
75 Robert C. Edgar (robert@drive5.com)
|
|
76
|
|
77 **Manual**
|
|
78
|
|
79 http://drive5.com/usearch/manual/fastq_mergepairs.html
|
|
80
|
|
81 **Citation**
|
|
82
|
|
83 Please cite one of these papers if you use USEARCH in published work.
|
|
84
|
|
85 Edgar,RC (2010) Search and clustering orders of magnitude faster than BLAST, Bioinformatics 26(19), 2460-2461.
|
|
86 doi: 10.1093/bioinformatics/btq461
|
|
87 </help>
|
|
88 </tool>
|