# Copyright:: Copyright (C) 2006-2007 Christian M. Zmasek
# License:: GNU Lesser General Public License (LGPL)
#
-# $Id: tap.rb,v 1.3 2008/08/28 17:09:06 cmzmasek Exp $
-#
# last modified: 05/18/2007
require 'lib/evo/tool/taxonomy_processor'
#
# = lib/evo/io/parser/fasta_parser - FastaParser class
#
-# Copyright:: Copyright (C) 2006-2007 Christian M. Zmasek
+# Copyright:: Copyright (C) 20017 Christian M. Zmasek
# License:: GNU Lesser General Public License (LGPL)
#
-# $Id: fasta_parser.rb,v 1.11 2010/10/08 22:04:17 cmzmasek Exp $
-#
# last modified: 05/17/2007
require 'lib/evo/io/parser/msa_parser'
require 'lib/evo/msa/msa'
-require 'iconv'
+#require 'iconv'
module Evoruby
# Copyright:: Copyright (C) 2006-2007 Christian M. Zmasek
# License:: GNU Lesser General Public License (LGPL)
#
-# $Id: general_msa_parser.rb,v 1.8 2009/10/08 22:44:54 cmzmasek Exp $
-#
# last modified: 2009/10/08
require 'lib/evo/io/parser/msa_parser'
require 'lib/evo/msa/msa'
-require 'iconv'
+#require 'iconv'
module Evoruby
#
# = lib/evo/apps/taxonomy_processor - TaxonomyProcessor class
#
-# Copyright:: Copyright (C) 2006-2007 Christian M. Zmasek
+# Copyright:: Copyright (C) 20017 Christian M. Zmasek
# License:: GNU Lesser General Public License (LGPL)
#
-# $Id: taxonomy_processor.rb,v 1.26 2010/12/13 19:00:11 cmzmasek Exp $
+
require 'lib/evo/util/util'
class TaxonomyProcessor
PRG_NAME = "tap"
- PRG_DATE = "130411"
+ PRG_DATE = "170206"
PRG_DESC = "replacement of species names in multiple sequence files"
PRG_VERSION = "2.002"
- COPYRIGHT = "2013 Christian M Zmasek"
+ COPYRIGHT = "2017 Christian M Zmasek"
CONTACT = "phylosoft@gmail.com"
- WWW = "https://sites.google.com/site/cmzmasek/home/software/forester"
+ WWW = ""
EXTRACT_TAXONOMY_OPTION = "t"
www,
io = STDOUT )
- if RUBY_VERSION !~ /1.9/
- puts( "Your ruby version is #{RUBY_VERSION}, expected 1.9.x " )
- exit( -1 )
- end
+ # if RUBY_VERSION !~ /1.9/
+ # puts( "Your ruby version is #{RUBY_VERSION}, expected 1.9.x " )
+ # exit( -1 )
+ # end
ruby_version = RUBY_VERSION
l = prg_name.length + prg_version.length + date.length + ruby_version.length + 12