31978b5eb3ccc4683ca0abb22697ebac80f2cba9,cnvlib/vary.py,,_parse_records,#,89
Before Change
sample = record.genotype(sample_id)
// Depth filter
if "DP" in sample.data._fields:
depth = sample.data.DP
else:
// SV, probably
cnt_depth += 1
continue
if depth < min_depth:
cnt_depth += 1
continue
After Change
continue
sample = record.genotype(sample_id)
depth, zygosity, alt_count = _extract_genotype(sample)
if normal_id:
normal = record.genotype(normal_id)
n_depth, n_zygosity, n_alt_count = _extract_genotype(normal)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: etal/cnvkit
Commit Name: 31978b5eb3ccc4683ca0abb22697ebac80f2cba9
Time: 2015-10-07
Author: eric.talevich@gmail.com
File Name: cnvlib/vary.py
Class Name:
Method Name: _parse_records
Project Name: mlpack/benchmarks
Commit Name: 18530bab8f49b7a40a4d8793d4b6b5090941c3e7
Time: 2019-04-24
Author: rukman.sai2@gmail.com
File Name: methods/shogun/qda.py
Class Name: SHOGUN_QDA
Method Name: __init__
Project Name: broadinstitute/keras-rcnn
Commit Name: cc4ce21857bf0aa0e8df49a34522c28f6e751be2
Time: 2018-02-25
Author: allen.goodman@icloud.com
File Name: keras_rcnn/models/_rcnn.py
Class Name: RCNN
Method Name: __init__
Project Name: mlpack/benchmarks
Commit Name: 55bef1eea344a530ebda48d1a5d0c2456f0c3fc1
Time: 2019-04-24
Author: rukman.sai2@gmail.com
File Name: methods/shogun/nbc.py
Class Name: SHOGUN_NBC
Method Name: __init__