class Bio::TMHMM::TMH

Container class of the trainsmembrane helix(TMH) and the other

segments.

Attributes

entry_id[RW]

Returns

pos[RW]

Returns an Range of TMH position.

range[RW]

Returns an Range of TMH position.

status[RW]

Returns the status of the TMH. (“outside”, “TMhelix” or “inside”).

version[RW]

Returns

Public Class Methods

new(entry_id = nil, version = nil, status = nil, range = nil) click to toggle source
# File lib/bio/appl/tmhmm/report.rb, line 178
def initialize(entry_id = nil, version = nil, status = nil, range = nil)
  @entry_id = entry_id
  @version  = version
  @status   = status
  @range    = range
end

Public Instance Methods

to_s() click to toggle source
# File lib/bio/appl/tmhmm/report.rb, line 186
def to_s
  [@entry_id, @version, @status, @range.first, @range.last].join("\t")
end