def convert_fastaqual_fastq(fasta_file_path, qual_file_path, conversion_type='fastaqual_to_fastq', output_directory='.', multiple_output_files=False, ascii_increment=33, full_fastq=False, full_fasta_headers=False):
 if (conversion_type == 'fastaqual_to_fastq'):
  convert_fastq(fasta_file_path, qual_file_path, output_directory, multiple_output_files, ascii_increment, full_fastq, full_fasta_headers)
 elif (conversion_type == 'fastq_to_fastaqual'):
  convert_fastaqual(fasta_file_path, output_directory, multiple_output_files, ascii_increment, full_fastq, full_fasta_headers)
 else:
  raise ValueError('conversion_type must be fastaqual_to_fastq or fastq_to_fastaqual.')

def convert_fastaqual_fastq ( fasta_file_path , qual_file_path , conversion_type = 'fastaqual_to_fastq' , output_directory = '.' , multiple_output_files = False , ascii_increment = 33 , full_fastq = False , full_fasta_headers = False ) : if ( conversion_type == 'fastaqual_to_fastq' ) : convert_fastq ( fasta_file_path , qual_file_path , output_directory , multiple_output_files , ascii_increment , full_fastq , full_fasta_headers ) elif ( conversion_type == 'fastq_to_fastaqual' ) : convert_fastaqual ( fasta_file_path , output_directory , multiple_output_files , ascii_increment , full_fastq , full_fasta_headers ) else : raise ValueError ( 'conversion_type must be fastaqual_to_fastq or fastq_to_fastaqual.' )
calls appropriate conversion function .