def write_taxonomic_profile_from_abundance_files(self, metadata_table, list_of_file_paths, directory_output, sample_id=''):
    '\n        Write a taxonomic profile file for each relative abundance file\n\n        @param metadata_table: Contains metadata of all communities\n        @type metadata_table: MetadataTable\n        @param list_of_file_paths: List of abundance file paths\n        @type list_of_file_paths: list[str | unicode]\n        @param directory_output: Profiles are written in this directory\n        @type directory_output: str | unicode\n        @param sample_id: Identifier of a sample\n        @type sample_id: str | unicode\n        '
    metadata_table_tmp = MetadataTable(logfile=self._logfile, verbose=self._verbose)
    for (index_abundance, file_path) in enumerate(list_of_file_paths):
        community_abundance = metadata_table_tmp.parse_file(file_path, column_names=False)
        file_path_output = os.path.join(directory_output, self._filename_taxonomic_profile.format(sample_index=index_abundance))
        with open(file_path_output, 'w') as stream_output:
            self.write_taxonomic_profile(community_abundance, stream_output, metadata_table, sample_id)
Write a taxonomic profile file for each relative abundance file

@param metadata_table: Contains metadata of all communities
@type metadata_table: MetadataTable
@param list_of_file_paths: List of abundance file paths
@type list_of_file_paths: list[str | unicode]
@param directory_output: Profiles are written in this directory
@type directory_output: str | unicode
@param sample_id: Identifier of a sample
@type sample_id: str | unicode
def write_taxonomic_profile_from_abundance_files(self, metadata_table, list_of_file_paths, directory_output, sample_id=):
    '\n        Write a taxonomic profile file for each relative abundance file\n\n        @param metadata_table: Contains metadata of all communities\n        @type metadata_table: MetadataTable\n        @param list_of_file_paths: List of abundance file paths\n        @type list_of_file_paths: list[str | unicode]\n        @param directory_output: Profiles are written in this directory\n        @type directory_output: str | unicode\n        @param sample_id: Identifier of a sample\n        @type sample_id: str | unicode\n        '
    metadata_table_tmp = MetadataTable(logfile=self._logfile, verbose=self._verbose)
    for (index_abundance, file_path) in enumerate(list_of_file_paths):
        community_abundance = metadata_table_tmp.parse_file(file_path, column_names=False)
        file_path_output = os.path.join(directory_output, self._filename_taxonomic_profile.format(sample_index=index_abundance))
        with open(file_path_output, 'w') as stream_output:
            self.write_taxonomic_profile(community_abundance, stream_output, metadata_table, sample_id)