def interpret_fastq(fastq):
    """
    Given:
    fastq: an opened fastq file for which the next
    line is the beginning of an entry
    Return:
    ID: str of read sequence ID
    seq: str of read sequence
    quality: str of quality scores
    Note: importantly fastq is left
    such that the next line is the 
    beginning of the next entry
    Returns all empty strings at EOF
    """
    try:
        ID=fastq.readline()[1:-1].split(' ')[0]
    except IndexError:
        return '','',''
    seq=fastq.readline()[:-1]
    fastq.readline()
    quality=fastq.readline()[:-1]
    return ID, seq, quality