File: format_raw.rb

package info (click to toggle)
ruby-bio 2.0.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,108 kB
  • sloc: ruby: 68,331; perl: 13; makefile: 11; sh: 1
file content (19 lines) | stat: -rw-r--r-- 434 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# = bio/sequence/format_raw.rb - Raw sequence formatter
#
# Copyright::  Copyright (C) 2008 Naohisa Goto <ng@bioruby.org>
# License::    The Ruby License
#

module Bio::Sequence::Format::Formatter

  # Raw sequence output formatter class
  class Raw < Bio::Sequence::Format::FormatterBase

    # output raw sequence data
    def output
      "#{@sequence.seq}"
    end
  end #class Raw

end #module Bio::Sequence::Format::Formatter