schrodinger.application.msv.gui.blast_results_dialog module

class schrodinger.application.msv.gui.blast_results_dialog.BlastResultsDialog(parent=None)

Bases: PyQt5.QtWidgets.QDialog

A dialog for presenting and incorporating BLAST search results.

Variables:
  • addSequencesRequested (QtCore.pyqtSignal) – A signal emitted when results need to be incorporated into the alignment window. Emitted with a list of protein.ProteinSequence objects.
  • addStructuresRequested (QtCore.pyqtSignal) – A signal emitted when results need to be incorporated into the alignment window. Emitted with a list of PDB paths.
addSequencesRequested
addStructuresRequested
incorporateSequences()

Retrieve selected hits, create sequences, pass them to the widget, and close the dialog.

populateModel(hits)

Adds BLAST hits to the model.

Parameters:hits (list of dict) – Parsed BLAST hits
selectSequences()

Selects the top X sequences to incorporate into the sequence viewer.

class schrodinger.application.msv.gui.blast_results_dialog.BlastResultsModel(parent=None)

Bases: schrodinger.ui.qt.table_helper.RowBasedTableModel

Table model used to access BLAST hits.

Column

alias of BlastColumns