Description: fix percent symbol usage in format string
 Needed under ruby 2.5. Exception was:
 ArgumentError: incomplete format specifier; use %% (double %) instead
Author: Chris Hofstaedtler <zeha@debian.org>
Forwarded: no

---

Index: ruby-bio/lib/bio/shell/plugin/seq.rb
===================================================================
--- ruby-bio.orig/lib/bio/shell/plugin/seq.rb
+++ ruby-bio/lib/bio/shell/plugin/seq.rb
@@ -82,7 +82,7 @@ module Bio::Shell
       rep << "Codon usage       :\n"
       hash = Hash.new("0.0%")
       seq.codon_usage.sort.each do |codon, num|
-        percent = format("%.1f%", 100.0 * num / (seq.length / 3))
+        percent = format("%.1f%%", 100.0 * num / (seq.length / 3))
         hash[codon] = percent
       end
       rep << codontable(1, hash).output
