= seqtrimnext
* http://www.scbi.uma.es/downloads
== DESCRIPTION:
SeqtrimNEXT is a customizable and distributed pre-processing software for NGS (Next Generation Sequencing) biological data. It makes use of scbi_mapreduce gem to be able to run in parallel and distributed environments. It is specially suited for Roche 454 (normal and paired-end) & Ilumina datasets, although it could be easyly adapted to any other situation.
== FEATURES:
* SeqtrimNEXT is very flexible since it's architecture is based on plugins.
* You can add new plugins if needed.
* SeqtrimNEXT uses scbi_mapreduce and thus is able to exploit all the benefits of a cluster environment. It also works in multi-core machines big shared-memory servers.
== Default templates for genomics & transcriptomics are provided
genomics_454.txt:: cleans genomics data from Roche 454 sequencer.
genomics_454_with_paired.txt:: cleans genomic data from a paired-end experiment sequenced with a Roche 454 sequencer.
low_quality.txt:: trims low quality.
low_quality_and_low_complexity.txt:: trims low quality and low complexity.
transcriptomics_454.txt:: cleans transcriptomics data from a Roche 454 sequencer.
transcriptomics_plants.txt:: cleans transcriptomics data from a Roche 454 sequencer with extra databases for plants.
amplicons.txt:: filters amplicons.
== You can define your own templates using a combination of available plugins:
PluginKey:: to remove sequencing keys from 454 input sequences.
PluginMids:: to remove MIDS (barcodes) from 454 sequences.
PluginLinker:: splits sequences into two inserts when a valid linker is found (paired-end experiments only)
PluginAbAdapters:: removes AB adapters from sequences using a predefined DB or one provided by the user.
PluginFindPolyAt:: removes polyA and polyT from sequences.
PluginLowComplexity:: filters sequences with low complexity regions
PluginAdapters:: removes Adapters from sequences using a predefined DB or one provided by the user.
PluginLowHighSize:: removes sequences too small or too big.
PluginVectors:: remove vectors from sequences using a predefined database or one provided by the user.
PluginAmplicons:: filters amplicons using user predefined primers.
PluginIndeterminations:: removes indeterminations (N) from the sequence.
PluginLowQuality:: eliminate low quality regions from sequences.
PluginContaminants:: remove contaminants from sequences or rejects contaminated ones. It uses a core database, but it can be expanded with user provided ones.
== SYNOPSIS:
Once installed, SeqtrimNEXT is very easy to use:
To install core databases (it should be done at installation time):
$> seqtrimnext -i
To perform an analisys using a predefined template with a FASTQ file format using 4 cpus:
$> seqtrimnext -t genomics_454.txt -Q input_file_in_FASTQ -w 4
To perform an analisys using a predefined template with a FASTQ file format:
$> seqtrimnext -t genomics_454.txt -f input_file_in_FASTA -q input_file_in_QUAL
To get additional help and list available templates and databases:
$> seqtrimnext -h
== REQUIREMENTS:
* Ruby 1.9.2
* Blast plus 2.24 or greater (prior versions have bugs that produces bad results)
* [Optional] - GnuPlot version 4.4.2 or greater (prior versions may produce wrong graphs)
* [Optional] - pdflatex - Optional, to produce a detailed report with results
== INSTALL:
=== Installing Blast
*Download the latest version of Blast+ from ftp://ftp.ncbi.nlm.nih.gov/blast/executables/release/LATEST/
*You can also use a precompiled version if you like
*To install from source, decompress the downloaded file, cd to the decompressed folder, and issue the following commands:
./configure
make
sudo make install
=== Installing Ruby 1.9
*You can use RVM to install ruby:
Install RVM:
$ bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
Setup environment:
$ echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bash_profile
Install ruby 1.9.2 (this can take a while):
$ rvm install 1.9.2
Set it as the default:
$ rvm use 1.9.2 --default
=== Install SeqtrimNEXT
SeqtrimNEXT is very easy to install. It is distributed as a ruby gem:
gem install seqtrimnext
This will install seqtrimnext and all the required gems.
=== Install and rebuild SeqtrimNext's core databases
SeqtrimNEXT needs some core databases to work. To install them:
seqtrimnext -i core
=== Database modifications
Included databases will be usefull for a lot of people, but if you prefer, you can modify them, or add more elements to be search against your sequences.
You only need to drop new fasta files to each respective directory:
DB/vectors to add more vectors
DB/contaminants to add more contaminants
etc...
Once the databases has been modified, you will need to reformat them by issuing the following command:
seqtrimnext -c
Modified databases will be rebuilt.
== LICENSE:
(The MIT License)
Copyright (c) 2011 Almudena Bocinos & Dario Guerrero
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.