Skip to main content

Helper functions for luciferase data

Project description

luciferase

Tool for plotting luciferase reporter data. Thanks due to Joshua Chiou and Mei-lin Okino for inspiration and contributions.

Installation

pip3 install luciferase

or

pip3 install --user luciferase

Command-line interface for barplots

A script called luciferase-barplot for creating bar plots from JSON-formatted data is included. After installing luciferase, you can use it like this:

luciferase-barplot --title "plot title" example.json example.pdf 

See also the help message:

luciferase-barplot -h

Examples of luciferase reporter data in JSON format:

{
  "Non-risk, Fwd": [8.354, 12.725, 8.506],
  "Risk, Fwd": [5.078, 5.038, 5.661],
  "Non-risk, Rev": [9.564, 9.692, 12.622],
  "Risk, Rev": [10.777, 11.389, 10.598],
  "Empty": [1.042, 0.92, 1.042]
}
{
  "Alt, MIN6": [5.47, 7.17, 6.15],
  "Ref, MIN6": [3.16, 3.04, 4.34],
  "Empty, MIN6": [1.07, 0.83, 0.76],
  "Alt, ALPHA-TC6": [2.50, 3.47, 3.33],
  "Ref, ALPHA-TC6": [2.01, 1.96, 2.31],
  "Empty, ALPHA-TC6": [1.042, 0.92, 1.042]
}

The input JSON should contain either five entries or six entries. If it contains five entries, the bars of the resulting plot will have a 2-2-1 style. If it contains six entries, the bars will have a 2-1-2-1 style.

Significance indicators will be written above the bars: *** if p<0.001, ** if p<0.01, * if p<0.05, ns otherwise.

Here is an example of a plot in the 2-1-2-1 style:

example barplot

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

luciferase-1.3.1.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

luciferase-1.3.1-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file luciferase-1.3.1.tar.gz.

File metadata

  • Download URL: luciferase-1.3.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for luciferase-1.3.1.tar.gz
Algorithm Hash digest
SHA256 e9d92b9544b9f75d8e598d5bc37a20287fc915b65ce16f6c3a83f959c74f48e8
MD5 fc3c7e7535241ee2e87f5f15dbfd181c
BLAKE2b-256 72ae51836fd21e794a5537812fa2453b74b09eb946ef4569e8bf1d544ae23e64

See more details on using hashes here.

File details

Details for the file luciferase-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: luciferase-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for luciferase-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a01fde4ee54c6a56ab316429c063636ddc4e60bece73e2c51245047dc2c6ccd5
MD5 1621adc2c720f86a18195872ab9a8372
BLAKE2b-256 1144358f37e80d3c1a70ee1e3727ca5a8f1adb4cfc7a5bdcce4bdaf118795ee3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page