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
removesite 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 removesite --site EcoRI --clip-left 5 --clip-right 5 - -
```
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
removesite 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 removesite --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.2.0.tar.gz
(6.7 kB
view details)
Built Distribution
pepsyn-0.2.0-py3-none-any.whl
(11.5 kB
view details)
File details
Details for the file pepsyn-0.2.0.tar.gz
.
File metadata
- Download URL: pepsyn-0.2.0.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 007bc79fe9b39296b25d35e1dd09e8c706208977c5d4b8f52f8e68f2e54d6535 |
|
MD5 | 57062be844fa147a0adbab8b133349d1 |
|
BLAKE2b-256 | 6aebdc38eba4d370dd54f8e8b2ab6dca54f32f44a707f8c81f6f3213643fdcd1 |
Provenance
File details
Details for the file pepsyn-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: pepsyn-0.2.0-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9417d1efc05e2d354dcd8a005f858460def59150d5aa6f8ccab273b2a4f7bbd |
|
MD5 | 9ee1bacb94e12fb2f019303bb0cc696e |
|
BLAKE2b-256 | 470ed06db506c889f0d643b5c3ca9051d7f91d5c3cc3765529fbf9492bff9c50 |