37651fcb98ae564f95c28fbbe3401f48731f7a0d,deepvariant/realigner/window_selector.py,,_candidates_from_reads,#Any#Any#Any#Any#,42
Before Change
counts_vec = cpp_window_selector.candidates_from_allele_counter(
allele_counter)
return {
expanded_region.start + i: count
for i, count in enumerate(counts_vec)
if count > 0 and ranges.position_overlaps(
region.reference_name, expanded_region.start + i, region)
}
def _candidates_to_windows(config, candidate_pos, ref_name):
"Process candidate positions to determine windows for local assembly.
After Change
return _variant_reads_threshold_selector(
allele_counter, config.window_selector_model.variant_reads_model,
region, expanded_region)
elif model_type == realigner_pb2.WindowSelectorModel.ALLELE_COUNT_LINEAR:
return _allele_count_linear_selector(
allele_counter, config.window_selector_model.allele_count_linear_model,
region, expanded_region)
else:
raise ValueError("Unknown enum option "{}" for "
"WindowSelectorModel.model_type"
.format(config.window_selector_model.model_type))
def _variant_reads_threshold_selector(allele_counter, model_conf, region,
expanded_region):
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: google/deepvariant
Commit Name: 37651fcb98ae564f95c28fbbe3401f48731f7a0d
Time: 2018-07-30
Author: no-reply@google.com
File Name: deepvariant/realigner/window_selector.py
Class Name:
Method Name: _candidates_from_reads
Project Name: NifTK/NiftyNet
Commit Name: 2345eb88f3264da85643a4d9d5adec3cf6f9b973
Time: 2017-11-14
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/io/image_reader.py
Class Name:
Method Name: _filename_to_image_list
Project Name: NervanaSystems/coach
Commit Name: 39a28aba95b0d8eeb56f7a17b7dad140e601b591
Time: 2018-02-21
Author: zach.dwiel@intel.com
File Name: architectures/tensorflow_components/architecture.py
Class Name: TensorFlowArchitecture
Method Name: _feed_dict
Project Name: catalyst-team/catalyst
Commit Name: 45f7651644f05b413ecd9366e7014edc7f0b8a24
Time: 2019-09-06
Author: scitator@gmail.com
File Name: catalyst/contrib/modules/lama.py
Class Name: LamaPooling
Method Name: __init__