PeptideConstructor: A simple Python library to generate model (DL-) peptides with different secondary structure.
Still working on this:
- add D amino acids support
- add command-line interface support
- add support of more amino acids
- add support of adding amino acids to existing protein
- add energy minimization or conformation optimization support
- further more, add DNA/RNA support
Installation
You can easily install PeptideConstructor with pip:
pip install PeptideConstructor
or just clone this repo and run:
python setup.py build
python setup.py install
PeptideConstructor has two required dependency:
Biopythonfor PDB IO.Numpyfor coordinates calculation.
Usage
After installation, PCcli command could be called in your terminal. PCcli could generage peptide PDB file from sequence in a simple way.
For instance:
PCcli -s AaDdKSQym -o test.pdb
which will generage a test.pdb file in current directory which contains a peptide with sequence of AaDdKSQym, in which, uppercase indicates L amino acids and lowercase indicates D amino acids.
Also, secondary structure and capping of peptide could be applied through PCcli.
PCcli -s AaDdKSQym -o test.pdb -ss a -cap 1
parameters :
-s: peptide sequence. Uppercases indicate L amino acids while lowercases indicate D amino acids-o: output PDB file name-ss: (optional) secondary structure you want:lfor no secondary structure assignment (default)afor alpha helixbfor beta sheetlafor left hand helixlbfor mirror inverted beta sheet
-cap: (optional) cappings:0for no cappings (default)1for cappings (ACEin the N terminal andNMEin the C terminal)2for only addingACEto the N termial3for only addingNMEin the C terminal
examples :
Sure you could generage peptide in original way by writing codes.
check examples/ directory for more examples of generating peptide by code.
see PeptideBuilder for more infomation.
Post-processing Tools Recommandation:
- add hydrogens : reduce, PyMol, TINKER
- structure optimization: Avogadro/EM, PyMol/sculpt, ModRefiner, TINKER/minimize
Contributing
Pull requests are welcome on GitHub. However, to be accepted, contributions must:
- Be styled with
black - Be linted with
pylint - Be type-checked with
mypy - Pass the
pytestunit tests
Thus, before contributing code make sure the following commands exit without errors when run from the root directory of the PeptideConstructor project:
pytestblack .mypy PeptideConstructor/pylint --rcfile=setup.cfg PeptideConstructor/
Others
This repo is based on Lun4m/PeptideBuilder.git and clauswilke/PeptideBuilder.git.
Cite the original paper:
M. Z. Tien, D. K. Sydykova, A. G. Meyer, C. O. Wilke (2013). PeptideBuilder: A simple Python library to generate model peptides. PeerJ 1:e80.
Metadata
Release files for PeptideConstructor 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| PeptideConstructor-0.2.1.tar.gz | 19.9 kB | Without provenance | Details for PeptideConstructor-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| PeptideConstructor-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for PeptideConstructor-0.2.1-py3-none-any.whl |
Total release size: 38.8 kB
Release files / PeptideConstructor-0.2.1.tar.gz
| Download URL | PeptideConstructor-0.2.1.tar.gz |
|---|---|
| Size | 19.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
80dade200426005595ba756b7fab6e32ae03e31c31bc17883ae1c2ef59337873
|
|
BLAKE2b-256 checksum How to use checksums |
a1ecf844983faf93a0f1a6acada546889185fbd2613b3e2784baca9f72bf6083
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
|
Release files / PeptideConstructor-0.2.1-py3-none-any.whl
| Download URL | PeptideConstructor-0.2.1-py3-none-any.whl |
|---|---|
| Size | 18.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3a09db4d28e3558475db19c4fa69a7e24948b421304cf3bce416a13e2d633e56
|
|
BLAKE2b-256 checksum How to use checksums |
074e14d87ca771917a23f9db8a97807584fccf407ccd8d6685779407eb3bdaf7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
|
Security for PeptideConstructor 0.2.1
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.