docs: def encode_annotation(obj):
      """Encode a single annotation."""
      warnings.warn("deprecated. Please use bioc.biocxml.encoder.encode_annotation",
                    DeprecationWarning)
      return bioc.biocxml.encoder.encode_annotation(obj)