class Bio::Fasta::Report::Program
Log of the fasta execution environments.
Attributes
definition[R]
Returns a String containing query and library filenames.
program[R]
Accessor for a Hash containing ‘mp_name’, ‘mp_ver’, ‘mp_argv’, ‘pg_name’, ‘pg_ver, ’pg_matrix’, ‘pg_gap-pen’, ‘pg_ktup’, ‘pg_optcut’, ‘pg_cgap’, ‘mp_extrap’, ‘mp_stats’, and ‘mp_KS’ values.
Public Class Methods
new(data)
click to toggle source
# File lib/bio/appl/fasta/format10.rb 178 def initialize(data) 179 @definition, *program = data.split(/\n/) 180 @program = {} 181 182 pat = /;\s+([^:]+):\s+(.*)/ 183 184 program.each do |x| 185 if pat.match(x) 186 @program[$1] = $2 187 end 188 end 189 end