syndirella.justretroquery
syndirella.fairy.py
This module provides functions to output retrosynthesis queries for a given list of scaffolds.
Attributes
Functions
|
Save the DataFrame to the output directory. |
|
Gets the top 5 passing routes from the routes. Formats them into a dictionary with routes names as keys, also adds |
|
Perform retrosynthesis search on the given scaffold and formats outputs. |
|
Process the input DataFrame and create output df with retrosynthesis information. |
|
Run the justretroquery pipeline with the given settings. |
Module Contents
- syndirella.justretroquery.save_df(df: pandas.DataFrame, output_dir: str, csv_path: str) str[source]
Save the DataFrame to the output directory.
- syndirella.justretroquery.format_routes(routes: List[Dict[str, List[Dict[str, str]]]]) Dict[source]
Gets the top 5 passing routes from the routes. Formats them into a dictionary with routes names as keys, also adds other field of routeX_names.
- syndirella.justretroquery.retro_search(scaffold: str) pandas.DataFrame[source]
Perform retrosynthesis search on the given scaffold and formats outputs.