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 349 def initialize 350 @features = Array.new # for FEATURE 351 @types = Array.new # for TYPE 352 end
region(entry_id, start, stop)
click to toggle source
# File lib/bio/io/das.rb 341 def self.region(entry_id, start, stop) 342 segment = self.new 343 segment.entry_id = entry_id 344 segment.start = start 345 segment.stop = stop 346 return segment 347 end