Created function for BLAST filtering