def pdb_dna_to_sequence(chain):
    """This function receives a Chain object as input that is expected to be
    a DNA sequence, and returns the sequence as a string in single letter
    format."""
    seq = ''
    for res in chain:
        seq += res.get_resname()[-1]
    return seq
