Sha256: e00e658fb91fedcf427a07e6260b57192e5f380c0490cc9dc16e4b75218d0760
Contents?: true
Size: 575 Bytes
Versions: 7
Compression:
Stored size: 575 Bytes
Contents
class GenomerPluginSimple < Genomer::Plugin def run case arguments.shift when nil then 'Plugin "simple" called' when 'echo' then "Echo: #{arguments.join(' ')}" when 'describe' then "The scaffold contains #{scaffold.length} entries" when 'annotations' then annotations end end def annotations args = Hash.new args[:prefix] = flags[:prefix] if flags[:prefix] args[:reset] = flags[:reset_locus_numbering] if flags[:reset_locus_numbering] super(args).inject("##gff-version 3\n"){|s, a| s << a.to_s} end end
Version data entries
7 entries across 7 versions & 1 rubygems