def validate_fasta(input_fasta_fp, mapping_fp, output_dir, tree_fp=None, tree_subset=False, tree_exact_match=False, same_seq_lens=False, all_ids_found=False, suppress_barcode_checks=False, suppress_primer_checks=False):
 verify_valid_fasta_format(input_fasta_fp)
 fasta_report = run_fasta_checks(input_fasta_fp, mapping_fp, tree_fp, tree_subset, tree_exact_match, same_seq_lens, all_ids_found, suppress_barcode_checks, suppress_primer_checks)
 write_log_file(output_dir, input_fasta_fp, fasta_report)

def validate_fasta ( input_fasta_fp , mapping_fp , output_dir , tree_fp = None , tree_subset = False , tree_exact_match = False , same_seq_lens = False , all_ids_found = False , suppress_barcode_checks = False , suppress_primer_checks = False ) : verify_valid_fasta_format ( input_fasta_fp ) fasta_report = run_fasta_checks ( input_fasta_fp , mapping_fp , tree_fp , tree_subset , tree_exact_match , same_seq_lens , all_ids_found , suppress_barcode_checks , suppress_primer_checks ) write_log_file ( output_dir , input_fasta_fp , fasta_report )
main function for validating demultiplexed fasta file input_fasta_fp: fasta filepath mapping_fp: mapping filepath output_dir: output directory tree_fp: newick tree filepath tree_subset: if true .