Modified ipython nb to filter out low quality merged pairs