def METHOD_NAME(self):
    """Set up window to select BLAST program and database."""
    self.blast_string = tk.StringVar()
    self.blast_string.set("blastn")
    self.cf = ttk.Frame(self.toplevel)
    self.cf.pack(side="top", expand=1, fill="x")
    self.dbs_frame = ttk.LabelFrame(self.cf, text="Databases")
    self.dbs_frame.pack(side="left", padx=5, pady=5, expand=1, fill="x")
    nin_values = self.database_readable(self.nin)
    pin_values = self.database_readable(self.pin)
    self.dbs = ttk.Combobox(
        self.dbs_frame, exportselection=0, values=nin_values + pin_values
    )
    self.dbs.current(0)
    self.blast_frame = ttk.LabelFrame(self.cf, text="BLAST programs")
    self.blast_frame.pack(side="left", padx=5, pady=5, expand=1, fill="x")
    self.blasts = ttk.Combobox(
        self.blast_frame,
        exportselection=0,
        textvariable=self.blast_string,
        values=["blastn", "blastp", "blastx", "tblastn", "tblastx"],
    )
    self.dbs.pack(side="left", padx=5, pady=5, expand=1, fill="x")
    self.blasts.pack(side="left", padx=5, pady=5, expand=1, fill="x")
    self.option_f = ttk.LabelFrame(self.cf, text="Command line options")
    self.option_f.pack(side="left", padx=5, pady=5, expand=1, fill="x")
    self.option = ttk.Entry(self.option_f)
    self.option.pack(side="left", padx=5, pady=5, fill="x", expand=1)
    self.ok = ttk.Button(self.cf, text="Run", command=self._Run, state="disabled")
    self.ok.pack(side="right")
    self.Validate()