
yeah okay, but those sequences cannot be distinguished from each other, so i don't really get the problem. lieven sterck wrote:
no points seppe, because there exists prot seq that can match the same regEx
Sebastian Proost wrote:
lieven sterck wrote:
a perl regex to check whether a sequence is pure DNA or not.
bonus question: what if I also need to allow IUPAC code for DNA.
thx, L.
m/[ATCG]*/i for DNA.
bonus: Add extra IUPAC chars between brackets
-- ================================================================== Michiel Van Bel PhD student Tel:+32 (0)9 331 36 95 fax:+32 (0)9 3313809 VIB Department of Plant Systems Biology, Ghent University Technologiepark 927, 9052 Gent, BELGIUM mibel@psb.ugent.be http://www.psb.ugent.be ==================================================================