in reply to Re^2: replace FASTA sequence headers
in thread replace FASTA sequence headers

Thanks for your replies jwkrahn.

Actually, EACH of my values in the hash of new / old headers have # character in them, some of them have other special characters such as _ etc

I was under the impression that because my keys are all letter/number strings, that there should not be any problem with having special characters in the values, BUT not in the keys themselves

Am I missing something here about needing "quotemeta" for the hash's values as well?

I hope I am explaining the header pairs properly

Here is an example below:

cluster14621 \t Helitron#element_1

Replies are listed 'Best First'.
Re^4: replace FASTA sequence headers
by jwkrahn (Abbot) on Jun 11, 2012 at 01:26 UTC
    Am I missing something here about needing "quotemeta" for the hash's values as well?

    I was suggesting quotemeta not because of the hash, but because of their use in a regular expression.