Tiny protein-function classifier distilled from ProteinMPNN, for edge deployment.
Project description
capiti
Tiny protein-function classifier for edge deployment. Given a nucleotide sequence encoding a protein, capiti flags whether the encoded protein is expected to retain the enzymatic function of one of a small reference set.
Weighs ~1 MB on disk, runs inference in tens of milliseconds on a Raspberry Pi. Trained by distilling ProteinMPNN's function-preserving design prior into a small 1D CNN.
Install
pip install capiti
Use
capiti ATGCGTAAAGTGGCC... # prints TRUE or FALSE
capiti ATGCGT... --cutoff 0.8 -v # TRUE p_inset=0.995
capiti --fasta seqs.fa # batch over a FASTA
echo ATGCGT... | capiti --stdin
Exit code is 0 on TRUE, 1 on FALSE, suitable for shell pipelines:
capiti ATGCGT... && echo "in set" || echo "not in set"
Status
v0.0.1 is a name reservation and proof-of-concept built on 9 reference enzymes. The model and reference set will change between 0.0.x releases. Expect the public CLI surface to remain stable; the bundled model is research-grade and should not be used for anything operational.
License
MIT.
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 Distribution
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 capiti-0.0.2.tar.gz.
File metadata
- Download URL: capiti-0.0.2.tar.gz
- Upload date:
- Size: 823.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11529d3a933ac4856f20ca5a7369c7c7cd34539b94cb47afd6c040528bc05607
|
|
| MD5 |
5b7f6d389e0f83943bee2ee76cdb46cd
|
|
| BLAKE2b-256 |
4f77f5bfe13f210002ec4c7cdbbeae4a5cd51938020e6fb75a072c1848bfe083
|
File details
Details for the file capiti-0.0.2-py3-none-any.whl.
File metadata
- Download URL: capiti-0.0.2-py3-none-any.whl
- Upload date:
- Size: 822.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f8553c81b4f61aa90c2f359a27b2f971d3a3e0aa8fe0261627ced12e13edb86
|
|
| MD5 |
52f2e7458aa29f9cff67c9908dbf700c
|
|
| BLAKE2b-256 |
d6c889c358a1a8721fb4c90a03a9745f69f10e2384b2291f3a7c2f2ed5ae6d2d
|