def contains_adaptor(read, adaptor):
origSeq = read.sequenceData<EOL>clip_adaptor(read, adaptor)<EOL>res = False<EOL>if read.sequenceData != origSeq:<EOL><INDENT>res = True<EOL><DEDENT>read.sequenceData = origSeq<EOL>return res<EOL>
Check whether this sequence contains adaptor contamination. If it exists,
we assume it's in the 3' end. This function requires 8 out of 10 of the
first bases in the adaptor sequence to match for an occurrence to be
reported.

:param adaptor: sequence to look for. We only use first 10 bases; must be
                a full Sequence object, not just string.
:return: True if there is an occurence of <adaptor>, False otherwise