Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Larralde
peptides.py
Commits
04465713
Commit
04465713
authored
Oct 25, 2021
by
Martin Larralde
Browse files
Release v0.2.0
parent
6af67fc7
Changes
4
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
04465713
...
...
@@ -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
...
...
CONTRIBUTING.md
View file @
04465713
...
...
@@ -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.
MANIFEST.in
View file @
04465713
...
...
@@ -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
peptides/__init__.py
View file @
04465713
...
...
@@ -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__
=
"""
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment