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

File metadata

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

File hashes

Hashes for naapam-0.1.16.tar.gz
Algorithm Hash digest
SHA256 22f185aaac9d7300e916324dbdab511a44f5c2f5de7fa62cf0169b40df9a58dd
MD5 37bc4ad42ebf80a59db3c758d2b498a3
BLAKE2b-256 3f96928f38f7192d6b70ae351139c138973e88ddc58cace92d34d86b1faafac6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for naapam-0.1.16-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 dc636c6c8fba6728b240ca4ce16d1081441a60ecec9cb01ae8bf7b5a4957075e
MD5 cacb74fdf8f8a03915611220a6103282
BLAKE2b-256 d1cec457667c4d2998997e30707468957ab657ae1e5bd802308f59e0f1f4a5f4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for naapam-0.1.16-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 885d890458d19d4c8bc3e2980f672e4128a371e88312e74fc6d2fc6fc93accaa
MD5 3c142d4149d1c9d4b7cd51223ef18ab9
BLAKE2b-256 67e969b3c638c1139fd38f4777bdee7b4a91e6448ba488db34f29a8e7b0f5e00

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for naapam-0.1.16-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8bbcdfe5265eabc6e074107c071681302c3a2d5671456342cf226bb022acbfdc
MD5 572e44e47c6a77ac522498a2e5a4da83
BLAKE2b-256 a7ae57976cf9e2a6c3e6c0787c7d5bd1435ef00462e4074bd33166591246a642

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for naapam-0.1.16-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 63d47fea4de44ce9de897d47d21a0a1f2e63ba1f4676e6965919d21ada838a12
MD5 49883788f64560a3dfeaf39bdf32ddb6
BLAKE2b-256 8c1aa60d9da36bbaf3d5e5628304f1fa656da32d00b88aeb27bcc9347f3fd31c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for naapam-0.1.16-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1b0968f321c20f3ca5911cc5cadd49020995e79c8d7e48e37bdfc7954aa2f38d
MD5 21e243cfbfffd71a6c096d2f3adb8c56
BLAKE2b-256 4f19a9257f06a284da45da6ccc37997ad2211adae09c297248d02d4cb588aebb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for naapam-0.1.16-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 76278bee74ae16b3a61ddb2291369d69ce78cb4dc26aebdf7d2c91126795020f
MD5 66cf58d79cb3c0043837ee88fb06ba40
BLAKE2b-256 128aa3ac4db0b6e34f707f71bfc7885a41e6ca7ab6c2ed4caa1b564670486511

See more details on using hashes here.

Provenance

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