5498c0b832416ab279cade7b71c43c28c397ad8c,mro/stages/counter/report_molecules/__init__.py,,main,#,70

Before Change


                              barcode_info=barcode_info)

    // Initialize per-library metrics
    lib_metrics = defaultdict(lambda: {
        cr_mol_counter.USABLE_READS_METRIC: 0
    })

    // Record read-counts per molecule. Note that UMIs are not contiguous
    // in the input because no sorting was done after UMI correction.

After Change



    // Initialize per-library metrics
    lib_metrics = {}
    for lib_idx in xrange(len(library_info)):
        lib_metrics[str(lib_idx)] = {}
        lib_metrics[str(lib_idx)][cr_mol_counter.USABLE_READS_METRIC] = 0


    // Record read-counts per molecule. Note that UMIs are not contiguous
    // in the input because no sorting was done after UMI correction.

    prev_gem_group = None
    prev_barcode_idx = None

    for (gem_group, barcode_seq), reads_iter in \
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: 10XGenomics/cellranger
Commit Name: 5498c0b832416ab279cade7b71c43c28c397ad8c
Time: 2019-02-20
Author: paul.ryvkin@10xgenomics.com
File Name: mro/stages/counter/report_molecules/__init__.py
Class Name:
Method Name: main


Project Name: snorkel-team/snorkel
Commit Name: d7bcbade517750cc4fdb7642415e4cf05ae584e8
Time: 2016-07-03
Author: ajratner@gmail.com
File Name: tutorial/utils.py
Class Name:
Method Name: collect_pubtator_annotations


Project Name: UFAL-DSG/tgen
Commit Name: bebaba130ab074963772235c9b775ad1a7654f6a
Time: 2014-08-26
Author: odusek@ufal.mff.cuni.cz
File Name: tgen/features.py
Class Name:
Method Name: presence