changeset 22:8e60cb66f032 draft

planemo upload for repository https://github.com/peterjc/pico_galaxy/tree/master/tools/align_back_trans commit 3ab3d1a9650dec0533344d710ceb027e482d2b10-dirty
author peterjc
date Fri, 09 Nov 2018 10:44:00 -0500
parents 5e2bb75817e2
children 38a03cb41fba
files tools/align_back_trans/align_back_trans.py tools/align_back_trans/align_back_trans.xml
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tools/align_back_trans/align_back_trans.py	Fri Sep 15 10:21:00 2017 -0400
+++ b/tools/align_back_trans/align_back_trans.py	Fri Nov 09 10:44:00 2018 -0500
@@ -1,5 +1,5 @@
 #!/usr/bin/env python
-"""Back-translate a protein alignment to nucleotides
+"""Back-translate a protein alignment to nucleotides.
 
 This tool is a short Python script (using Biopython library functions) to
 load a protein alignment, and matching nucleotide FASTA file of unaligned
@@ -35,7 +35,7 @@
 
 
 def check_trans(identifier, nuc, prot, table):
-    """Returns nucleotide sequence if works (can remove trailing stop)"""
+    """Return nucleotide sequence, if works (can remove trailing stop)."""
     if len(nuc) % 3:
         sys.exit("Nucleotide sequence for %s is length %i (not a multiple of three)"
                  % (identifier, len(nuc)))
--- a/tools/align_back_trans/align_back_trans.xml	Fri Sep 15 10:21:00 2017 -0400
+++ b/tools/align_back_trans/align_back_trans.xml	Fri Nov 09 10:44:00 2018 -0500
@@ -123,7 +123,7 @@
 
 Cock et al (2009). Biopython: freely available Python tools for computational
 molecular biology and bioinformatics. Bioinformatics 25(11) 1422-3.
-http://dx.doi.org/10.1093/bioinformatics/btp163 pmid:19304878.
+https://doi.org/10.1093/bioinformatics/btp163 pmid:19304878.
 
 This tool is available to install into other Galaxy Instances via the Galaxy
 Tool Shed at http://toolshed.g2.bx.psu.edu/view/peterjc/align_back_trans