Helper functions for luciferase data
Project description
luciferase
Helper functions and scripts for luciferase reporter data
Installation
pip3 install luciferase
or
pip3 install --user luciferase
Command-line interface for barplots
A script called reporter-barplot
for creating bar plots from JSON-formatted
data is included. After installing luciferase
, you can use it like this:
reporter-barplot --title "plot title" example.json example.pdf
See also the help message:
reporter-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.
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.0.1.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for luciferase-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a7c14aae396f77deb261bb700942ead5ef793cde4980adc7be6bd9385caf88c |
|
MD5 | b27a235521b225c60ac0c335fe290bc4 |
|
BLAKE2b-256 | 338a57f8dd12caa15a7c8da0e75c1d8731fc790e49acce1d3b9d01a1e4f86200 |