Exemple #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))
Exemple #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))
Exemple #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)
 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)