docs: def clip_adaptor(read, adaptor):
    """
    Clip an adaptor sequence from this sequence. We assume it's in the 3'
    end. This is basically a convenience wrapper for clipThreePrime. It
    requires 8 out of 10 of the first bases in the adaptor sequence to match
    for clipping to occur.
  
    :param adaptor: sequence to look for. We only use the first 10 bases;
                    must be a full Sequence object, not just a string.
    """
    missmatches = 2
    adaptor = adaptor.truncate(10)
    read.clip_end(adaptor, len(adaptor) - missmatches)