Skip to Content
Python APIUtilitiesbedpe_to_bedpedb

bedpe_to_bedpedb

chr3d.utils.bedpe_to_bedpedb( bedpe_path: str, output_bedpedb: str, assembly: str = "hg38", importance_col: int = 8, max_per_tile: int = 100, tile_size: int = 1024, ) -> str

Run clodius aggregate bedpe to produce a SQLite bedpedb file.

Converts BEDPE to HiGlass-compatible bedpedb format for visualization as 1D arcs tracks.

Parameters

ParameterTypeDescription
bedpe_pathstrPath to input BEDPE file
output_bedpedbstrPath for output bedpedb file
assemblystrGenome assembly (default: "hg38")
importance_colint1-based column index for importance score (default: 8 = score column)
max_per_tileintMaximum entries per tile (default: 100)
tile_sizeintTile size in bp (default: 1024)

Returns:

str — Path to output bedpedb file.

Last updated on