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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22f185aaac9d7300e916324dbdab511a44f5c2f5de7fa62cf0169b40df9a58dd
|
|
| MD5 |
37bc4ad42ebf80a59db3c758d2b498a3
|
|
| BLAKE2b-256 |
3f96928f38f7192d6b70ae351139c138973e88ddc58cace92d34d86b1faafac6
|
Provenance
The following attestation bundles were made for naapam-0.1.16.tar.gz:
Publisher:
release.yml on ljw20180420/naapam
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
naapam-0.1.16.tar.gz -
Subject digest:
22f185aaac9d7300e916324dbdab511a44f5c2f5de7fa62cf0169b40df9a58dd - Sigstore transparency entry: 1251584537
- Sigstore integration time:
-
Permalink:
ljw20180420/naapam@874820cbabf6bea8852998dabd5e44c93b700482 -
Branch / Tag:
refs/tags/v0.1.16 - Owner: https://github.com/ljw20180420
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@874820cbabf6bea8852998dabd5e44c93b700482 -
Trigger Event:
release
-
Statement type:
File details
Details for the file naapam-0.1.16-cp314-cp314t-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: naapam-0.1.16-cp314-cp314t-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 6.5 MB
- Tags: CPython 3.14t, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc636c6c8fba6728b240ca4ce16d1081441a60ecec9cb01ae8bf7b5a4957075e
|
|
| MD5 |
cacb74fdf8f8a03915611220a6103282
|
|
| BLAKE2b-256 |
d1cec457667c4d2998997e30707468957ab657ae1e5bd802308f59e0f1f4a5f4
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
naapam-0.1.16-cp314-cp314t-musllinux_1_2_x86_64.whl -
Subject digest:
dc636c6c8fba6728b240ca4ce16d1081441a60ecec9cb01ae8bf7b5a4957075e - Sigstore transparency entry: 1251584620
- Sigstore integration time:
-
Permalink:
ljw20180420/naapam@874820cbabf6bea8852998dabd5e44c93b700482 -
Branch / Tag:
refs/tags/v0.1.16 - Owner: https://github.com/ljw20180420
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@874820cbabf6bea8852998dabd5e44c93b700482 -
Trigger Event:
release
-
Statement type:
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
- Download URL: naapam-0.1.16-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 5.5 MB
- Tags: CPython 3.14t, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
885d890458d19d4c8bc3e2980f672e4128a371e88312e74fc6d2fc6fc93accaa
|
|
| MD5 |
3c142d4149d1c9d4b7cd51223ef18ab9
|
|
| BLAKE2b-256 |
67e969b3c638c1139fd38f4777bdee7b4a91e6448ba488db34f29a8e7b0f5e00
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
naapam-0.1.16-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
885d890458d19d4c8bc3e2980f672e4128a371e88312e74fc6d2fc6fc93accaa - Sigstore transparency entry: 1251584589
- Sigstore integration time:
-
Permalink:
ljw20180420/naapam@874820cbabf6bea8852998dabd5e44c93b700482 -
Branch / Tag:
refs/tags/v0.1.16 - Owner: https://github.com/ljw20180420
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@874820cbabf6bea8852998dabd5e44c93b700482 -
Trigger Event:
release
-
Statement type:
File details
Details for the file naapam-0.1.16-cp314-cp314-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: naapam-0.1.16-cp314-cp314-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 6.5 MB
- Tags: CPython 3.14, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8bbcdfe5265eabc6e074107c071681302c3a2d5671456342cf226bb022acbfdc
|
|
| MD5 |
572e44e47c6a77ac522498a2e5a4da83
|
|
| BLAKE2b-256 |
a7ae57976cf9e2a6c3e6c0787c7d5bd1435ef00462e4074bd33166591246a642
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
naapam-0.1.16-cp314-cp314-musllinux_1_2_x86_64.whl -
Subject digest:
8bbcdfe5265eabc6e074107c071681302c3a2d5671456342cf226bb022acbfdc - Sigstore transparency entry: 1251584645
- Sigstore integration time:
-
Permalink:
ljw20180420/naapam@874820cbabf6bea8852998dabd5e44c93b700482 -
Branch / Tag:
refs/tags/v0.1.16 - Owner: https://github.com/ljw20180420
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@874820cbabf6bea8852998dabd5e44c93b700482 -
Trigger Event:
release
-
Statement type:
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
- Download URL: naapam-0.1.16-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 5.5 MB
- Tags: CPython 3.14, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63d47fea4de44ce9de897d47d21a0a1f2e63ba1f4676e6965919d21ada838a12
|
|
| MD5 |
49883788f64560a3dfeaf39bdf32ddb6
|
|
| BLAKE2b-256 |
8c1aa60d9da36bbaf3d5e5628304f1fa656da32d00b88aeb27bcc9347f3fd31c
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
naapam-0.1.16-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
63d47fea4de44ce9de897d47d21a0a1f2e63ba1f4676e6965919d21ada838a12 - Sigstore transparency entry: 1251584663
- Sigstore integration time:
-
Permalink:
ljw20180420/naapam@874820cbabf6bea8852998dabd5e44c93b700482 -
Branch / Tag:
refs/tags/v0.1.16 - Owner: https://github.com/ljw20180420
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@874820cbabf6bea8852998dabd5e44c93b700482 -
Trigger Event:
release
-
Statement type:
File details
Details for the file naapam-0.1.16-cp313-cp313-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: naapam-0.1.16-cp313-cp313-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 6.5 MB
- Tags: CPython 3.13, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b0968f321c20f3ca5911cc5cadd49020995e79c8d7e48e37bdfc7954aa2f38d
|
|
| MD5 |
21e243cfbfffd71a6c096d2f3adb8c56
|
|
| BLAKE2b-256 |
4f19a9257f06a284da45da6ccc37997ad2211adae09c297248d02d4cb588aebb
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
naapam-0.1.16-cp313-cp313-musllinux_1_2_x86_64.whl -
Subject digest:
1b0968f321c20f3ca5911cc5cadd49020995e79c8d7e48e37bdfc7954aa2f38d - Sigstore transparency entry: 1251584603
- Sigstore integration time:
-
Permalink:
ljw20180420/naapam@874820cbabf6bea8852998dabd5e44c93b700482 -
Branch / Tag:
refs/tags/v0.1.16 - Owner: https://github.com/ljw20180420
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@874820cbabf6bea8852998dabd5e44c93b700482 -
Trigger Event:
release
-
Statement type:
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
- Download URL: naapam-0.1.16-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 5.5 MB
- Tags: CPython 3.13, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76278bee74ae16b3a61ddb2291369d69ce78cb4dc26aebdf7d2c91126795020f
|
|
| MD5 |
66cf58d79cb3c0043837ee88fb06ba40
|
|
| BLAKE2b-256 |
128aa3ac4db0b6e34f707f71bfc7885a41e6ca7ab6c2ed4caa1b564670486511
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
naapam-0.1.16-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
76278bee74ae16b3a61ddb2291369d69ce78cb4dc26aebdf7d2c91126795020f - Sigstore transparency entry: 1251584554
- Sigstore integration time:
-
Permalink:
ljw20180420/naapam@874820cbabf6bea8852998dabd5e44c93b700482 -
Branch / Tag:
refs/tags/v0.1.16 - Owner: https://github.com/ljw20180420
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@874820cbabf6bea8852998dabd5e44c93b700482 -
Trigger Event:
release
-
Statement type: