#NEWLINE# def __call__( self , track , slice = None ) : #NEWLINE# #INDENT# '\n        only displays those above 1% relative abundance\n        ' #NEWLINE# taxon_levels = [ 'phylum' , 'class' , 'order' , 'family' , 'genus' , 'species' ] #NEWLINE# result = collections . OrderedDict ( ) #NEWLINE# for taxon in taxon_levels : #NEWLINE# #INDENT# result [ taxon ] = 0 #NEWLINE# statement = ( "SELECT taxon FROM %s_relab\n                           WHERE taxon_level == '%s'" % ( track , taxon ) ) #NEWLINE# for tax in self . execute ( statement ) . fetchall ( ) : #NEWLINE# #INDENT# result [ taxon ] += 1 #NEWLINE# #UNINDENT# #UNINDENT# return result