fqgrep
fqgrep copied to clipboard
An approximate sequence pattern matcher for FASTQ/FASTA files.
SYNOPSIS
'fqgrep' is an approximate sequence pattern matcher for FASTQ/FASTA files. One can think of it as being a grep (http://en.wikipedia.org/wiki/Grep) and agrep (http://en.wikipedia.org/wiki/Agrep) like tool optimized for FASTQ (http://en.wikipedia.org/wiki/FASTQ_format) and FASTA (http://en.wikipedia.org/wiki/FASTA_format) files. It can work directly on both compressed and uncompressed file types.
Below is the help message via ('fqgrep -h') describing its usage:
Usage: fqgrep [options] -p
PREREQUISITES
"fqgrep" depends upon the following libraries:
- TRE Regular Expression Library (TRE) [http://laurikari.net/tre/] version 0.8.0.
- zlib [http://www.zlib.net]
They will need to be available on your system before fqgrep can be installed.
TRE
===
On Ubuntu (or any other Debian-based Linux distribution):
---------------------------------------------------------
sudo apt-get install libtre-dev libtre5
On Mac OS X
-----------
via macports [http://www.macports.org/] :
sudo port install tre
or via homebrew [http://brew.sh] :
brew install tre
or via compiling direct source code:
wget http://laurikari.net/tre/tre-0.8.0.tar.gz
tar -zxvf tre-0.8.0.tar.gz
cd tre-0.8.0
./configure
make
sudo make install
Other Alternative Operating Systems
-----------------------------------
For other installation alternatives please visit the following web site:
http://laurikari.net/tre/download/
zlib
====
On Ubuntu (or any other Debian-based Linux distribution):
sudo apt-get install zlib1g zlib1g-dev
On Mac OS X the zlib library comes pre-installed.
Usage of the example trimmer, fqgrep-trim.pl, provided in the scripts subdirectory of this git repository, may require the installation of the 'Path::Class' perl module (found on CPAN) onto your system.
As the root user, please try the following terminal command for "Path::Class" installation:
cpan Path::Class
INSTALLATION
The installation process currently consists of a very simple Makefile.
Just do the following:
git clone git://github.com/indraniel/fqgrep.git; cd fqgrep; make; # try 'make genome' if at the Genome Center at Washington University # or would like to create an executable with all the # relevant libraries statically compiled into it # # try 'make macports' if installing on Mac OS X and you installed the # TRE library via macports (http://www.macports.org/)
The 'fqgrep' executable should be in the working directory. Afterwards, you can move the executable to wherever you wish. Usually, this is the directory "/usr/local/bin" .
USAGE & DETAILS
For more information about fqgrep and its associated scripts, please visit the following documentation page:
https://github.com/indraniel/fqgrep/wiki
AUTHOR
Indraniel Das (indraniel at gmail dot com)
ACKNOWLEDGEMENTS
This software was developed at the Genome Center at Washington University, St. Louis, MO.
Thanks to the Genome Center's Technology Development Informatics Group (Jasreet Hundal, Jason Walker, and Todd Wylie) for insightful discussions and feedback.
DISCLAIMER
This software is provided "as is" without warranty of any kind.
DOI INFO
https://zenodo.org/badge/latestdoi/20108/indraniel/fqgrep
Created: March 15, 2011