Repository revision
Select a revision to inspect and download versions of Galaxy utilities from this repository.

Repository ncbi_blast_plus
Owner: devteam
Synopsis: NCBI BLAST+
The NCBI BLAST+ tools find regions of similarity between biological sequences.
The programs compare nucleotide or protein sequences to sequence databases and
calculate the statistical significance.
Type: unrestricted
Revision: 11:4c4a0da938ff
This revision can be installed: True
Times cloned / installed: 12831

Repository README files - may contain important installation or license information

Galaxy wrappers for NCBI BLAST+ suite ===================================== These wrappers are copyright 2010-2013 by Peter Cock, The James Hutton Institute (formerly SCRI, Scottish Crop Research Institute), UK. All rights reserved. See the licence text below. Currently tested with NCBI BLAST 2.2.28+ (i.e. version 2.2.28 of BLAST+), and does not work with the NCBI 'legacy' BLAST suite (e.g. ``blastall``). Note that these wrappers (and the associated datatypes) were originally distributed as part of the main Galaxy repository, but as of August 2012 moved to the Galaxy Tool Shed as ``ncbi_blast_plus`` (and ``blast_datatypes``). My thanks to Dannon Baker from the Galaxy development team for his assistance with this. These wrappers are available from the Galaxy Tool Shed at: http://toolshed.g2.bx.psu.edu/view/devteam/ncbi_blast_plus Automated Installation ====================== Galaxy should be able to automatically install the dependencies, i.e. the ``blast_datatypes`` repository which defines the BLAST XML file format (``blastxml``) and protein and nucleotide BLAST databases (``blastdbp`` and ``blastdbn``). You must tell Galaxy about any system level BLAST databases using configuration files blastdb.loc (nucleotide databases like NT) and blastdb_p.loc (protein databases like NR), and blastdb_d.loc (protein domain databases like CDD or SMART) which are located in the tool-data/ folder. Sample files are included which explain the tab-based format to use. You can download the NCBI provided databases as tar-balls from here: * ftp://ftp.ncbi.nlm.nih.gov/blast/db/ (nucleotide and protein databases like NR) * ftp://ftp.ncbi.nih.gov/pub/mmdb/cdd/little_endian/ (domain databases like CDD) Manual Installation =================== For those not using Galaxy's automated installation from the Tool Shed, put the XML and Python files in the ``tools/ncbi_blast_plus/`` folder and add the XML files to your ``tool_conf.xml`` as normal (and do the same in ``tool_conf.xml.sample`` in order to run the unit tests). For example, use::
You will also need to install ``blast_datatypes`` from the Tool Shed. This defines the BLAST XML file format (``blastxml``) and protein and nucleotide BLAST databases composite file formats (``blastdbp`` and ``blastdbn``): * http://toolshed.g2.bx.psu.edu/view/devteam/blast_datatypes As described above for an automated installation, you must also tell Galaxy about any system level BLAST databases using the ``tool-data/blastdb*.loc`` files. You must install the NCBI BLAST+ standalone tools somewhere on the system path. Currently the unit tests are written using "BLAST 2.2.28+". Run the functional tests (adjusting the section identifier to match your ``tool_conf.xml.sample`` file):: ./run_functional_tests.sh -sid NCBI_BLAST+-ncbi_blast_plus_tools History ======= ======= ====================================================================== Version Changes ------- ---------------------------------------------------------------------- v0.0.11 - Final revision as part of the Galaxy main repository, and the first release via the Tool Shed v0.0.12 - Implements genetic code option for translation searches. - Changes to 1000 sequences at a time (to cope with very large sets of queries where BLAST+ can become memory hungry) - Include warning that BLAST+ with subject FASTA gives pairwise e-values v0.0.13 - Use the new error handling options in Galaxy (the previously bundled hide_stderr.py script is no longer needed). v0.0.14 - Support for makeblastdb and blastdbinfo with local BLAST databases in the history (using work from Edward Kirton), requires v0.0.14 of the 'blast_datatypes' repository from the Tool Shed. v0.0.15 - Stronger warning in help text against searching against subject FASTA files (better looking e-values than you might be expecting). v0.0.16 - Added repository_dependencies.xml for automates installation of the 'blast_datatypes' repository from the Tool Shed. v0.0.17 - The BLAST+ search tools now default to extended tabular output (all too often our users where having to re-run searches just to get one of the missing columns like query or subject length) v0.0.18 - Defensive quoting of filenames in case of spaces (where possible, BLAST+ handling of some mult-file arguments is problematic). v0.0.19 - Added wrappers for rpsblast and rpstblastn, and new blastdb_d.loc for the domain databases they use (e.g. CDD, PFAM or SMART). - Correct case of exception regular expression (for error handling fall-back in case the return code is not set properly). - Clearer naming of output files. v0.0.20 - Added unit tests for BLASTN and TBLASTX. - Added percentage identity option to BLASTN. - Fallback on ElementTree if cElementTree missing in XML to tabular. - Link to Tool Shed added to help text and this documentation. - Tweak dependency on blast_datatypes to also work on Test Tool Shed. - Dependency on new package_blast_plus_2_2_26 in Tool Shed. - Adopted standard MIT License. - Development moved to GitHub, https://github.com/peterjc/galaxy_blast - Updated citation information (Cock et al. 2013). v0.0.21 - Use macros to simplify the XML wrappers. - Added wrapper for dustmasker - Enabled masking for makeblastdb - Requires 'maskinfo-asn1' and 'maskinfo-asn1-binary' datatypes defined in updated blast_datatypes on Galaxy ToolShed. - Tests updated for BLAST+ 2.2.27 instead of BLAST+ 2.2.26 - Now depends on package_blast_plus_2_2_27 in ToolShed v0.0.22 - More use macros to simplify the wrappers - Set number of threads via $GALAXY_SLOTS environment variable - More descriptive default output names - Tests require updated BLAST DB definitions (blast_datatypes v0.0.18) - Pre-check for duplicate identifiers in makeblastdb wrapper. - Tests updated for BLAST+ 2.2.28 instead of BLAST+ 2.2.27 - Now depends on package_blast_plus_2_2_28 in ToolShed - Extended tabular output includes 'salltitles' as column 25. ======= ====================================================================== Bug Reports =========== You can file an issue here https://github.com/peterjc/galaxy_blast/issues or ask us on the Galaxy development list http://lists.bx.psu.edu/listinfo/galaxy-dev Developers ========== This script and related tools were originally developed on the 'tools' branch of the following Mercurial repository: https://bitbucket.org/peterjc/galaxy-central/ As of July 2013, development is continuing on a dedicated GitHub repository: https://github.com/peterjc/galaxy_blast For making the "Galaxy Tool Shed" http://toolshed.g2.bx.psu.edu/ tarball I use the following command from the GitHub repository root folder:: $ tools/ncbi_blast_plus/make_ncbi_blast_plus.sh This simplifies ensuring a consistent set of files is bundled each time, including all the relevant test files. When updating the version of BLAST+, many of the sample data files used for the unit tests must be regenerated. This script automates that task:: $ tools/ncbi_blast_plus/update_test_files.sh Licence (MIT) ============= 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.
Dependencies of this repository

Repository blast_datatypes revision 01b38f20197e owned by devteam
Repository package_blast_plus_2_2_28 revision 222036f7cab6 owned by iuc

Name Version Type
blast+ 2.2.28 package

Contents of this repository

Name Description Version Minimum Galaxy Version
masks low complexity regions 0.0.22 16.01
Search protein domain database (PSSMs) with translated nucleotide query sequence(s) 0.0.22 16.01
Show BLAST database information from blastdbcmd 0.0.22 16.01
Convert BLAST XML output to tabular 0.0.22 16.01
Extract sequence(s) from BLAST database 0.0.22 16.01
Search protein domain database (PSSMs) with protein query sequence(s) 0.0.22 16.01
Search translated nucleotide database with protein query sequence(s) 0.0.22 16.01
Search nucleotide database with nucleotide query sequence(s) 0.0.22 16.01
Search protein database with translated nucleotide query sequence(s) 0.0.22 16.01
Make BLAST database 0.0.22 16.01
Search protein database with protein query sequence(s) 0.0.22 16.01
Search translated nucleotide database with translated nucleotide query sequence(s) 0.0.22 16.01

Categories
Next Gen Mappers - Tools for the analysis and handling of Next Gen sequencing data
Sequence Analysis - Tools for performing Protein and DNA/RNA analysis