Class | Bio::PAML::Codeml::Report |
In: |
lib/bio/appl/paml/codeml/report.rb
|
Parent: | Bio::PAML::Common::Report |
A simple class for parsing codeml output.
WARNING: This data is parsed using a regex from the output file, and so will take the first result found. If using multiple tree‘s, your milage may vary. See the source for the regular expressions.
require ‘bio‘
report = Bio::PAML::Codeml::Report.new(File.open(codeml_output_file).read) report.gene_rate # => Rate of gene evolution as defined be alpha report.tree_lengh # => Estimated phylogetic tree length
alpha | [R] | |
tree | [R] | |
tree_length | [R] | |
tree_log_likelihood | [R] |