예제 #1
0
파일: run_poo.py 프로젝트: orenlivne/ober
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
예제 #2
0
 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)
예제 #3
0
파일: run_poo.py 프로젝트: orenlivne/ober
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
예제 #4
0
 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)