Moved to function.
Mark reads without a mapped mate as duplicates. Keep reads with highest total base quality.