class TaxonomicDatabaseReader: use readers to read and store information from a sequences database given the folder of the database. Usually these database are composed of a fasta file containing the sequences and their taxonomy or an ID. In the latest case, a second file (.tax) is provided, it contains the correspondance between the ID and a taxonomy.
"""__init__: take a folder name as argument and will get the name of the fasta file and the tax file (if it exists) contained in the folder. And store the information in a taxonomy_collection"""
"""read: traditionally sequences databases are composed of a file '.fasta' containing the sequences and their name, often the taxonomy is in a separate file '.tax'
this read function will call the read function of the fasta_reader and optionally the read function of the taxfile_reader"""
# instantiate a fasta reader that will read the reference fasta_file
fasta_reader=FastaReader(self.filename)
# store the collected information in the sequence collection