Nucleus OnePot PURE Replication

Analysis: 20250708

import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
import warnings

from cdk.analysis.cytosol import platereader as pr

# Filter warnings
warnings.filterwarnings('ignore')

# Initialize plotting
pr.plot_setup()

Load the data

Provide a CSV file containing the data, and a platemap. This function returns both the data with the plate map mapped to it, and the platemap by itself, which is useful for certain tasks.

data_file = "./20250708-cytation3-pure-timecourse-gfp-onepot-debug-01-pure-test-biotek-cdk.txt"
platemap_file = "./platemap.tsv"

data, platemap = pr.load_platereader_data(data_file, platemap_file)
data = data[data["Row"].isin(["B","D"])]

Basic Analysis

Curves

Curves of RFU over time, by named sample.

pr.plot_curves(data, palette="colorblind");
plt.savefig("20250708-timeseries-exp1")
<Figure size 649.375x500 with 1 Axes>

Steady state

Bar graph of steady-state endpoint of each sample. Steady state is calculated as the maximum fluorescence value over a 3-sample rolling average on the data.

pr.plot_steadystate(data, palette="colorblind");
plt.savefig("20250708-endpoint-exp1")
<Figure size 600x400 with 1 Axes>

Kinetics

These functions calculate key kinetic parameters of the time series.

pr.plot_kinetics(data)
<Figure size 1800x800 with 6 Axes>

We can also calculate the kinetics and display the parameters as a table.

pr.kinetic_analysis(data)