code: def locus_reads_dataframe(*args, **kwargs):
      
      df_builder = DataFrameBuilder(
          LocusRead,
          variant_columns=False,
          converters={
              "reference_positions": list_to_string,
              "quality_scores": list_to_string,
          })
      for locus_read in locus_read_generator(*args, **kwargs):
          df_builder.add(variant=None, element=locus_read)
      return df_builder.to_dataframe()
docs: Traverse a BAM file to find all the reads overlapping a specified locus.
  
      Parameters are the same as those for read_locus_generator.