Sha256: 5d6065494772947211a2b8d1b5d50e84aae79c591238ba640f86fdce51a2b706

Contents?: true

Size: 1.46 KB

Versions: 33

Compression:

Stored size: 1.46 KB

Contents

#
# = bio/appl/tcoffee.rb - T-Coffee application wrapper class
#
# Copyright:: Copyright (C) 2006-2007
#             Jeffrey Blakeslee and John Conery University of Oregon <jeffb@uoregon.edu>
#             Naohisa Goto <ng@bioruby.org>
# License::   The Ruby License
#
#  $Id: tcoffee.rb,v 1.1 2007/07/16 12:25:50 ngoto Exp $
#
# Bio::Tcoffee is a wrapper class to execute T-Coffee.
#
# == References
#
# * http://www.tcoffee.org/Projects_home_page/t_coffee_home_page.html
# * Notredame, C., Higgins, D.G. and Heringa, J.
#   T-Coffee: A novel method for fast and accurate multiple sequence
#   alignment. J. Mol. Biol. 302: 205-217, 2000.
#


module Bio

  # Bio::Tcoffee is a wrapper class to execute t-coffee.
  #
  # Please refer documents in bio/apple/tcoffee.rb for references.
  class Tcoffee < Bio::Alignment::FactoryTemplate::FileInFileOutWithTree

    # default program name
    DEFAULT_PROGRAM = 't_coffee'.freeze

    # default report parser
    DEFAULT_PARSER = Bio::ClustalW::Report

    private
    # generates options specifying input filename.
    # returns an array of string
    def _option_input_file(fn)
      [ '-infile', fn ]
    end

    # generates options specifying output filename.
    # returns an array of string
    def _option_output_file(fn)
      [ '-outfile', fn ]
    end

    # generates options specifying output filename.
    # returns an array of string
    def _option_output_dndfile(fn)
      [ '-newtree', fn ]
    end
  end #class TCoffee

end #module Bio

Version data entries

33 entries across 33 versions & 5 rubygems

Version Path
bio-2.0.5 lib/bio/appl/tcoffee.rb
bio-2.0.4 lib/bio/appl/tcoffee.rb
bio-2.0.3 lib/bio/appl/tcoffee.rb
bio-2.0.2 lib/bio/appl/tcoffee.rb
bio-2.0.1 lib/bio/appl/tcoffee.rb
bio-2.0.0 lib/bio/appl/tcoffee.rb
bio-1.6.0.pre.20181210 lib/bio/appl/tcoffee.rb
bio-1.5.2 lib/bio/appl/tcoffee.rb
bio-1.5.1 lib/bio/appl/tcoffee.rb
bio-1.5.0 lib/bio/appl/tcoffee.rb
bioruby-bio-1.2.9.9001 lib/bio/appl/tcoffee.rb
bioruby-bio-1.2.9.9501 lib/bio/appl/tcoffee.rb
bioruby-bio-1.3.0.5000 lib/bio/appl/tcoffee.rb
bioruby-bio-1.3.0.9901 lib/bio/appl/tcoffee.rb
bioruby-bio-1.3.0 lib/bio/appl/tcoffee.rb
bioruby-bio-1.3.1.5000 lib/bio/appl/tcoffee.rb
jandot-bio-1.2.1 lib/bio/appl/tcoffee.rb
ngoto-bio-1.2.9.9001 lib/bio/appl/tcoffee.rb
ngoto-bio-1.2.9.9501 lib/bio/appl/tcoffee.rb
ngoto-bio-1.3.0.5000 lib/bio/appl/tcoffee.rb