code: def split_species_prefix(name, seps="-:_ "):
      
      species = None
      name_upper = name.upper()
      name_len = len(name)
      for curr_prefix in _all_prefixes:
          n = len(curr_prefix)
          if name_len <= n:
              continue
          if name_upper.startswith(curr_prefix.upper()):
              species = curr_prefix
              name = name[n:].strip(seps)
              break
      return (species, name)
docs: Splits off the species component of the allele name from the rest of it.
  
      Given "HLA-A*02:01", returns ("HLA", "A*02:01").