5738bea7b551b2a9051205ac2a28656d99c32805,hicexplorer/hicAggregateContacts.py,,main,#Any#,702

Before Change


        // make a "fake" clustering to generalize the plotting of the submatrices
        cluster_ids = {}
        num_clusters = 1
        for chrom in chrom_list:
            if chrom not in bed_intervals or chrom not in bed_intervals2:
                continue
            cluster_ids[chrom] = [range(len(chrom_matrix[chrom]))]

    plot_aggregated_contacts(chrom_matrix, chrom_contact_position, cluster_ids, num_clusters, M_half, args)

    if args.outFileContactPairs:
        for idx, chrom in enumerate(chrom_matrix):

After Change


        // make a "fake" clustering to generalize the plotting of the submatrices
        cluster_ids = {}
        num_clusters = 1
        for k in agg_info["agg_matrix"].keys():
            print(k)
            print(agg_info["agg_matrix"][k])
            cluster_ids[k] = [range(len(agg_info["agg_matrix"][k]))]

    plot_aggregated_contacts(agg_info["agg_matrix"], agg_info["agg_contact_position"], cluster_ids, num_clusters, M_half, args)

    if args.outFileContactPairs: // TODO
        for idx, chrom in enumerate(chrom_matrix):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: deeptools/HiCExplorer
Commit Name: 5738bea7b551b2a9051205ac2a28656d99c32805
Time: 2020-10-20
Author: rabbani@maximus.ie-freiburg.mpg.de
File Name: hicexplorer/hicAggregateContacts.py
Class Name:
Method Name: main


Project Name: dpressel/mead-baseline
Commit Name: 4edc5dd05bb737dcba543b12c8943ffbae6c9c92
Time: 2018-09-26
Author: blester125@users.noreply.github.com
File Name: python/mead/tasks.py
Class Name: Task
Method Name: _configure_reporting


Project Name: tyarkoni/pliers
Commit Name: 68ddd94e9f80f43cb623e41056c0759ee3883df0
Time: 2020-03-10
Author: rbrrcc@gmail.com
File Name: pliers/extractors/text.py
Class Name: BertLMExtractor
Method Name: __init__