01de423a0847bb27ba136764aace9323cd7886a4,hicexplorer/hicCompartmentalization.py,,main,#Any#,170

Before Change


    args = parse_arguments().parse_args(args)

    pc1_bedgraph = pd.read_table(args.pca, header=None, sep="\t")
    pc1 = pd.DataFrame(pc1_bedgraph.values, columns=["chr", "start", "end",
                                                     "pc1"])
    if args.outliers != 0:
        quantile = [args.outliers / 100, (100 - args.outliers) / 100]
        boundaries = np.nanquantile(pc1["pc1"].values.astype(float), quantile)
        quantiled_bins = np.linspace(boundaries[0], boundaries[1],

After Change


    pc1 = pd.read_table(args.pca, header=None, sep="\t",
                        dtype={0: "object", 1: "Int64", 2: "Int64", 3: "float32"})

    pc1 = pc1.rename(columns={0: "chr", 1: "start", 2: "end", 3: "pc1"})

    if args.outliers != 0:
        quantile = [args.outliers / 100, (100 - args.outliers) / 100]
        boundaries = np.nanquantile(pc1["pc1"].values.astype(float), quantile)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: deeptools/HiCExplorer
Commit Name: 01de423a0847bb27ba136764aace9323cd7886a4
Time: 2020-01-20
Author: leila.rabbani@gmail.com
File Name: hicexplorer/hicCompartmentalization.py
Class Name:
Method Name: main


Project Name: NTMC-Community/MatchZoo
Commit Name: 1fe0dbac77b18ea24885ad4d367c849152df8a94
Time: 2019-01-13
Author: i@uduse.com
File Name: matchzoo/models/parameter_readme_generator.py
Class Name:
Method Name: _make_model_params_table


Project Name: kengz/SLM-Lab
Commit Name: d670e94d3f8e938858e938b1d3efeac5389a26d3
Time: 2017-12-17
Author: lgraesser@users.noreply.github.com
File Name: slm_lab/experiment/control.py
Class Name: Session
Method Name: run_episode