Skip to main content

Detrending, period/phase prediction and plotting of luciferase time series

Project description

luctools: Analysis of Circadian Luciferase Time Series

luctools provides a toolset for plotting, detrending and calculating period and phase of luciferase based circadian expression experiments.


To improve the ease of use and reproducibility of analysing circadian luciferase time series.


* Plotting of time series with mean and CIs calculated across replicates.

* Detrending of signal for both decay and baseline.

* Calculation and plotting of period and phase.

Example Usage

from luctools import analyse

#reads in data and sampling rate of experiment (samples/hour)
data = analyse.luctraces(path_to_input_data,sample_rate)
#plots undetrended data
![ImageRelative](data/test.png "undetrended")

#detrends data
#plots detrended data
![ImageRelative](data/test2.png "detrended")

#calculates periods of each time series
#calculates phases of each time series
#plots period vs phase for each time series
![ImageRelative](data/test_phase_v_period.png "period_phase")

### A Note on Data Formatting
luctools expects input files to be formatted as comma seperated. The first column should index the observations. The header should start with any string and the rest of the header should contain the genotype of the observations
in the column. Replicates should have the same column headers.

| Frame | Control | Control | Control | Experimental | Experimental | Experimental |
| index# | data | data | data | data | data | data |


pip install luctools


* Implement statistical comparison of phases between groups.

* Add api reference on readthedocs.

Built With

* numpy
* pandas
* scipy
* matplotlib
* seaborn
* peakutils


© 2018 Alexander M. Crowell: BSD-3

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for luctools, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size luctools-0.2-py3-none-any.whl (6.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size luctools-0.2.tar.gz (5.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page