Skip to main content

Peptide library design

Project description

# `pepsyn`
Peptide library design


**Installation**

`pepsyn` is developed for Python 3 and requires `biopython`. The CLI uses
`click`.

```bash
pip install pepsyn
```

or for the latest development version

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

To run the tests

```bash
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.

```bash
$ 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.

```bash
$ 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 `-`.)

```bash
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 - -
```


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

pepsyn-0.3.0.tar.gz (27.3 kB view details)

Uploaded Source

Built Distribution

pepsyn-0.3.0-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file pepsyn-0.3.0.tar.gz.

File metadata

  • Download URL: pepsyn-0.3.0.tar.gz
  • Upload date:
  • Size: 27.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pepsyn-0.3.0.tar.gz
Algorithm Hash digest
SHA256 b5aee3418e4ca8702600a1d6d6fcfaef423e58c125c2544eb6b6d904ccf0f144
MD5 131ebd0b68f5b2dd5d00458d9a6ace8e
BLAKE2b-256 c0eb7b8dff3e81f50394830bbc5b3b756551beeb52c52093c768d50b1acdcf41

See more details on using hashes here.

Provenance

File details

Details for the file pepsyn-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pepsyn-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 059394ce4fdbed7858227c68b0954ccace14faeaddec8d6e95d6816a1585502c
MD5 acf7375f262732a6b0e11d59d0599826
BLAKE2b-256 6ad14a9558a6e159cdba44ee4ac7f7f5c291b9d10d2a8e01daa75eb1734189f8

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page