def format_lea_seq_log(input_seqs_count, barcode_errors_exceed_max_count, barcode_not_in_map_count, primer_mismatch_count, seq_too_short_count, total_seqs_kept):
 log_out = 'Quality filter results\nTotal number of input sequences: {}\nBarcode not in mapping file: {}\nSequence shorter than threshold: {}\nBarcode errors exceeds limit: {}\nPrimer mismatch count: {}\n\nTotal number seqs written: {}'.format(input_seqs_count, barcode_not_in_map_count, seq_too_short_count, barcode_errors_exceed_max_count, primer_mismatch_count, total_seqs_kept)
 return log_out

def format_lea_seq_log ( input_seqs_count , barcode_errors_exceed_max_count , barcode_not_in_map_count , primer_mismatch_count , seq_too_short_count , total_seqs_kept ) : log_out = 'Quality filter results\nTotal number of input sequences: {}\nBarcode not in mapping file: {}\nSequence shorter than threshold: {}\nBarcode errors exceeds limit: {}\nPrimer mismatch count: {}\n\nTotal number seqs written: {}' . format ( input_seqs_count , barcode_not_in_map_count , seq_too_short_count , barcode_errors_exceed_max_count , primer_mismatch_count , total_seqs_kept ) return log_out
format the split libraries lea-seq log parameters input_seqs_count: int barcode_errors_exceed_max_count: int barcode_not_in_map_count: int primer_mismatch_count: int seq_too_short_count: int total_seqs_kept: int returns log_out: string to be printed in log file .