def clip_adaptor(read, adaptor):
missmatches = <NUM_LIT:2><EOL>adaptor = adaptor.truncate(<NUM_LIT:10>)<EOL>read.clip_end(adaptor, len(adaptor) - missmatches)<EOL>
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.