code: def parse_FreqDist_interChr(self, f):
          
          parsed_data = dict()
          firstline = True
          for l in f['f']:
              if firstline:
                  firstline = False
                  interChr = float(re.sub("\)", "", l.split(":")[1]))
              else:
                  break
          parsed_data['interChr'] = interChr
          return parsed_data
docs: Parse HOMER tagdirectory petag.FreqDistribution_1000 file to get inter-chromosomal interactions.