def add_qiime_labels(mapping_f, fasta_dir, filename_column, output_dir='.', count_start=0):
 (headers, mapping_data, run_description, errors, warnings) = process_id_map(mapping_f, has_barcodes=False, disable_primer_check=True, added_demultiplex_field=None, variable_len_barcodes=False)
 fasta_name_to_sample_id = check_mapping_data(mapping_data, headers, filename_column)
 fasta_files = get_fasta_fps(fasta_dir, fasta_name_to_sample_id.keys())
 write_combined_fasta(fasta_name_to_sample_id, fasta_files, output_dir, counter=count_start)

def add_qiime_labels ( mapping_f , fasta_dir , filename_column , output_dir = '.' , count_start = 0 ) : ( headers , mapping_data , run_description , errors , warnings ) = process_id_map ( mapping_f , has_barcodes = False , disable_primer_check = True , added_demultiplex_field = None , variable_len_barcodes = False ) fasta_name_to_sample_id = check_mapping_data ( mapping_data , headers , filename_column ) fasta_files = get_fasta_fps ( fasta_dir , fasta_name_to_sample_id . keys ( ) ) write_combined_fasta ( fasta_name_to_sample_id , fasta_files , output_dir , counter = count_start )
main function for combining fasta files .