Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Crispy
============

Identify associations between genomic alterations (e.g. structural variation, copy-number variation) and CRISPR-Cas9 knockout response.

[Tandem duplications lead to loss of fitness effects in CRISPR-Cas9 data](https://www.biorxiv.org/content/early/2018/05/25/325076)


Description
--
Crispy uses [Sklearn](http://scikit-learn.org/stable/index.html) implementation of [Gaussian Process Regression](http://scikit-learn.org/stable/modules/generated/sklearn.gaussian_process.GaussianProcessRegressor.html#sklearn.gaussian_process.GaussianProcessRegressor), fitting by default each chromosome of each sample independently.


Example
--
```python
import pandas as pd
from crispy.association import CRISPRCorrection

# Import data
data = pd.read_csv('extdata/association_example_data.csv', index_col=0)

# Association analysis
crispy = CRISPRCorrection()\
.fit_by(by=data['chr'], X=data[['cnv']], y=data['fc'])

# Export
crispy = pd.concat([v.to_dataframe() for k, v in crispy.items()])\
.sort_values(['cnv', 'k_mean'], ascending=[False, True])
```


Install
--

```
python setup.py install
```

Enrichment module has Cython files, to compile run:

```
python crispy/enrichment/gsea_setup.py build_ext --inplace
```

Regression module has Cython files, to compile run:

```
python crispy/regression/linear_setup.py build_ext --inplace
```



Metadata

Release files for cy 0.1.0.dev225

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cy 0.1.0.dev225
File Size Uploaded Provenance Actions
cy-0.1.0.dev225.tar.gz 353.4 kB Without provenance Details for cy-0.1.0.dev225.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cy 0.1.0.dev225
File Interpreter ABI Platform Actions
cy-0.1.0.dev225-py3-none-any.whl Python 3 none any Details for cy-0.1.0.dev225-py3-none-any.whl

Total release size: 663.0 kB

Release files / cy-0.1.0.dev225.tar.gz

Download URL cy-0.1.0.dev225.tar.gz
Size 353.4 kB
Tags Source
SHA-256 checksum
How to use checksums
556b21fe2fc2ac9a63f34ed8124a800f4316a823ed28d7d8f0a325e31fade36a
BLAKE2b-256 checksum
How to use checksums
189c41ad0faef54aa63fd807fcb12d5749ab3f00423c8e85d1dac2d56ac2fff4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cy-0.1.0.dev225-py3-none-any.whl

Download URL cy-0.1.0.dev225-py3-none-any.whl
Size 309.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c534142245cbf9821231fbcfab5a0ba507449a3f8fc777926f68edc118f1fcc5
BLAKE2b-256 checksum
How to use checksums
27a598a13e905c4502826b9631af40232c94b48a6596147cf8a91f1831967af1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for cy 0.1.0.dev225

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
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