Skip to main content

Chip-based CRISPR analysis

Project description

Introduction

This package is used to analyze CRISPR editing data from chip synthesis. It is based on the following assumptions:

  • The synthesized plasmids can be very different from the designed plasmids. We classify the synthesized plasmids as functional and non-functional. Only functional plasmids can induce CRISPR editing.
  • The top common sythesized functional plasmids instead of the designed plasmids should be used as editing reference.
  • If a treat read has more than one reference functional plasmids (based on barcode), we distribute the read count as follows.
    • Normalize the reference count to get the priori distribution for read count.
    • Normalize the alignment score by a temperature and use softmax to calculate the conditional probability.
    • Compose the priori distribution and conditional probability to get the posteriori distribution of read count across all references.
  • Both functional and non-functional plasmids are transferred to treat samples.
  • With the functional plasmids as reference, the called mutants in treat samples comes either from edited functional plasmids or non-functional plasmids.
  • The abundance of non-functional plasmids is similar in treat and control samples. Therefore, one may substract the mutant frequency in control from that in treat. The remained mutants are expected to be edited reference functional plasmids.

The previous analysis piplines either use designed plasmids as reference or does not substract non-functional plasmids from total mutants. We compose both methods. We also use score as energy and apply an energy based method to distribute the treat read count to multiple references. We use the bioconda package rearr backend by an efficient and accurate chimeric alignment engine to call mutants from treat reads. Rearr allow us to discriminate templated insertions.

Install

$ pip install naapam

TODO

  • try modify score threshold

  • do not filter bad ref, keep them and see whether bad ref leads to more mutation

  • check non-designed ref

  • check filtered ref

  • check each sample with low frequency

  • check alg file

  • check all filter step

  • agg kim correct

  • Document

    • Usage
    • Example
    • mermaid diagram

Dependencies

  • bowtie2
  • gawk

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

naapam-0.1.15.tar.gz (5.2 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

naapam-0.1.15-cp314-cp314t-musllinux_1_2_x86_64.whl (6.5 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

naapam-0.1.15-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (5.5 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

naapam-0.1.15-cp314-cp314-musllinux_1_2_x86_64.whl (6.5 MB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ x86-64

naapam-0.1.15-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (5.5 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

naapam-0.1.15-cp313-cp313-musllinux_1_2_x86_64.whl (6.5 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

naapam-0.1.15-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (5.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file naapam-0.1.15.tar.gz.

File metadata

  • Download URL: naapam-0.1.15.tar.gz
  • Upload date:
  • Size: 5.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for naapam-0.1.15.tar.gz
Algorithm Hash digest
SHA256 081f2ccf05881ae2c3e1f203c4895bd00bac187124fc2e784454b9c1f4a70b08
MD5 a4c3f4b5c1dcb6e476674c1d32510e96
BLAKE2b-256 c27b6b79d45d2dd24148fd1c4d7f1acb56a4178ef132e024e54c8c3d86cdc392

See more details on using hashes here.

Provenance

The following attestation bundles were made for naapam-0.1.15.tar.gz:

Publisher: release.yml on ljw20180420/naapam

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file naapam-0.1.15-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for naapam-0.1.15-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e0bd43538ae37a12467d928f314779f799d6099d3d6b80851fae31b3bbd7dec2
MD5 919af2871299f419b1352508ed724e46
BLAKE2b-256 6acef53e3f91ae4424a31d4b64489108ea08d805a2000273457f05142fbd356e

See more details on using hashes here.

Provenance

The following attestation bundles were made for naapam-0.1.15-cp314-cp314t-musllinux_1_2_x86_64.whl:

Publisher: release.yml on ljw20180420/naapam

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file naapam-0.1.15-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for naapam-0.1.15-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6946657d65fc30668d0f1f34e38ee8bf115fd04dcf65cbdab098c5e23a433b7f
MD5 b3fd0c832cee2f355df444a5e8f64adf
BLAKE2b-256 c0be8d4ebe03df29300ceb5aed9a7eb61d69c8603122a9f80a747a1014561225

See more details on using hashes here.

Provenance

The following attestation bundles were made for naapam-0.1.15-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: release.yml on ljw20180420/naapam

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file naapam-0.1.15-cp314-cp314-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for naapam-0.1.15-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 17c34b5f2415025101f1868d5aadd05dcf7c62366256806160ea8d21672d27eb
MD5 51e7008956f923895751667fc61be63a
BLAKE2b-256 ba9c19276741c75699bfdcdc4442b9e89cc9ce87de7b058d314678c2683871b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for naapam-0.1.15-cp314-cp314-musllinux_1_2_x86_64.whl:

Publisher: release.yml on ljw20180420/naapam

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file naapam-0.1.15-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for naapam-0.1.15-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8af7b9d29e17ce5ab3d43e876751692c14ed458cd5a1ed784235ea8ed4a893e4
MD5 f8750aaa6f385a3ce7f45d636a2f26ef
BLAKE2b-256 79eb89595ef1dbc70c74a778baea7c8184877b46792ce9c0d86b9ba22a19ff3a

See more details on using hashes here.

Provenance

The following attestation bundles were made for naapam-0.1.15-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: release.yml on ljw20180420/naapam

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file naapam-0.1.15-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for naapam-0.1.15-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ff2f135eb36b6bef2cf481a19f8b60b9de8a4dc03e608247452b720753595c2c
MD5 59734c86b589cedded3a7b30805099ed
BLAKE2b-256 450805a092d5573df1312579c4d4fd88b217f8fe8b92f8c22630d87cba46ee8a

See more details on using hashes here.

Provenance

The following attestation bundles were made for naapam-0.1.15-cp313-cp313-musllinux_1_2_x86_64.whl:

Publisher: release.yml on ljw20180420/naapam

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file naapam-0.1.15-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for naapam-0.1.15-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ccdac0269b7ba944f35cc2f454d4c7bb31915046f7a81ab32ca59ddcaa98f0f1
MD5 a60e0bad6d2d1d7b2c9d5abef62e0872
BLAKE2b-256 a04a10fe2ecf898dc6cdd61b54393826dd518ae6f7c427113528d459aaa2c097

See more details on using hashes here.

Provenance

The following attestation bundles were made for naapam-0.1.15-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: release.yml on ljw20180420/naapam

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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