I have a fasta file where the sequences are broken up with newlines. I\'d like to remove the newlines. Here\'s an example of my file:
>accession1 ATGGCC
Another variation :-)
awk '!/>/{printf( "%s", $0);next} NR>1{printf( "\n")} END {printf"\n"} 7' YourFile