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

0.3.2 (2020-08-19)

  • Added argument for degrees of freedom of spline

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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: gnt-0.3.2.tar.gz
  • Upload date:
  • Size: 19.2 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.2.tar.gz
Algorithm Hash digest
SHA256 87cf22498555e2994c1fd5989a6dc8e14b5ea6320357d222a99e223347c99751
MD5 e9cc15ca50c2657d6e6bd5e4f00ea44a
BLAKE2b-256 894abac65c6354c960ec227496a8fd1b5f603fc098edd84f821c6725e2dbfa54

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gnt-0.3.2-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.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 131d5fdeddaaf6f55bf4552c2343ae22341ee3cf203d65eabf8da00646d18f8c
MD5 e0cee16f743580374cb0e2a0b33a7895
BLAKE2b-256 0019fd9f42098a4957564fede684c3f3503cb6448ba10f24ca1d52faae7ab467

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