PEAR - Paired-End reAd mergeR
PEAR is an ultrafast, memory-efficient and highly accurate pair-end read merger. It is fully parallelized and can run with as low as just a few kilobytes of memory.
PEAR evaluates all possible paired-end read overlaps and without requiring the target fragment size as input. In addition, it implements a statistical test for minimizing false-positive results. Together with a highly optimized implementation, it can merge millions of paired end reads within a couple of minutes on a standard desktop computer.
Introduction
What is PEAR?
PEAR is an ultrafast, memory-efficient and highly accurate pair-end read merger. It is fully parallelized and can run with as low as just a few kilobytes of memory. PEAR
is distributed under the Creative Commons license, and it runs on the command-line under Linux and UNIX based operating systems.
Installing PEAR
PEAR is available as source-code and also in the form of precompiled binaries.
Obtaining PEAR
PEAR
sources and binaries are available on the official website. Binaries are available for Intel based architectures (i386 and x86_64) running Linux. If you intend to compile PEAR
from source, make sure to get the source package.
Building from source
You will need to install GNU Autotools and GNU Libtool for compiling the source code. If you are using a Debian based Linux distribution (e.g. Ubuntu), you can install all dependencies by running:apt-get install build-essential autoconf automake libtool
Building PEAR
from source requires a C compiler such as GCC, a Makefile parser such as GNU Make, and the POSIX Threads library installed on the deployment platform.
git clone https://github.com/xflouris/PEAR.git cd PEAR ./autogen.sh ./configure make sudo make install
mkdir $HOME/pear git clone https://github.com/xflouris/PEAR.git cd PEAR ./autogen.sh ./configure --prefix=$HOME/pear make make install
Command-line
Usage
Currently, there is no graphical user interface (GUI) for PEAR
. PEAR
runs in console-mode and takes a number of mandatory and optional arguments which are explained in the following sections. The optional arguments affect the process of assemblying.
Main arguments
|
Specify the name of file that contains the forward paired-end reads. |
|
Specify the name of file that contains the reverse paired-end reads. |
|
Specify the name to be used as base for the output files. PEAR outputs four files. A file containing the assembled reads with a |
Optional arguments
|
Specify a p-value for the statistical test. If the computed p-value of a possible assembly exceeds the specified p-value then the paired-end read will not be assembled. Valid options are: 0.0001, 0.001, 0.01, 0.05 and 1.0. Setting 1.0 disables the test. (default: 0.01) |
|
Specify the minimum overlap size. The minimum overlap may be set to 1 when the statistical test is used. However, further restricting the minimum overlap size to a proper value may reduce false-positive assembles. (default: 10) |
|
Specify the maximum possible length of the assembled sequences. Setting this value to 0 disables the restriction and assembled sequences may be arbitrary long. (default: 0) |
|
Specify the minimum possible length of the assembled sequences. Setting this value to 0 disables the restriction and assembled sequences may be arbitrary short. (default: 50) |
|
Specify the minimum length of reads after trimming the low quality part (see option -q). (default: 1) |
|
Specify the quality score threshold for trimming the low quality part of a read. If the quality scores of two consecutive bases are strictly less than the specified threshold, the rest of the read will be trimmed. (default: 0) |
|
Specify the maximal proportion of uncalled bases in a read. Setting this value to 0 will cause PEAR to discard all reads containing uncalled bases. The other extreme setting is 1 which causes PEAR to process all reads independent on the number of uncalled bases. (default: 1) |
|
Specify the type of statistical test. Two options are available. (default: 1)
|
|
Disable empirical base frequencies. (default: use empirical base frequencies) |
|
Specify the scoring method. (default: 2)
|
|
Base PHRED quality score. (default: 33) |
|
Specify the amount of memory to be used. The number may be followed by one of the letters K, M, or G denoting Kilobytes, Megabytes and Gigabytes, respectively. Bytes are assumed in case no letter is specified. |
|
Number of threads to use |
Getting support
Mailing list
A mailing list is set for handling bug reports, feature requests and user support. You may subscribe here.
Bug reports and inquiries
Found a bug, need something implemented in PEAR or need some help? Let us know about it! However, do not contact us directly. Instead, use the mailing list such that we avoid duplicate inquiries.