Skip to content

synflylab/pyLucyReader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyLucyReader

Read and graph bioluminescence assays captured with Tecan plate readers

Reading files:

from tecan.io import DualLuciferaseExperimentReader

experiment = DualLuciferaseExperimentReader.read(
    'metadata.xlsx',
    [
        'plate_1_firefly.xlsx',
        'plate_2_firefly.xlsx',
        [
            'plate_3_firefly.xlsx',
            'plate_3_firefly_redo.xlsx'
        ]
    ], [
        'plate_1_renilla.xlsx',
        'plate_2_renilla.xlsx',
        'plate_3_renilla.xlsx'
    ]
)

Plotting results:

from matplotlib import pyplot as plt
from luciferase import graphs
import pandas as pd

idx = pd.IndexSlice
n = experiment.normalize(background='neg').sort_index()
d = n.reset_index() \
     .set_index(['induction', 'sample', 'plate']) \
     .loc[:, ['normalized']] \
     .dropna() \
     .sort_index()

fig, ax = plt.subplots()
ax = graphs.catplot(d, ax=ax, spacing=0.5,
    title='Luciferase assay for the MT promoter',
    ylabel='Normalized signal (ff/rn) [au]',
    xlabel='CuSO$_4$ concentration [μm]')

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages