I want to remove all 'N's from the data that looks like this:
>Seq1
NNNNNNNNA
NNNNNNNNN
ATCGGGGGG
NNNNNNNNN
GTCGGGGGG
>Seq2
GATAAAAAA
NNNNNNNNN
So that it returns:
>Seq1
AATCGGGGGGGTCGGGGGG
>Seq2
GATAAAAAA
But why this doesn't do it:
sed -e 's/N//g'
What's the correct way to approach this?