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
2400 def _query_local(fn_in, opt, data_stdin = nil)
2401   begin
2402     tf_out = _prepare_tempfile()
2403     opt = _generate_options(fn_in, tf_out.path, opt)
2404     exec_local(opt, data_stdin)
2405     tf_out.open
2406     @output = tf_out.read
2407   ensure
2408     tf_out.close(true) if tf_out
2409   end
2410   @report = self.class::DEFAULT_PARSER.new(@output)
2411   @report
2412 end