def findLinker(seq, linker):
    """
    Match the linker in the read sequence.
    """
    pos = -1
    for i in range(len(seq) - 9):
        seed = seq[i:i + 9]
        if linker.startswith(seed):
            pos = i
            break
    return pos