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