code: def _update_digest_aliases(self, seq_id, seq):
  
          
  
          ir = bioutils.digests.seq_vmc_identifier(seq)
          seq_aliases = [
              {
                  "namespace": ir["namespace"],
                  "alias": ir["accession"],
              },
              {
                  "namespace": "SHA1",
                  "alias": bioutils.digests.seq_sha1(seq)
              },
              {
                  "namespace": "MD5",
                  "alias": bioutils.digests.seq_md5(seq)
              },
              {
                  "namespace": "SEGUID",
                  "alias": bioutils.digests.seq_seguid(seq)
              },
          ]
          for sa in seq_aliases:
              self.aliases.store_alias(seq_id=seq_id, **sa)
          return len(seq_aliases)
docs: compute digest aliases for seq and update; returns number of digest
          aliases (some of which may have already existed)
  
          For the moment, sha512 is computed for seq_id separately from
          the sha512 here.  We should fix that.