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
178 def initialize(entry_id = nil, version = nil, status = nil, range = nil)
179   @entry_id = entry_id
180   @version  = version
181   @status   = status
182   @range    = range
183 end

Public Instance Methods

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