1dba0aaea818505ac4e22cd779995b46454207bb,cnvlib/segmentation/__init__.py,,do_segmentation,#Any#Any#Any#Any#Any#Any#Any#Any#Any#,19
Before Change
rets = []
// TODO: handle save_dataframe=True
with futures.ProcessPoolExecutor(processes) as pool:
for ret in pool.map(_ds, ((cnarr[cnarr.chromosome == c], method,
threshold, variants, skip_low, skip_outliers,
False, rlibpath) for c in chroms)):
rets.append(ret)
data = pd.concat([r.data for r in rets])
meta = rets[0].meta
for r in rets[1:]:
meta.update(r.meta)
After Change
with futures.ProcessPoolExecutor(processes) as pool:
rets = list(pool.map(_ds, ((ca, method,
threshold, variants, skip_low, skip_outliers,
save_dataframe, rlibpath) for _, ca in cnarr.by_chromosome() )))
if save_dataframe:
rstr = [rets[0][1]]
for ret in rets[1:]:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: etal/cnvkit
Commit Name: 1dba0aaea818505ac4e22cd779995b46454207bb
Time: 2016-08-30
Author: bpederse@gmail.com
File Name: cnvlib/segmentation/__init__.py
Class Name:
Method Name: do_segmentation
Project Name: etal/cnvkit
Commit Name: 89361f771b5076918b1ce9be9a7d4f2738569ae0
Time: 2015-11-09
Author: eric.talevich@gmail.com
File Name: cnvlib/antitarget.py
Class Name:
Method Name: guess_chromosome_regions
Project Name: etal/cnvkit
Commit Name: b28c8e24e23c60282a1c7cd82a4a7d09bb9715b6
Time: 2016-08-31
Author: eric.talevich@gmail.com
File Name: cnvlib/coverage.py
Class Name:
Method Name: interval_coverages_count