def merge(self, other, forceMerge=False):
if self.sequenceName != other.sequenceName and not forceMerge:<EOL><INDENT>raise NGSReadError("<STR_LIT>" + self.sequenceName + "<STR_LIT>" +<EOL>other.sequenceName + "<STR_LIT>" +<EOL>"<STR_LIT>")<EOL><DEDENT>name = self.sequenceName<EOL>seq = self.sequenceData + other.sequenceData<EOL>qual = self.sequenceQual + other.sequenceQual<EOL>return NGSReadError(name, seq, qual)<EOL>
Merge two reads by concatenating their sequence data and their
quality data (<self> first, then <other>); <self> and <other> must have
the same sequence name. A new merged FastqSequence object is returned;
<Self> and <other> are left unaltered.

:param other: the other sequence to merge with self.
:param forceMerge: force the merge to occur, even if sequences names
                   don't match. In this case, <self> takes precedence.
:return: A new FastqSequence that represents the merging of <self> and
         <other>
:raise: FastqSequenceError if the sequences names do not match, and the
        forceMerge parameter is not set.