def print_seq_names(outfile, euk_ids, prok_ids, prokarya):
    """
    Write predicted euk and predicted prok scaffolds names to their respective output files
    """
    for line in euk_ids:
        outfile.write(line + '\n')
    if prokarya is not None:
        for line in prok_ids:
            prokarya.write(line + '\n')
