module Bio::Alignment::FactoryTemplate::WrapInputTempfile

mix-in module

Private Instance Methods

_query_string(str, opt) click to toggle source

Performs alignment for str. The str should be a string that can be recognized by the program.

# File lib/bio/alignment.rb, line 2378
def _query_string(str, opt)
  begin
    tf_in = _prepare_tempfile(str)
    ret = _query_local(tf_in.path, opt, nil)
  ensure
    tf_in.close(true) if tf_in
  end
  ret
end