Peptide library design
Project description
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 - -
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
Built Distribution
File details
Details for the file pepsyn-0.4.1.tar.gz
.
File metadata
- Download URL: pepsyn-0.4.1.tar.gz
- Upload date:
- Size: 33.7 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14bccc5a284231dca5b4dc60d22989a9e9ad80da6c1571ee454981e3422943dc |
|
MD5 | 96a063c2bde95c7de87aa56a3d400758 |
|
BLAKE2b-256 | 6d68298bbc048a5ead6394ef62d696a9515841e70399322dd0ebfe9ff62a808b |
File details
Details for the file pepsyn-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: pepsyn-0.4.1-py3-none-any.whl
- Upload date:
- Size: 25.6 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f56c41ede8de3ab00022b145402b625c2e0c29bab1e686da8916b737b1183141 |
|
MD5 | 73d03a910c7c4c89ecaf1efa9882c5a6 |
|
BLAKE2b-256 | a51b1a523bf79807bd9c5682b73b0ecfc695eeba7ec561a40b4c54ac3bac0a63 |