Hello, I’m trying to find a way to replace a string of exactly 100 Ns in a fasta sequence with some other character, ex Z.
It’s a multi line fasta too long to be converted to a single line, so sed won’t work.
Text editing tools will replace any string of 100 Ns. If the string is 99 or 101 Ns it shouldn’t be changed.
I’m stumped. Any suggestions will be appreciated.
Perfect! Thank you.
Please check the comment below.