in reply to Re^2: replace fist and last occurrences of N
in thread replace fist and last occurrences of N

Ok, what about newlines? Are there newlines in your datafiles? Or are they just one long string consisting of character class [a-zA-Z]?

update:
I know that for DNA information the character class can be much smaller ;o))

  • Comment on Re^3: replace fist and last occurrences of N

Replies are listed 'Best First'.
Re^4: replace fist and last occurrences of N
by ini2005 (Novice) on Jul 12, 2008 at 13:38 UTC
    yes, there are new lines
    the files looks exactly like in your example (DATA)
    thses are dna files of whole genomes and they are quite large....

    update
    and, it might also be capital N not just n