viola.read_bedpe_multi

read_bedpe_multi(dir_path, svtype_col_name, file_extension, escape_dot_files)

Read BEDPE files in a specified directory at the same time and return as MultiBedpe object.

Parameters
  • dir_path (str) – Path to the directory containing the BEDPE files.

  • svtype_col_name (str, default 'svclass') – If the bedpe file has a svtype column, please pass the column name to this argument.

  • exclude_empty_cases (bool, default False) – If True, skip reading empty BEDPE files.

  • file_extension (str or None, default 'bedpe') – File extension of BEDPE files. If you want to load files with no extension, specify None.

  • escape_dot_files (bool, default True) – If True, avoid reading hidden files in the directory.