fasty is a script that selects or removes sequences from a fasta or fastq file, based on a query term or list of terms (provided in another file).  Query term matching can be exact match or grep style matching.