ec4d077c5bd7e7d413c003ef5ed39cf4ced1f0f5,anvio/taxoestimation.py,SCGsTaxomy,estimate_taxonomy,#SCGsTaxomy#Any#,448

Before Change


                continue

            if self.metagenome or not self.profile_db_path:
                if str(list(taxonomy.values())[-1]) not in possibles_taxonomy and str(list(taxonomy.values())[-1]) :
                    possibles_taxonomy.append(str(list(taxonomy.values())[-1]))

                entries_db+=[(tuple([name,list(SCGs_hit_per_gene.keys())[0],source]+list(taxonomy.values())))]

After Change


            self.tables_for_taxonomy.taxonomy_estimation_to_profile(entries_db)


        with open(self.output_file_path,"w") as output:
            output_taxonomy=["\t".join(line) for line in possibles_taxonomy]
            output.write("\n".join(output_taxonomy))

        if anvio.DEBUG:
            self.show_taxonomy_estimation(possibles_taxonomy)

    def show_taxonomy_estimation(self, possibles_taxonomy):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: merenlab/anvio
Commit Name: ec4d077c5bd7e7d413c003ef5ed39cf4ced1f0f5
Time: 2019-08-09
Author: quentin.clayssen@gmail.com
File Name: anvio/taxoestimation.py
Class Name: SCGsTaxomy
Method Name: estimate_taxonomy


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: b70ad56f5c3a1f51a6c5e9143f212fcac23738f3
Time: 2017-06-21
Author: guilhermekmatsumoto@gmail.com
File Name: skmultiflow/evaluation/EvaluatePrequential.py
Class Name: EvaluatePrequential
Method Name: train_and_test


Project Name: hanxiao/bert-as-service
Commit Name: d97188ee62bc0627235578485c5df7d3245fa1ed
Time: 2018-12-02
Author: hanhxiao@tencent.com
File Name: example6.py
Class Name:
Method Name: