def __clear_buffers(self):
        try:
            self._port.reset_input_buffer()
            self._port.reset_output_buffer()
        except AttributeError:
            #pySerial 2.7
            self._port.flushInput()
            self._port.flushOutput()
Add number of hits tags to sam file
dataset/ETHPy150Open kmpm/nodemcu-uploader/nodemcu_uploader/uploader.py/Uploader.__clear_buffers--crossover with--dataset/ETHPy150Open CGATOxford/cgat/obsolete/mapping_titration.py/sortByPosition