Sha256: c63fe082f1da5fd6a171c16ddb9418dd823e6766edf4e23b833a5958d4fa3953

Contents?: true

Size: 307 Bytes

Versions: 7

Compression:

Stored size: 307 Bytes

Contents

require 'genomer'

class GenomerPluginView::Mapping < Genomer::Plugin

  def run
    original = annotations.map(&:id).map(&:clone)
    updated  = annotations(GenomerPluginView.convert_command_line_flags(flags)).map(&:id)

    original.zip(updated).
      map{|i| i.join("\t") }.
      join("\n")
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

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