Method: Bio::PAML::Common#query_by_string

Defined in:
lib/bio/appl/paml/common.rb

#query_by_string(alignment = nil, tree = nil) ⇒ Object

Runs the program on the internal parameters with the specified sequence alignment data string and tree data string.

Note that parameters is always modified, and parameters and parameters are modified when alignment and tree are specified respectively.

It raises RuntimeError if seqfile is not specified in the argument or in the parameter.

For other information, see the document of query method.


Arguments:

  • (optional) alignment: String

  • (optional) tree: String or nil

Returns

contents of output file (String)



151
152
153
# File 'lib/bio/appl/paml/common.rb', line 151

def query_by_string(alignment = nil, tree = nil)
  _query_by_string(alignment, tree)
end