Skip to main content

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

capiti-0.0.1.tar.gz (823.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

capiti-0.0.1-py3-none-any.whl (821.9 kB view details)

Uploaded Python 3

File details

Details for the file capiti-0.0.1.tar.gz.

File metadata

  • Download URL: capiti-0.0.1.tar.gz
  • Upload date:
  • Size: 823.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for capiti-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a76fd5efc8c02479257808fd80f5d8b6ab31365de6bdb35613c52ab61726a698
MD5 077431dddab1f6b334f620629bed36b1
BLAKE2b-256 c271803e1946fe258dbfdda5f30b3babd80c549a9fe1728f0659239642d3f530

See more details on using hashes here.

File details

Details for the file capiti-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: capiti-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 821.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for capiti-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2c605f3f159628e731d5987dfca5c112612d3177650d66537b1cdcdc7b547ae8
MD5 6b95f1db85d213b9ed9c5414ec9c7f7b
BLAKE2b-256 be199c68e85040562ba5dd01d4fc6b4ae08fc8e37d5f2e96e2074778d5448daf

See more details on using hashes here.

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