Skip to main content

pepsyn

Peptide library design

Installation

pepsyn is developed for Python 3.6+ and requires biopython. The CLI uses click.

pip install pepsyn

or for the latest development version

git clone https://github.com/lasersonlab/pepsyn.git
cd pepsyn
python setup.py install

To run the tests

py.test

Usage

pepsyn can be used as a library, but also comes with a CLI.

The main CLI command is pepsyn and it can read from stdin and stdout by specifying - as the input or output. Input and output files are FASTA formatted.

$ pepsyn -h
Usage: pepsyn [OPTIONS] COMMAND [ARGS]...

  pepsyn -- peptide synthesis design

Options:
  -h, --help  Show this message and exit.

Commands:
  prefix      add a prefix to each sequence
  recodesite  remove site from each sequence's CDS by...
  revtrans    reverse translate amino acid sequences into...
  stats       compute some sequence statistics
  suffix      add a suffix to each sequence
  tile        tile a set of sequences

For example, to tile a set of sequences, use the pepsyn tile command. Each subcommand has its own help message with relevant options.

$ pepsyn tile -h
Usage: pepsyn tile [OPTIONS] INPUT OUTPUT

  tile a set of sequences

Options:
  -l, --length INTEGER   Length of output oligos
  -p, --overlap INTEGER  Overlap of oligos
  -h, --help             Show this message and exit.

Commands can be piped into each other. (Note: stdin and stdout are signified with -.)

cat pepsyn/tests/proteins.fasta \
    | pepsyn tile -l 10 -p 3 - - \
    | pepsyn revtrans - - \
    | pepsyn prefix -p ACGGG - - \
    | pepsyn suffix -s TGCTG - - \
    | pepsyn recodesite --site EcoRI --clip-left 5 --clip-right 5 - -

Metadata

Release files for pepsyn 0.4.1

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

Source distribution (sdist)

Source distribution for pepsyn 0.4.1
File Size Uploaded
pepsyn-0.4.1.tar.gz 33.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pepsyn 0.4.1
File Interpreter ABI Platform
pepsyn-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 59.3 kB

Release files / pepsyn-0.4.1.tar.gz

Download URL pepsyn-0.4.1.tar.gz
Size 33.7 kB
Tags Source
SHA-256 checksum
How to use checksums
14bccc5a284231dca5b4dc60d22989a9e9ad80da6c1571ee454981e3422943dc
BLAKE2b-256 checksum
How to use checksums
6d68298bbc048a5ead6394ef62d696a9515841e70399322dd0ebfe9ff62a808b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release files / pepsyn-0.4.1-py3-none-any.whl

Download URL pepsyn-0.4.1-py3-none-any.whl
Size 25.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f56c41ede8de3ab00022b145402b625c2e0c29bab1e686da8916b737b1183141
BLAKE2b-256 checksum
How to use checksums
a51b1a523bf79807bd9c5682b73b0ecfc695eeba7ec561a40b4c54ac3bac0a63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.0

2 release files

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