Skip to main content

PepSift

Summary

Identify peptides and their derivatives from small molecule datasets.

Installation

pip install pepsift

Usage

PepSift relies on multiple criteria defining different types od amino acids and polymers thereof.

There are currently 5 different levels available from most to least stringent:

level description comment
SiftLevel.NaturalLAminoAcids natural L-amino acids and peptides thereof e.g. identify L-Alanine or the sequence ACDEFGHIKLMNPQRSTVWY
L-Ala
SiftLevel.NaturalLDAminoAcids natural L- and D-amino acid and peptides thereof e.g. identify L-Alanine or the sequences D-A L-W, L-H D-Q, D-M D-K
D-Ala
SiftLevel.NaturalAminoAcidDerivatives derivatives of natural L- and D-amino acid and peptides thereof i.e. any compound containing a canonical amino acid/peptide backbone
AA
SiftLevel.NonNaturalAminoAcidDerivatives non-natural amino acid derivatives and peptides thereof e.g. identify beta-homo-alanine or alpha-methyl-Tyr
BH-Ala AM-Tyr
SiftLevel.AllAmineAndAcid compounds containing amine and carboxylic acid moieties e.g. 3-[3-(2-Aminoethyl)cyclohexyl]propionic acid
5N1NAPHT

These levels allow for granular selection of different types amino acids/peptides.


The decreasing stringency of `SiftLevel` criteria is exemplified below.
from pepsift import PepSift, SiftLevel

from rdkit import Chem

ps1 = PepSift(SiftLevel.NaturalLAminoAcids)
ps2 = PepSift(SiftLevel.NaturalLDAminoAcids)
ps3 = PepSift(SiftLevel.NaturalAminoAcidDerivatives)
ps4 = PepSift(SiftLevel.NonNaturalAminoAcidDerivatives)
ps5 = PepSift(SiftLevel.AllAmineAndAcid)

mols = [Chem.MolFromSmiles('C[C@@H](C(=O)O)N'),  # L-Ala
        Chem.MolFromSmiles('C[C@H](C(=O)O)N'),   # D-Ala
        Chem.MolFromSmiles('C[C@@H](CN)C(=O)O'), # Beta-homo-Ala
        Chem.MolFromSmiles('CC(C)(C(=O)O)N'),    # Alpha-methyl-Ala
        Chem.MolFromSmiles('NCCCCCCCCCCCCCCCC(=O)O'),   # Amino-hexadecanoic acid
        Chem.MolFromSmiles('c1ccccc1'),           # Benzene
       ]

for mol in mols:
    print((ps1.is_peptide(mol),
           ps2.is_peptide(mol),
           ps3.is_peptide(mol),
           ps4.is_peptide(mol),
           ps5.is_peptide(mol)
           )
          )

# L-Ala
# (True, True, True, True, True)
# D-Ala
# (False, True, True, True, True)
# Beta-homo-Ala
# (False, False, True, True, True)
# Alpha-methyl-Ala
# (False, False, False, True, True)
# Amino-hexadecanoic acid
# (False, False, False, False, True)
# Benzene
# (False, False, False, False, False)

⚠️ Any peptide containing a natural amino acid is considered a derivative of natural amino acids (even if it also contains non natural amino acids)

Metadata

Release files for pepsift 0.0.2.post1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pepsift 0.0.2.post1
File Size Uploaded Provenance Actions
pepsift-0.0.2.post1.tar.gz 9.4 kB Without provenance Details for pepsift-0.0.2.post1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pepsift 0.0.2.post1
File Interpreter ABI Platform Actions
pepsift-0.0.2.post1-py3-none-any.whl Python 3 none any Details for pepsift-0.0.2.post1-py3-none-any.whl

Total release size: 17.1 kB

Release files / pepsift-0.0.2.post1.tar.gz

Download URL pepsift-0.0.2.post1.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2ca7d78ae9d14f4b259819518e16e8d8830d1c57d309b7992dc4a91a25658ed2
BLAKE2b-256 checksum
How to use checksums
2ccbb4a20257dc444b828112b1402ecd8299603a19f2ed05b8a8d82931ea0916
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.16

Release files / pepsift-0.0.2.post1-py3-none-any.whl

Download URL pepsift-0.0.2.post1-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ce30d63b4552609d87fc117bbd7a5be0c1cbe1d6549f0160d5b9ee247f23aaa
BLAKE2b-256 checksum
How to use checksums
ad53fd541e503cd5e136b30a71b3618afa7893fd59b919776dbab723f02793a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.16

Security for pepsift 0.0.2.post1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page