class Bio::DAS::SEGMENT
Attributes
description[RW]
entry_id[RW]
features[RW]
label[RW]
orientation[RW]
start[RW]
stop[RW]
subparts[RW]
types[RW]
version[RW]
Public Class Methods
new()
click to toggle source
# File lib/bio/io/das.rb, line 350 def initialize @features = Array.new # for FEATURE @types = Array.new # for TYPE end
region(entry_id, start, stop)
click to toggle source
# File lib/bio/io/das.rb, line 342 def self.region(entry_id, start, stop) segment = self.new segment.entry_id = entry_id segment.start = start segment.stop = stop return segment end