Commits (3)
......@@ -5,7 +5,15 @@ 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.4.2...master
[Unreleased]: https://git.embl.de/grp-zeller/GECCO/compare/v0.4.3...master
## [v0.4.3] - 2020-09-07
[v0.4.3]: https://git.embl.de/grp-zeller/GECCO/compare/v0.4.2...v0.4.3
### Fixed
- GenBank files being written with invalid `/cds` feature type.
### Changed
- Blocked installation of Biopython `v1.78` or newer as it removes `Bio.Alphabet`
and breaks the current code.
## [v0.4.2] - 2020-08-07
[v0.4.2]: https://git.embl.de/grp-zeller/GECCO/compare/v0.4.1...v0.4.2
......
......@@ -210,7 +210,7 @@ class Gene:
qualifiers = dict(self.qualifiers)
qualifiers.setdefault("locus_tag", self.protein.id)
qualifiers.setdefault("translation", str(self.protein.seq))
return SeqFeature(location=loc, type="cds", qualifiers=qualifiers)
return SeqFeature(location=loc, type="CDS", qualifiers=qualifiers)
@dataclass
......
......@@ -32,7 +32,7 @@ setup_requires =
tqdm ~=4.41
install_requires =
better-exceptions ~=0.2.2
biopython ~=1.73
biopython ~=1.73, <1.78
coloredlogs ~=14.0
dataclasses ~=0.7 ; python_version < '3.7'
docopt ~=0.6.2
......