code: def load_scores_wiggle( fname ):
      
      scores_by_chrom = dict()
      for chrom, pos, val in bx.wiggle.Reader( misc.open_compressed( fname ) ):
          if chrom not in scores_by_chrom:
              scores_by_chrom[chrom] = BinnedArray()
          scores_by_chrom[chrom][pos] = val
      return scores_by_chrom
docs: Read a wiggle file and return a dict of BinnedArray objects keyed 
      by chromosome.