0668acd5b56b4bd6c897428f7498bc9a6ee88226,mro/stages/counter/check_barcodes_compatibility/__init__.py,,join,#,88

Before Change


            outs.barcode_compatibility_info[gem_group][lib]["num_barcodes_sampled_unique"] = len(unique_bc)
            outs.barcode_compatibility_info[gem_group][lib]["num_barcodes_sampled_unique_in_whitelist"] = len(unique_bc_in_wl)

            sampled_bc_counter_in_wl[gem_group][lib] = Counter(sampled_bc)

    barcode_compatibility_cutoff = cr_constants.BARCODE_COMPATIBILITY_CUTOFF if args.barcode_compatibility_cutoff is None else args.barcode_compatibility_cutoff

    pairwise_compatibility = {}

After Change


            outs.barcode_compatibility_info[gem_group][lib]["num_barcodes_sampled_unique"] = len(unique_bc)
            outs.barcode_compatibility_info[gem_group][lib]["num_barcodes_sampled_unique_in_whitelist"] = len(unique_bc_in_wl)

            sampled_bc_counter_in_wl[gem_group][lib] = {k : v for (k,v) in Counter(sampled_bc).iteritems() if k in unique_bc_in_wl}

    barcode_compatibility_cutoff = cr_constants.BARCODE_COMPATIBILITY_CUTOFF if args.barcode_compatibility_cutoff is None else args.barcode_compatibility_cutoff
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: 10XGenomics/cellranger
Commit Name: 0668acd5b56b4bd6c897428f7498bc9a6ee88226
Time: 2019-02-20
Author: hezx@users.noreply.github.com
File Name: mro/stages/counter/check_barcodes_compatibility/__init__.py
Class Name:
Method Name: join


Project Name: adeshpande3/Facebook-Messenger-Bot
Commit Name: 2a2b3aa7ef4ac140c8d55f7f68705225b2349955
Time: 2017-07-11
Author: adeshpande3@g.ucla.edu
File Name: Word2Vec.py
Class Name:
Method Name: cleanDataset


Project Name: shibing624/pycorrector
Commit Name: f7daa2e81a84503f98058b62d068ef375427ec4e
Time: 2018-05-18
Author: 507153809@qq.com
File Name: pycorrector/rnn_lm/data_reader.py
Class Name:
Method Name: process_data