Filtering for trait code equal QSNR