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

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.0.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

gnt-0.3.0-py2.py3-none-any.whl (10.3 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: gnt-0.3.0.tar.gz
  • Upload date:
  • Size: 18.9 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.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

File hashes

Hashes for gnt-0.3.0.tar.gz
Algorithm Hash digest
SHA256 627754c6bcdd2b9ddb76576f39f64535c127c670a0e53c7e6bdef340b7f3bcc7
MD5 95c9f97996e99cb945014caf5325fb5a
BLAKE2b-256 1841bf93d425eb7f2ff87e83616eeca4df847d556885f3db49f4cdff3df2e791

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gnt-0.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.3 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.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

File hashes

Hashes for gnt-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 97e1ca48b4f417b7b82d3664fcd4ca66b9c3265ba094d31153b64e87b6e6cf77
MD5 4b92296f150835399455f1fb9d3f236c
BLAKE2b-256 989a53960ad97f29e9ae6a7e8dcf1021cc5376686a8118e9a86bd71bf738d0c8

See more details on using hashes here.

Supported by

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