Sha256: 72866e01dff6cacd933a41f72c714a982736c5a2bf25d41eb249319f0b4b29a1

Contents?: true

Size: 357 Bytes

Versions: 6

Compression:

Stored size: 357 Bytes

Contents

require 'genomer'

class GenomerPluginView::Gff < Genomer::Plugin

  DEFAULT = '.'

  def run
    options = GenomerPluginView.convert_command_line_flags(flags)
    annotations(options).
      map{|i| i.seqname = options[:identifier] || DEFAULT; i}.
      map(&:to_s).
      map(&:strip).
      unshift("##gff-version 3").
      join("\n") + "\n"
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
genomer-plugin-view-0.1.0 lib/genomer-plugin-view/gff.rb
genomer-plugin-view-0.0.7 lib/genomer-plugin-view/gff.rb
genomer-plugin-view-0.0.6 lib/genomer-plugin-view/gff.rb
genomer-plugin-view-0.0.5 lib/genomer-plugin-view/gff.rb
genomer-plugin-view-0.0.4 lib/genomer-plugin-view/gff.rb
genomer-plugin-view-0.0.3 lib/genomer-plugin-view/gff.rb