e45f87362f4c58bde3a65df7a2022b543bd669bb,anvio/taxoestimation.py,SCGsTaxonomy,estimate_taxonomy_for_metagenome,#SCGsTaxonomy#,732

Before Change



        if len(estimate_taxonomy_presences)>1:
            for estimate_taxonomy_presence in estimate_taxonomy_presences:
                output+=[[self.db_path.replace(".db","")+"_genome_"+str(num_metagenome)]+list(estimate_taxonomy_presence.values())+[dictonnary_number_appear[list(estimate_taxonomy_presence.values())[-1]]]]
                num_metagenome+=1
        else:
            output+=[[self.db_path.replace(".db","")]+list(estimate_taxonomy_presence.values())]
        

After Change


                    dictonnary_number_appear[level]+=1
        print(dictonarry_presence)

        print(dictonnary_number_appear)
        if len(estimate_taxonomy_presences)>1:
            for estimate_taxonomy_presence in estimate_taxonomy_presences:
                print(len(dictonarry_presence[list(estimate_taxonomy_presence.values())[-1]].values()))
                //output+=[[self.db_path.replace(".db","")+"_genome_"+str(num_metagenome)]+list(estimate_taxonomy_presence.values())+[len(dictonarry_presence[list(estimate_taxonomy_presence.values())[-1]].values()]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: merenlab/anvio
Commit Name: e45f87362f4c58bde3a65df7a2022b543bd669bb
Time: 2019-09-03
Author: qclayssen@gkpwwd2.compute.bird2.prive
File Name: anvio/taxoestimation.py
Class Name: SCGsTaxonomy
Method Name: estimate_taxonomy_for_metagenome


Project Name: sobhe/hazm
Commit Name: 1463f45807433d3d7ca110ee0eed012bd58e1418
Time: 2013-11-25
Author: alireza.nournia@gmail.com
File Name: data.py
Class Name:
Method Name: create_words_file


Project Name: merenlab/anvio
Commit Name: 2be6f9614d7a11ea88283ce1b4ad363d10c133c2
Time: 2019-08-13
Author: quentin.clayssen@gmail.com
File Name: anvio/taxoestimation.py
Class Name: SCGsTaxomy
Method Name: show_matrix_rank