Skip to main content

Python packcage for caidentifying Genetic iNTeractions from combinatorial screening data.

Project description

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

Project details


Download files

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

Source Distribution

gnt-0.3.1.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

gnt-0.3.1-py2.py3-none-any.whl (10.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file gnt-0.3.1.tar.gz.

File metadata

  • Download URL: gnt-0.3.1.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for gnt-0.3.1.tar.gz
Algorithm Hash digest
SHA256 5becf4122ef6ced4250a47707acc8efa99a815d135eca2130a4e6b64af405546
MD5 c719dd86b355748dd169b418479f74f8
BLAKE2b-256 e486b2627eb965695305b870705607fd7278c5f6ff56038a22ba07b35158de51

See more details on using hashes here.

File details

Details for the file gnt-0.3.1-py2.py3-none-any.whl.

File metadata

  • Download URL: gnt-0.3.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for gnt-0.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d0b25ad81922639a9eb66d52f9fea441cf66f75a574bc995671fc225b09413f2
MD5 48f1d20dbb4fb6a58597405de3fe03de
BLAKE2b-256 b7ada2c69903dd2f51471de1e9903c211b0ad9e2543c275731226623f4954ed3

See more details on using hashes here.

Supported by

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