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