def __init__(self, taxonomy, logfile=None, verbose=True, debug=False):
    '\n        @param taxonomy: taxonomy handler\n        @type taxonomy: NcbiTaxonomy\n        @param logfile: file handler or file path to a log file\n        @type logfile: file | FileIO | StringIO | str\n        @param verbose: Not verbose means that only warnings and errors will be past to stream\n        @type verbose: bool\n        @param debug: Display debug messages\n        @type debug: bool\n        '
    super(TaxonomicProfile, self).__init__(label='TaxonomicProfile', logfile=logfile, verbose=verbose, debug=debug)
    self._ranks = ['superkingdom', 'phylum', 'class', 'order', 'family', 'genus', 'species', 'strain']
    assert isinstance(taxonomy, NcbiTaxonomy)
    self._taxonomy = taxonomy
    self._filename_taxonomic_profile = 'taxonomic_profile_{sample_index}.txt'
@param taxonomy: taxonomy handler
@type taxonomy: NcbiTaxonomy
@param logfile: file handler or file path to a log file
@type logfile: file | FileIO | StringIO | str
@param verbose: Not verbose means that only warnings and errors will be past to stream
@type verbose: bool
@param debug: Display debug messages
@type debug: bool
def __init__(self, taxonomy, logfile=None, verbose=True, debug=False):
    '\n        @param taxonomy: taxonomy handler\n        @type taxonomy: NcbiTaxonomy\n        @param logfile: file handler or file path to a log file\n        @type logfile: file | FileIO | StringIO | str\n        @param verbose: Not verbose means that only warnings and errors will be past to stream\n        @type verbose: bool\n        @param debug: Display debug messages\n        @type debug: bool\n        '
    super(TaxonomicProfile, self).__init__(label='TaxonomicProfile', logfile=logfile, verbose=verbose, debug=debug)
    self._ranks = ['superkingdom', 'phylum', 'class', 'order', 'family', 'genus', 'species', 'strain']
    assert isinstance(taxonomy, NcbiTaxonomy)
    self._taxonomy = taxonomy
    self._filename_taxonomic_profile = 'taxonomic_profile_{sample_index}.txt'