Rosetta
|
Functions | |
Union[List[str], NoReturn] | get_protocols_list_of_str (Optional[str] input_file=None, Optional[str] scorefile=None, Optional[str] decoy_name=None) |
def | get_scores_dict (obj) |
str | get_yml () |
List[Any] | to_iterable (Any obj, Callable[..., Any] func, str attr) |
List[Any] | _catch_pose_or_kwargs (Union[Pose, PackedPose, Dict[Any, Any]] obj, Callable[..., Any] func, str attr) |
List[Any] | _iterate (Iterable[Any] objs, Callable[..., Any] func, str attr) |
Union[int, NoReturn] | to_int (Any obj, str attribute) |
int | _is_int (int obj, str attribute) |
NoReturn | to_packed (Any obj, str protocol_name) |
PackedPose | _to_packed (Pose obj, str protocol_name) |
PackedPose | _is_packed_or_kwargs (Union[PackedPose, Dict[Any, Any]] obj, str protocol_name) |
PackedPose | _none_to_packed (None obj, str protocol_name) |
Union[str, NoReturn] | to_str (Any obj, str attribute) |
str | _to_int (int obj, str attribute) |
NoReturn | _to_float (float obj, str attribute) |
NoReturn | parse_input_file_to_protocols_str (Any obj) |
List[str] | _parse_str (str obj) |
NoReturn | parse_input_file_to_instance_kwargs (Any obj) |
NoReturn | parse_scorefile (Any obj) |
NoReturn | parse_decoy_name (Any obj) |
str | _from_str (str obj) |
NoReturn | reserve_scores_in_results (Any obj, Dict[Any, Any] _scores_dict, str protocol_name) |
List[PackedPose] | _parse_packed (Union[Pose, PackedPose] obj, Dict[Any, Any] _scores_dict, str protocol_name) |
List[PackedPose] | _parse_iterable (Iterable[Any] objs, Dict[Any, Any] _scores_dict, str protocol_name) |
PackedPose | _default_none (None obj, Dict[Any, Any] _scores_dict, str protocol_name) |
NoReturn | parse_client (Any obj) |
Optional[ClientType] | _default (Optional[ClientType] obj) |
NoReturn | parse_input_packed_pose (Any obj) |
Optional[PackedPose] | _from_packed_or_none (Optional[PackedPose] obj) |
PackedPose | _from_pose (Pose obj) |
NoReturn | parse_instance_kwargs (Any obj) |
Dict[Any, Any] | _parse_dict (Dict[Any, Any] obj) |
Dict[Any, Any] | _default_none (None obj) |
bool | is_bytes (Any obj) |
bool | is_packed (Any obj) |
bool | is_dict (Any obj) |
Variables | |
string | __author__ = "Jason C. Klima" |
ClientType = TypeVar("ClientType", bound=distributed.client.Client) | |
|
private |
|
private |
|
private |
|
private |
References pyrosetta.distributed.cluster.converter_tasks.to_packed().
Referenced by pyrosetta.distributed.cluster.converter_tasks._default_none(), pyrosetta.distributed.cluster.converters._parse_pyrosetta_build(), pyrosetta.distributed.cluster.converters._parse_scratch_dir(), pyrosetta.distributed.cluster.converters._parse_sha1(), and pyrosetta.distributed.cluster.converters._parse_system_info().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
References pyrosetta.distributed.cluster.converter_tasks.get_scores_dict().
Referenced by pyrosetta.distributed.cluster.converters._parse_environment(), pyrosetta.distributed.cluster.converter_tasks.parse_input_file_to_instance_kwargs(), and pyrosetta.distributed.cluster.converter_tasks.parse_scorefile().
|
private |
References pyrosetta.distributed.cluster.str.
|
private |
Union[List[str], NoReturn] pyrosetta.distributed.cluster.converter_tasks.get_protocols_list_of_str | ( | Optional[str] | input_file = None , |
Optional[str] | scorefile = None , |
||
Optional[str] | decoy_name = None |
||
) |
Get the user-defined PyRosetta protocols as a `list` object of `str` objects. Args: input_file: A `str` object specifying the path to the '.pdb' or '.pdb.bz2' file from which to extract PyRosettaCluster instance kwargs. If input_file is provided, then ignore the scorefile and decoy_name argument parameters. Default: None scorefile: A `str` object specifying the path to the JSON-formatted scorefile from which to extract PyRosettaCluster instance kwargs. If 'scorefile' is provided, 'decoy_name' must also be provided. In order to use a scorefile, it must contain full simulation records from the original production run; i.e., the attribute 'simulation_records_in_scorefile' was set to True. Default: None decoy_name: A `str` object specifying the decoy name for which to extract PyRosettaCluster instance kwargs. If decoy_name is provided, scorefile must also be provided. Default: None Returns: A `list` object of `str` objects specifying user-defined PyRosetta protocol names.
References basic::database.open(), pyrosetta.distributed.cluster.converter_tasks.parse_decoy_name(), pyrosetta.distributed.cluster.converter_tasks.parse_input_file_to_protocols_str(), and pyrosetta.distributed.cluster.converter_tasks.parse_scorefile().
Referenced by pyrosetta.distributed.cluster.tools.get_protocols().
def pyrosetta.distributed.cluster.converter_tasks.get_scores_dict | ( | obj | ) |
Get the PyRosettaCluster scores dictionary from a .pdb or .pdb.bz2 file.
References all, pyrosetta.tests.distributed.test_dask.format, and basic::database.open().
Referenced by pyrosetta.distributed.cluster.converter_tasks._parse_str(), pyrosetta.distributed.cluster.converter_tasks.parse_input_file_to_instance_kwargs(), pyrosetta.tests.distributed.cluster.test_smoke.ResourcesTest.test_resources(), and pyrosetta.tests.distributed.cluster.test_smoke.ResourcesTest.test_resources_clients().
str pyrosetta.distributed.cluster.converter_tasks.get_yml | ( | ) |
Use `conda env export` to return a YML file string with the current conda enviroment, excluding certain source domains.
References all.
Referenced by pyrosetta.distributed.cluster.converters._parse_environment(), and pyrosetta.distributed.cluster.tools._print_conda_warnings().
bool pyrosetta.distributed.cluster.converter_tasks.is_bytes | ( | Any | obj | ) |
bool pyrosetta.distributed.cluster.converter_tasks.is_dict | ( | Any | obj | ) |
bool pyrosetta.distributed.cluster.converter_tasks.is_packed | ( | Any | obj | ) |
NoReturn pyrosetta.distributed.cluster.converter_tasks.parse_client | ( | Any | obj | ) |
References pyrosetta.tests.distributed.test_dask.format.
Referenced by pyrosetta.distributed.cluster.tools.reproduce().
NoReturn pyrosetta.distributed.cluster.converter_tasks.parse_decoy_name | ( | Any | obj | ) |
NoReturn pyrosetta.distributed.cluster.converter_tasks.parse_input_file_to_instance_kwargs | ( | Any | obj | ) |
NoReturn pyrosetta.distributed.cluster.converter_tasks.parse_input_file_to_protocols_str | ( | Any | obj | ) |
NoReturn pyrosetta.distributed.cluster.converter_tasks.parse_input_packed_pose | ( | Any | obj | ) |
References pyrosetta.tests.distributed.test_dask.format.
NoReturn pyrosetta.distributed.cluster.converter_tasks.parse_instance_kwargs | ( | Any | obj | ) |
References pyrosetta.tests.distributed.test_dask.format.
Referenced by pyrosetta.distributed.cluster.tools.reproduce().
NoReturn pyrosetta.distributed.cluster.converter_tasks.parse_scorefile | ( | Any | obj | ) |
NoReturn pyrosetta.distributed.cluster.converter_tasks.reserve_scores_in_results | ( | Any | obj, |
Dict[Any, Any] | _scores_dict, | ||
str | protocol_name | ||
) |
Referenced by pyrosetta.distributed.cluster.tools.reserve_scores().
Union[int, NoReturn] pyrosetta.distributed.cluster.converter_tasks.to_int | ( | Any | obj, |
str | attribute | ||
) |
References enumerate_junctions.int.
List[Any] pyrosetta.distributed.cluster.converter_tasks.to_iterable | ( | Any | obj, |
Callable[..., Any] | func, | ||
str | attr | ||
) |
NoReturn pyrosetta.distributed.cluster.converter_tasks.to_packed | ( | Any | obj, |
str | protocol_name | ||
) |
Parse a single result from the user-provided PyRosetta protocol.
Referenced by pyrosetta.distributed.cluster.converter_tasks._default_none(), pyrosetta.distributed.cluster.converter_tasks._parse_iterable(), pyrosetta.distributed.cluster.converter_tasks._parse_packed(), pyrosetta.distributed.io.to_output_record(), and pyrosetta.distributed.io.to_pdbstring().
Union[str, NoReturn] pyrosetta.distributed.cluster.converter_tasks.to_str | ( | Any | obj, |
str | attribute | ||
) |
References enumerate_junctions.int, and pyrosetta.distributed.cluster.str.
|
private |
pyrosetta.distributed.cluster.converter_tasks.ClientType = TypeVar("ClientType", bound=distributed.client.Client) |