Fast low-complexity filtering of biosequences