Commits (4)
......@@ -5,9 +5,17 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## [Unreleased]
[Unreleased]: https://git.embl.de/grp-zeller/GECCO/compare/v0.8.6...master
[Unreleased]: https://git.embl.de/grp-zeller/GECCO/compare/v0.8.7...master
## [v0.8.6] - 2022-02-17
## [v0.8.7] - 2022-02-18
[v0.8.7]: https://git.embl.de/grp-zeller/GECCO/compare/v0.8.6...v0.8.7
### Fixed
- `interpro.json` metadata file not being included in distribution files.
- Missing docstring for `Protein.with_domains` method.
### Changed
- Bump minimum `scikit-learn` version to `v1.0` for Python3.7+.
## [v0.8.6] - 2022-02-17 - YANKED
[v0.8.6]: https://git.embl.de/grp-zeller/GECCO/compare/v0.8.5...v0.8.6
### Added
- CLI flag for enabling region masking for contigs processed by Prodigal.
......
......@@ -3,7 +3,8 @@ include LICENSE
include static/gecco.png
include gecco/py.typed
include gecco/interpro/interpro.json
recursive-include gecco/crf *.pkl *.pkl.md5
recursive-include gecco/hmmer *.ini
recursive-include gecco/types *.tsv *.npz
recursive-include gecco/interpro *.json.gz
......@@ -10,4 +10,4 @@ See Also:
__author__ = "Martin Larralde"
__license__ = "GPLv3"
__version__ = "0.8.6"
__version__ = "0.8.7"
......@@ -180,6 +180,8 @@ class Protein:
return record
def with_domains(self, domains: Iterable[Domain]) -> "Protein":
"""Copy the current protein and assign it new domains.
"""
return Protein(self.id, self.seq, list(domains))
......
......@@ -34,7 +34,7 @@ project_urls =
zip_safe = false
packages = find:
include_package_data = true
python_requires = >= 3.6
python_requires = >=3.6
setup_requires =
setuptools >=39.2
tqdm ~=4.41
......@@ -52,7 +52,8 @@ install_requires =
pyhmmer ~=0.4.2
pyrodigal ~=0.6.4
rich >=9.0.0
scikit-learn ~=0.24.0
scikit-learn ~=0.24.0 ; python_version < '3.7'
scikit-learn ~=1.0 ; python_version >= '3.7'
scipy ~=1.4
sklearn-crfsuite ~=0.3.6
......