Skip to content

Primary Screen Assay

Read the inputs, initialize the assay class

import rda_toolbox as rda

primary = rda.PrimaryScreen(
    "../data/raw/",  # Folder where the raw readerfiles are located
    "../data/input/PrS_Input.xlsx",  # Assay specific Input sheet
    "../data/input/AmA_AsT_AcD_20241204.txt",  # Mapping file
    map_rowname="Row 96",
    map_colname="Col 96",
    measurement_label="Raw Optical Density",
    # Folder where the raw readerfiles for precipitation test are located
    precipitation_rawfilepath = "../data/raw/Precipitation_measurements/"
)

Its possible to inspect the assay object:

primary.__dict__

View in-between results (e.g. in a notebook)

Tables

primary.mapped_input_df
primary.processed
primary.results

Visualizations

primary.plateheatmap

Save the results

# Save all tables
primary.save_tables("../data/results/")
# Save all figures
primary.save_figures("../figures/")
# Save results (figures and tables)
primary.save_results(<tables path>, <figures path>, <processed data path>, figureformats=["svg, html"], tableformats=["xlsx", "csv"])

Primary Screen Results