module Bio::Alignment::FactoryTemplate::WrapOutputTempfile

mix-in module

Private Instance Methods

_query_local(fn_in, opt, data_stdin = nil) click to toggle source

Performs alignment

# File lib/bio/alignment.rb, line 2406
def _query_local(fn_in, opt, data_stdin = nil)
  begin
    tf_out = _prepare_tempfile()
    opt = _generate_options(fn_in, tf_out.path, opt)
    exec_local(opt, data_stdin)
    tf_out.open
    @output = tf_out.read
  ensure
    tf_out.close(true) if tf_out
  end
  @report = self.class::DEFAULT_PARSER.new(@output)
  @report
end