heavily modified an finished selectSequences.pl; can now remove sequences too