[Biopython-dev] Comparing reference objects from GenBank/EMBL records
p.j.a.cock at googlemail.com
Wed Nov 25 13:42:53 UTC 2015
After some debate, we changed SeqRecord equality to raise an
error in Biopython 1.66 (previously Python's default object
comparison was used which is often unhelpful):
Related to this, one of the many objects which are often stored
within a SeqRecord are the Reference class defined under
Bio.SeqFeature, used when parsing GenBank/EMBL records.
Kai Blin opened an issue on comparing these Reference objects,
and a pull request to define simple equality for the Reference
class based on all its attributes being equal:
If anyone has views on this general topic, please comment on #600.
(Keep comments on the PR #683 to just the proposed implementation).
More information about the Biopython-dev