def execute_makeblastdb(type, title, input)
      @output.puts "Executing makeblastdb for #{title} dbtype #{type}..."

      makeblast_log = File.join(@log_dir, "makeblastdb.log")
      output        = File.dirname(input)

      cmd = "makeblastdb " <<
        "-dbtype #{type} " <<
        "-title #{title} " <<
        "-in #{input} " <<
        "-out #{output} " <<
        "-hash_index >> #{makeblast_log}"
      system(cmd)
      if $?.exitstatus > 0
        raise "makeblastdb error. " <<
          "See #{makeblast_log} for details."
      end
    end
def execute_makeblastdb(type, title, input)
      @output.puts "Executing makeblastdb for #{title} dbtype #{type}..."

      makeblast_log = File.join(@log_dir, "makeblastdb.log")
      output        = File.dirname(input)

      cmd = "makeblastdb " <<
        "-dbtype #{type} " <<
        "-title #{title} " <<
        "-in #{input} " <<
        "-out #{output} " <<
        "-hash_index >> #{makeblast_log}"
      system(cmd)
      if $?.exitstatus > 0
        raise "makeblastdb error. " <<
          "See #{makeblast_log} for details."
      end
    end
Execute makeblastdb on an extracted dataset.