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

File metadata

  • Download URL: naapam-0.1.14.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.14.tar.gz
Algorithm Hash digest
SHA256 aa1e7aac904b5978954c813b1479b65a92ad9668540103b64cf20874adb55429
MD5 5a84a44f4fbee9a2310597ec662b540f
BLAKE2b-256 cffcf6fe0936be9833bf5d68dd912a533aaefdec1edd0aa0213a6667edb42bc3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for naapam-0.1.14-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4e382b35f3546dcd5a837e9f103c6e729959fe93999342f53d5a2d017ebc685b
MD5 6f87b480ab53fa43d6440ab03d23ae02
BLAKE2b-256 c59637c2b5046e38d1425175850e29ac46e0491828a913da519c724b877e029f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for naapam-0.1.14-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 97f077a5c32881a919693b1aee267c9cdc3e11539bef55960f97b17f447dfbcc
MD5 87f9695da8eec8a9ad7522281a3b345c
BLAKE2b-256 1b0f90a54aae11a226a0aa8d02984601e2ef3bd0cd66b01c3ec11a10378e4525

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for naapam-0.1.14-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8aad986683e8efd570790c6009333c22dff7f3a50bc64696d10ca8ad25537dab
MD5 bc7a4f80d563896797005b0b72c9e2ae
BLAKE2b-256 278720f4477888681656a89c0803a6cfd12c72a9bc6abb42983cbd706a2ee042

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for naapam-0.1.14-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 77d9ce104f609bf81759c3f8656861896103f1aa17074ac05820f14db0b121dd
MD5 389b796ebbd1492cca0777b7472bbae1
BLAKE2b-256 0fe4bc6ebdda20c961e8537d01aa7b4ce9cd00156ae290db2de7d5632c275023

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for naapam-0.1.14-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 85b7b765765ee029f740afb40fc3d576efdddb05e7c428d6b86b56d77ce49130
MD5 2462a50dfd399c1d749930e1d056f1e9
BLAKE2b-256 c253d0db958e55a4f69ea02a5d27ec9a5b7fb05728f9c869591f3de18ad0b51d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for naapam-0.1.14-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3a32a3e112ac79df526e5027fac934b923534e4f233e5876d5b7dbec847ff7d4
MD5 883bfb4a0d705187a8899f4f7412d62a
BLAKE2b-256 b6eb7c8cbf7daa8e169656af722aaa52fa51f14ae23376e1f1316dca99b5834a

See more details on using hashes here.

Provenance

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