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.13.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.13-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.13-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.13-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.13-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.13-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.13-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.13.tar.gz.

File metadata

  • Download URL: naapam-0.1.13.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.13.tar.gz
Algorithm Hash digest
SHA256 b7d93e6a7c5cef34dc6f8071debd2ab5e5d2cf3ed0014a8caf4c43665860b023
MD5 b17923dc0112cda3e7f0bb50236b340a
BLAKE2b-256 c5560a3202a1ac6d1d9e8ab65490c926c9773cb3ae7fd52dca1213579a451357

See more details on using hashes here.

Provenance

The following attestation bundles were made for naapam-0.1.13.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.13-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for naapam-0.1.13-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d14df3e65fc2b52daea4dca9dbfe6c07ab1d325ff42d812784bc7cd64433640e
MD5 aa2b4297a85fc156f2207c87d7709444
BLAKE2b-256 eebf55cace1bfe333022070db2e912a3ee5c340c386e530f0ba7c9f360af5c46

See more details on using hashes here.

Provenance

The following attestation bundles were made for naapam-0.1.13-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.13-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for naapam-0.1.13-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9020839496de48306b1368bc20cfcce65159c134595811c56aff4bef7c755001
MD5 3fbd0593d9c3e5fa11c67c2c3e29ae3e
BLAKE2b-256 1f7c63229d4886613078c93a879900058dcfcb8230441c74987ea5b30c1b7299

See more details on using hashes here.

Provenance

The following attestation bundles were made for naapam-0.1.13-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.13-cp314-cp314-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for naapam-0.1.13-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 bf776f44ce848fd0d49910b991047a42a53c29bf330a782c96ed13a319b7cdc3
MD5 6795ee1ca987f9d61a0fb96fb3a26390
BLAKE2b-256 958b79171ac0fcbde66999bca58b1be903ddcf24be011523cff1768ed24508a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for naapam-0.1.13-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.13-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for naapam-0.1.13-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3baa9407d6e72beba80b5b2e9ab4d4af7b0cf7fff2775db8fa7eca0359110a59
MD5 edc09709bd068bb9d20d6edf2eeb98c6
BLAKE2b-256 7822439f7f65ee317900861e9157632e7f1d298f14d4264d0a55bf6fe02cf6f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for naapam-0.1.13-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.13-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for naapam-0.1.13-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c9bf4ae3e1bf1fbfa5861587e95eba63deb63e1687f8f9cf344c2727b9c0d9e2
MD5 671e8f9e4ded0fc58fad08ee8c9582bf
BLAKE2b-256 013bcd1f7a69aef9c2313589be339ca0aab8eeb89474807b971c9c468b1e5ab0

See more details on using hashes here.

Provenance

The following attestation bundles were made for naapam-0.1.13-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.13-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for naapam-0.1.13-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cdcccb67ea1f452ae771fe0991525e01b7417323d376660cf23d61d3a30b1fff
MD5 e047e9b165e541e57a8b7549b976febc
BLAKE2b-256 9e46bb3a883a1135bcb7d92eafecf22a9d3dbc78a2f9f8cfbcf0d46bd529e1ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for naapam-0.1.13-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