code: def get_pfam(pdb_id):
      
      out = get_info(pdb_id, url_root = 'http://www.rcsb.org/pdb/rest/hmmer?structureId=')
      out = to_dict(out)
      if not out['hmmer3']:
          return dict()
      return remove_at_sign(out['hmmer3'])
docs: Return PFAM annotations of given PDB_ID
  
      Parameters
      ----------
  
      pdb_id : string
          A 4 character string giving a pdb entry of interest
  
      Returns
      -------
  
      out : dict
          A dictionary containing the PFAM annotations for the specified PDB ID
  
      Examples
      --------
  
      >>> pfam_info = get_pfam('2LME')
      >>> print(pfam_info)
      {'pfamHit': {'@pfamAcc': 'PF03895.10', '@pfamName': 'YadA_anchor',
      '@structureId': '2LME', '@pdbResNumEnd': '105', '@pdbResNumStart': '28',
      '@pfamDesc': 'YadA-like C-terminal region', '@eValue': '5.0E-22', '@chainId': 'A'}}