lib5c.util.table module

Utility functions related to table files.

lib5c.util.table.make_fflj_id_map(primermap)[source]

Creates a map from unique FFLJ or bin-bin pair IDs to (region, row, column) coordinate tuples.

Parameters

primermap (primermap or pixelmap) – Defines the fragments or bins that will get IDs assigned.

Returns

The keys are FFLJ or bin-bin pair IDs as strings. The values are (region, row, column) coordinate tuples.

Return type

Dict[str, Tuple]