Entering edit mode
11.7 years ago
PoGibas
5.1k
How can I linearize mixed fasta?
>Seq1
ACGT
>Seq2
CGTAGT
>Seq3
CGTAGTCGTAGT
CTA
>Seq4
ATGC
It should look something like this:
sed '/^G\|A\|C\|T/s/\n//g'
But it's not working and I don't know how to command sed not to substitute one line sequnces.
very similar to
this post was closed. Please, keep it open to redirect the future queries.