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

Repository align_back_trans
Owner: peterjc
Synopsis: Thread nucleotides onto a protein alignment (back-translation)
Takes an input file of aligned protein sequences (typically FASTA or Clustal
format), and a matching file of unaligned nucleotide sequences (FASTA format,
using the same identifiers), and threads the nucleotide sequences onto the
protein alignment to produce a codon aware nucleotide alignment - which can
be viewed as a back translation.
Type: unrestricted
Revision: 0:0c24e4e2177d
This revision can be installed: True
Times cloned / installed: 670

Repository README files - may contain important installation or license information

Galaxy tool to back-translate a protein alignment to nucleotides ================================================================ This tool is copyright 2012-2014 by Peter Cock, The James Hutton Institute (formerly SCRI, Scottish Crop Research Institute), UK. All rights reserved. See the licence text below (MIT licence). This tool is a short Python script (using Biopython library functions) to load a protein alignment, and matching nucleotide FASTA file of unaligned sequences, which are threaded onto the protein alignment in order to produce a codon aware nucleotide alignment - which can be viewed as a back translation. This tool is available from the Galaxy Tool Shed at: * http://toolshed.g2.bx.psu.edu/view/peterjc/align_back_trans Automated Installation ====================== This should be straightforward using the Galaxy Tool Shed, which should be able to automatically install the dependency on Biopython, and then install this tool and run its unit tests. Manual Installation =================== There are just two files to install to use this tool from within Galaxy: * ``align_back_trans.py`` (the Python script) * ``align_back_trans.xml`` (the Galaxy tool definition) The suggested location is in a dedicated ``tools/align_back_trans`` folder. You will also need to modify the ``tools_conf.xml`` file to tell Galaxy to offer the tool. One suggested location is in the multiple alignments section. Simply add the line:: You will also need to install Biopython 1.62 or later. If you want to run the unit tests, include this line in ``tools_conf.xml.sample`` and the sample FASTA files under the ``test-data`` directory. Then:: ./run_functional_tests.sh -id align_back_trans That's it. History ======= ======= ====================================================================== Version Changes ------- ---------------------------------------------------------------------- v0.0.1 - Initial version, based on a previously written Python script v0.0.2 - Optionally check the translation is consistent ======= ====================================================================== Developers ========== This script was initially developed on this repository: https://github.com/peterjc/picobio/blob/master/align/align_back_trans.py With the addition of a Galaxy wrapper, developement moved here: https://github.com/peterjc/pico_galaxy/tree/master/tools/align_back_trans For making the "Galaxy Tool Shed" http://toolshed.g2.bx.psu.edu/ tarball use the following command from the Galaxy root folder:: $ tar -czf align_back_trans.tar.gz tools/align_back_trans/README.rst tools/align_back_trans/align_back_trans.py tools/align_back_trans/align_back_trans.xml tools/align_back_trans/tool_dependencies.xml test-data/demo_nucs.fasta test-data/demo_nucs_trailing_stop.fasta test-data/demo_prot_align.fasta test-data/demo_nuc_align.fasta Check this worked:: $ tar -tzf align_back_trans.tar.gz tools/align_back_trans/README.rst tools/align_back_trans/align_back_trans.py tools/align_back_trans/align_back_trans.xml tools/align_back_trans/tool_dependencies.xml test-data/demo_nucs.fasta test-data/demo_nucs_trailing_stop.fasta test-data/demo_prot_align.fasta test-data/demo_nuc_align.fasta 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 package_numpy_1_7 revision 300877695495 owned by iuc (prior install required)
Repository package_atlas_3_10 revision 98c017ec230d owned by iuc (prior install required)

Name Version Type
biopython 1.63 package

Contents of this repository

Name Description Version Minimum Galaxy Version
Gives a codon aware alignment 0.0.3 any

Categories
Fasta Manipulation - Tools for manipulating fasta data
Sequence Analysis - Tools for performing Protein and DNA/RNA analysis