Skip to main content

gnt

https://img.shields.io/pypi/v/gnt.svg https://api.travis-ci.com/gpp-rnd/gnt.svg Documentation Status

Python package for identifying Genetic iNTeractions from combinatorial screening data.

Tutorial

To install:

$ pip install gnt

Basic command line usage

$ gnt "https://raw.githubusercontent.com/PeterDeWeirdt/bigpapi/master/data/processed/bigpapi_lfcs.csv" example_output --control CD81 --control "HPRT intron"

Basic python usage

import gnt
import pandas as pd
lfcs = pd.read_csv('https://raw.githubusercontent.com/PeterDeWeirdt/bigpapi/master/data/processed/bigpapi_lfcs.csv')
guide_residuals, model_info = gnt.get_guide_residuals(lfcs, ['CD81', 'HPRT intron'], scale=True)
gene_scores = gnt.get_gene_residuals(guide_residuals, 'scaled_residual_z')

TODO

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2020-06-29)

  • First release on PyPI.

0.1.1 (2020-07-09)

  • Automated release

0.1.2 (2020-07-09)

  • Travis bug fix

0.2.0 (2020-07-13)

  • Add columns to guide and gene output for base LFC of pairs

  • Check inputs, removing guides without the right number of pairs or control pairs

0.2.1 (2020-07-13)

  • Update basic usage notebook

0.2.2 (2020-07-15)

  • Aggregate guide scores that are in data multiple times in different orientations

0.2.3 (2020-07-15)

  • Deduplicate repeat guide pairs in anchor df

0.2.4 (2020-07-22)

  • Add model coefficients to guide residual ouput

  • Update delta-LFC functions

0.2.5 (2020-07-27)

  • Add base LFC to dLFC output

0.3.0 (2020-08-10)

  • Added spline, fixed slope and quadratic models for calculating guide residuals

  • Combined z-scores by square root of sample size rather than re-calculating z-scores

0.3.1 (2020-08-10)

  • Centered spline for interpretable intercept

0.3.2 (2020-08-19)

  • Added argument for degrees of freedom of spline

Metadata

Release files for gnt 0.3.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 gnt 0.3.2
File Size Uploaded
gnt-0.3.2.tar.gz 19.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gnt 0.3.2
File Interpreter ABI Platform
gnt-0.3.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 29.6 kB

Release files / gnt-0.3.2.tar.gz

Download URL gnt-0.3.2.tar.gz
Size 19.2 kB
Tags Source
SHA-256 checksum
How to use checksums
87cf22498555e2994c1fd5989a6dc8e14b5ea6320357d222a99e223347c99751
BLAKE2b-256 checksum
How to use checksums
894abac65c6354c960ec227496a8fd1b5f603fc098edd84f821c6725e2dbfa54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

Release files / gnt-0.3.2-py2.py3-none-any.whl

Download URL gnt-0.3.2-py2.py3-none-any.whl
Size 10.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
131d5fdeddaaf6f55bf4552c2343ae22341ee3cf203d65eabf8da00646d18f8c
BLAKE2b-256 checksum
How to use checksums
0019fd9f42098a4957564fede684c3f3503cb6448ba10f24ca1d52faae7ab467
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.0

2 release files

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