CiFi - toolkit for downstream processing of CiFi long reads.
Project description
CiFi
Toolkit for downstream processing of CiFi long reads.
Install
pip install cifi
# or
mamba install bioconda::cifi
Commands
| Command | Description |
|---|---|
cifi qc |
Sample reads and report enzyme site frequency, fragment sizes, estimated yield |
cifi digest |
In-silico digestion → paired-end FASTQ (all pairwise contacts) |
cifi filter |
MAPQ-based filtering of aligned paired-end BAM |
cifi enzymes |
List built-in restriction enzymes |
qc
cifi qc reads.bam -e HindIII -o qc_out
cifi qc reads.bam -e NlaIII -n 50000 -o qc_out # sample 50k reads
cifi qc reads.bam -e HindIII -n 0 -o qc_out # all reads
cifi qc reads.bam --site GANTC --cut-pos 1 -o qc_out # custom site
Writes an output directory with HTML report, JSON, TSV tables, distribution plots (PNG), and a multi-page PDF.
digest
cifi digest reads.bam -e HindIII -o output
cifi digest reads.fq.gz -e NlaIII -o output -m 5 --gzip
cifi digest reads.bam --site GANTC --cut-pos 1 -o output
Produces {prefix}_R1.fastq and {prefix}_R2.fastq (optionally gzipped), plus an HTML report and JSON stats.
filter
cifi filter aligned.bam -o filtered.bam -q 30
Keeps properly paired reads where both mates meet the MAPQ threshold.
Enzymes
Built-in enzymes:
| 4-cutters | 6-cutters |
|---|---|
| NlaIII (CATG) | HindIII (AAGCTT) |
| DpnII (GATC) | |
| MboI (GATC) | |
| Sau3AI (GATC) |
Any recognition site can be specified with --site and --cut-pos, including IUPAC degenerate bases (N, R, Y, W, S, M, K, B, D, H, V).
How it works
CiFi reads are concatemers of restriction fragments from genomic regions in 3D proximity. The toolkit finds all enzyme cut sites in each read, extracts fragments, and generates every pairwise combination as a pseudo paired-end read:
Read with 4 fragments: [A]-[B]-[C]-[D]
Pairs: A-B, A-C, A-D, B-C, B-D, C-D (6 pairs)
Citation
Coming soon.
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
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 cifi-0.1.0.tar.gz.
File metadata
- Download URL: cifi-0.1.0.tar.gz
- Upload date:
- Size: 2.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12d751e20569493a0d8bef8f44dbeb182978f5572337df462c8ce1de17f247a2
|
|
| MD5 |
1206a8b32c9c1916cfd7e7eed8e739f1
|
|
| BLAKE2b-256 |
041f425b1f500c2f86247401f55286698ad3364e62701c2abd6882ec51cc9cd2
|
Provenance
The following attestation bundles were made for cifi-0.1.0.tar.gz:
Publisher:
release.yml on mr-eyes/cifi-toolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cifi-0.1.0.tar.gz -
Subject digest:
12d751e20569493a0d8bef8f44dbeb182978f5572337df462c8ce1de17f247a2 - Sigstore transparency entry: 871186397
- Sigstore integration time:
-
Permalink:
mr-eyes/cifi-toolkit@02e8db207ec932d54019a2ca58048fa7c2d71c8c -
Branch / Tag:
refs/heads/main - Owner: https://github.com/mr-eyes
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@02e8db207ec932d54019a2ca58048fa7c2d71c8c -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file cifi-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: cifi-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d66aa8c2652d2303a1eabff3d5b7ce40dcd62901bf86ebe35660272bda06cb93
|
|
| MD5 |
ab9f88a12209fa985c6f25a1e5ee0a3f
|
|
| BLAKE2b-256 |
9943717b76d5d0fda9a8a3f52ead56056585664f12b596a42c13be070180e633
|
Provenance
The following attestation bundles were made for cifi-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
release.yml on mr-eyes/cifi-toolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cifi-0.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
d66aa8c2652d2303a1eabff3d5b7ce40dcd62901bf86ebe35660272bda06cb93 - Sigstore transparency entry: 871186467
- Sigstore integration time:
-
Permalink:
mr-eyes/cifi-toolkit@02e8db207ec932d54019a2ca58048fa7c2d71c8c -
Branch / Tag:
refs/heads/main - Owner: https://github.com/mr-eyes
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@02e8db207ec932d54019a2ca58048fa7c2d71c8c -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file cifi-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: cifi-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a9e5635467210330149042f82c964872964b5911582abfc9c5f59b1cd2c32b6
|
|
| MD5 |
572ecf8ebebca0548aa8c86a5b393b0b
|
|
| BLAKE2b-256 |
ce20dd03efb7c6c088503b00b4cbb14e1f2e0d1e02b44fe623e3c9294634341a
|
Provenance
The following attestation bundles were made for cifi-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
release.yml on mr-eyes/cifi-toolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cifi-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
1a9e5635467210330149042f82c964872964b5911582abfc9c5f59b1cd2c32b6 - Sigstore transparency entry: 871186420
- Sigstore integration time:
-
Permalink:
mr-eyes/cifi-toolkit@02e8db207ec932d54019a2ca58048fa7c2d71c8c -
Branch / Tag:
refs/heads/main - Owner: https://github.com/mr-eyes
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@02e8db207ec932d54019a2ca58048fa7c2d71c8c -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file cifi-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: cifi-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cda9b66570f18ee248e96fcaf6f18b91287791d841aa7e7d05d751efd0a3d877
|
|
| MD5 |
232009404c6825796a8d1ea133c404b7
|
|
| BLAKE2b-256 |
f6d109d0fc41401f326ae61b54e6532802bed05c1c8efeff233331d2738232d7
|
Provenance
The following attestation bundles were made for cifi-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
release.yml on mr-eyes/cifi-toolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cifi-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
cda9b66570f18ee248e96fcaf6f18b91287791d841aa7e7d05d751efd0a3d877 - Sigstore transparency entry: 871186485
- Sigstore integration time:
-
Permalink:
mr-eyes/cifi-toolkit@02e8db207ec932d54019a2ca58048fa7c2d71c8c -
Branch / Tag:
refs/heads/main - Owner: https://github.com/mr-eyes
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@02e8db207ec932d54019a2ca58048fa7c2d71c8c -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file cifi-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: cifi-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9674a6bdff91214cf23bfea43323b206bbaeed9427c022c18e0e056d9f9c9d5
|
|
| MD5 |
c5b72cd54409be52ecb3082a9e92a168
|
|
| BLAKE2b-256 |
12f6d2ff017a4f8629b3d5cf8627f37fb4adcd2ea0308f9f9f7aee9e14debd97
|
Provenance
The following attestation bundles were made for cifi-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
release.yml on mr-eyes/cifi-toolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cifi-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
c9674a6bdff91214cf23bfea43323b206bbaeed9427c022c18e0e056d9f9c9d5 - Sigstore transparency entry: 871186442
- Sigstore integration time:
-
Permalink:
mr-eyes/cifi-toolkit@02e8db207ec932d54019a2ca58048fa7c2d71c8c -
Branch / Tag:
refs/heads/main - Owner: https://github.com/mr-eyes
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@02e8db207ec932d54019a2ca58048fa7c2d71c8c -
Trigger Event:
workflow_dispatch
-
Statement type: