Skip to main content
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.

----------
Motivation
----------

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

--------
Features
--------

* 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
-------------

```python
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
data.gen_tsplot(output_path)
```
![ImageRelative](data/test.png "undetrended")

```python
#detrends data
data.detrend()
#plots detrended data
data.gen_tsplot(output_path)
```
![ImageRelative](data/test2.png "detrended")

```python
#calculates periods of each time series
data.get_periods()
#calculates phases of each time series
data.get_phases()
#plots period vs phase for each time series
data.gen_phase_plot(output_path)
```
![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 |

------------
Installation
------------

pip install luctools

----
TO DO
----

* Implement statistical comparison of phases between groups.

* Add api reference on readthedocs.

----
Built With
----

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

-------
License
-------

© 2018 Alexander M. Crowell: BSD-3


Metadata

Release files for luctools 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for luctools 0.2
File Size Uploaded Provenance Actions
luctools-0.2.tar.gz 5.0 kB Without provenance Details for luctools-0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for luctools 0.2
File Interpreter ABI Platform Actions
luctools-0.2-py3-none-any.whl Python 3 none any Details for luctools-0.2-py3-none-any.whl

Total release size: 10.9 kB

Release files / luctools-0.2.tar.gz

Download URL luctools-0.2.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
417548830e932c7ce36144558ebf03e338be467780307325e6281432e94adc88
BLAKE2b-256 checksum
How to use checksums
40a7d0fe3636b1bfa54fdf3c9b0fc539c651cc4cfe6c3ff38c9c71bb0d1eed25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

Release files / luctools-0.2-py3-none-any.whl

Download URL luctools-0.2-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
73cf5209fac63e72b9605c3ad9d53fcdb2bce494869ab69487dee403b6f99b52
BLAKE2b-256 checksum
How to use checksums
a005c6e507d49c8ac500430b81a27afdd31109f7eae463bcfaa92be16c5590a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

Security for luctools 0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page