@Override
 public boolean evaluate(Alignment align) {
   return ((align.isPaired() && align.getMappingQuality() >= minPairedEndQuality)
       || (!align.isPaired() && align.getMappingQuality() >= minSingleEndQuality));
 }