示例#1
0
 def create_fragment_files(self):
     alg_subset_count = len(list(self.root_problem.iter_leaves()))
     frag_chunk_count = lcm(alg_subset_count,self.options.cpu)//alg_subset_count
     _LOG.info("%d taxa pruned from backbone and added to fragments: %s" %(len(self.filtered_taxa), " , ".join(self.filtered_taxa)))        
     return self.read_and_divide_fragments(frag_chunk_count, extra_frags =\
                    self.root_problem.subalignment.get_soft_sub_alignment(\
                                                      self.filtered_taxa))
示例#2
0
 def create_fragment_files(self):
     alg_subset_count = len(list(self.root_problem.iter_leaves()))
     frag_chunk_count = lcm(alg_subset_count,self.options.cpu)//alg_subset_count
     _LOG.info("%d taxa pruned from backbone and added to fragments: %s" %(len(self.filtered_taxa), " , ".join(self.filtered_taxa)))        
     return self.read_and_divide_fragments(frag_chunk_count, extra_frags =\
                    self.root_problem.subalignment.get_soft_sub_alignment(\
                                                      self.filtered_taxa))
示例#3
0
 def create_fragment_files(self):
     alg_subset_count = len(list(self.root_problem.iter_leaves()))
     frag_chunk_count = lcm(alg_subset_count,
                            self.options.cpu) // alg_subset_count
     return self.read_and_divide_fragments(frag_chunk_count)
示例#4
0
 def create_fragment_files(self):
     alg_subset_count = len(list(self.root_problem.iter_leaves()))
     frag_chunk_count = lcm(alg_subset_count,self.options.cpu)//alg_subset_count
     return self.read_and_divide_fragments(frag_chunk_count)