Sha256: a0318b3f36e9757ddd61b6fb89f6a270df9ac1aa46d36a6d82fe7ad6a3f8c65e

Contents?: true

Size: 444 Bytes

Versions: 8

Compression:

Stored size: 444 Bytes

Contents

module Bio
  class Graphics
class MiniFeature
  attr_accessor :start, :end, :strand, :exons, :utrs, :block_gaps, :segment_height, :id
  def initialize(args)
    @start = args[:start]
    @end = args[:end]
    @strand = args[:strand]
    @exons = args[:exons] || []
    @utrs = args[:utrs] || [] #start, ennd, strand, arg[:exons], arg[:utrs]
    @block_gaps = []
    @id = args[:id]
    @segment_height = args[:segment_height]
  end
end

end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
bio-svgenes-0.3.0 lib/bio/graphics/mini_feature.rb
bio-svgenes-0.2.3 lib/bio/graphics/mini_feature.rb
bio-svgenes-0.2.2 lib/bio/graphics/mini_feature.rb
bio-svgenes-0.2.1 lib/bio/graphics/mini_feature.rb
bio-svgenes-0.2.0 lib/bio/graphics/mini_feature.rb
bio-svgenes-0.1.4 lib/bio/graphics/mini_feature.rb
bio-svgenes-0.1.3 lib/bio/graphics/mini_feature.rb
bio-svgenes-0.1.2 lib/bio/graphics/mini_feature.rb