Commit 04465713 authored by Martin Larralde's avatar Martin Larralde
Browse files

Release v0.2.0

parent 6af67fc7
......@@ -6,7 +6,24 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
[Unreleased]: https://github.com/althonos/peptides.py/compare/v0.1.0...HEAD
[Unreleased]: https://github.com/althonos/peptides.py/compare/v0.2.0...HEAD
## [v0.2.0] - 2021-10-21
[v0.2.0]: https://github.com/althonos/peptides.py/compare/v0.1.0...v0.2.0
### Added
- `Peptide.counts` method to get the number of occurences of each amino acid in the peptide.
- `Peptide.frequencies` to get the frequencies of each amino acid in the peptide.
- `Peptide.pcp_descriptors` to compute the PCP descriptors from Mathura & Braun (2001).
- `Peptide.sneath_vectors` to compute the descriptors from Sneath (1966).
- Hydrophilicity descriptors from Barley (2018).
- `Peptide.structural_class` to predict the structural class of a protein using one of three reference datasets and one of four distance metrics.
### Changed
- `Peptide.aliphatic_index` now supports unknown Leu/Ile residue (code *J*).
- Swap order of `Peptide.hydrophobic_moment` arguments for consistency with profile methods.
- Some `Peptide` functions now support vectorized code using `numpy` if available.
## [v0.1.0] - 2021-10-21
......
......@@ -19,3 +19,7 @@ $ python -m unittest discover -vv
This project targets Python 3.6 or later.
### Docstrings
The docstring lines should not be longer than 76 characters (which allows rendering without soft-wrap of the entire module in a 80x24 terminal window).
Docstrings should be written in Google format.
......@@ -4,5 +4,6 @@ include COPYING
include pyproject.toml
recursive-include peptides/tables *.csv
exclude peptides/tables/__init__.py
exclude peptides/datasets/__init__.py
include peptides/py.typed
prune tests
......@@ -26,7 +26,7 @@ except ImportError:
__all__ = ["Peptide", "tables", "datasets"]
__version__ = "0.1.0"
__version__ = "0.2.0"
__author__ = "Martin Larralde <martin.larralde@embl.de>"
__license__ = "GPLv3"
__credits__ = """
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment