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