def __determine_poo_sample((pedigree, params, sample, lock)): # m = a.flip_measure_sample(sample, threshold=params.poo_snp_measure_threshold, snp_step_size=params.poo_snp_step_size, debug=params.debug)[0] m = (params, sample) util.write_with_lock('%s\n' % (repr(m), ), lock) return m
def _pair_printout(self, ibd_problem, msg): if self.options.debug >= 2: util.write_with_lock('Pair (%4d,%4d) (%4d,%4d): %s\n' % (ibd_problem.hap1[0], ibd_problem.hap1[1], ibd_problem.hap2[0], ibd_problem.hap2[1], msg), self.lock)
def __determine_poo_sample((pedigree, params, sample, lock)): # m = a.flip_measure_sample(sample, threshold=params.poo_snp_measure_threshold, snp_step_size=params.poo_snp_step_size, debug=params.debug)[0] m = (params, sample) util.write_with_lock('%s\n' % (repr(m),), lock) return m
def _pair_printout(self, ibd_problem, msg): if self.options.debug >= 2: util.write_with_lock( 'Pair (%4d,%4d) (%4d,%4d): %s\n' % (ibd_problem.hap1[0], ibd_problem.hap1[1], ibd_problem.hap2[0], ibd_problem.hap2[1], msg), self.lock)