def fasta_name_seq(s):
        """
        Interprets a string as a FASTA record.  Does not make any
        assumptions about wrapping of the sequence string.
        """
        DELIMITER = ">"
        try:
            lines = s.splitlines()
            assert len(lines) > 1
            assert lines[0][0] == DELIMITER
            name = lines[0][1:]
            sequence = "".join(lines[1:])
            return (name, sequence)
        except AssertionError:
            raise ValueError("String not recognized as a valid FASTA record")