def check_fastq_line(fastq):
    """Check if fastq string has some necessary features of the fasta format.

    :param fastq: single string with a record of fastq """
    check = fastq.split('\n')
    assert len(check) == 4, 'Data is not fastq format: Not enough fields'
    assert check[0].startswith('@'
        ), 'Data is not fastq format: Does not start with @'
    assert len(check[1]) == len(check[3]
        ), 'Data is not fastq format: Sequence and quality scores do not match'
    assert check[2].startswith('+'
        ), 'Data is not fastq format: third line does not start with +'
    return True
