def get_format_from_ending(file_ending):
    """Returns the corresponding format-name to the given file-ending and an empty string if the ending is unknown."""
    if file_ending == "fasta":
        return "fasta-dna"
    if file_ending == "fastq":
        return "fastq"

    # in case of an unknown ending return empty string.
    return ""