schicluster.cool.remove_blacklist#

Module Contents#

prepare_2d_blacklist_dict(blacklist_bedpe, resolution=10000)[source]#
_is_2d_blacklist(row, blacklist_2d)[source]#
filter_contacts(contact_path, chrom_size_path=None, blacklist_1d_path=None, blacklist_2d_path=None, output_path=None, remove_duplicates=True, resolution_2d=10000, min_pos_dist=0, chrom1=1, pos1=2, chrom2=5, pos2=6)[source]#
filter_contacts_wrapper(contact_table=None, output_dir=None, chrom_size_path=None, blacklist_1d_path=None, blacklist_2d_path=None, remove_duplicates=True, resolution_2d=10000, chrom1=1, pos1=2, chrom2=5, pos2=6, min_pos_dist=0, cpu=20)[source]#