ce579cf021ca1ee0705bd9484aae55e0d110d0e7,cnvlib/commands.py,,batch_make_reference,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,123
Before Change
antitarget_fnames = []
// Run coverage on all normals
pool = parallel.pick_pool(processes)
for nbam in normal_bams:
sample_id = core.fbase(nbam)
sample_pfx = os.path.join(output_dir, sample_id)
tgt_fname = sample_pfx + ".targetcoverage.cnn"
pool.apply_async(batch_write_coverage,
(target_bed, nbam, tgt_fname, by_count))
target_fnames.append(tgt_fname)
anti_fname = sample_pfx + ".antitargetcoverage.cnn"
pool.apply_async(batch_write_coverage,
(antitarget_bed, nbam, anti_fname, by_count))
antitarget_fnames.append(anti_fname)
pool.close()
pool.join()
// Build reference from *.cnn
ref_arr = do_reference(target_fnames, antitarget_fnames, fasta,
After Change
by_count))
target_fnames = [tf.result() for tf in tgt_futures]
antitarget_fnames = [af.result() for af in anti_futures]
// Build reference from *.cnn
ref_arr = do_reference(target_fnames, antitarget_fnames, fasta,
male_reference, do_gc=True,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: etal/cnvkit
Commit Name: ce579cf021ca1ee0705bd9484aae55e0d110d0e7
Time: 2016-09-08
Author: eric.talevich@gmail.com
File Name: cnvlib/commands.py
Class Name:
Method Name: batch_make_reference
Project Name: mathics/Mathics
Commit Name: 2d860d3bb02b904bd8f482be76f253d0e26cafb4
Time: 2016-09-15
Author: Bernhard.Liebl@gmx.org
File Name: mathics/builtin/image.py
Class Name: DominantColors
Method Name: apply
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 57093f504c933132bd403add1ed75a16123f5bc2
Time: 2015-09-16
Author: skschneider@google.com
File Name: perfkitbenchmarker/vm_util.py
Class Name:
Method Name: RunParallelProcesses