Linearize a fasta file (put every sequence on a single line)
First, install go,
then:
go install github.com/bjeight/onelina@latest
or
git clone https://github.com/bjeight/onelina.git
cd onelina
go build -o onelina
onelina input.fasta > output.fasta
onelina input.fa.bgz | bgzip > output.fa.bgz
onelina input.fa.gz | gzip > output.fa.gz