def find_l75(contig_lengths_dict, genome_length_dict):
<EOL>l75_dict = dict()<EOL>for file_name, contig_lengths in contig_lengths_dict.items():<EOL><INDENT>currentlength = <NUM_LIT:0><EOL>currentcontig = <NUM_LIT:0><EOL>for contig_length in contig_lengths:<EOL><INDENT>currentlength += contig_length<EOL>currentcontig += <NUM_LIT:1><EOL>if currentlength >= genome_length_dict[file_name] * <NUM_LIT>:<EOL><INDENT>l75_dict[file_name] = currentcontig<EOL>break<EOL><DEDENT><DEDENT><DEDENT>return l75_dict<EOL>
Calculate the L50 for each strain. L75 is defined as the number of contigs required to achieve the N75
:param contig_lengths_dict: dictionary of strain name: reverse-sorted list of all contig lengths
:param genome_length_dict: dictionary of strain name: total genome length
:return: l50_dict: dictionary of strain name: L75