rstoolbox.io.pymol_mutant_selector

rstoolbox.io.pymol_mutant_selector(df)

Generate selectors for the mutations in target decoys.

Given a DesignFrame with columns mutant_positions_<seqID> and a description column with the name of the decoy, it generates a list of commands to select the residues considered as mutants in pymol.

Note

This function requires that DesignFrame.identify_mutants() has been previously run on the data container.

Parameters:df (Union[DesignFrame, DesignSeries]) – Data container
Returns:list() of str - one command of selection for provided decoy