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

Thanks, The files are up to 1G...
  • Comment on Re^2: replace fist and last occurrences of N

Replies are listed 'Best First'.
Re^3: replace fist and last occurrences of N
by linuxer (Curate) on Jul 12, 2008 at 13:34 UTC

    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))

      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