I have a large file in this format:
>Abc1 | SOME TEXT
atgcgnntcagacagacaa
>Abc2 | SOME DIFFERENT TEXT
nnatgcgatgacatacanggaaga
>Abc3 | SOME OTHER TEXT
gcatgacagagacagatgacaggcacacg
All I am trying to do is change the case of line not starting with ‘>Abc’. Simple it seems but I do not know why it is not working:
sed -n '/^>/! y/atgcn/ATGCN/' sequence.fa > test2
I would appreciate your help.
AK
Remove the
-nswitch from the command